[opensuse] nVidia on 12.1 / Cannot start X
I upgraded by GNOME 3.0 openSUSE 11.4 box to 12.1. That seemed to go OK. But after logging in I go to GNOME fallback rather than Shell [where Shell worked perfectly under 11.4]. Not only was it fallback - but a hideous nearly Black-n-White fallback. Anyway I figured this was because I needed to reenable and reinstall the nVidia repos. I did that - and now X is broken. Uninstalling the X nvidia packages and I can't even get back to fall back. Is there a way to 'reset' X? isax fails with the inability to load a perl module. I've tried removing/reinstalling nvidia, rebooting, etc... as well as mucking around with xorg.conf. I'd be happy to even have hideous fallback mode back. Failure with nVidia drivers installed - X-Fail-1.txt Failure now after removing packages - X-Fail-2.txt 01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 230M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) xorg-x11-7.6-67.1.4.x86_64 Linux linux-yu4c.site 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
On Sat, Nov 19, 2011 at 16:00, Adam Tauno Williams
I upgraded by GNOME 3.0 openSUSE 11.4 box to 12.1. That seemed to go OK. But after logging in I go to GNOME fallback rather than Shell [where Shell worked perfectly under 11.4]. Not only was it fallback - but a hideous nearly Black-n-White fallback. Anyway I figured this was because I needed to reenable and reinstall the nVidia repos. I did that - and now X is broken. Uninstalling the X nvidia packages and I can't even get back to fall back. Is there a way to 'reset' X? isax fails with the inability to load a perl module. I've tried removing/reinstalling nvidia, rebooting, etc... as well as mucking around with xorg.conf. I'd be happy to even have hideous fallback mode back.
Failure with nVidia drivers installed - X-Fail-1.txt Failure now after removing packages - X-Fail-2.txt
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 230M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
xorg-x11-7.6-67.1.4.x86_64 Linux linux-yu4c.site 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
The first thing that stands out to me is this: (from X-Fail-1.txt) ------------- Error: API mismatch: the NVIDIA kernel module has version 173.14.30, but this NVIDIA driver component has version 285.05.09. ------------- So, in the upgrade, you ended up with a mix of nVidia drivers and it fails (as in, new driver, old kernel module). You need to really clean out everything - the old nVidia driver and the old kernel modules - then reinstall the nVidia driver from the repos (they should be available for 12.1 now). I'd guess that once you clean up the package version mismatch, you will see a nice GUI login again. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 19 November 2011 16:28:46 C wrote:
The first thing that stands out to me is this: (from X-Fail-1.txt)
------------- Error: API mismatch: the NVIDIA kernel module has version 173.14.30, but this NVIDIA driver component has version 285.05.09. -------------
So, in the upgrade, you ended up with a mix of nVidia drivers and it fails (as in, new driver, old kernel module). You need to really clean out everything - the old nVidia driver and the old kernel modules - then reinstall the nVidia driver from the repos (they should be available for 12.1 now).
I'd guess that once you clean up the package version mismatch, you will see a nice GUI login again.
I just got this problem as well when I updated my laptop. The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control. so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/19/2011 02:24 PM, Anders Johansson wrote:
I just got this problem as well when I updated my laptop.
The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control.
so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again
Anders
Does this need a bug report? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, November 19, 2011 02:41:24 PM David C. Rankin wrote:
On 11/19/2011 02:24 PM, Anders Johansson wrote:
I just got this problem as well when I updated my laptop.
The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control.
so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again
Anders
Does this need a bug report? I would think so, since this will break many machines. A new user will not know what to do to fix this. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/19/2011 03:41 PM, David C. Rankin pecked at the keyboard and wrote:
On 11/19/2011 02:24 PM, Anders Johansson wrote:
I just got this problem as well when I updated my laptop.
The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control.
so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again
Anders
Does this need a bug report?
I ran into this as well and wonder if it is because I also have 2.x kernel installed as well because zypp is set to keep the current and the most recent kernel. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 19 November 2011 15:56:34 Ken Schneider - openSUSE wrote:
I ran into this as well and wonder if it is because I also have 2.x kernel installed as well because zypp is set to keep the current and the most recent kernel.
Nope. I don't, and it happened to me. The G01/G02 thing isn't about which kernel you have anyway, it's about which graphics card you have. nvidia decided to stop supporting certain cards with their newer drivers, so we ship the newest driver as G02, a slightly older one with G01 for people with cards supported with that but not with the latest, and something somewhere is supposed to be clever enough to figure out which of the two your card needs. Apparently, that failed in the zypper dup process Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 19.11.2011 22:10, schrieb Anders Johansson:
Nope. I don't, and it happened to me. The G01/G02 thing isn't about which kernel you have anyway, it's about which graphics card you have. nvidia decided to stop supporting certain cards with their newer drivers, so we ship the newest driver as G02, a slightly older one with G01 for people with cards supported with that but not with the latest, and something somewhere is supposed to be clever enough to figure out which of the two your card needs. Apparently, that failed in the zypper dup process Anders Same here, I installed today (a few hours ago, fresh install no upgrade) on one machine (with only one kernel and only one nvidia card for which G02 is the correct driver) added the nvidia repo and it did exactly what was described before and broke X. It was easy to fix by removing the G01 and reinstalling the G02 versions but should not happen. A beginner will have a hard time with that.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 19 Nov 2011 14:41:24 David C. Rankin wrote:
On 11/19/2011 02:24 PM, Anders Johansson wrote:
I just got this problem as well when I updated my laptop.
The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control.
so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again
Anders
Does this need a bug report?
I don't thinks so, distribution upgrade (zypper dup) with third party repositories enabled, is not a recommended (or supported) upgrade path. As far as I know... Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, November 19, 2011 10:39:14 PM Graham Anderson wrote:
On Saturday 19 Nov 2011 14:41:24 David C. Rankin wrote:
On 11/19/2011 02:24 PM, Anders Johansson wrote:
I just got this problem as well when I updated my laptop.
The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control.
so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again
Anders
Does this need a bug report?
I don't thinks so, distribution upgrade (zypper dup) with third party repositories enabled, is not a recommended (or supported) upgrade path. As far as I know...
Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them. In the scenario of a zypper dup, no. ALL old repositories should be removed or disabled. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Roger Luedecke
Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them. In the scenario of a zypper dup, no. ALL old repositories should be removed or disabled.
I did not use zypper dup. I (a) disabled all third party repositories (b) booted from an instal DVD (c) performed the upgrade. I have now installed just the G02 package, removed /etc/X11/xorg.conf, reran nvidia-xconfig, and startx still fails with "This server hsa an unsupported input driver ABI version (have 12.2 need < 12.0)." It then dies with a seg fault / sig-11 in "nvidia_drv.so" 01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 230M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Adam Tauno Williams
Quoting Roger Luedecke
: Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them. In the scenario of a zypper dup, no. ALL old repositories should be removed or disabled. I did not use zypper dup. I (a) disabled all third party repositories (b) booted from an instal DVD (c) performed the upgrade. I have now installed just the G02 package, removed /etc/X11/xorg.conf, reran nvidia-xconfig, and startx still fails with "This server hsa an unsupported input driver ABI version (have 12.2 need < 12.0)." It then dies with a seg fault / sig-11 in "nvidia_drv.so" 01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 230M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
Rebooting (since this appears to rely on kernel modules) doesn't change anything [I'd like to try a "zypper up" but since zypper is currently broken as well I can't]. In dmesg, at boot I see - NVRM: loading NVIDIA UNIX x86_64 Kernel Module 285.05.09 Fri Sep 23 17:31:57 PDT 2011 How can I just fall back to the nouveau driver? I tried removing all the nvidia related packages, reinstalling the xorg-x11-driver-video-nouveau package from the DVD, removing /etc/X11/xorg.conf, but X still fails to start. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 19 November 2011 20:40:42 Adam Tauno Williams wrote:
Quoting Roger Luedecke
: Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them.
In the scenario of a zypper dup, no. ALL old repositories should be removed or disabled.
I did not use zypper dup.
I (a) disabled all third party repositories (b) booted from an instal DVD (c) performed the upgrade.
I have now installed just the G02 package
"the package"? There are two, and you need them both. nvidia-gfxG02-kmp-<kernel flavour> and x11-video-nvidiaG02 Make sure you reinstalled them both and removed the corresponding G01 packages
, removed /etc/X11/xorg.conf, reran nvidia-xconfig
Don't. Just leave xorg.conf off the system. In 99.9% of cases, it's not needed anymore Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Anders Johansson
Quoting Roger Luedecke
: Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them. In the scenario of a zypper dup, no. ALL old repositories should be removed or disabled I did not use zypper dup. I (a) disabled all third party repositories (b) booted from an instal DVD (c) performed the upgrad I have now installed just the G02 packag "the package"? There are two, and you need them both. nvidia-gfxG02-kmp-<kernel flavour> and x11-video-nvidiaG0 Make sure you reinstalled them both and removed the corresponding G01
On Saturday 19 November 2011 20:40:42 Adam Tauno Williams wrote: package
, removed /etc/X11/xorg.conf, reran nvidia-xconfi Don't. Just leave xorg.conf off the system. In 99.9% of cases, it's not needed anymore
Okay, reinstalled the x11-video-nvidiaG02 [ which automatically pulls the other package ]. Removed xorg.conf. Made use the nouvea package was no longer installed. Rebooted. And I end up at a tortured GNOME greeter without working keyboard or pointer. And I had the box set to runlevel 3 - it seems the *(&!@&*($^&*(@ greeter starts anyway. Since the keyboard no longer works all I can do is boot into single user mode, Aside - on initial boot I do see a "/etc/sysconfig/network/scripts/ifup-sysctl lo -o hotplug": No such file or directory. I then removed [again!] all the nvidia packages, reinstalled ./suse/x86_64/xorg-x11-driver-video-nouveau-0.0.16_20110720_b806e3f-2.1.2.x86_64.rpm from the DVD. Rebooted. At least X doesn't start. :( And doing a startx just claims "No devices detected." This is a mess. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 19 November 2011 21:39:26 Adam Tauno Williams wrote:
This is a mess.
You might want to make sure there are no old packages hanging around. rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 11.4 Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Anders Johansson On Saturday 19 November 2011 21:39:26 Adam Tauno Williams wrote: This is a mess
You might want to make sure there are no old packages hanging around
rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 11.4 Yep, that find a long list of 11.4 packages. Including some 'base'
packages like "hal". Looks like this upgrade went sideways. Sign....
looks like I am in for the dull and wasted hours of a re-install
[haven't had to do that in a long time].
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Adam Tauno Williams
On Saturday 19 November 2011 21:39:26 Adam Tauno Williams wrote:
This is a mess You might want to make sure there are no old packages hanging around rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 11.4 Yep, that find a long list of 11.4 packages. Including some 'base'
Quoting Anders Johansson
And after a re-install [formatting /, but keeping /home].... I went straight into a lovely GNOME Shell. Woo Hoo! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, November 19, 2011 09:54:52 PM Adam Tauno Williams wrote:
Quoting Anders Johansson
On Saturday 19 November 2011 21:39:26 Adam Tauno Williams wrote:
This is a mess
You might want to make sure there are no old packages hanging around rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 11.4
Yep, that find a long list of 11.4 packages. Including some 'base' packages like "hal". Looks like this upgrade went sideways. Sign.... looks like I am in for the dull and wasted hours of a re-install [haven't had to do that in a long time]. Sounds like you may need to file a bug-report. The update via DVD method should work fine but didn't. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2011-11-19 at 20:16 -0800, Roger Luedecke wrote:
On Saturday, November 19, 2011 09:54:52 PM Adam Tauno Williams wrote:
On Saturday 19 November 2011 21:39:26 Adam Tauno Williams wrote:
This is a mes You might want to make sure there are no old packages hanging around rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 11.4 Yep, that find a long list of 11.4 packages. Including some 'base'
Quoting Anders Johansson
Understood, but I don't think I can provide enough specifics / information for the bug to be useful to anyone other than "this didn't work". I'm *guessing* based on the output of the "rpm -qa" command that something relating to my previous use of the GNOME 3.0 repository made the package manager derail. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Roger Luedecke
: Third party repos should be removed/disabled for a system upgrade because we cannot and should not support them.
In the scenario of a zypper dup, no. ALL old repositories should be removed or disabled.
I did not use zypper dup.
I (a) disabled all third party repositories (b) booted from an instal DVD (c) performed the upgrade.
I have now installed just the G02 package, removed /etc/X11/xorg.conf, reran nvidia-xconfig, and startx still fails with "This server hsa an unsupported input driver ABI version (have 12.2 need < 12.0)." It then dies with a seg fault / sig-11 in "nvidia_drv.so"
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 230M] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) Let me see if I understand this. You put in the 12.1 DVD to use as an upgrade repo on an 11.4 system? If thats the case, this is not a supported upgrade
On Saturday, November 19, 2011 08:40:42 PM Adam Tauno Williams wrote: path so far as I know. Even in this case, you should have used 'zypper dup' since 'dup' has very specific algorithims tailored to a full distribution upgrade. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 19 November 2011 18:04:58 Roger Luedecke wrote:
You put in the 12.1 DVD to use as an upgrade repo on an 11.4 system? If thats the case, this is not a supported upgrade path so far as I know.
Booting from the 12.1 installation DVD and selecting "upgrade installed system" is the most supported option there is. No option is more supported than that one Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Quoting Anders Johansson
You put in the 12.1 DVD to use as an upgrade repo on an 11.4 system? If thats the case, this is not a supported upgrade path so far as I know Booting from the 12.1 installation DVD and selecting "upgrade installed system" is the most supported option there is. No option is more supported
On Saturday 19 November 2011 18:04:58 Roger Luedecke wrote: than that one
Yes, thank you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday, November 20, 2011 03:09:40 AM Anders Johansson wrote:
On Saturday 19 November 2011 18:04:58 Roger Luedecke wrote:
You put in the 12.1 DVD to use as an upgrade repo on an 11.4 system? If thats the case, this is not a supported upgrade path so far as I know.
Booting from the 12.1 installation DVD and selecting "upgrade installed system" is the most supported option there is. No option is more supported than that one
Anders Ah, that is indeed supported. Here is what I know happens. NVidia installer does its thing, then blacklists the nouveau driver. You will want to check if nouveau is blacklisted. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday, November 19, 2011 09:24:44 PM Anders Johansson wrote:
On Saturday 19 November 2011 16:28:46 C wrote:
The first thing that stands out to me is this: (from X-Fail-1.txt)
------------- Error: API mismatch: the NVIDIA kernel module has version 173.14.30, but this NVIDIA driver component has version 285.05.09. -------------
So, in the upgrade, you ended up with a mix of nVidia drivers and it fails (as in, new driver, old kernel module). You need to really clean out everything - the old nVidia driver and the old kernel modules - then reinstall the nVidia driver from the repos (they should be available for 12.1 now).
I'd guess that once you clean up the package version mismatch, you will see a nice GUI login again.
I just got this problem as well when I updated my laptop.
The problem is that if you do "zypper dup" with the nvidia 12.1 repository active, you will get *both* the G01 and the G02 packages installed, even though (as in my case) only G02 was installed before the update. And since both G01 and G02 use the same filenames (e.g. nvidia.ko for the kernel module) it's anyone's guess which package will overwrite which and gain control.
so uninstall the G01 version and the G02 version, and reinstall the G02, and things should start working again
Anders I had hoped that the machine would know which one to use when I did it. On my netbook it uses the ION chipset and so I'm not sure which driver it wants to use. I'm going to remove all the NVidia drivers, reboot and see if it can still use the manually installled one... if not I'll just rebuild. -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Adam Tauno Williams
-
Anders Johansson
-
C
-
David C. Rankin
-
Graham Anderson
-
Ken Schneider - openSUSE
-
Martin Helm
-
Roger Luedecke