On the contrary, an Nvidia 340.108 patch is probably required for Linux Kernel 5.12.
I've been testing Linux kernel 5.12 with the all the Nvidia 340.108 patches including for kernel 5.11) and I'm getting random 'core dump' crashes. It works fine with kernel 5.11, but not with 5.12.
Here is some info:
uname -a:
Linux galicia 5.12.0-rc5-git-5e46d1b-Pogorze-Karpackie-CUSTOM-KERNEL #3 SMP Wed Mar 31 08:36:13 CEST 2021 x86_64 GNU/Linux
nvidia_uvm: Loaded the UVM driver, major device number 243
lsmod:
Both nvidia & nvidia_uvm modules are loaded fine
The issue:
Interesting thing is, the shim build for nvidia.ko and nvidia_uvm.ko is compiling FINE, with NO ERRORS during or after the build. So, no problem there.
The problem is, I'm getting a random 'core dump' when navigating in the Google Chrome browser. Chrome isn't the problem though because it is not mentioned in the 'core dump', but "nvidia_drv.so" is mentioned.
What happens is: Chrome will close first, Xorg will crash and then I'm logged out of Lightdm.
Both Xorg.bin and Lightdm are mentioned in the following 'core dump', along with Nvidia. Here is the output for journalctl and dmesg (also link to pastebin [ https://pastebin.com/raw/9DXR6MY1 ]:
# journalctl
Apr 09 01:15:50 galicia systemd[1]: Starting Hostname Service...
Apr 09 01:15:51 galicia dbus-daemon[457]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 09 01:15:51 galicia systemd[1]: Started Hostname Service.
Apr 09 01:16:21 galicia systemd[1]: systemd-hostnamed.service: Succeeded.
Apr 09 01:20:30 galicia nscd[476]: 476 checking for monitored file `/etc/services': No such file or directory
Apr 09 01:20:45 galicia nscd[476]: 476 checking for monitored file `/etc/services': No such file or directory
Apr 09 01:24:13 galicia smartd[463]: Device: /dev/sda [SAT], SMART Usage Attribute: 195 Hardware_ECC_Recovered changed from 71 to 70
Apr 09 01:27:55 galicia systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Apr 09 01:27:55 galicia systemd[1]: Started Process Core Dump (PID 16933/UID 0).
Apr 09 01:27:58 galicia systemd-coredump[16934]: Process 1126 (Xorg.bin) of user 0 dumped core.
Hi Butterfly (kelebek333),
On the contrary, an Nvidia 340.108 patch is probably required for Linux Kernel 5.12.
I've been testing Linux kernel 5.12 with the all the Nvidia 340.108 patches including for kernel 5.11) and I'm getting random 'core dump' crashes. It works fine with kernel 5.11, but not with 5.12.
Here is some info:
uname -a: rc5-git- 5e46d1b- Pogorze- Karpackie- CUSTOM- KERNEL #3 SMP Wed Mar 31 08:36:13 CEST 2021 x86_64 GNU/Linux
Linux galicia 5.12.0-
dmesg:
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.108 Wed Dec 11 11:06:58 PST 2019
nvidia_uvm: Loaded the UVM driver, major device number 243
lsmod:
Both nvidia & nvidia_uvm modules are loaded fine
The issue:
Interesting thing is, the shim build for nvidia.ko and nvidia_uvm.ko is compiling FINE, with NO ERRORS during or after the build. So, no problem there.
The problem is, I'm getting a random 'core dump' when navigating in the Google Chrome browser. Chrome isn't the problem though because it is not mentioned in the 'core dump', but "nvidia_drv.so" is mentioned.
What happens is: Chrome will close first, Xorg will crash and then I'm logged out of Lightdm.
Both Xorg.bin and Lightdm are mentioned in the following 'core dump', along with Nvidia. Here is the output for journalctl and dmesg (also link to pastebin [ https:/ /pastebin. com/raw/ 9DXR6MY1 ]:
# journalctl
Apr 09 01:15:50 galicia systemd[1]: Starting Hostname Service... p.hostname1' hostnamed. service: Succeeded. ECC_Recovered changed from 71 to 70 systemd\ x2dcoredump. slice. coredump[ 16934]: Process 1126 (Xorg.bin) of user 0 dumped core.
Apr 09 01:15:51 galicia dbus-daemon[457]: [system] Successfully activated service 'org.freedeskto
Apr 09 01:15:51 galicia systemd[1]: Started Hostname Service.
Apr 09 01:16:21 galicia systemd[1]: systemd-
Apr 09 01:20:30 galicia nscd[476]: 476 checking for monitored file `/etc/services': No such file or directory
Apr 09 01:20:45 galicia nscd[476]: 476 checking for monitored file `/etc/services': No such file or directory
Apr 09 01:24:13 galicia smartd[463]: Device: /dev/sda [SAT], SMART Usage Attribute: 195 Hardware_
Apr 09 01:27:55 galicia systemd[1]: Created slice system-
Apr 09 01:27:55 galicia systemd[1]: Started Process Core Dump (PID 16933/UID 0).
Apr 09 01:27:58 galicia systemd-
Apr 09 01:27:58 galicia systemd[1]: systemd-
Apr 09 01:27:58 galicia at-spi-
Apr 09 01:27:58 galicia su[1870]: pam_unix(
Apr 09 01:27:58 galicia lightdm[1196]: pam_unix(
Apr 09 01:27:58 galicia systemd-
Apr 09 01:27:58 galicia kernel: show_signal_msg: 34 callbacks suppressed
Apr 09 01:27:58 galicia kernel: lightdm[16941]: segfault at 8 ip 00007fdea653cbba sp 00007ffeb03c9568 error 4 in libc-2.
Apr 09 01:27:58 galicia kernel: Code: f3 0f 1e fa 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 66 <f3> 0f >
Apr 09 01:27:58 galicia systemd[1217]: pulseaudio.service: Succeeded.
Apr 09 01:27:58 galicia systemd[1]: Started Process Core Dump (PID 16942/UID 0).
Apr 09 01:27:59 galicia kernel: resource sanity check: requesting [mem 0x000c0000-
Apr 09 01:27:59 galicia kernel: caller _nv000788rm+
Apr 09 01:27:59 galicia systemd-
Apr 09 01:27:59 galicia systemd[1]: systemd-
Apr 09 01:28:00 galicia systemd[1]: Created slice User Slice of UID 482.
Apr 09 01:28:00 galicia systemd[1]: Starting User Runtime Directory /run/user/482...
Apr 09 01:28:00 galicia systemd-
Apr 09 01:28:01 galicia systemd[1]: Finished User Runtime Directory /run/user/482.
Apr 09 01:28:01 galicia systemd[1]: Starting User Manager for UID 482...
Apr 09 01:28:01 galicia systemd[16966]: pam_warn(
Apr 09 01:28:01 galicia systemd[16966]: pam_unix(
-----
$dmesg
[20057.313160] show_signal_msg: 34 callbacks suppressed 33.so[7fdea64c3 000+14e000] 0x000fffff] , which spans more than PCI Bus 0000:00 [mem 0x000c0000- 0x000dffff window]
[20057.313170] lightdm[16941]: segfault at 8 ip 00007fdea653cbba sp 00007ffeb03c9568 error 4 in libc-2.
[20057.313271] Code: f3 0f 1e fa 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 66 <f3> 0f 6f 20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83
[20057.972305] resource sanity check: requesting [mem 0x000c0000-
=====