Page 1 of 1

can't open module nvidia

Posted: Tue Apr 07, 2009 10:50 am
by thekorn
Hello! I have a full front end that I'm trying to convert over to a network booting minimyth setup.

When it's a non-minimyth client, I have a customized xorg.conf file configured for dualhead operation that works GREAT! (It's a 7300TC card, in case that matters.)

So I copied the working xorg.conf over to my tftp server, and told minimyth to use it. Unfortunately, it's at that point that all hell breaks loose. For some reason, minimyth can't load the nvidia module!


From Xorg.0.0.log (as a minimyth client):

Code: Select all

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.4.2, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(II) LoadModule: "mouse"
(WW) Warning, couldn't open module mouse
(II) UnloadModule: "mouse"
(EE) Failed to load module "mouse" (module does not exist, 0)
(II) LoadModule: "kbd"
(WW) Warning, couldn't open module kbd
(II) UnloadModule: "kbd"
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No drivers available.
Here are some snippets from the messages file...

Code: Select all

Apr  7 04:07:27 (none) local0.info minimyth: processing configuration file ...

(...snip...)

Apr  7 04:07:27 (none) local0.info minimyth: fetching 'confro:/xorg.conf': local file will be '/etc/X11/xorg.conf'.
Apr  7 04:07:27 (none) local0.info minimyth: fetching 'confro:/xorg.conf': URL 'tftp://172.18.0.50/conf/mythtical/xorg.conf' fetched.
Apr  7 04:07:27 (none) local0.info minimyth: fetched MiniMyth read-only configuration file '/xorg.conf'
Apr  7 04:07:27 (none) local0.info minimyth:   by fetching tftp://172.18.0.50/conf/mythtical/xorg.conf'
Apr  7 04:07:27 (none) local0.info minimyth:   to local file '/etc/X11/xorg.conf'.

(...snip...)

Apr  7 04:07:28 (none) user.info kernel: ppdev: user-space parallel port driver
Apr  7 04:07:28 (none) user.info kernel: Linux agpgart interface v0.103
Apr  7 04:07:28 (none) user.warn kernel: nvidia: module license 'NVIDIA' taints kernel.
Apr  7 04:07:28 (none) local0.info minimyth: starting telnet server ...

(...snip...)

Apr  7 04:07:28 (none) user.warn kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module  169.12  Thu Feb 14 17:53:07 PST 2008
The last line is the most baffling to me. I'm loading minimyth 0-21.0-66b3, which I *thought* was based on the 180.whatever drivers. So where is the 169.12 driver coming from!??



Oh yeah, here's my xorg.conf file, just for completeness sake:

Code: Select all

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "vmmouse"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "BenQ"
    ModelName      "PE7700"
#    HorizSync       31.0 - 81.0
#    VertRefresh     56.0 - 75.0
#    Option    "UseEdidDpi"  "FALSE"
#    Option    "DPI"  "70 x 100"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 LE"
    Option         "UseFBDev" "true"
    Option         "NoLogo" "true"
    Option      "UseEvents" "true"
    Option "TVStandard" "NTSC-M"
#    Option "TVStandard" "HD480i"
    Option "TVOutFormat" "SVIDEO"
    Option "TVOverScan" "0.88"
    Option      "ConnectedMonitor" "DFP,TV"
    Option         "CoolBits" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinView" "1"
    Option         "metamodes" "DFP: 1280x720 +0+0, TV: 800x600 +240+60"
#    Option         "metamodes" "DFP: nvidia-auto-select +0+0, TV: 800x600 +240+60"
#    Option         "metamodes" "DFP: nvidia-auto-select +0+0, TV: nvidia-auto-select +0+0"
EndSection

Section "Extensions"

#       Option          "Composite"     "Enable"
    Option         "Composite" "Disable"
EndSection

Here's my (machine specific, but not really) minimyth.conf file:

Code: Select all

#MM_X_DRIVER='nvidia'
MM_DHCP_HOST_NAME='mythtical'
MM_DHCP_TCODE='America/Chicago'
MM_DHCP_NTP_SERVERS='172.18.0.50'
MM_ACPI_EVENT_BUTTON_POWER='off'
MM_X_SCREENSAVER='xscreensaver'
MM_X_SCREENSAVER_TIMEOUT='120'
#MM_X_SCREENSAVER_HACK='sleep'
MM_X_OUTPUT_DVI='auto'
#MM_X_OUTPUT_VGA='none'
MM_X_FETCH_XORG_CONF='yes'
MM_MASTER_SERVER='172.18.0.50'
MM_MASTER_DBPASSWORD=(redacted)
MM_PLUGIN_OPTICAL_DISK_ENABLED='no'
MM_THEME_NAME='blootubelite-wide'
MM_THEMEOSD_NAME='Retro-OSD'
#MM_VIDEO_ASPECT_RATIO='16:9'
MM_SECURITY_FETCH_CREDENTIALS_CIFS='yes'
MM_LIRC_FETCH_LIRCD_CONF='yes'
MM_LIRC_FETCH_LIRCRC='yes'
MM_MEDIA_VIDEO_URL=(redacted)
MM_SECURITY_USER_MINIMYTH_UID=(redacted)
MM_SECURITY_USER_MINIMYTH_GID=(redacted)
#MM_X_HACK_HIDE_BLUE_LINE_ENABLED='yes'
#MM_X_RESOLUTION='1280x720'
#MM_X_REFRESH='60'
MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKFFWD='TV Playback~SEEKFFWD~),Right'
MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKRWND='TV Playback~SEEKRWND~(,Left'
MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKRWND='TV Playback~TOGGLESTRETCH~#'
MM_MYTHDB_KEYBINDINGS_TV_Editing_LOADCOMMSKIP='TV Editing~LOADCOMMSKIP~#'
MM_VIDEO_DECODER='ffmpeg'
#MM_VIDEO_DECODER='vdpau'
Any idea where this train is running off the tracks? I'd like to unplug my hard drives on that client! :D

Posted: Tue Apr 07, 2009 11:27 am
by thekorn
I also just tried it with minimyth-0-21.0-65-nvidia.180.41 , just to make sure I was getting the 180.41 drivers.

Except for the line
Apr 7 04:07:28 (none) user.warn kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module 169.12 Thu Feb 14 17:53:07 PST 2008
which now reads

Code: Select all

Apr  7 05:17:52 (none) user.warn kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module  180.41  Thu Mar 19 00:03:09 PST 2009
the rest of the output is identical.

Posted: Tue Apr 07, 2009 2:25 pm
by Pablo
Because the NVIDIA drivers have modules that conflict with the Xorg/Mesa modules, the NVIDIA drivers are in a separate directory. As a result, Xorg will not find them by default. Adding

Code: Select all

Section "Files"
    ModulePath  "/usr/lib/nvidia/xorg/modules"
    ModulePath  "/usr/lib/xorg/modules"
EndSection
to the top of your xorg.conf file should fix the problem.

Posted: Wed Apr 08, 2009 3:28 pm
by thekorn
Thanks Pablo, that did the trick!

Now I just have to figure out why Bob is acting all crazy and crashing minimyth. D'oh, two steps forward, one step back.

(I use Bob OK on my other minimyth, so no idea why it's face planting on this machine.)