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

Thread: Open suse 13.1 x64, Nvidia driver install fails

  1. #1

    Default Open suse 13.1 x64, Nvidia driver install fails

    Hi all,

    I have two systems that I am trying to install the Nvidia driver on, both are opensuse 13.1 x64.

    I have installed the nvidia repository with:

    zypper ar -f ftp://download.nvidia.com/opensuse/13.1/ nvidia

    I used lspci to determine the driver to use :

    lspci | grep VGA
    42:00.0 VGA compatible controller: NVIDIA Corporation NV43 [Quadro NVS 440] (rev a2)
    43:00.0 VGA compatible controller: NVIDIA Corporation NV43 [Quadro NVS 440] (rev a2)

    And then attempted to install the graphics drivers with :

    zypper install x11-video-nvidiaG02

    This downloads the drivers, and after a couple of minutes spits out a whole load of errors and stops (2800 lines worth of errors ). When I re-boot and start x nvidia-config tells me that the nvidia drivers are not being used, I guess due to the errors

    Does anyone know what is wrong here and how I can go about resolving it ?

    Cheers.

    Phill.

  2. #2

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    Quote Originally Posted by phillhs View Post
    This downloads the drivers, and after a couple of minutes spits out a whole load of errors and stops (2800 lines worth of errors ). When I re-boot and start x nvidia-config tells me that the nvidia drivers are not being used, I guess due to the errors

    Does anyone know what is wrong here and how I can go about resolving it ?
    Well, hard to say without the error messages.

    But which kernel are you using?
    Code:
    uname -a
    Those packages only work with the standard kernel included in openSUSE, i.e. 3.11.x for openSUSE 13.1.

    What kernel packages do you have installed?
    Code:
    rpm -qa | grep kernel

  3. #3

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    Quote Originally Posted by wolfi323 View Post
    Well, hard to say without the error messages.
    Code:
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following 3 NEW packages are going to be installed:
      nvidia-computeG02 nvidia-gfxG02-kmp-pae x11-video-nvidiaG02 
    
    The following recommended package was automatically selected:
      x11-video-nvidiaG02 
    
    3 new packages to install.
    Overall download size: 45.3 MiB. After the operation, additional 207.2 MiB will be used.
    Continue? [y/n/? shows all options] (y): Retrieving package nvidia-gfxG02-kmp-pae-304.117_k3.11.6_4-28.1.i586 (1/3),   3.2 MiB ( 25.3 MiB unpacked)
    Retrieving: nvidia-gfxG02-kmp-pae-304.117_k3.11.6_4-28.1.i586.rpm [..done (915.5 KiB/s)]
    Retrieving package nvidia-computeG02-304.117-29.1.x86_64 (2/3),   9.0 MiB ( 28.2 MiB unpacked)
    Retrieving: nvidia-computeG02-304.117-29.1.x86_64.rpm [..done (1.9 MiB/s)]
    Retrieving package x11-video-nvidiaG02-304.117-29.1.x86_64 (3/3),  33.1 MiB (153.7 MiB unpacked)
    Retrieving: x11-video-nvidiaG02-304.117-29.1.x86_64.rpm [.......done (4.1 MiB/s)]
    (1/3) Installing: nvidia-gfxG02-kmp-pae-304.117_k3.11.6_4-28.1 [........done]
    Additional rpm output:
    make: Entering directory `/usr/src/linux-3.11.10-7-obj/i386/pae'
      CC [M]  /usr/src/kernel-modules/nvidia-304.117-pae/nv.o
    In file included from /usr/src/linux-3.11.10-7/arch/x86/include/asm/bitops.h:514:0,
                     from /usr/src/linux-3.11.10-7/include/linux/bitops.h:22,
                     from /usr/src/linux-3.11.10-7/include/linux/kernel.h:10,
                     from /usr/src/linux-3.11.10-7/include/linux/sched.h:15,
                     from /usr/src/linux-3.11.10-7/include/linux/utsname.h:5,
                     from /usr/src/kernel-modules/nvidia-304.117-pae/nv-linux.h:40,
                     from /usr/src/kernel-modules/nvidia-304.117-pae/nv.c:13:
    /usr/src/linux-3.11.10-7/include/linux/bitops.h: In function ‘hweight_long’:
    /usr/src/linux-3.11.10-7/include/asm-generic/bitops/const_hweight.h:26:70: warning: signed and unsigned type in conditional expression [-Wsign-compare]
     #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w))
                                                                       ^
    There are a whole bunch more warnings but had to snip them as post was too lng and I can't post attachments !
    
    In file included from /usr/src/linux-3.11.10-7/arch/x86/include/asm/mmzone.h:2:0,
                     from /usr/src/linux-3.11.10-7/include/linux/mmzone.h:917,
                     from /usr/src/linux-3.11.10-7/include/linux/gfp.h:4,
                     from /usr/src/linux-3.11.10-7/include/linux/kmod.h:22,
                     from /usr/src/linux-3.11.10-7/include/linux/module.h:13,
                     from /usr/src/kernel-modules/nvidia-304.117-pae/nvidia.mod.c:1:
    /usr/src/linux-3.11.10-7/arch/x86/include/asm/mmzone_32.h: In function ‘pfn_valid’:
    /usr/src/linux-3.11.10-7/arch/x86/include/asm/mmzone_32.h:50:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       return (pfn < node_end_pfn(nid));
                   ^
      ld -r -m elf_i386 -T /usr/src/linux-3.11.10-7/scripts/module-common.lds --build-id  -o /usr/src/kernel-modules/nvidia-304.117-pae/nvidia.ko /usr/src/kernel-modules/nvidia-304.117-pae/nvidia.o /usr/src/kernel-modules/nvidia-304.117-pae/nvidia.mod.o
    make[1]: Leaving directory `/usr/src/linux-3.11.10-7'
    NVIDIA: left KBUILD.
    ld: Relocatable linking with relocations from format elf32-i386 (nv.o) to format elf64-x86-64 (nv-linux.o) is not supported
    make: *** [nv-linux.o] Error 1
    /
    
    
    (2/3) Installing: nvidia-computeG02-304.117-29.1 [........done]
    (3/3) Installing: x11-video-nvidiaG02-304.117-29.1 [....................done]
    Additional rpm output:
    grep: etc/X11/xorg.conf: No such file or directory
    Using MD5DIR="/var/adm/SuSEconfig/md5"...
    No changes for /etc/X11/xdm/Xservers
    No changes for /etc/X11/xdm/xdm-config
    I had to trim the above but the full text can be found at : http://penguin.stats.warwick.ac.uk/~.../nv/nv_err.txt

    But which kernel are you using?
    Code:
    uname -a
    Code:
     uname -a
    Linux c64 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) x86_64 x86_64 x86_64 GNU/Linux
    Those packages only work with the standard kernel included in openSUSE, i.e. 3.11.x for openSUSE 13.1.

    What kernel packages do you have installed?
    Code:
    rpm -qa | grep kernel
    Code:
    rpm -qa | grep kernel
    kernel-devel-3.11.6-4.1.noarch
    texlive-l3kernel-2013.72.svn_4469svn29409-10.2.1.noarch
    kernel-source-3.11.10-7.1.noarch
    kernel-xen-3.11.10-7.1.x86_64
    kernel-desktop-devel-3.11.10-7.1.x86_64
    kernel-pae-devel-3.11.10-7.1.i686
    kernel-xen-devel-3.11.10-7.1.x86_64
    texlive-l3kernel-doc-2013.72.svn_4469svn29409-10.2.1.noarch
    kernel-xen-devel-3.11.6-4.1.x86_64
    kernel-syms-3.11.10-7.1.x86_64
    kernel-devel-3.11.10-7.1.noarch
    kernel-desktop-devel-3.11.6-4.1.x86_64
    kernel-desktop-3.11.6-4.1.x86_64
    kernel-default-devel-3.11.10-7.1.x86_64
    nfs-kernel-server-1.2.8-4.9.1.x86_64
    kernel-source-3.11.6-4.1.noarch
    patterns-openSUSE-devel_kernel-13.1-13.6.1.x86_64
    kernel-desktop-3.11.10-7.1.x86_64
    kernel-default-devel-3.11.6-4.1.x86_64
    kernel-xen-3.11.6-4.1.x86_64
    kernel-syms-3.11.6-4.1.x86_64
    Cheers.

    Phill.

  4. #4
    Join Date
    Sep 2013
    Location
    New York
    Posts
    198

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    why don't you simply do search for opensuse 13.1 nvidia drivers
    and use "/sbin/OCICLI <One Click Install Link>" when found the page

    here the one link "https://en.opensuse.org/SDB:NVIDIA_drivers"

    I had recently had to install this on my laptop and just used the button on the page
    since I was not sure what actual GPU I had the lspci did not give me all the info I needed
    I had to try 2 installs before I had found the one that worked.

    but it worked and no CLI :-)

  5. #5

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    Quote Originally Posted by phillhs View Post
    Code:
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following 3 NEW packages are going to be installed:
      nvidia-computeG02 nvidia-gfxG02-kmp-pae x11-video-nvidiaG02
    zypper wants to install the (32bit) pae flavour, although you only have (64bit) kernel-desktop.
    This is a flaw in zypper, apparently you uninstalled the driver manually already and now it doesn't want to install [COLOR=#FF0000]nvidia-gfxG02-kmp-desktop (and nvidiaautomatically again.
    The 1-click install would have the same problem btw.

    You can remove the file /var/lib/zypp/SoftLocks and try again, then zypper should install the right packages.

    Or explicitely specify all packages:
    Code:
    sudo zypper in nvidia-computeG02 nvidia-gfxG02-kmp-desktop x11-video-nvidiaG02
    Both methods should work.

    But you also have kernel-pae-devel-3.11.10-7.1.i686 installed, you should first uninstall that, as this probably also will cause you problems:
    Code:
    sudo zypper rm kernel-pae-devel
    Last edited by wolfi323; 20-Feb-2014 at 09:23.

  6. #6

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    Bingo!

    Removing the /var/lib/zypp/SoftLocks file and re-installing the drivers has helped for both machines.

    Thanks for the prompt help all.

    Cheers.

    Phill.

  7. #7
    Join Date
    Sep 2013
    Location
    New York
    Posts
    198

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    I do not know if one-click would have issue or not
    on my system it did not, although it was a fresh install with all updates.
    never again I use the LiveCd to install this on my laptop.
    not withstanding the fact that it took over an hour to get and install all the updates, grunted the unreadable display is of no help ,but it also does not give any option of desktop to choose and installs the full KDE with all bells and whistles that is very slow on my 6 yo lapy.

  8. #8

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    Quote Originally Posted by vl1969 View Post
    I do not know if one-click would have issue or not
    on my system it did not, although it was a fresh install with all updates.
    Yes, it should work fine on a fresh install, but if you ever uninstalled the driver before, the wrong kernel module will be installed as in the OP's case.
    Btw, this behaviour in libzypp has been removed in Factory recently, so this should not happen anymore with 13.2.

    never again I use the LiveCd to install this on my laptop.
    not withstanding the fact that it took over an hour to get and install all the updates, grunted the unreadable display is of no help ,but it also does not give any option of desktop to choose and installs the full KDE with all bells and whistles that is very slow on my 6 yo lapy.
    Well, the KDE LiveCD only contains KDE of course, the GNOME LiveCD would install GNOME f.i.
    Actually the LiveCDs don't do a real install, they just copy over their content to the hard disk.

    The reason for having to install that many updates afterwards is that the LiveCDs space is limited, so it doesn't include many recommended (but not required) packages. You could prevent this by enabling "Ignore recommended packages for already installed packages" in YaST's options f.e.
    But this is really off-topic here I guess...

  9. #9
    Join Date
    Sep 2013
    Location
    New York
    Posts
    198

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    yeah, I know what livecd install does :-)
    I just did not have burned DVD at hand and really want to try the distro on my laptop.
    I need to rebuild it since I had the win XP 64 bit on it for the last 5 years
    now it getting e bit sluggish thus time to refresh.
    if I like the opensuse on it I might do the dual boot (still need the windows) or just dedicate this pc to small stuff running OpenSuse. so far I do like it but will redo the install from the DVD using LSDX instead of KDE, maybe :-)

  10. #10

    Default Re: Open suse 13.1 x64, Nvidia driver install fails

    Quote Originally Posted by vl1969 View Post
    yeah, I know what livecd install does :-)
    I just did not have burned DVD at hand and really want to try the distro on my laptop.
    I need to rebuild it since I had the win XP 64 bit on it for the last 5 years
    now it getting e bit sluggish thus time to refresh.
    if I like the opensuse on it I might do the dual boot (still need the windows) or just dedicate this pc to small stuff running OpenSuse. so far I do like it but will redo the install from the DVD using LSDX instead of KDE, maybe :-)
    But at least IceWM and twm should be available when installing from the LiveCD as well. Just log out of KDE and select it at the login screen.

    And you can just add further desktop environments with YaST or zypper, no need to do a complete reinstall for that.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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