Skip to contentSkip to conversation

New: Zsnes output all garbage when OpenGL is enabled

Bug 33371 [email protected] 1 participant 13 messages Jan 22, 2011 – Feb 22, 2012

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

https://bugs.freedesktop.org/show_bug.cgi?id=33371

Jerome Glisse <[email protected]> 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 <[email protected]> 2011-03-08 10:44:32 PST --- Does it works any better with more recent mesa ? Also attach output of glxinfo

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #2 from Pierre-Eric Pelloux-Prayer <[email protected]> 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")

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #3 from [email protected] 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #4 from Alex Deucher <[email protected]> 2011-07-22 15:28:50 PDT --- Are you by any chance using a 32 bit version of zsnes on a 64 bit distro?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #5 from Lars Wendler <[email protected]> 2011-07-22 22:59:33 PDT --- (In reply to comment #4)

Quoted 1 line

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).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #6 from Alex Deucher <[email protected]> 2011-07-23 08:06:23 PDT --- (In reply to comment #5)

Quoted 6 lines

(In reply to comment #4)

Quoted 1 line

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Sven Arvidsson <[email protected]> 2011-07-23 09:04:07 PDT --- (In reply to comment #5)

Quoted 3 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #8 from Lars Wendler <[email protected]> 2011-07-23 11:43:41 PDT --- (In reply to comment #6)

Quoted 9 lines

(In reply to comment #5)

Quoted 6 lines

(In reply to comment #4)

Quoted 1 line

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)

Quoted 6 lines

(In reply to comment #5)

Quoted 3 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #9 from Michel Dänzer <[email protected]> 2011-08-04 02:08:57 PDT --- Please attach Xorg.0.log and dmesg output.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #10 from Michel Dänzer <[email protected]> 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.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

--- Comment #11 from Lars Wendler <[email protected]> 2011-08-04 08:42:26 PDT --- (In reply to comment #10)

Quoted 5 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 33371] [RADEON:KMS:R600G] zsnes output all garbage when OpenGL is enabled

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=33371

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #12 from Jerome Glisse <[email protected]> 2012-02-22 10:06:38 PST --- Closing reopen if it happens again with recent r600g.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.