Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: NVIDIA driver doesn't recompile

  1. #1
    Join Date
    Jan 2009
    Location
    European Union
    Posts
    48

    Default NVIDIA driver doesn't recompile

    I'm already using my computer this way a while, but want to change it now. The graphic driver isn't easy to recompile... Some graphic effects work, so it's confusing to me.

    Some details
    openSUSE 11.1
    NVIDIA GeForce 9400 GT
    Linux 2.6.27.25-0.1-pae i686
    NVIDIA-Linux-x86-185.18.14-pkg1.run

    Okay, I had the graphic driver installed though YaST but then did a new install of openSUSE on a new harddrive (nothing else changed). Strangely the installtion though YaST didn't work anymore, so I installed it manually (after removing the files I tried to install before). But after a kernel-update I wasn't able to recompile using
    Code:
    sh /...driver... -K
    It complained /lib/modules/../nvidia.ko would already exist.
    After renaming that file it worked to recompile, but
    Code:
    sax2 -r -m 0=nvidia
    doesn't manage to load.
    I tried to rename both nvidia.ko and the nvidia folder in /lib/modules/../kernel/drivers/video, but it had the same effect.

    What else could I try? Help is appreciated.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: NVIDIA driver doesn't recompile

    Quote Originally Posted by KarlaKa
    I'm already using my computer this way a while, but want to change it
    now. The graphic driver isn't easy to recompile... Some graphic effects
    work, so it's confusing to me.

    Some details
    openSUSE 11.1
    NVIDIA GeForce 9400 GT
    Linux 2.6.27.25-0.1-pae i686
    NVIDIA-Linux-x86-185.18.14-pkg1.run

    Okay, I had the graphic driver installed though YaST but then did a new
    install of openSUSE on a new harddrive (nothing else changed). Strangely
    the installtion though YaST didn't work anymore, so I installed it
    manually (after removing the files I tried to install before). But after
    a kernel-update I wasn't able to recompile using

    Code:
    --------------------
    sh /...driver... -K
    --------------------

    It complained /lib/modules/../nvidia.ko would already exist.
    After renaming that file it worked to recompile, but

    Code:
    --------------------
    sax2 -r -m 0=nvidia
    --------------------

    doesn't manage to load.
    I tried to rename both nvidia.ko and the nvidia folder in
    /lib/modules/../kernel/drivers/video, but it had the same effect.

    What else could I try? Help is appreciated.

    Hi
    Were you at runlevel 3 when running the commands to build etc? Normally
    if you've done it the 'hard way' previously there is no need to re-run
    the sax2 command, just init 5 && exit. Have a look in the prerelease
    subforum as I posted over there my canned response to install nvidia
    drivers yesterday.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.2 Milestone 5 (i586) Kernel 2.6.31-rc5-git3-2-desktop
    up 22:55, 2 users, load average: 0.00, 0.03, 0.02
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


  3. #3
    Join Date
    Jan 2009
    Location
    European Union
    Posts
    48

    Default Re: NVIDIA driver doesn't recompile

    Hi, i were in runlevel 3. Sorry, forgot to write that. I read your post in the other thread, what I did is comparable (just got the source code via YaST).

    Is there a way to uninstall the driver? Maybe I should simply try a fresh driver install.
    I tried to read /var/log/SaX.log and found this

    Code:
    Module Loader present
    	Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    	(==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 16 18:14:47 2009
    	(++) Using config file: "/tmp/sax2-8768/xorg.conf"
    	(==) ServerLayout "Layout[all]"
    	(**) |-->Screen "Screen[0]" (0)
    	(**) |   |-->Monitor "Monitor[0]"
    	(**) |   |-->Device "Device[0]"
    	(**) |-->Input Device "Keyboard[0]"
    	(**) |-->Input Device "Mouse[1]"
    	(**) Option "ZapWarning" "on"
    	(**) Option "AllowMouseOpenFail" "on"
    	(==) Automatically adding devices
    	(==) Automatically enabling devices
    	(WW) The directory "/usr/share/fonts/local" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/PEX" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/latin2/misc" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/latin2/75dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/latin2/100dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/latin2/Type1" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/latin7/75dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/baekmuk" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/japanese" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/kwintv" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/uni" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/CID" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/ucs/misc" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/ucs/75dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/ucs/100dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/hellas/misc" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/hellas/75dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/hellas/100dpi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/hellas/Type1" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/usr/share/fonts/xtest" does not exist.
    	Entry deleted from font path.
    	(WW) The directory "/opt/kde3/share/fonts" does not exist.
    	Entry deleted from font path.
    	(==) Including the default font path /usr/share/fonts/misc:unscaled,/usr/share/fonts/TTF/,/usr/share/fonts/OTF,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled.
    	(**) FontPath set to:
    	/usr/share/fonts/misc:unscaled,
    	/usr/share/fonts/75dpi:unscaled,
    	/usr/share/fonts/100dpi:unscaled,
    	/usr/share/fonts/Type1,
    	/usr/share/fonts/URW,
    	/usr/share/fonts/Speedo,
    	/usr/share/fonts/cyrillic,
    	/usr/share/fonts/truetype,
    	/usr/share/fonts/misc:unscaled,
    	/usr/share/fonts/TTF/,
    	/usr/share/fonts/OTF,
    	/usr/share/fonts/Type1/,
    	/usr/share/fonts/100dpi:unscaled,
    	/usr/share/fonts/75dpi:unscaled
    	(**) Input device list set to "/dev/gpmdata,/dev/input/mice"
    	(==) ModulePath set to "/usr/lib/xorg/modules/updates,/usr/lib/xorg/modules"
    	(**) Extension "Composite" is enabled
    	(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
    	(II) No APM support in BIOS or kernel
    	(II) Loader magic: 0x81f95c0
    	(II) Module ABI versions:
    	X.Org ANSI C Emulation: 0.4
    	X.Org Video Driver: 4.1
    	X.Org XInput driver : 2.1
    	X.Org Server Extension : 1.1
    	X.Org Font Renderer : 0.6
    	(II) Loader running on linux
    	(++) using VT number 7
    and it ends with
    Code:
    (II) Primary Device is: PCI 02@00:00:0
    	(EE) No devices detected.
    	
    	Fatal server error:
    	no screens found
    I hope it's readable, I didn't want to post the complete log as it's so long.
    "no screens found" sounds pretty bad... It sounds like I hardly could use a GUI, but it looks nice, same eye-candy it had when the graphic driver worked. How can that be?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: NVIDIA driver doesn't recompile

    Quote Originally Posted by KarlaKa
    Hi, i were in runlevel 3. Sorry, forgot to write that. I read your post
    in the other thread, what I did is comparable (just got the source code
    via YaST).

    Is there a way to uninstall the driver? Maybe I should simply try a
    fresh driver install.
    I tried to read /var/log/SaX.log and found this

    <snip log file>
    I hope it's readable, I didn't want to post the complete log as it's so
    long.
    "no screens found" sounds pretty bad... It sounds like I hardly could
    use a GUI, but it looks nice, same eye-candy it had when the graphic
    driver worked. How can that be?

    Hi
    There should be an nvidia-installer log as well, have a peruse of
    that

    Use somewhere like pastebin or nopaste to upload files like this and
    just post the link
    For example here is my last one;
    Code:
    curl -F file=@/var/log/nvidia-installer.log www.nopaste.com/a
    http://www.nopaste.com/p/asePnhM3k
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.2 Milestone 5 (i586) Kernel 2.6.31-rc5-git3-2-desktop
    up 0:04, 2 users, load average: 0.38, 0.51, 0.24
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


  5. #5
    Join Date
    Jan 2009
    Location
    European Union
    Posts
    48

    Default Re: NVIDIA driver doesn't recompile

    Quote Originally Posted by malcolmlewis View Post
    Hi
    There should be an nvidia-installer log as well, have a peruse of
    that

    Use somewhere like pastebin or nopaste to upload files like this and
    just post the link
    For example here is my last one;
    Code:
    curl -F file=@/var/log/nvidia-installer.log www.nopaste.com/a
    http://www.nopaste.com/p/asePnhM3k
    Thank you . There's so much to learn...
    So here's the
    nvidia-installer log
    .

  6. #6
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: NVIDIA driver doesn't recompile

    The reason the 1-click installer doesn't work with the new kernel is because the morons at nVidia only offer packages for the .23 series of Kernel so the nvidia.ko (the driver) gets copied to the wrong directory and if you don't upgrade from .23 to .25, the module doesn't get moved properly.

    So, the solution is to manually copy / move the nvidia.ko from the older location in /lib/modules/old_kernel_version/kernel/drivers/video/ to the new location in 2.6.27.25-0.1-xxxx/kernel/drivers/video/ and run depmod -a as root and reboot (rebooting is not necessary but for claritys sake a better solution).

    This solution only applies to the 1-click installer.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: NVIDIA driver doesn't recompile

    Quote Originally Posted by KarlaKa
    malcolmlewis;2026936 Wrote:
    > Hi
    > There should be an nvidia-installer log as well, have a peruse of
    > that
    >
    > Use somewhere like pastebin or nopaste to upload files like this and
    > just post the link
    > For example here is my last one;
    > >

    Code:
    --------------------
    > >

    > curl -F file=@/var/log/nvidia-installer.log www.nopaste.com/a
    > http://www.nopaste.com/p/asePnhM3k
    >

    --------------------
    > >


    Thank you . There's so much to learn...
    So here's the '
    nvidia-installer log' (http://pastebin.com/m5ceefde1).
    Hi
    So that log shows all is well with the install?

    I would look at trying the nvidia-xconfig command to write a new xorg
    file and then just get back to runlevel 5.

    That's of course unless you used Chrysantine's suggestion

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.2 Milestone 5 (i586) Kernel 2.6.31-rc5-git3-2-desktop
    up 3:41, 2 users, load average: 0.10, 0.21, 0.20
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


  8. #8
    Join Date
    Jan 2009
    Location
    European Union
    Posts
    48

    Default Re: NVIDIA driver doesn't recompile

    I didn't use the 1-click installer. At least I don't remember it... anyhow, some idea if the next non manual install doesn't work.

    Well, but this driver now I compiled myself, so it can't be that problem. When I tried nvidia-xconfig I couldn't go back to runlevel 5 . So as init 5 didn't do anything init 6 rebootet nicely, but I ended up without a GUI. So I'm using my old config again. Should I have used a specific option?

    I went to windows as I wondered if maybe the graphic card is broken or not conected well (but the monitor works which is conected to the card), and windows can see the card. But when booting into linux neither the nvidia screen appears nor is it listed in "My Computer".

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,325
    Blog Entries
    15

    Default Re: NVIDIA driver doesn't recompile

    Quote Originally Posted by KarlaKa
    I didn't use the 1-click installer. At least I don't remember it...
    anyhow, some idea if the next non manual install doesn't work.

    Well, but this driver now I compiled myself, so it can't be that
    problem. When I tried nvidia-xconfig I couldn't go back to runlevel 5
    . So as init 5 didn't do anything init 6 rebootet nicely, but I ended
    up without a GUI. So I'm using my old config again. Should I have used a
    specific option?

    I went to windows as I wondered if maybe the graphic card is broken or
    not conected well (but the monitor works which is conected to the card),
    and windows can see the card. But when booting into linux neither the
    nvidia screen appears nor is it listed in "My Computer".
    Hi
    Drop back to runlevel 3 (init 3) and run the sax command to restore the
    default nvidia driver to ensure everything is ok;
    Code:
    sax2 -r -m 0=nv
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.25-0.1-default
    up 12 days 22:17, 2 users, load average: 0.20, 0.22, 0.14
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  10. #10
    Join Date
    Jan 2009
    Location
    European Union
    Posts
    48

    Default Re: NVIDIA driver doesn't recompile

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Drop back to runlevel 3 (init 3) and run the sax command to restore the
    default nvidia driver to ensure everything is ok;
    After
    Code:
    nvidia-xconfig
    ? Or just so? I guess now the vesa driver is used.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •