can't run zsnes in linux; GLX problem

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
OEP
New Member
Posts: 3
Joined: Tue Aug 24, 2004 12:32 am

can't run zsnes in linux; GLX problem

Post by OEP »

I just built the latest source of zsnes trying to fix a sudden problem. Originally, I could run zsnes, but just as root or else it wouldn't allow me access to the display for some reason.

Now, I get this error:
Xlib: extension "GLX" missing on display ":0.0"

Only thing I could think to do is look at my X configuration and it does have load "glx" in it...

Any ideas?

Fedora Core 2, kernel 2.6.5-1.358, nVidia Geforce MX 5200
Hitokage
New Member
Posts: 9
Joined: Fri Jul 30, 2004 8:24 am

Post by Hitokage »

nvidia-installer --sanity
Riven
New Member
Posts: 4
Joined: Thu Aug 05, 2004 11:15 pm

Re: can't run zsnes in linux; GLX problem

Post by Riven »

OEP wrote:Originally, I could run zsnes, but just as root or else it wouldn't allow me access to the display for some reason.
Check /etc/security/console.perms, find the line that looks like

Code: Select all

<xconsole> 0600 <dri>	     0600 root
and change it to

Code: Select all

<xconsole> 0666 <dri>	     0666 root
You might need to restart X for it to take effect, but that should allow non-root users to use dri, which is required (I think) for the OpenGL video modes. It probably won't help with your current problem though.
OEP
New Member
Posts: 3
Joined: Tue Aug 24, 2004 12:32 am

Post by OEP »

That first command did it. I updated my nvidia drivers and changed my X config.

For some reason my system has been acting strange... I noticed a lot of my settings are gone (e.g. My X config originally pointed to the nvidia driver) and some files are too, but all the programs are still ok.

Anyway, all is well, thanks! :D

EDIT: My "zsnes only as root" problem seems to be fixed even though I didn't do anything :P
Hitokage
New Member
Posts: 9
Joined: Fri Jul 30, 2004 8:24 am

Post by Hitokage »

Have you upgraded anything lately?
OEP
New Member
Posts: 3
Joined: Tue Aug 24, 2004 12:32 am

Post by OEP »

I didn't upgrade anything except I did swap out my video cards (GeForce for Radeon), but now that I think about it, I'm pretty sure zsnes worked ok with that for a while. I know I had the driver configured properly since I was able to play enemy territory comfortably.

for some reason it reverted back to the default nvidia driver... I'm not sure if upgrading the drivers would make it do that...
funkyass
"God"
Posts: 1128
Joined: Tue Jul 27, 2004 11:24 pm

Post by funkyass »

ATI linux drivers bite.
Post Reply