LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   Problems with nvidia drivers in 12.2 - glxinfo "couldn't find RGB GLX visual" (http://www.linuxquestions.org/questions/suse-novell-60/problems-with-nvidia-drivers-in-12-2-glxinfo-couldnt-find-rgb-glx-visual-4175447410/)

yossarian42 01-27-2013 08:41 AM

Problems with nvidia drivers in 12.2 - glxinfo "couldn't find RGB GLX visual"
 
I tried to install the NVidia drivers using the 1-click install on the openSuse wiki, but it didn't seem to work properly. My laptop stopped booting properly - it would get to "Started Postfix Mail Transport Agent" and hang (I guess that's a red herring, and it's really failing on the next step). I could get a virtual console to reboot the computer and then boot with the failsafe kernel.

I then uninstalled the NVidia drivers through yast and reinstalled the nouveau drivers.

Now, I can't start steam. It fails with this message:
Code:

OpenGL GLX extension not supported by display
The output of glxinfo is:
Code:

$ glxinfo                                                                                                                                                                               
name of display: :0                                                                                                                                                                           
Error: couldn't find RGB GLX visual or fbconfig

and lspci:
Code:

$ sudo lspci | grep vga
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 9300M GS] (rev a1)

It looks like nouveau is actually installed:
Code:

$ lsmod | grep nouveau
nouveau              844746  1
ttm                    91974  1 nouveau
mxm_wmi                12979  1 nouveau
drm_kms_helper        51052  2 nouveau,i915
drm                  272508  6 nouveau,ttm,i915,drm_kms_helper
i2c_algo_bit          13413  2 nouveau,i915
button                13906  2 nouveau,i915
wmi                    19070  2 nouveau,mxm_wmi
video                  19345  2 nouveau,i915

So why does my computer think it doesn't have openGL/GLX?

adamk75 01-27-2013 09:52 AM

Check your /var/log/Xorg.0.log file for any errors.

Adam

yossarian42 01-27-2013 10:46 AM

Here are the warnings and errors in my Xorg.0.log:

Code:

egrep '\((EE|WW|NI)\)' /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    30.440] (WW) The directory "/usr/share/fonts/URW/" does not exist.
[    30.452] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
[    31.669] (WW) Falling back to old probe method for fbdev
[    31.670] (WW) Falling back to old probe method for vesa
[    31.758] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

I've tried searching for that error message, but all the advice is conflicting and unhelpful. I've given up trying to get the nvidia drivers to work, now I just want the nouveau ones to work properly again!

adamk75 01-27-2013 10:49 AM

Code:

[    31.758] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
X is still trying to use the nvidia GLX extension, which you still have installed on your machine. Apparently you did not completely remove the nvidia driver.

Adam

yossarian42 01-27-2013 11:38 AM

Ok, how do I find out what is still left behind and remove it?

John VV 01-27-2013 01:37 PM

i just upgraded from 12.1 ( been using opensuse since 11.1 ) to 12.2

the "one click" installed the nvidia 304 driver
from my experience on 12.1 that driver is ( well crap ) it is very buggy .So buggy that on 12.1 i HAD to drop down to the nvidia 295 driver

however the new 310 and the 313.18 BETA nvidia driver seam to work just fine

"the hard way"
it really is not that hard .YOU just need to do a bit of reading
http://en.opensuse.org/SDB:NVIDIA_the_hard_way
and have to manually reinstall the .run for EVERY kernel update
-- it is just a bit more "time consummating" than hard --

also those instructions are a bit OLD ,very old

so if you want to use the .run let me know and i can post the FULL instructions for 12.2


you will need to edit files using just the text only terminal ( no gui ) using "nano" ( it will need to be installed )

yossarian42 01-27-2013 01:48 PM

I've tried installing 313 the hard way, but I couldn't get it to work, it would always fail to start X. I managed to work out that if I told it not to create an Xorg.conf, then it would start X. However, I still didn't have access to openGL. The errors in Xorg.0.log were like:

Code:

libglamoregl.so: undefined symbol: _glapi_tls_Context
Googling this error is no help whatsoever.

How did you manage to get it working?

John VV 01-27-2013 08:50 PM

before we mess around with the " *.run " driver

lets see about installing the nvidia proprietary driver with yast instead of the nouveau driver

suse uses a TON of automated scripts ( so much so that nvidia has a special section in the install guide JUST FOR SUSE )

SUSE is rpm based BUT they very differently that any other rpm based distro ( think red hat,centos,fedora,...)

from the above posts you do know how to add a repo in the yast GUI
but to just go over it ( i am assuming you are using the default KDE 4 desktop)


the "kick off application launcher" -- the thing that is in the same place as the windows "start"
Warning:
yast has a very "annoying default behavior of closing after EVERY task
this can be changed ,but that is for a new thread.

computer / install/remove software
-- type in the root password in the pop-up--
At the top of the gui window click on "configuration" then select "repositories" from the drop down menu
then in the new window click on "add"
put a dot on the radio checkbox for "community repositories" and click "next"
put a check on the "nvidia Graphics driver" and click "ok" then after a few seconds and back to a older window click "ok" again

then back in the "install/remove software" main window
click on "view" and select "repositories"
from that select nvidia

put a check on "X11-video-nvidiaG02"
( bottom of the list )
that will auto add the other two needed packages

then click "accept"

when it is done reboot

this will be the 304.64 driver


this will auto do all the configuring of the system to use the proprietary driver

then IF ( you might not need it ? unknown for now ) then installing the 310 .run will be VERY easy
IF you need it


All times are GMT -5. The time now is 04:46 AM.