if i try to start gltron or set zsnes to a opengl mode, the screen gets kinda distorted (it looks like several layers of textures mixed with the content of the x-desktop) and X crashes (well, sometimes the whole box crashes). Draugluin from #gentoo has the same problem. we both use nvidia cards with the newest gentoo-included drivers and everything else (in opengl) works. (like quake3, rtcw, ut, etc.) i already asked in #zsnes on efnet, but they couldnt help me either. but i remember that -in my ~old~ debian times- zsnes and gltron worked with the same nvidia drivers. so maybe its some kinda nvidia-ebuild bug? -phoen][x-
hmm, i ~fixed~ it with the following stuff: ------------------------------------------------ ln -sf /opt/nvidia/include/GL/* /usr/include/GL rm /usr/X11R6/libGL.* ln -sf /opt/nvidia/lib/* /usr/X11R6/lib ldconfig ------------------------------------------------ i wonder if that could be some problem with the nvidia-glx package, or with some of the mesa/glut packages.. -phoen][x-
Any specific reason to have this marked as 'crical'? How did you install the nvidia-glx package? Was it an upgrade from the previous media-gfx/nvidia package, or a clean install?
it was an upgrade from the old media-gfx/nvidia* stuff. i followed the descriptions on the upgrade page (cant remember the url, but i bet you know which page i'm talking about) one by one. it was set to critical, because it locked my whole system (with network and everything else) - if i chose the wrong priority: sorry. -phoen][x- -merging the new nvidia drivers, now.
After you unmerged the old media-gfx/nvidia package, did you re-merge Xfree? If not, could you please try remerging xfree, as it will restore some of the files hosed by the old nvidia ebuild. Thanks!
of course i did unmerge xfree. but it didnt make a difference (gltron crashed my reinstalled X11 nevertheless). so i did unmerge X, mesa-*, glut, nvidia-glx, removed the libGl.so* files from /usr/X11R6/lib and reinstalled X11, mesa-glu, nvidia-glx (the new one, of course) - after that i remerged gltron (well i wanted to) but it told me that it cannot find any opengl or mesa includes. that was the point when i recognized that gltron/zsnes might have used other includes for opengl (cause the nvidia ones were in /opt/nvidia/include). so i linked them to /usr/include, removed the libGL.so.* files from /usr/X11R6/lib (they make quake3 die hard (texture distortion and x11-lockup)) and reran my emerges for zsnes and gltron. and it worked fine. maybe i'm the bug, but i did perform exactly the same steps of the nvidia-installation-manual.. btw, merging the new nvidia-glx (2802) doesnt help anything if i dont link the includes to /usr/include. i looked for a file like ld.so.conf for the includes (yeah i know, that one is for libraries), but there doesnt seem to be a solution like this.. -phoen][x-
I just tried gltron, and it worked for me just fine. How do I set zsnes into GL mode? I'm just trying to reproduce the problem.
go to options->video and choose an OGL mode. if u dont have ogl modes, remerge zsnes (it should say "Checking for opengl ... yes" or something like that) try to link the includes if it doesnt want to compile with opengl support. -phoen][x-
Ok, so I have had both zsnes and gltron running in OpenGL mode without any problems, with stock xfree and nvidia packages. Afraid I can't reproduce this bug at all... :( Can you email me your XF86Config file and the output of `xdpyinfo' command, for the unhacked state of the system (i.e. when X is started without the manually created symlinks).
The nvidia-{kernel,glx}-1.0.2880 or later should have fixed this. If not, please re-open this bug.