https://bugs.freedesktop.org/show_bug.cgi?id=33371
Summary: Zsnes output all garbage when OpenGL is enabled Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: oyvinds@everdot.org
Created an attachment (id=42319) --> (https://bugs.freedesktop.org/attachment.cgi?id=42319) Output of zsnes when OpenGL enabled
zsnes lets you choose resolution and higher resolutions require OpenGL. When enabled the window changes to the right size and the output completely becomes garbage. See screenshot.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Zsnes output all garbage |[RADEON:KMS:R600G] zsnes |when OpenGL is enabled |output all garbage when | |OpenGL is enabled
--- Comment #1 from Jerome Glisse glisse@freedesktop.org 2011-03-08 10:44:32 PST --- Does it works any better with more recent mesa ? Also attach output of glxinfo
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #2 from Pierre-Eric Pelloux-Prayer pelloux@gmail.com 2011-06-15 03:13:53 PDT --- Works fine here using r600g + mesa 40aec11b7569fcdd2d884629b172af3db3fbaf1d
(it looks fine too using Debian's mesa : "Mesa DRI R600 (RV770 9442) 20090101 TCL DRI2")
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #3 from polynomial-c@gentoo.org 2011-07-22 15:23:17 PDT --- Created an attachment (id=49439) --> (https://bugs.freedesktop.org/attachment.cgi?id=49439) glxinfo
Same problem here. This only happens with gallium r600 driver. As soon as I switch back to the old DRI r600 driver zsnes works as expected in opengl mode.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #4 from Alex Deucher agd5f@yahoo.com 2011-07-22 15:28:50 PDT --- Are you by any chance using a 32 bit version of zsnes on a 64 bit distro?
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #5 from Lars Wendler polynomial-c@gentoo.org 2011-07-22 22:59:33 PDT --- (In reply to comment #4)
Are you by any chance using a 32 bit version of zsnes on a 64 bit distro?
Yes I am. AFAIK there's no 64bit version of zsnes available. At least that's what I've read in the zsnes forums and that's how Gentoo is building the software (as 32bit app).
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #6 from Alex Deucher agd5f@yahoo.com 2011-07-23 08:06:23 PDT --- (In reply to comment #5)
(In reply to comment #4)
Are you by any chance using a 32 bit version of zsnes on a 64 bit distro?
Yes I am. AFAIK there's no 64bit version of zsnes available. At least that's what I've read in the zsnes forums and that's how Gentoo is building the software (as 32bit app).
You need to build and install a 32bit r600g 3D driver as well.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
--- Comment #7 from Sven Arvidsson sa@whiz.se 2011-07-23 09:04:07 PDT --- (In reply to comment #5)
Yes I am. AFAIK there's no 64bit version of zsnes available. At least that's what I've read in the zsnes forums and that's how Gentoo is building the software (as 32bit app).
FWIW, it's possible to build zsnes on amd64, Debian does this.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #8 from Lars Wendler polynomial-c@gentoo.org 2011-07-23 11:43:41 PDT --- (In reply to comment #6)
(In reply to comment #5)
(In reply to comment #4)
Are you by any chance using a 32 bit version of zsnes on a 64 bit distro?
Yes I am. AFAIK there's no 64bit version of zsnes available. At least that's what I've read in the zsnes forums and that's how Gentoo is building the software (as 32bit app).
You need to build and install a 32bit r600g 3D driver as well.
I have both a 32bit and a 64bit r600g 3D driver installed. Like I said, switching from gallium r600 driver to the old mesa r600 driver fixes this problem. Although gentoo allows to have both drivers installed in parallel (and can even be switched fairly easily) I'd like to run my X with the gallium driver.
(In reply to comment #7)
(In reply to comment #5)
Yes I am. AFAIK there's no 64bit version of zsnes available. At least that's what I've read in the zsnes forums and that's how Gentoo is building the software (as 32bit app).
FWIW, it's possible to build zsnes on amd64, Debian does this.
According to this forum post, it's not possible:
http://board.zsnes.com/phpBB3/viewtopic.php?f=6&t=7402
But of course this might be outdated information and I could be totally wrong.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #9 from Michel Dänzer michel@daenzer.net 2011-08-04 02:08:57 PDT --- Please attach Xorg.0.log and dmesg output.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #10 from Michel Dänzer michel@daenzer.net 2011-08-04 03:15:04 PDT --- I was able to reproduce the problem, but for me it's fixed with current Mesa Git master and 7.11 branches. Make sure your 32 bit r600g is up to date, though you might also need a newer kernel / X driver.
In the worst case, turning off colour tiling might work around the problem.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
--- Comment #11 from Lars Wendler polynomial-c@gentoo.org 2011-08-04 08:42:26 PDT --- (In reply to comment #10)
I was able to reproduce the problem, but for me it's fixed with current Mesa Git master and 7.11 branches. Make sure your 32 bit r600g is up to date, though you might also need a newer kernel / X driver.
In the worst case, turning off colour tiling might work around the problem.
I've just tested zsnes with gallium r600 from mesa-7.11 and the problem seems to be gone.
https://bugs.freedesktop.org/show_bug.cgi?id=33371
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Jerome Glisse glisse@freedesktop.org 2012-02-22 10:06:38 PST --- Closing reopen if it happens again with recent r600g.
dri-devel@lists.freedesktop.org