Skip to contentSkip to conversation

New: r600g: glx-swap-pixmap causes screen corruption

Bug 42913 [email protected] 1 participant 7 messages Nov 14, 2011 – Dec 28, 2011

lore
Share & tools
lore
#0 lore raw

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

Bug #: 42913
Summary: r600g: glx-swap-pixmap causes screen corruption
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

First: I don't think this is bug 40610 because I don't see a crash but screen corruption and (sometimes) the following lines in dmesg:

Quoted 2 lines

radeon 0000:01:00.0: r600_check_texture_resource:1346 texture invalid format 0 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

But I'm no Mesa/Piglit expert, so my assumption might be wrong.

The Piglit test itself fails, the output is:

Quoted 3 lines

Probe at (0,0)
Expected: 0.000000 1.000000 0.000000 0.000000
Observed: 0.000000 0.000000 1.000000 1.000000

Used stack:
Mesa: Git/9ae10e9c
libdrm: 2.4.27-1
Kernel: 3.1.1
X.org: 1.11.1.902-1

Let me know, if you need more information.

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 42913] r600g: glx-swap-pixmap causes screen corruption

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

--- Comment #1 from Kai <[email protected]> 2011-11-15 08:38:49 PST --- Todays run showed one difference in what was reported by Piglit:

Quoted 4 lines

Probe at (0,0)
Expected: 0.000000 1.000000 0.000000 0.000000
Observed: 0.000000 0.000000 0.000000 1.000000
PIGLIT: {'result': 'fail' }

apart from that, the screen is still corrupted (a KDM restart fixes the screen again; also non-X TTYs aren't affected either).

Used stack:
Mesa: Git/9d4d9d34
libdrm: 2.4.27-1
Kernel: 3.1.1
X.org: 1.11.1.902-1

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 42913] r600g: glx-swap-pixmap causes screen corruption

In reply to [email protected]

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

--- Comment #2 from Dave Airlie <[email protected]> 2011-11-15 09:34:49 PST --- does xrandr to a new mode and back help?

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 42913] r600g: glx-swap-pixmap causes screen corruption

In reply to [email protected]

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

--- Comment #3 from Kai <[email protected]> 2011-11-15 11:47:33 PST --- (In reply to comment #2)

Quoted 1 line

does xrandr to a new mode and back help?

Yes, that restores a normal screen. AFAICT there is no vestige of the corruption left.

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 42913] r600g: glx-swap-pixmap causes screen corruption

In reply to [email protected]

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

--- Comment #4 from Kai <[email protected]> 2011-11-22 05:31:15 PST --- The weekend's Piglit run showed the bug with Mesa git/03df791c.

Apart from that I noticed, that this bug was assigned to dri-devel and not mesa-dev. Is that correct? This is, after all, most likely a bug in r600g and I thought Gallium driver development happened on mesa-dev.

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 42913] r600g: glx-swap-pixmap causes screen corruption

In reply to [email protected]

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

--- Comment #5 from Stefano Teso <[email protected]> 2011-12-23 07:29:54 PST ---

Quoted 1 line

But I'm no Mesa/Piglit expert, so my assumption might be wrong.

I have the very same issue here on evergreen, 32-bit userland on i7; debian unstable.

mesa: git 2eafd07323891944b9c012a17359cd5f07a87890 (cloned as of today)
libdrm: 2.4.29-1
kernel: 3.2-rc6
xorg: 1.11.2.902-1

(BTW, when using gnome-shell, the corruption is fixed automatically after half a second or so; using fluxbox, the screen stays corrupted.)

HTH,

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 42913] r600g: glx-swap-pixmap causes screen corruption

In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         AssignedTo|[email protected] |[email protected]
                   |.org                        |
          QAContact|                            |[email protected]
            Product|Mesa                        |xorg
          Component|Drivers/Gallium/r600        |Driver/Radeon

--- Comment #6 from Michel Dänzer <[email protected]> 2011-12-28 04:26:33 PST --- Fixed in xf86-video-ati Git ae45d7e6d8e6844cd4586c9ee97c21b257fa788f ('DRI2:
Can't use page flipping for pixmaps.').

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