Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You should be able to restore the previous status. In your posts above you told about changing the name of the nvidia driver from "nvidia" to "nv", but have you checked for differences in other sections of the file, comparing it to the original one (you should still have a backup copy, shouldn't you?).
Once you have uninstalled all the not working drivers, having preserved the original one, just restore the original backup copy of /etc/X11/xorg.conf and all will work exactly as before.
These are some of the messages highlighted red on /var/log/messages
Feb 26 01:25:50 linux-peze gdm[2250]: WARNING: Failed to start X server several times in a short time period; disabling display :0
Feb 26 01:26:47 linux-peze login[3525]: FAILED LOGIN 1 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module
Feb 26 01:28:01 linux-peze login[3697]: FAILED LOGIN 1 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module
Feb 26 01:28:18 linux-peze login[3697]: FAILED LOGIN 2 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module
this is there repeatedly
Feb 26 01:44:49 linux-peze gdm[2250]: WARNING: Failed to start X server several times in a short time period; disabling display :0
dont know what this is
Feb 26 02:05:16 linux-peze kernel: gdm[2253]: segfault at 800690a98 ip 7ff2f54bc2f0 sp 7fff020c1e20 error 6 in libglib-2.0.so.0.1600.3[7ff2f5461000+c1000]
Feb 26 18:44:45 linux-peze gdm[2450]: WARNING: main daemon: Got SIGABRT. Something went very wrong. Going down!
Feb 26 18:44:45 linux-peze kernel: gdm[2450]: segfault at 80069af98 ip 7f55d587b2f0 sp 7fffe24811e0 error 6 in libglib-2.0.so.0.1600.3[7f55d5820000+c1000]
Feb 26 18:44:45 linux-peze smartd[3472]: smartd received signal 15: Terminated
Feb 28 13:39:36 linux-peze seahorse-agent[3538]: Failed to send buffer
Feb 28 13:39:36 linux-peze seahorse-agent[3538]: Failed to send buffer
Feb 28 13:39:37 linux-peze pulseaudio[3557]: core-util.c: setpriority(): Permission denied
Feb 28 13:39:37 linux-peze pulseaudio[3557]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
Feb 28 13:39:37 linux-peze pulseaudio[3557]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Feb 28 13:39:41 linux-peze pulseaudio[3611]: pid.c: Daemon already running.
Feb 28 13:39:41 linux-peze pulseaudio[3611]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
Feb 28 13:39:41 linux-peze pulseaudio[3611]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Feb 28 13:39:41 linux-peze pulseaudio[3611]: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
Feb 28 13:39:41 linux-peze pulseaudio[3611]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_alsa_playback_0"): initialization failed.
Feb 28 13:39:41 linux-peze pulseaudio[3611]: socket-server.c: bind(): Address already in use
Feb 28 13:39:41 linux-peze pulseaudio[3611]: module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
Feb 28 13:39:41 linux-peze pulseaudio[3611]: main.c: Module load failed.
Feb 28 13:39:41 linux-peze pulseaudio[3611]: main.c: Failed to initialize daemon.
Feb 28 16:02:17 linux-peze kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 28 16:02:17 linux-peze kernel: NVRM: This can occur when a driver such as rivafb, nvidiafb or
Feb 28 16:02:17 linux-peze kernel: NVRM: rivatv was loaded and obtained ownership of the NVIDIA
Feb 28 16:02:17 linux-peze kernel: NVRM: device(s).
Feb 28 16:02:17 linux-peze kernel: NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
Feb 28 16:02:17 linux-peze kernel: NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
Feb 28 16:02:17 linux-peze kernel: NVRM: support), then try loading the NVIDIA kernel module again.
Feb 28 16:02:17 linux-peze kernel: NVRM: No NVIDIA graphics adapter probed!
Feb 28 16:02:17 linux-peze smartd[3510]: smartd has fork()ed into background mode. New PID=3510.
Feb 28 16:02:23 linux-peze kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 28 16:02:23 linux-peze kernel: NVRM: This can occur when a driver such as rivafb, nvidiafb or
Feb 28 16:02:23 linux-peze kernel: NVRM: rivatv was loaded and obtained ownership of the NVIDIA
Feb 28 16:02:23 linux-peze kernel: NVRM: device(s).
Feb 28 16:02:23 linux-peze kernel: NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
Feb 28 16:02:23 linux-peze kernel: NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
Feb 28 16:02:23 linux-peze kernel: NVRM: support), then try loading the NVIDIA kernel module again.
Feb 28 16:02:23 linux-peze kernel: NVRM: No NVIDIA graphics adapter probed!
Feb 28 16:02:52 linux-peze gdm[2473]: WARNING: Failed to start X server several times in a short time period; disabling display :0
Feb 28 16:04:47 linux-peze syslog-ng[1880]: syslog-ng version 1.6.12 starting
Feb 28 16:04:49 linux-peze SuSEfirewall2: batch committing...
(II) LoadModule: "nv"
(II) Loading /usr/lib64/xorg/modules//drivers/nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
If you're absolutely sure that the posted Xorg.0.log is that one from the faulty proprietary NVIDIA driver (that is you had "nvidia" as driver name in /etc/X11/xorg.conf) there must be a conflict somewhere, since from the lines above it seems it has loaded the nv driver instead. It should be something like the following, instead:
Code:
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/updates//drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
Please, double check it (the posted Xorg.0.conf corresponds to having "nvidia" in /etc/X11/xorg.conf). Also, you can post text files as attachment: just go in Advanced Mode and see Additional Options just below the text box.
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
This is the unique error in Xorg.0.log. It means the current nvidia driver has not GLX capability. GLX extension is required to use OpenGL (3D) libraries. This is due to the fact that the open source "nv" driver has no 3D capabilities, as previously mentioned by r1d3r.
Feb 28 16:02:17 linux-peze kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 28 16:02:17 linux-peze kernel: NVRM: This can occur when a driver such as rivafb, nvidiafb or
Feb 28 16:02:17 linux-peze kernel: NVRM: rivatv was loaded and obtained ownership of the NVIDIA
Feb 28 16:02:17 linux-peze kernel: NVRM: device(s).
This error should disappear once you uninstall the binary RPMs provided by the NVIDIA additional repository (the last ones you've installed).
Feb 26 18:44:45 linux-peze gdm[2450]: WARNING: main daemon: Got SIGABRT. Something went very wrong. Going down!
Feb 26 18:44:45 linux-peze kernel: gdm[2450]: segfault at 80069af98 ip 7f55d587b2f0 sp 7fffe24811e0 error 6 in libglib-2.0.so.0.1600.3[7f55d5820000+c1000]
Feb 26 18:44:45 linux-peze smartd[3472]: smartd received signal 15: Terminated
This puzzles me. It can be a bug in the libglib-2.0 libraries or an incompatibility of some kind. Anyway, you can verify the integrity of the package which provides this shared library. To determine the name of the package, just do
(II) LoadModule: "nv"
(II) Loading /usr/lib64/xorg/modules//drivers/nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
If you're absolutely sure that the posted Xorg.0.log is that one from the faulty proprietary NVIDIA driver (that is you had "nvidia" as driver name in /etc/X11/xorg.conf) there must be a conflict somewhere, since from the lines above it seems it has loaded the nv driver instead. It should be something like the following, instead:
Code:
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/updates//drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
Please, double check it (the posted Xorg.0.conf corresponds to having "nvidia" in /etc/X11/xorg.conf). Also, you can post text files as attachment: just go in Advanced Mode and see Additional Options just below the text box.
Every time it did not work when I checked it had 'nvidia' and I replaced it with 'nv'
Feb 28 16:02:17 linux-peze kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 28 16:02:17 linux-peze kernel: NVRM: This can occur when a driver such as rivafb, nvidiafb or
Feb 28 16:02:17 linux-peze kernel: NVRM: rivatv was loaded and obtained ownership of the NVIDIA
Feb 28 16:02:17 linux-peze kernel: NVRM: device(s).
This error should disappear once you uninstall the binary RPMs provided by the NVIDIA additional repository (the last ones you've installed).
Which one's should I uninstall, following are the programmes installed according to Yast.
DirectFB
DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, an integrated windowing system with support for translucent windows, and multiple display layers on top of the Linux framebuffer device. It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux.
1.1.1-48.1 (x86_64)
If you have all these packages installed, I understand why your system is messed up!
You should have only nvidia-gfxG02-kmp-default (this one is not in the list) and x11-video-nvidiaG02 (this one provides the OpenGL libraries). Regarding the name of the package nvidia-gfxG02-kmp-default, the G02 part is the release. Only the G02 release supports the model of your nvidia card, whereas the G01 is the legacy driver for older models. The "default" string must match the name of your kernel. If you look at the output of uname -a again, you will see the string "default" after the kernel version number. It is not "pae" nor "xen", while in the list above you have only the "xen" version of release G02.
Take in mind that these packages, released by Nvidia in agreement with Opensuse, provide a pre-built nvidia module which has been compiled against an exact kernel version. You cannot expect the module built for "xen" to work with the "default" kernel.
My suggestion is to uninstall all the nvidia packages except the DirectFB and xorg-x11-driver-video. It is important you understand which packages you have downloaded by the nvidia repository and which not. Take a look at the content of the nvidia repository, here. Instead, the DirectFB and xorg-x11-driver-video packages where already installed on your system. Moreover the xorg-x11-driver-video is that one providing the open source "nv" driver, that one you had originally installed on your system.
So, here is your schedule
1) uninstall the packages nvidia-gfxG01-kmp-default, nvidia-gfxG01-kmp-xen, nvidia-gfxG02-kmp-xen, x11-video-nvidiaG01, x11-video-nvidiaG02
2) restore the original xorg.conf in /etc/X11 (that one you should have still as backup). Never throw it away. Always keep a safe copy of it somewhere (e.g. under the root's home directory).
3) reboot the machine (after reboot the X server should come up and work properly)
4) open yast and install the packages nvidia-gfxG02-kmp-default and x11-video-nvidiaG02. They must have the same version number, e.g. 180.29.
5) logout and login again and the NVIDIA logo should show up. Eventually reboot the machine to let the modification take effect.
Last edited by colucix; 02-28-2009 at 05:13 PM.
Reason: Added more information
If you have all these packages installed, I understand why your system is messed up!
You should have only nvidia-gfxG02-kmp-default (this one is not in the list) and x11-video-nvidiaG02 (this one provides the OpenGL libraries). Regarding the name of the package nvidia-gfxG02-kmp-default, the G02 part is the release. Only the G02 release supports the model of your nvidia card, whereas the G01 is the legacy driver for older models. The "default" string must match the name of your kernel. If you look at the output of uname -a again, you will see the string "default" after the kernel version number. It is not "pae" nor "xen", while in the list above you have only the "xen" version of release G02.
Take in mind that these packages, released by Nvidia in agreement with Opensuse, provide a pre-built nvidia module which has been compiled against an exact kernel version. You cannot expect the module built for "xen" to work with the "default" kernel.
My suggestion is to uninstall all the nvidia packages except the DirectFB and xorg-x11-driver-video. It is important you understand which packages you have downloaded by the nvidia repository and which not. Take a look at the content of the nvidia repository, here. Instead, the DirectFB and xorg-x11-driver-video packages where already installed on your system. Moreover the xorg-x11-driver-video is that one providing the open source "nv" driver, that one you had originally installed on your system.
So, here is your schedule
1) uninstall the packages nvidia-gfxG01-kmp-default, nvidia-gfxG01-kmp-xen, nvidia-gfxG02-kmp-xen, x11-video-nvidiaG01, x11-video-nvidiaG02
2) restore the original xorg.conf in /etc/X11 (that one you should have still as backup). Never throw it away. Always keep a safe copy of it somewhere (e.g. under the root's home directory).
3) reboot the machine (after reboot the X server should come up and work properly)
What you have said here makes sense. Now I have done up to step 3
Quote:
Originally Posted by colucix
4) open yast and install the packages nvidia-gfxG02-kmp-default and x11-video-nvidiaG02. They must have the same version number, e.g. 180.29.
There is a slight difference in the version numbers of these two packages in Yast. Ar these ok or do I have to locate the relevant one and if so from where?
nvidia-gfxG02-kmp-default - 180.29_2.6.25.20_0.1-0.1 (x86_64)
NVIDIA graphics driver kernel module for GeForce 6xxx and newer GPUs
x11-video-nvidiaG02 - 180.29-0.1 (x86_64)
NVIDIA graphics driver for GeForce 6xxx and newer GPUs
Cheers,
Last edited by yaarappa; 03-01-2009 at 07:29 AM.
Reason: spelling correction
There is a slight difference in the version numbers of these two packages in Yast. Ar these ok or do I have to locate the relevant one and if so from where?
nvidia-gfxG02-kmp-default - 180.29_2.6.25.20_0.1-0.1 (x86_64)
NVIDIA graphics driver kernel module for GeForce 6xxx and newer GPUs
x11-video-nvidiaG02 - 180.29-0.1 (x86_64)
NVIDIA graphics driver for GeForce 6xxx and newer GPUs
Cheers,
They are OK! The first numbers 180.29 are the version of the NVIDIA driver. These must match. The number 2.6.25.20_0.1 is the kernel version. This must match the output from uname -r. The number 0.1 in both packages is the version of the packages themselves. These can match or differ depending on the updates made by Opensuse.
The nvidia-gfxG02-kmp-default is that one providing the actual driver, that is the nvidia kernel module. The x11-video-nvidiaG02 is that one providing the OpenGL libraries for 3D rendering. Once you have installed them you can have an idea of what they are by listing the installed files:
I am a bit frustated to say it didn't work! Here I am posting some of the errors.
/var/log/Xorg.0.log - Some of them which I thought could be relevant I wrote down because after I replace "nvidia" with "nv" it changes
X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-peze 2.6.25.20-0.1-default #1 SMP 2008-12-12 20:30:38 +0100 x86_64
Build Date: 28 July 2008 10:14:07PM
(EE) NVIDIA (0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA (0): ***Aborting***
(II) Unload Module: "nvidia"
(II) Unload Module: "wfb"
(II) Unload Module: "fb"
(EE) Screen(s) found, but none have a usable configuration.
Fatal Server error:
no screens found
Result of rpm -ql nvidia-gfxG02-kmp-default
/lib/modules/2.6.25.20-0.1-default
/lib/modules/2.6.25.20-0.1-default/updates
/lib/modules/2.6.25.20-0.1-default/updates/nvidia.ko
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.