Bug 71326

Summary: [r600g] Texture artifacts when viewed from a distance in WoW
Product: Mesa Reporter: Chris Rankin <rankincj>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: WoW screenshot show texture artifacts in the distance
WoW screenshot show texture artifacts in the distance (2)
Fragment of apitrace from 32 bit WoW on HD6450 (1/40)
Fragment of apitrace from 32 bit WoW on HD6450 (2/40)
Fragment of apitrace from 32 bit WoW on HD6450 (3/40)
Fragment of apitrace from 32 bit WoW on HD6450 (4/40)
Fragment of apitrace from 32 bit WoW on HD6450 (5/40)
Fragment of apitrace from 32 bit WoW on HD6450 (6/40)
Fragment of apitrace from 32 bit WoW on HD6450 (7/40)
Fragment of apitrace from 32 bit WoW on HD6450 (8/40)
Fragment of apitrace from 32 bit WoW on HD6450 (9/40)
Fragment of apitrace from 32 bit WoW on HD6450 (10/40)
Fragment of apitrace from 32 bit WoW on HD6450 (11/40)
Fragment of apitrace from 32 bit WoW on HD6450 (12/40)
Fragment of apitrace from 32 bit WoW on HD6450 (13/40)
Fragment of apitrace from 32 bit WoW on HD6450 (14/40)
Fragment of apitrace from 32 bit WoW on HD6450 (15/40)
Fragment of apitrace from 32 bit WoW on HD6450 (16/40)
Fragment of apitrace from 32 bit WoW on HD6450 (17/40)
Fragment of apitrace from 32 bit WoW on HD6450 (18/40)
Fragment of apitrace from 32 bit WoW on HD6450 (19/40)
Fragment of apitrace from 32 bit WoW on HD6450 (20/40)
Fragment of apitrace from 32 bit WoW on HD6450 (21/40)
Fragment of apitrace from 32 bit WoW on HD6450 (22/40)
Fragment of apitrace from 32 bit WoW on HD6450 (23/40)
Fragment of apitrace from 32 bit WoW on HD6450 (24/40)
Fragment of apitrace from 32 bit WoW on HD6450 (25/40)
Fragment of apitrace from 32 bit WoW on HD6450 (26/40)
Fragment of apitrace from 32 bit WoW on HD6450 (27/40)
Fragment of apitrace from 32 bit WoW on HD6450 (28/40)
Fragment of apitrace from 32 bit WoW on HD6450 (29/40)
Fragment of apitrace from 32 bit WoW on HD6450 (30/40)
Fragment of apitrace from 32 bit WoW on HD6450 (31/40)
Fragment of apitrace from 32 bit WoW on HD6450 (32/40)
Fragment of apitrace from 32 bit WoW on HD6450 (33/40)
Fragment of apitrace from 32 bit WoW on HD6450 (34/40)
Fragment of apitrace from 32 bit WoW on HD6450 (35/40)
Fragment of apitrace from 32 bit WoW on HD6450 (36/40)
Fragment of apitrace from 32 bit WoW on HD6450 (37/40)
Fragment of apitrace from 32 bit WoW on HD6450 (38/40)
Fragment of apitrace from 32 bit WoW on HD6450 (39/40)
Fragment of apitrace from 32 bit WoW on HD6450 (40/40)
What the terrain is supposed to look like

Description Chris Rankin 2013-11-06 23:39:19 UTC
Dual P4 Xeon, 2 GB RAM, Mesa HEAD is:

commit 110009302bddb4c42a5b3ed5ca451d6bb50a06a0
Author: Fabio Pedretti <fabio.ped@libero.it>
Date:   Wed Nov 6 10:55:28 2013 +0100

    gallium: fix build on GNU/kFreeBSD


I am currently playing WoW with my HD4670 (AGP), and I am noticing that various textures are being rendered incorrectly when viewed beyond a certain distance. However, as I approach the badly rendered area, all of the artifacts disappear! It's as if my character is surrounded by an invisible bubble, and everything within the bubble becomes correctly rendered. (The visual effect reminds me of the "Genesis wave" demonstration video from "Star Trek: The Wrath of Khan" - if that means anything to anyone...;-).)

This problem is not visible with the HD4890 on my 64 bit machine.

