LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   "Couldn't get an RGB" Error trying to run glxgears (https://www.linuxquestions.org/questions/slackware-14/couldnt-get-an-rgb-error-trying-to-run-glxgears-4175494901/)

freakTux 02-14-2014 08:36 AM

"Couldn't get an RGB" Error trying to run glxgears
 
Hi all guys...I have slackware64-current, kernel 3.10.17 and NVIDIA driver installed...when I try to run glxgears for testing my glx I have got this error:
Code:

Error: couldn't get an RGB, Double-buffered visual
...Now, I think that I have some installation problem with glx because even some screensaver (xscreensaver's GLPlanet for example, that needs glx I think) doesn't work...

I searched for the glx and Nvidia on linux and I found something about bumblebee (and I found an installation guide on this page: http://docs.slackware.com/howtos:har...nvidia_optimus)...it seems like that with bumblebee I can resolve this glx problem...
It is real?I have to uninstall my nvidia driver before install bumblebee (because it seems like during the download of the needed dependencies it download even a nvidia driver) ?
Please, help me...I'm a little bit confused about this...

mostlyharmless 02-14-2014 02:43 PM

Quote:

Error: couldn't get an RGB, Double-buffered visual
is actually nonspecific for glx problems.

Bumblebee is for optimus systems. Probably it would be helpful if you gave details of your hardware (processor, system, card) and which NVIDIA driver and how you installed it. Perhaps the output of glxinfo (if there is any and it doesn't error out) dmesg and or Xorg.log might help diagnose the problem as well.

freakTux 02-15-2014 02:07 AM

Quote:

Originally Posted by mostlyharmless (Post 5117820)
is actually nonspecific for glx problems.

Bumblebee is for optimus systems. Probably it would be helpful if you gave details of your hardware (processor, system, card) and which NVIDIA driver and how you installed it. Perhaps the output of glxinfo (if there is any and it doesn't error out) dmesg and or Xorg.log might help diagnose the problem as well.

my NVidia card is a GeForce GT520M, my processor is an Intel Core i3 2310M and I have a 64 bit system. My NVidia driver is the 331.20 installed with sbopkg...

I think that is a glx problem because if I choose a screensaver (like hypnoweel or gltext or many others) from xscreensaver and I try to "preview it" I have a black screen with this error massage:
Code:

gltext: root window's visual 0x2bf does not support the GLX extension.
xscreensaver: signal: 0: child pid 3792 (<unknow>) exited abnormally (code 0).


Anyway, the output of glxinfo is:
Code:

name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig
Error: couldn't find RGB GLX visual or fbconfig



Segmentation fault


Drakeo 02-15-2014 09:26 AM

The glx problem is a mesa problem. and you really need to reinstall mesa when uninstalling your nvidia model and and installer. well from one installer to another may break the links you need. If your going to use bumblebee it would be good to start it as a default system.
I make it a practice of reinstalling mesa when upgrading the nvidia module and installer.


All times are GMT -5. The time now is 08:52 PM.