Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926 - gltron and zsnes, nvidia driver issue
Summary: gltron and zsnes, nvidia driver issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-02 05:00 UTC by phoen][x
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phoen][x 2002-03-02 05:00:37 UTC
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-
Comment 1 phoen][x 2002-03-02 14:06:32 UTC
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-
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2002-03-06 13:09:32 UTC
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?
Comment 3 phoen][x 2002-03-08 10:55:46 UTC
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.
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2002-03-08 12:57:54 UTC
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!
Comment 5 phoen][x 2002-03-09 04:34:33 UTC
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-
Comment 6 Arcady Genkin (RETIRED) gentoo-dev 2002-03-09 11:36:48 UTC
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.
Comment 7 phoen][x 2002-03-09 15:11:31 UTC
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-
Comment 8 Arcady Genkin (RETIRED) gentoo-dev 2002-03-09 22:38:12 UTC
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).
Comment 9 Arcady Genkin (RETIRED) gentoo-dev 2002-04-13 11:51:24 UTC
The nvidia-{kernel,glx}-1.0.2880 or later should have fixed this.
If not, please re-open this bug.