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 ?
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 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.
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 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:
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:
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.
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…
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
What exactly is the issue on your upgraded 13.2 box?
That you had to install many updates afterwards, or that you couldn’t install the nvidia driver?
Have you added the nvidia repo for 13.2 and updated the driver? The 13.1 version will not work.
The problem with zypper wanting to install the wrong kernel modules when you uninstalled the driver manually should not happen in 13.2 any more.
Anyway, you should better create a new thread about your problem, it’s most likely not related to the original problem discussed here (which was on 13.1).