Bug#995799: nvidia-legacy-340xx-driver startx failure on 5.14.9

S R Wright srw6666 at gmail.com
Tue Oct 5 23:29:47 BST 2021


Package: nvidia-legacy-340xx-driver
Version: 340.108-11
Severity: serious


The latest nvidia-legacy-340xx-driver succeeds in building the dkms 
module with kernel 5.14.9,  but startx fails to locate any valid 
screens.  This same driver works correctly with kernel 5.10.70.

It appears that drm may be what is having issues here as when it is 
working,  one can see both the nvidia and drm drivers loaded using 
lsmod;  with kernel 5.14.9 the nvidia driver is loaded,  the drm is not.

Comparing dmesg output --

5.10.70:
 > sudo dmesg | egrep nvidia
[   17.228869] nvidia: loading out-of-tree module taints kernel.
[   17.228932] nvidia: module license 'NVIDIA' taints kernel.
[   17.247604] nvidia 0000:04:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=io+mem
[   17.247929] [drm] Initialized nvidia-drm 0.0.0 20150116 for 
0000:04:00.0 on minor 0
[   32.923403] caller _nv000788rm+0xe4/0x1c0 [nvidia] mapping multiple BARs
[  109.283171] caller _nv000788rm+0xe4/0x1c0 [nvidia] mapping multiple BARs

5.14.9:
 > sudo dmesg | egrep nvidia
[   22.765964] nvidia: loading out-of-tree module taints kernel.
[   22.766040] nvidia: module license 'NVIDIA' taints kernel.
[   22.785231] nvidia 0000:04:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=io+mem
[   53.226048] caller _nv000788rm+0xe4/0x1c0 [nvidia] mapping multiple BARs

-- sRw



More information about the pkg-nvidia-devel mailing list