Skip to contentSkip to conversation

New: [r600g, tiling] visual errors and GPU resets

Bug 31046 [email protected] 1 participant 15 messages Oct 22, 2010 – Feb 1, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: [r600g, tiling] visual errors and GPU resets
Product: DRI
Version: DRI CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Hello!

Yesterday I saw with much delight that the was some new tiling code in r600g, which could be enabled with a simple envvar. So I pulled drm-radeon-testing and applied Dave's patch for the CS checker to it (this one:
http://article.gmane.org/gmane.comp.video.dri.devel/51060).

However I encountered several problems with the new code (exporting R600_FORCE_TILING=1 makes a difference, so it is working to some extent:

1) ioquake3 shows lots of gfx errors. Mipmaps are affected the most (when setting r_textureMode to GL_LINEAR these problems disappear), but also small textures seem to be affected (staircases, which use small textures, are either rendered totally black or black with white stripes).

2) doom3 (demo) shows similar mipmap-related errors.

3) ut2004 is completly unplayable, I get GPU resets nearly every frame and most of the geometry is missing.

4) ut2003 kinda works, but the HUD is messed up and sprite rendering is totally broken

Going to post some snips from the kernel log later.

My hardware:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 4770 [RV740]

libdrm, mesa and xf86-video-ati are all git master tip. ColorTiling is enabled in the xorg.conf, verified this by checking the Xorg logfile.

Greets,
Tobias

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 31046] [r600g, tiling] visual errors and GPU resets

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

--- Comment #1 from Tobias Jakobi <[email protected]> 2010-10-22 03:31:27 PDT --- Needless to say, but I didn't see _any_ performance increase with R600_FORCE_TILING enabled. Isn't this supposed to bump the fps a lot?

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #2 from Dave Airlie <[email protected]> 2010-10-22 04:22:45 PDT --- I didn't get a chance to test on r700 yet, there may be some more bits I need to look at, I haven't noticed a large FPS difference on my GPUs either, which is sad, but I've got a bit of work to do yet, I actually added tiling to help with s3tc rather than for the FPS boost.

btw you may also need some patches from Alex to fix the group size and any other CS checkers patch that popped up lately.

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #3 from Tobias Jakobi <[email protected]> 2010-10-22 05:57:43 PDT --- You mean these ones?
http://article.gmane.org/gmane.comp.video.dri.devel/50968
http://article.gmane.org/gmane.comp.video.dri.devel/50966

Concerning s3tc, how exactly does tiling interact with that?

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #4 from Tobias Jakobi <[email protected]> 2010-10-28 16:49:17 PDT --- OK, so I just found some time to retest the issues.

Again mesa, libdrm and xf86-video-ati are git master. I'm also using drm-next (not drm-r-t) this time, since it looks like it's more up to date.

However with this config mipmapping seems to be broken in all configs. I have mipmap render errors (which disappear in quake-engine based games when setting gl_texturemode to either GL_NEAREST or GL_LINEAR) with r600 classic and gallium, doesn't matter what I choose.

R600_FORCE_TILING introduced even more errors, so I switched it off again right away. But the problems with mipmaps stay.

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #5 from Tobias Jakobi <[email protected]> 2010-11-04 17:12:58 PDT --- Now tracking the new issue in bug #31400. I'm going to return to this bug when mipmaps are working again on mesa classic.

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #6 from Jerome Glisse <[email protected]> 2010-12-07 12:22:23 PST --- Do you still have this issue with lastest mesa git & recent kernel+ddx

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #7 from Tobias Jakobi <[email protected]> 2010-12-11 12:42:06 PST --- I'm currently on vacation, so I can't test this at the moment. Will do a check when I return home.

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

Tobias Jakobi <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Tobias Jakobi <[email protected]> 2011-01-15 14:45:11 PST --- I have retested this with all important components updated:
Issue is no longer present for me. Forcing tiling on doesn't create any (more) major issues on quake3, doom3 and ut then without this option.

Setting this to RESOLVED, FIXED.

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

Tobias Jakobi <[email protected]> changed:

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

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #9 from Tobias Jakobi <[email protected]> 2011-01-19 14:12:45 PST --- After doing some thorough testing today with ut2004 I noticed that mipmaps are still affected when having R600_FORCE_TILING enabled. Going to take some screenshots later. I didn't encounter any GPU resets though, so it's just rendering errors and it seems to be limited to mipmaps.

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.
#10 lore raw

[Bug 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #10 from Tobias Jakobi <[email protected]> 2011-01-26 13:01:26 PST --- Created an attachment (id=42552)
--> (https://bugs.freedesktop.org/attachment.cgi?id=42552)
ut2004 mipmap errors 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.
#11 lore raw

[Bug 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #11 from Tobias Jakobi <[email protected]> 2011-01-26 13:01:41 PST --- Created an attachment (id=42553)
--> (https://bugs.freedesktop.org/attachment.cgi?id=42553)
ut2004 mipmap errors 2

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 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #12 from Tobias Jakobi <[email protected]> 2011-01-26 13:01:56 PST --- Created an attachment (id=42554)
--> (https://bugs.freedesktop.org/attachment.cgi?id=42554)
ut2004 mipmap errors 3

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.
#13 lore raw

[Bug 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

--- Comment #13 from Tobias Jakobi <[email protected]> 2011-01-26 13:02:10 PST --- Created an attachment (id=42555)
--> (https://bugs.freedesktop.org/attachment.cgi?id=42555)
ut2004 mipmap errors 4

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.
#14 lore raw

[Bug 31046] [r600g, tiling] visual errors and GPU resets

In reply to [email protected]

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

Tobias Jakobi <[email protected]> changed:

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

             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #14 from Tobias Jakobi <[email protected]> 2011-02-01 13:17:53 PST --- I'm closing this one, since the main issue has changed. Also recent tests show that fewer applications are affected.

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.