驿窗 说:我的方案是不升级系统,一直不更新,这样就不用扔显卡了~
按你的方案,那是扔掉arch
那就把内核和 nvidia* ignore 掉,这样也不用扔显卡了
离线
qileilu 说:驿窗 说:我的方案是不升级系统,一直不更新,这样就不用扔显卡了~
按你的方案,那是扔掉arch
那就把内核和 nvidia* ignore 掉,这样也不用扔显卡了
你这好一点,仅扔掉游戏,更有利于工作。
离线
没错,host我已经换了,只是guese还用arch~
开源/Linux大众化,从驿窗开始~
离线
你这好一点,仅扔掉游戏,更有利于工作。
啊,我的意思是把那些放到 pacman 的 IgnorePkg 列表里面,并不需要扔掉游戏啊。
既然你的硬件太老,用最新的软件包会有问题,那么不更新(部分关键的包)不就好了嘛。如果由于 nvidia 的关系,内核也不方便更新的话,那就把内核也 ignore 掉呗。
最近编辑记录 Mr.I (2019-06-21 13:25:41)
离线
qileilu 说:你这好一点,仅扔掉游戏,更有利于工作。
啊,我的意思是把那些放到 pacman 的 IgnorePkg 列表里面,并不需要扔掉游戏啊。
既然你的硬件太老,用最新的软件包会有问题,那么不更新(部分关键的包)不就好了嘛。如果由于 nvidia 的关系,内核也不方便更新的话,那就把内核也 ignore 掉呗。
明白你的意思,我的意思是用arch就用最新up to date,如果连内核都 ignore 掉不能更新了,能还用arch干啥?
离线
果然,升级新的内核,需要重新编译驱动:
:: 正在运行事务前钩子函数...
(1/1) Remove DKMS modules
==> dkms remove nvidia/340.107 -k 5.1.9-arch1-1-ARCH
:: 正在处理软件包的变化...
( 1/115) 正在更新 linux-api-headers [######################] 100%
...
...
:: 正在运行事务后钩子函数...
( 1/20) Updating linux module dependencies...
( 2/20) Install DKMS modules
==> dkms install nvidia/340.107 -k 5.1.14-arch1-1-ARCH
Error! Bad return status for module build on kernel: 5.1.14-arch1-1-ARCH (x86_64)
Consult /var/lib/dkms/nvidia/340.107/build/make.log for more information.
编译前:
lcc@lcarch ~ %dkms status
nvidia, 340.107: added
编译后:
lcc@lcarch ~ %dkms status
nvidia, 340.107, 5.1.14-arch1-1-ARCH, x86_64: installed
离线
Error! Bad return status for module build on kernel: 5.1.14-arch1-1-ARCH (x86_64)
Consult /var/lib/dkms/nvidia/340.107/build/make.log for more information.
这莫不是炸了…你看模块生成并安装在正确位置了没有…lspci 看下显卡驱动能用不…
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
Error! Bad return status for module build on kernel: 5.1.14-arch1-1-ARCH (x86_64)
Consult /var/lib/dkms/nvidia/340.107/build/make.log for more information.这莫不是炸了…你看模块生成并安装在正确位置了没有…lspci 看下显卡驱动能用不…
问题不大,对新内核重新编译一下显卡驱动就ok了
lcc@lcarch ~ %lspci
00:00.0 Host bridge: Intel Corporation Xeon E5/Core i7 DMI2 (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1a (rev 07)
00:01.1 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 1b (rev 07)
00:02.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 2a (rev 07)
00:03.0 PCI bridge: Intel Corporation Xeon E5/Core i7 IIO PCI Express Root Port 3a in PCI Express Mode (rev 07)
00:05.0 System peripheral: Intel Corporation Xeon E5/Core i7 Address Map, VTd_Misc, System Management (rev 07)
00:05.2 System peripheral: Intel Corporation Xeon E5/Core i7 Control Status and Global Errors (rev 07)
00:05.4 PIC: Intel Corporation Xeon E5/Core i7 I/O APIC (rev 07)
00:16.0 Communication controller: Intel Corporation C600/X79 series chipset MEI Controller #1 (rev 05)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 05)
00:1a.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation C600/X79 series chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Root Port 4 (rev b5)
00:1c.2 PCI bridge: Intel Corporation C600/X79 series chipset PCI Express Root Port 3 (rev b5)
00:1d.0 USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation C600/X79 series chipset LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation C600/X79 series chipset 4-Port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation C600/X79 series chipset SMBus Host Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation C600/X79 series chipset 2-Port SATA IDE Controller (rev 05)
01:00.0 PCI bridge: Intel Corporation C608/C606/X79 series chipset PCI Express Upstream Port (rev 05)
02:08.0 PCI bridge: Intel Corporation C608/C606/X79 series chipset PCI Express Virtual Switch Port (rev 05)
03:00.0 Serial Attached SCSI controller: Intel Corporation C608 chipset Dual 4-Port SATA/SAS Storage Control Unit (rev 05)
05:00.0 VGA compatible controller: NVIDIA Corporation GT218 [NVS 300] (rev a2)
05:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
离线
今天内核升级到5.3,nvidia-340xx-dkms驱动又出了问题,后来加上了kernel-5.3.patch,重新编译,问题解决。
离线
这次内核升级5.9,显卡歇菜了两天,直到Last Updated: 2020-10-22 00:22,nvidia-340.108-fix-5.9-kernel-compile.patch出来,:)
离线
这次内核升级5.12,为了显卡不歇菜,先自己找到了补丁,果然没问题,哈哈
http://rglinuxtech.com/?p=2896
https://gist.githubusercontent.com/joan … 5.12.patch
离线
今天内核滚动升级到5.14.16,nvidia-340xx-dkms驱动又出了问题,再downgrade到升级前的5.14.14还是不行,看来不是内核升级带来的问题。
网上学习了半天,发现是这个引起的:upgraded xorg-server (1.20.13-2 -> 21.1.1-2)
大神的解决办法是:
May be useful for someone. As now Xorg's version of ABI is 25.2 after updating Xorg to 21.1.1 I had to add these lines to xorg.conf to start graphics successfully.
Section "ServerFlags" Option "IgnoreABI" "1" EndSection
From nvidia-390xx-dkms, but it should work on 340xx too.
问题解决。
离线