Dreamfall Chapters: heavy visual corruption
https://bugs.freedesktop.org/show_bug.cgi?id=86038
Bug ID: 86038
Summary: [radeonsi] Dreamfall Chapters: heavy visual corruption
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]Created attachment 109134
--> https://bugs.freedesktop.org/attachment.cgi?id=109134&action=edit
Heavy visual corruption with radeonsi in Dreamfall Chapters
Let me preface this report with the note, that some visual corruption was expected with Dreamfall Chapters on Linux, since there are some broken shaders and the developers are working on fixing those.
With the radeonsi driver (see below for the full graphics stack in use) the visual corrutpion is on the unplayable level, since large parts of the screen are black in certain scenes (it seems to be, when one particular light shader is in use, which also bothers the proprietary driver, but not to this extent). See the attached screenshot for an example how this looks. This is not an Hyper-Z issue, I tried R600_DEBUG=nohyperz to no avail.
For reference I'll also post a screenshot of the same scene with the proprietary driver (which was a PITA to get running, I hate that thing so much), where you can see the difference.
Please let me know, what else you might need to debug this.
My current stack is (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/1a170980a0
libdrm: Git:master/00847fa48b
LLVM: SVN:trunk/r220648 (3.6 devel)
X.Org: 2:1.16.1-1
Linux:
Git:git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git:v3.18-rc1
+ attachment 107451 and attachment 107544
Firmware: <http://people.freedesktop.org/~agd5f/radeon_ucode/>
Quoted 8 lines
9e05820da42549ce9c89d147cf1f8e19 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_ce.bin c8bab593090fc54f239c8d7596c8d846 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_mc.bin 3618dbb955d8a84970e262bb2e6d2a16 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_me.bin c000b0fc9ff6582145f66504b0ec9597 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_mec.bin 0643ad24b3beff2214cce533e094c1b7 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_pfp.bin ba6054b7d78184a74602fd81607e1386 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_rlc.bin 11288f635737331b69de9ee82fe04898 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_sdma.bin 284429675a5560e0fad42aa982965fc2 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_smc.bin
libclc: Git:master/7f6f5bff1f
DDX: 1:7.5.0-1
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=86038
Kai <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #109134|text/plain |image/jpeg
mime type| |Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #1 from Kai <[email protected]> --- Created attachment 109135
--> https://bugs.freedesktop.org/attachment.cgi?id=109135&action=edit
Minor visual corruption with fglrx 14.9
This screenshot shows the corrruption I see in the same scene with a fglrx 14.9 (on a 3.16 kernel, since fglrx won't work with 3.18-rc1, some module compilation failure due to ACPI changes). This kin of corruption was expected, when reading the patch notes for Dreamfall Chapters and the FAQ.
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
Kai <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[radeonsi] Dreamfall |[radeonsi] Dreamfall
|Chapters: heavy visual |Chapters: heavy visual
|corruption |corruption, large parts of
| |the screen are black in
| |some scenesSignature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #2 from Kai <[email protected]> ---
I've updated Mesa and LLVM, but that didn't help. The new stack is detailed below.
I forgot to write in comment #0, that the first visual corruption (black rectangles flickering in and out of existance) occurs in the main menu.
And I like to add another observation: when you press escape (ie. pause the game) while there's a visual corruption visible like the one depicted in attachment 109134, the amount of corruption is reduced significantly. Not as good as with the proprietary driver, but still way better than in the running game. The pause menu is basically a grey overlay with the menu options onto a "still image" of the scene you've paused in.
My current stack is (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/a6d8413d7c
libdrm: Git:master/00847fa48b
LLVM: SVN:trunk/r221577 (3.6 devel)
X.Org: 2:1.16.1-1
Linux:
Git:git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git:v3.18-rc1
+ attachment 107451 and attachment 107544
Firmware: <http://people.freedesktop.org/~agd5f/radeon_ucode/>
Quoted 8 lines
9e05820da42549ce9c89d147cf1f8e19 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_ce.bin c8bab593090fc54f239c8d7596c8d846 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_mc.bin 3618dbb955d8a84970e262bb2e6d2a16 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_me.bin c000b0fc9ff6582145f66504b0ec9597 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_mec.bin 0643ad24b3beff2214cce533e094c1b7 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_pfp.bin ba6054b7d78184a74602fd81607e1386 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_rlc.bin 11288f635737331b69de9ee82fe04898 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_sdma.bin 284429675a5560e0fad42aa982965fc2 /lib/firmware/updates/3.17.0-citadel/radeon/hawaii_smc.bin
libclc: Git:master/7f6f5bff1f
DDX: 1:7.5.0-1
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #3 from Michel Dänzer <[email protected]> --- Can you create an apitrace reproducing the problem?
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #4 from Kai <[email protected]> --- (In reply to Michel Dänzer from comment #3)
Quoted 1 line
Can you create an apitrace reproducing the problem?
Sure, here you go:
<http://dev.carbon-project.org/debian/mesa.bugs/86038/dreamfall.trace.7z> (file should be completely upload in about 15 minutes after this comment is posted.) The trace starts in the main menu where I waited until I got one of those flickering rectangles. Afterwards I started a new game and skipped the parts of the intro that don't show any additional errors besides the flickering rectangles. The main part of the trace is the storytime intro sequence where the light shader makes large parts of the screen black. I also pressed pause a few times to show what I meant in comment #2. What you can see in the pause menu is basically what you get with fglrx all the time, maybe a bit worse.
As with the apitrace for bug 84570 I password-protected the download directory to prevent unnecessary downloads (it is rather large), but I gladly provide known Mesa developers with access, just send me a short e-mail.
@Michel: you should have received an e-mail by now with your login information. Feel free to share it internally.
Let me know, if you need something else.
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #5 from Kai <[email protected]> --- Just FYI:076faa59f5c748b80a594c55e5e484b3 dreamfall.trace.7z
The file has (packed) 1.6 GB in size and 5.1 GB unpacked.
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
Alexandre <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected] |[email protected] |.org |
--- Comment #6 from Alexandre <[email protected]> --- Created attachment 109252
--> https://bugs.freedesktop.org/attachment.cgi?id=109252&action=edit
Dreamfall printscreen game: game running "ok"
This is how the image of the game, when he is running "ok". This is a printscreen from another player.
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
Kai <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected] |[email protected] | |.org
--- Comment #15 from Kai <[email protected]> --- Resetting assignee, which Alexandre must have taken by accident.
(In reply to Alexandre from comment #14)
Quoted 3 lines
What must I do to adopt or switch in my machine to a open-source driver then?
PS: what's a AFAIK?
I've answered both your questions by private e-mail.
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #16 from Kai <[email protected]> --- Created attachment 109319
--> https://bugs.freedesktop.org/attachment.cgi?id=109319&action=edit
No visual corruption on Intel (Sandybridge)
Just FYI: I had the chance to test the game on an Intel Sandybridge system and there's no visible visual corruption in the same scene (even if it's not the same frame). So the shader is probably ok?
The Mesa version running on that system, is a bit older though: 10.4-devel, commit 5ccdc23a86 (and a build from 2014-09-28).
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #17 from Kai <[email protected]> ---
Happy tidings: with Mesa commit 88fea85f09 and LLVM SVN r222517 (see below for the full stack) I get a lot less visual corruption, than before, see
<https://imgur.com/a/8g3Sp>. The Catalyst is still better because there aren't any black areas around the mountain ranges from the intro scene. But in the scene looking out on the palm trees, I'd say, Catalyst/fglrx and radeonsi are now on par.
Long story short: a lot better, but still ways to go. It looks like part of this bug was the same as the later reported bug 86432.
Let me know, if you need something else – like a new apitrace – to debug this.
My current stack is (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/88fea85f09
libdrm: Git:master/00847fa48b
LLVM: SVN:trunk/r222517 (3.6 devel)
X.Org: 2:1.16.1-1
Linux:
Git:<git://people.freedesktop.org/~agd5f/linux>:drm-next-3.19-wip/d13184cad0
Firmware: <http://people.freedesktop.org/~agd5f/radeon_ucode/>
Quoted 8 lines
9e05820da42549ce9c89d147cf1f8e19 hawaii_ce.bin c8bab593090fc54f239c8d7596c8d846 hawaii_mc.bin 3618dbb955d8a84970e262bb2e6d2a16 hawaii_me.bin c000b0fc9ff6582145f66504b0ec9597 hawaii_mec.bin 0643ad24b3beff2214cce533e094c1b7 hawaii_pfp.bin ba6054b7d78184a74602fd81607e1386 hawaii_rlc.bin 11288f635737331b69de9ee82fe04898 hawaii_sdma.bin 284429675a5560e0fad42aa982965fc2 hawaii_smc.bin
libclc: Git:master/7f6f5bff1f
DDX: 1:7.5.0-1
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
Kai <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #109134|0 |1
is obsolete| |
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #18 from Kai <[email protected]> --- Since I've updated my stack and there was a new Dreamfall Chapters release (1.1.2), I had a look at the intro scene again. But it looks still like I described in comment #17.
My current stack (Debian testing as a base) is:
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/a2f2eebfdf
libdrm: Git:master/00847fa48b
LLVM: SVN:trunk/r223220 (3.6 devel)
X.Org: 2:1.16.1-1
Linux:
Git:<git://people.freedesktop.org/~agd5f/linux>:drm-next-3.19-wip/f66d9660a0
Firmware: <http://people.freedesktop.org/~agd5f/radeon_ucode/>
Quoted 8 lines
9e05820da42549ce9c89d147cf1f8e19 hawaii_ce.bin c8bab593090fc54f239c8d7596c8d846 hawaii_mc.bin 3618dbb955d8a84970e262bb2e6d2a16 hawaii_me.bin c000b0fc9ff6582145f66504b0ec9597 hawaii_mec.bin 0643ad24b3beff2214cce533e094c1b7 hawaii_pfp.bin ba6054b7d78184a74602fd81607e1386 hawaii_rlc.bin 11288f635737331b69de9ee82fe04898 hawaii_sdma.bin 284429675a5560e0fad42aa982965fc2 hawaii_smc.bin
libclc: Git:master/229064524b
DDX: Git:master/c9f8f642fd
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
Kai <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #19 from Kai <[email protected]> ---
With my current stack (see below) this bug is fixed. I didn't test it, but could this be related to Marek's fix for the UE4 demos (NaN handling)? Maybe that's a patch you want to backport to the stable branches, then.
My current stack (Debian testing as a base) is:
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/61711316f5
libdrm: Git:master/00847fa48b
LLVM: SVN:trunk/r224079 (3.6 devel)
X.Org: Git:master/6672606420
Linux:
Git:<git://people.freedesktop.org/~agd5f/linux>:drm-next-3.19-wip/f66d9660a0
Firmware: <http://people.freedesktop.org/~agd5f/radeon_ucode/>
Quoted 8 lines
9e05820da42549ce9c89d147cf1f8e19 hawaii_ce.bin c8bab593090fc54f239c8d7596c8d846 hawaii_mc.bin 3618dbb955d8a84970e262bb2e6d2a16 hawaii_me.bin c000b0fc9ff6582145f66504b0ec9597 hawaii_mec.bin 0643ad24b3beff2214cce533e094c1b7 hawaii_pfp.bin ba6054b7d78184a74602fd81607e1386 hawaii_rlc.bin 11288f635737331b69de9ee82fe04898 hawaii_sdma.bin 284429675a5560e0fad42aa982965fc2 hawaii_smc.bin
libclc: Git:master/0bb35f11b2
DDX: Git:master/c9f8f642fd
Signature · 2 lines
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
[Bug 86038] [radeonsi] Dreamfall Chapters: heavy visual corruption, large parts of the screen are black in some scenes
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=86038
--- Comment #20 from Kai <[email protected]> --- (In reply to Kai from comment #19)
Quoted 1 line
LLVM: SVN:trunk/r224079 (3.6 devel)
Just to set the record straight: I meant r225079. Sorry for the typo.
Signature · 2 lines
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