I have attached a couple of screenshots showing the problem.
Comment 1 Chris Rankin 2013-11-06 23:40:25 UTC
Created attachment 88790 [details]
WoW screenshot show texture artifacts in the distance
Comment 2 Chris Rankin 2013-11-06 23:41:05 UTC
Created attachment 88791 [details]
WoW screenshot show texture artifacts in the distance (2)
Comment 3 Alex Deucher 2013-11-07 16:57:16 UTC
Maybe an AGP problem?  Does booting with radeon.agpmode=-1 on the kernel command line in grub help?
Comment 4 Chris Rankin 2013-11-07 20:46:42 UTC
(In reply to comment #3)
> Maybe an AGP problem?  Does booting with radeon.agpmode=-1 on the kernel
> command line in grub help?

Nope, it doesn't make any difference.
Comment 5 Chris Rankin 2014-03-09 20:46:06 UTC
Created attachment 95429 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (1/40)
Comment 6 Chris Rankin 2014-03-09 20:47:42 UTC
Created attachment 95431 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (2/40)
Comment 7 Chris Rankin 2014-03-09 20:49:32 UTC
Created attachment 95432 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (3/40)
Comment 8 Chris Rankin 2014-03-09 20:52:44 UTC
Created attachment 95433 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (4/40)
Comment 9 Chris Rankin 2014-03-09 20:54:49 UTC
Created attachment 95435 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (5/40)
Comment 10 Chris Rankin 2014-03-09 20:56:33 UTC
Created attachment 95436 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (6/40)
Comment 11 Chris Rankin 2014-03-09 20:58:47 UTC
Created attachment 95437 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (7/40)
Comment 12 Chris Rankin 2014-03-09 21:00:08 UTC
Created attachment 95438 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (8/40)
Comment 13 Chris Rankin 2014-03-09 21:02:00 UTC
Created attachment 95439 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (9/40)
Comment 14 Chris Rankin 2014-03-09 21:03:44 UTC
Created attachment 95440 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (10/40)
Comment 15 Chris Rankin 2014-03-09 21:05:11 UTC
Created attachment 95441 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (11/40)
Comment 16 Chris Rankin 2014-03-09 21:07:35 UTC
Created attachment 95442 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (12/40)
Comment 17 Chris Rankin 2014-03-09 21:08:59 UTC
Created attachment 95443 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (13/40)
Comment 18 Chris Rankin 2014-03-09 21:10:34 UTC
Created attachment 95444 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (14/40)
Comment 19 Chris Rankin 2014-03-09 21:11:56 UTC
Created attachment 95445 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (15/40)
Comment 20 Chris Rankin 2014-03-09 21:13:32 UTC
Created attachment 95447 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (16/40)
Comment 21 Chris Rankin 2014-03-09 21:15:00 UTC
Created attachment 95448 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (17/40)
Comment 22 Chris Rankin 2014-03-09 21:16:55 UTC
Created attachment 95450 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (18/40)
Comment 23 Chris Rankin 2014-03-09 21:18:24 UTC
Created attachment 95451 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (19/40)
Comment 24 Chris Rankin 2014-03-09 21:20:02 UTC
Created attachment 95452 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (20/40)
Comment 25 Chris Rankin 2014-03-09 21:22:18 UTC
Created attachment 95453 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (21/40)
Comment 26 Chris Rankin 2014-03-09 21:23:54 UTC
Created attachment 95454 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (22/40)
Comment 27 Chris Rankin 2014-03-09 21:25:33 UTC
Created attachment 95455 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (23/40)
Comment 28 Chris Rankin 2014-03-09 21:29:11 UTC
Created attachment 95456 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (24/40)
Comment 29 Chris Rankin 2014-03-09 21:31:44 UTC
Created attachment 95457 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (25/40)
Comment 30 Chris Rankin 2014-03-09 21:33:08 UTC
Created attachment 95458 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (26/40)
Comment 31 Chris Rankin 2014-03-09 21:34:34 UTC
Created attachment 95459 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (27/40)
Comment 32 Chris Rankin 2014-03-09 21:35:59 UTC
Created attachment 95460 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (28/40)
Comment 33 Chris Rankin 2014-03-09 21:37:18 UTC
Created attachment 95461 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (29/40)
Comment 34 Chris Rankin 2014-03-09 21:38:49 UTC
Created attachment 95462 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (30/40)
Comment 35 Chris Rankin 2014-03-09 21:40:33 UTC
Created attachment 95463 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (31/40)
Comment 36 Chris Rankin 2014-03-09 21:41:59 UTC
Created attachment 95464 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (32/40)
Comment 37 Chris Rankin 2014-03-09 21:43:21 UTC
Created attachment 95465 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (33/40)
Comment 38 Chris Rankin 2014-03-09 21:44:43 UTC
Created attachment 95466 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (34/40)
Comment 39 Chris Rankin 2014-03-09 21:46:15 UTC
Created attachment 95467 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (35/40)
Comment 40 Chris Rankin 2014-03-09 21:47:41 UTC
Created attachment 95468 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (36/40)
Comment 41 Chris Rankin 2014-03-09 21:49:04 UTC
Created attachment 95469 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (37/40)
Comment 42 Chris Rankin 2014-03-09 21:50:31 UTC
Created attachment 95470 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (38/40)
Comment 43 Chris Rankin 2014-03-09 21:51:57 UTC
Created attachment 95471 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (39/40)
Comment 44 Chris Rankin 2014-03-09 22:00:49 UTC
Created attachment 95474 [details]
Fragment of apitrace from 32 bit WoW on HD6450 (40/40)

This trace can be reconstructed via the following command:

$ cat wine.trace.xz.* > wine.trace.xz

Its SHA1SUM should be: efd80aefa86a65d4e8d1c43cfdd231361414b4bd

This texture corruption is now visible on a HD6450 as well as my HD4670 AGP. The corruption is also visible when I replay this trace on my HD4890, although my HD4890 itself renders WoW correctly.

Interestingly, my HD4890 replays this trace far more quickly than the HD6450 does. And the HD6450 occasionally renders what appears to be a completely blank frame.
Comment 45 Chris Rankin 2014-03-09 22:11:58 UTC
Actually, I've just rewatched this replay on my HD4890 and there are distinct "flickers" of what appear to be blank frames with the card too. The corruption is visible as blue/green patches on what is supposed to be distant red sand.
Comment 46 Chris Rankin 2014-03-09 23:57:46 UTC
Created attachment 95481 [details]
What the terrain is supposed to look like
Comment 47 GitLab Migration User 2019-09-18 19:11:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/468.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.