LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   I think I broke my OpenGL... (http://www.linuxquestions.org/questions/linux-software-2/i-think-i-broke-my-opengl-562689/)

hacker supreme 06-18-2007 11:05 AM

I think I broke my OpenGL...
 
As the title says, I think I broke my Open GL.
(Please nobody ask what I was doing to break it, because I can't remember. :p )
Now, none of the OpenGL screen-savers work at all. And whenever I try to start an OpenGL application from command line I get the following error:
Quote:

OpenGL GLX extension not supported by display ':0.0'
It was working fine until I messed with something. (Maybe this'll teach me... but probably not.)
What I would like to know is whether or not I would have to re-install to fix this.
(It won't bother me either way)

dive 06-18-2007 12:10 PM

Do you have

Load "glx"

in your modules section of /etc/X11/xorg.conf?

hacker supreme 06-18-2007 12:21 PM

AFAIK, yes. But I'll go check.

EDIT: Yes, it's there.

dive 06-18-2007 12:35 PM

what does the command 'glxinfo | grep GLX' show? Loads of glx stuff, or nothing?

Also which display driver are you using?

hacker supreme 06-18-2007 12:37 PM

Quote:

james@Helix-Debian:~$ glxinfo | grep GLX
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
And I'm using the 'nv' driver.

cybertaz 06-18-2007 01:04 PM

The nv driver doesn't support 3D. Did you install the Nvidia drivers? That should say nvidia if you did.

hacker supreme 06-18-2007 01:22 PM

um... no, I didn't.

Could you point me in the right direction of the 'nvidia' drivers?

/me feeling like a right idiot...

EDIT: I think I've found them...

hacker supreme 06-18-2007 01:42 PM

Uh oh...
 
I've installed the nvidia drivers. and now I don't have X. I'm posting this using lynx. It's all gone dark!!
Funny stuff over, I'm going to re-install. Maybe it might fix some other issues I have been having.
Like the fact that my keyboard is set to the german (I think) layout, and will not change back, no matter what.

EDIT: Stuff it. I can't be bothered with a re-install. (Not today, anyway.) I found that it did backup my xorg.conf, so now I have X back up. (Posted with Firefox.)

hacker supreme 06-18-2007 02:56 PM

Uh oh, again.
 
Quote:

james@Helix-Debian:~$ amarok
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
Amarok: [Loader] amarokapp probably crashed!
james@Helix-Debian:~$
No kidding...

Well, let's try XMMS.

Quote:

james@Helix-Debian:~$ xmms
Segmentation fault
james@Helix-Debian:~$
Uh huh...
I think I've broken something much more serious than just OpenGL, and anything I do is just treating the symptoms, not the cause.

I think I'll re-install in a few weeks when (if :D) I get a separate HDD for my documents.

/me is procrastinating, and praying it all doesn't die on me. :D

cybertaz 06-18-2007 05:25 PM

How did you install the nvidia drivers? It almost sounds like it found the wrong kernel source and messed up the kernel.

hacker supreme 06-19-2007 07:14 AM

I got the nvidia drivers from the nvidia site, ran the installer as root (using single user boot). It completed (with no errors which is surprising. :) ) it installed, and I continued the boot process.
entered runlevel 5, and it tried to start KDM. And failed.

Que sera sera.

I'm about due for a re-install anyway...

dive 06-19-2007 08:33 AM

Did you change the driver from 'nv' to 'nvidia' in your /etc/X11/xorg.conf ?

You will probably also need to 'modprobe nvidia' too.

hacker supreme 06-19-2007 09:16 AM

head ==> Desk.

D'oh.

Ah well, never mind. I'll remember that for next time.


All times are GMT -5. The time now is 11:05 AM.