Skip to contentSkip to conversation

New: [r300g, bisected] HoN: corruption with tiling and CS ioctl thread offloading

Bug 34332 [email protected] 1 participant 4 messages Feb 16, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: [r300g, bisected] HoN: corruption with tiling and CS
ioctl thread offloading
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Keywords: regression
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=43425)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43425)
screenshot

There is corruption in Heroes of Newerth menu and also ingame.

b9e2cde6006b557a3a23a82384899f4d5a5ac7b8 is the first bad commit commit b9e2cde6006b557a3a23a82384899f4d5a5ac7b8

Author: Marek Olšák <[email protected]>
Date:   Tue Feb 15 05:43:44 2011 +0100

r300g: offload the CS ioctl to another thread

This is a multi-threading optimization which hides the kernel overhead behind a thread. It improves performance in CPU-limited apps by 2-15%. Of course you must have at least 2 cores for it to make any difference.

It can be disabled with:

export RADEON_THREAD=0

RADEON_THREAD=0 or RADEON_DEBUG=notiling solves this bug.

The screenshot is taken without libtxc_dxtn. The corruption is much better when libtxc_dxtn is present, but not completely gone.

GPU: RV530
mesa: f53436d821a5173075b2a4a8db8cd23d9669f6e2
kernel: 2.6.37

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
#1 lore raw

[Bug 34332] [r300g, bisected] HoN: corruption with tiling and CS ioctl thread offloading

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

--- Comment #1 from Marek Olšák <[email protected]> 2011-02-16 13:25:45 PST --- Created an attachment (id=43454)
View: https://bugs.freedesktop.org/attachment.cgi?id=43454
Review: https://bugs.freedesktop.org/review?bug=34332&attachment=43454

possible fix

Does this patch fix the issue?

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
#2 lore raw

[Bug 34332] [r300g, bisected] HoN: corruption with tiling and CS ioctl thread offloading

In reply to [email protected]

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

--- Comment #2 from Pavel Ondračka <[email protected]> 2011-02-16 13:40:36 PST --- (In reply to comment #1)

Quoted 1 line

Created an attachment (id=43454)

View: https://bugs.freedesktop.org/attachment.cgi?id=43454
Review: https://bugs.freedesktop.org/review?bug=34332&attachment=43454

Quoted 3 lines

possible fix

Does this patch fix the issue?

Yes, your patch fixes it. Thank you.

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
#3 lore raw

[Bug 34332] [r300g, bisected] HoN: corruption with tiling and CS ioctl thread offloading

In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Marek Olšák <[email protected]> 2011-02-16 13:53:18 PST --- OK, committed, closing...

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