Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4161  / 1 Year ago, thu, april 20, 2023, 12:22:25

I recently upgraded to 12.10. In the process, my laptop, which is a W520 in a dock, connected to 2 external monitors (the same monitors.. Dell U2400). I finally got the nvidia-experimental-310 driver working with both monitors. Everything was glorious for a few weeks, and then the thing decided to upgrade the kernel and I didn't realize it did that when I asked it to do the apt-get upgrade.



After realizing my mistake, I went back and tried reinstalling the nvidia driver, since I assumed it needed to be built against the current kernel again. I couldn't get either the nvidia-current or nvidia-experimental-310 drivers working (they booted into a black screen with a flashing cursor, or, in the case of the 310 driver, wouldn't let me enable my second screen).



I was able to get the nvidia-experimental-304 driver working, though. So, after some trial and error, I updated my xorg.conf file and rebooted. Now, however, I get the following error in my Xorg.0.log file:



[    16.023] (EE) Failed to load module "nvidia-experimental-304" (module does not exist, 0)


But, when I go to a virtual terminal, and run the following:



# modprobe nvidia-experimental-304
# /etc/init.d/lightdm restart


Everything now works as expected, except that the following still shows up in my Xorg.0.log file, even when X starts as I would expect it to:



[    16.023] (EE) Failed to load module "nvidia-experimental-304" (module does not exist, 0)


Can anyone tell me what I'm doing incorrectly? I'd like to get the module to automatically load on startup, so I can boot into X directly, without having to manually modprobe the module.



My xorg.conf file follows.



Edit



If I change the Driver "nvidia-experimental-304" to "nvidia" in my xorg.conf file, the system runs in low-graphics mode on reboot, with the following errors in the xorg.conf file:



[    17.147] (**) NVIDIA(0): Enabling 2D acceleration
[ 17.163] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[ 17.163] (EE) NVIDIA(0): system's kernel log for additional error messages and
[ 17.163] (EE) NVIDIA(0): consult the NVIDIA README for details.
[ 17.163] (EE) NVIDIA(0): *** Aborting ***
[ 17.163] (EE) NVIDIA(0): Failing initialization of X screen 0


syslog now shows:



Dec  3 12:55:03 corellia kernel: [   33.405620] e1000e 0000:00:19.0: irq 50 for MSI/MSI-X
Dec 3 12:55:03 corellia kernel: [ 33.431116] nvidia: module license 'NVIDIA' taints kernel.
Dec 3 12:55:03 corellia kernel: [ 33.431118] Disabling lock debugging due to kernel taint

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 304.64 (buildd@papaya) Fri Nov 9 10:49:08 UTC 2012

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL U2410"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia-experimental-304"
VendorName "NVIDIA Corporation"
BoardName "Quadro 1000M"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-5"
Option "metamodes" "DFP-5: nvidia-auto-select +1920+0, DFP-6: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

More From » 12.10

 Answers
3

Your driver should just be nvidia.




Driver "nvidia"




X doesn't load kernel modules. It loads X modules, which call a device. When that device is not present the kernel loads the module. Reference here, guard your eyes.



So by setting Driver "nvidia-experimental-304" your loading a X module that doesn't exist and it can't tell what kernel device it should load and then the kernel has no idea what module to load. The reason it works if you modprobe first is because the module is loaded. I would suspect that "some" nvidia things would not work that way though. (i.e. the module is loaded but the x driver isn't)



Here is a valid device section, please excuse the formatting.




Section "Device"

Identifier "Device1"

Driver "nvidia"

VendorName "NVIDIA Corporation"

BoardName "GeForce GT 330M"

BusID "PCI:1:0:0"

Screen 1

EndSection



[#33888] Thursday, April 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
clegian

Total Points: 283
Total Questions: 115
Total Answers: 115

Location: Morocco
Member since Tue, Feb 2, 2021
3 Years ago
;