* [Bug 98238] witcher 2: objects are black when changing lod
@ 2016-10-13 21:43 bugzilla-daemon
2016-10-23 11:24 ` bugzilla-daemon
` (23 more replies)
0 siblings, 24 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-10-13 21:43 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1019 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
Bug ID: 98238
Summary: witcher 2: objects are black when changing lod
Product: Mesa
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: aaalmosss@gmail.com
QA Contact: dri-devel@lists.freedesktop.org
When walking around basically everything changes level of detail all the time,
and when they do they are black for a few frames. This looks very nasty. I
guess the texture upload is not as fast as the game expects. Or maybe the fade
transition between the lods is bugged somehow?
I tried to capture an apitrace, but when replaying glretrace only shows
uninitialized window content.
HW: R9 270x
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2390 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
@ 2016-10-23 11:24 ` bugzilla-daemon
2016-10-26 20:24 ` bugzilla-daemon
` (22 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-10-23 11:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #1 from Arek Ruśniak <arek.rusi@gmail.com> ---
Hi, i am pretty sure few months ago worked as it should. i've tried to bisected
but it not easy or maybe it's almost impossible find good one
kernel/LLVM/mesa/libdrm/xorg/glamor..
So i installed fresh debian 8:
kernel 3.16
LLVM 3.5
mesa 10.6 (IIRC)
xorg 1.16.x
and issue still here, maybe this is game bug not mesa or i've got blind
i have this issue on steam, i can test gog version later.
And there is beta_public_linux on steam so can be worth to test as well
i965 & r600 works good
Tested on verde, juniper and haswell.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1514 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
2016-10-23 11:24 ` bugzilla-daemon
@ 2016-10-26 20:24 ` bugzilla-daemon
2016-11-04 10:14 ` bugzilla-daemon
` (21 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-10-26 20:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 277 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #2 from Arek Ruśniak <arek.rusi@gmail.com> ---
Ok, I've tested steam/GOG/wine/wine+nine all have this issue. I run out of
ideas.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1053 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
2016-10-23 11:24 ` bugzilla-daemon
2016-10-26 20:24 ` bugzilla-daemon
@ 2016-11-04 10:14 ` bugzilla-daemon
2016-11-04 13:07 ` bugzilla-daemon
` (20 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-04 10:14 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 315 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #3 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Can you test with latest master/trunk of both Mesa and LLVM? The versions you
mention in Comment #1 are all quite old.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1131 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (2 preceding siblings ...)
2016-11-04 10:14 ` bugzilla-daemon
@ 2016-11-04 13:07 ` bugzilla-daemon
2016-11-09 21:37 ` bugzilla-daemon
` (19 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-04 13:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #4 from almos <aaalmosss@gmail.com> ---
I forgot to mention that I reported this against Mesa 12.0.3 and LLVM 3.9.0,
but the situation was the same when I played the game earlier with Mesa 11.x. I
also tried 13.0-dev, but aside from some increase in performance (the worst
part is when defending the wall in Vergen at the end of chapter 2), I saw no
change in visuals. In the game's launcher there is an option to select between
OpenGL 2.1 and 3.2, but I see absolutely no difference between them.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1417 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (3 preceding siblings ...)
2016-11-04 13:07 ` bugzilla-daemon
@ 2016-11-09 21:37 ` bugzilla-daemon
2016-11-16 8:20 ` bugzilla-daemon
` (18 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-09 21:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1341 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #5 from freedesktop@lanig.email ---
I can confirm this bug. When the game changes the textures it switches to a
black object without any texture at first.
As a partly workaround I suggest to change the following options in your
User.ini:
TextureMemoryBudget
MeshDistanceScale
The texture memory budget should be slightly below the maximum amount of VRAM,
for example 7680 would be reasonable for a 8GiB- card.
The more you increase the mesh distance the further the textures get changed.
So when I set it to 99.9 it's not that distracting anymore(changing textures
are smaller then of course).
The file is located at
~/.local/share/cdprojektred/witcher2/GameDocuments/Witcher\ 2/config/User.ini
Sadly the grass is not included in this value so you might still see annoying
grass behaviour. So finally we have about three bugs, the textures aren't
switched correctly which is perhaps a driver issue but the LoD behaviour of the
engine is also really stupid, especially when it extremely decreases within
something like 2 metres from the char on the highest settings as long as no
changes are made in the User.ini. And finally not being able to change the
grass settings.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2104 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (4 preceding siblings ...)
2016-11-09 21:37 ` bugzilla-daemon
@ 2016-11-16 8:20 ` bugzilla-daemon
2016-11-25 12:54 ` bugzilla-daemon
` (17 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-16 8:20 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 718 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
Pablo <pasrospa@protonmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pasrospa@protonmail.com
--- Comment #6 from Pablo <pasrospa@protonmail.com> ---
This bug has also been reported in the game's github:
https://github.com/virtual-programming/witcher2-linux/issues/170
It includes a video of the issue and apparently it is a known issue with
radeonsi.
My setup: RX480 + Linux 4.8 + Mesa 13.0.1 (Debian experimental)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2107 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (5 preceding siblings ...)
2016-11-16 8:20 ` bugzilla-daemon
@ 2016-11-25 12:54 ` bugzilla-daemon
2016-11-25 13:03 ` bugzilla-daemon
` (16 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-25 12:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1182 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #7 from Arek Ruśniak <arek.rusi@gmail.com> ---
Ok, I think I've found big part of this problem:
author Marek Olšák <marek.olsak@amd.com> 2016-09-13 15:33:23 (GMT)
committer Marek Olšák <marek.olsak@amd.com> 2016-09-14 10:33:00
(GMT)
commit ab29788250a705eb0dd517cb3d38f37f944eb8ad (patch)
radeonsi: reload PS inputs with direct indexing at each use (v2)
The LLVM compiler can CSE interp intrinsics thanks to
LLVMReadNoneAttribute.
26011 shaders in 14651 tests
Totals:
SGPRS: 1146340 -> 1132676 (-1.19 %)
VGPRS: 727371 -> 711730 (-2.15 %)
Spilled SGPRs: 2218 -> 2078 (-6.31 %)
Spilled VGPRs: 369 -> 369 (0.00 %)
Scratch VGPRs: 1344 -> 1344 (0.00 %) dwords per thread
Code Size: 35841268 -> 36009732 (0.47 %) bytes
LDS: 767 -> 767 (0.00 %) blocks
Max Waves: 222559 -> 224779 (1.00 %)
Wait states: 0 -> 0 (0.00 %)
v2: don't call load_input for fragment shaders in emit_declaration
videos from "last good" and "first bad":
https://youtu.be/X3Zqb-cYssg
https://youtu.be/73X9SVf6_1g
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2201 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (6 preceding siblings ...)
2016-11-25 12:54 ` bugzilla-daemon
@ 2016-11-25 13:03 ` bugzilla-daemon
2016-11-25 13:36 ` bugzilla-daemon
` (15 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-25 13:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 387 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #8 from Arek Ruśniak <arek.rusi@gmail.com> ---
I can't provide apitrace or any kind of usefull things for witcher but I've
found regression in unigine-valley for the same commit
If you think it can help I can provide apirace form valley.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1163 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (7 preceding siblings ...)
2016-11-25 13:03 ` bugzilla-daemon
@ 2016-11-25 13:36 ` bugzilla-daemon
2016-11-27 1:07 ` bugzilla-daemon
` (14 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-25 13:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 413 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #9 from Arek Ruśniak <arek.rusi@gmail.com> ---
I've forgot to mention, in both case I've build mesa against LLVM 3.9.0
(official arch packages)
I cannot simply revert ab29788250a705eb0dd517cb3d38f37f944eb8ad
I had compile errors with LLVM 4.0, didn't try 3.8.x.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (8 preceding siblings ...)
2016-11-25 13:36 ` bugzilla-daemon
@ 2016-11-27 1:07 ` bugzilla-daemon
2016-12-11 21:10 ` bugzilla-daemon
` (13 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-11-27 1:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 585 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #10 from Christian Lanig <freedesktop@lanig.email> ---
The bug pretty nicely demonstrating how textures load might lead to a useful
way to debug engines while I don't see any performance impact? I'm no game
developer and I don't know whether the behavior can be reproduced for any game
but I got the idea that just turning a switch like a dev driver mode to make
the loading of textures this clear is much easier than writing his own.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1368 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (9 preceding siblings ...)
2016-11-27 1:07 ` bugzilla-daemon
@ 2016-12-11 21:10 ` bugzilla-daemon
2016-12-18 0:57 ` bugzilla-daemon
` (12 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-12-11 21:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 396 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #11 from Shmerl <shtetldik@gmail.com> ---
I have the same problem with Mesa 13.0.2 / radeonsi on RX 480 (reported it
here: https://github.com/virtual-programming/witcher2-linux/issues/175 ).
See attached video there for example of this behavior.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1245 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (10 preceding siblings ...)
2016-12-11 21:10 ` bugzilla-daemon
@ 2016-12-18 0:57 ` bugzilla-daemon
2017-01-03 22:18 ` bugzilla-daemon
` (11 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2016-12-18 0:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 236 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #12 from Axel Davy <davyaxel0@gmail.com> ---
Same bug happens with gallium nine on tonga.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1009 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (11 preceding siblings ...)
2016-12-18 0:57 ` bugzilla-daemon
@ 2017-01-03 22:18 ` bugzilla-daemon
2017-01-04 0:42 ` bugzilla-daemon
` (10 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-01-03 22:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #13 from Edmondo Tommasina <edmondo@eriadon.com> ---
This series from Marek fixes the issue for me (RX 470):
https://lists.freedesktop.org/archives/mesa-dev/2017-January/139432.html
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (12 preceding siblings ...)
2017-01-03 22:18 ` bugzilla-daemon
@ 2017-01-04 0:42 ` bugzilla-daemon
2017-01-05 17:54 ` bugzilla-daemon
` (9 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-01-04 0:42 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 446 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #14 from Arek Ruśniak <arek.rusi@gmail.com> ---
Edmondo, these patches made big difference but not resolved all "black
transition". Some wooden surfaces flickers still (rx470 too)
But It's still better then before commit
ab29788250a705eb0dd517cb3d38f37f944eb8ad
I can record this later
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1233 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (13 preceding siblings ...)
2017-01-04 0:42 ` bugzilla-daemon
@ 2017-01-05 17:54 ` bugzilla-daemon
2017-01-05 23:54 ` bugzilla-daemon
` (8 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-01-05 17:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 368 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #15 from almos <aaalmosss@gmail.com> ---
I confirm that Marek's patch series greatly improves the situation, but the
black transitions are not eliminated completely. The foliage is good now, but
the rocks are still bad.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1137 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (14 preceding siblings ...)
2017-01-05 17:54 ` bugzilla-daemon
@ 2017-01-05 23:54 ` bugzilla-daemon
2017-01-06 0:03 ` bugzilla-daemon
` (7 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-01-05 23:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 745 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
Edmondo Tommasina <edmondo.tommasina@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edmondo.tommasina@gmail.com
--- Comment #16 from Edmondo Tommasina <edmondo.tommasina@gmail.com> ---
Marek sent a v2 of the patch to the mailing list:
https://lists.freedesktop.org/archives/mesa-dev/2017-January/139640.html
I tested both v1 and v2 a bit more and I agree with you Arek and almos: the
patch fixes a lot of black transitions but not all of them.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2175 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (15 preceding siblings ...)
2017-01-05 23:54 ` bugzilla-daemon
@ 2017-01-06 0:03 ` bugzilla-daemon
2017-01-25 3:10 ` bugzilla-daemon
` (6 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-01-06 0:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 383 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #17 from Marek Olšák <maraeo@gmail.com> ---
The remaining bug can be an instruction scheduling issue: v_interp is moved
outside of the WQM or moved after the KILL opcode (which can break the WQM) or
moved into a branch (same issue).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1157 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] witcher 2: objects are black when changing lod
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (16 preceding siblings ...)
2017-01-06 0:03 ` bugzilla-daemon
@ 2017-01-25 3:10 ` bugzilla-daemon
2017-03-22 16:59 ` [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn bugzilla-daemon
` (5 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-01-25 3:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #18 from Shmerl <shtetldik@gmail.com> ---
I compiled the latest Mesa master (git-2ab2be092d) which includes the recent
fix from Marek:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=59c5da40ed2c6c56e29b562c2ee2c8705f28738b
and the bug is mostly gone, but it still happens in few areas for example on
the brick city walls and gates in Flotsam.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1371 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (17 preceding siblings ...)
2017-01-25 3:10 ` bugzilla-daemon
@ 2017-03-22 16:59 ` bugzilla-daemon
2017-06-21 20:52 ` bugzilla-daemon
` (4 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-03-22 16:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
Vedran Miletić <vedran@miletic.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |77449
Summary|witcher 2: objects are |Witcher 2: objects are
|black when changing lod |black when changing lod on
| |Radeon Pitcairn
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1847 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (18 preceding siblings ...)
2017-03-22 16:59 ` [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn bugzilla-daemon
@ 2017-06-21 20:52 ` bugzilla-daemon
2017-06-23 13:47 ` bugzilla-daemon
` (3 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-06-21 20:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 607 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #19 from Edmondo Tommasina <edmondo.tommasina@gmail.com> ---
Marek sent a series of patches to the mailing list that could be interesting
to fix the black transition issue for Witcher 2:
https://lists.freedesktop.org/archives/mesa-dev/2017-June/160177.html
I sent a patch to the list enabling the drirc option for Witcher 2 and it seems
to fix the black transitions problems for me:
https://lists.freedesktop.org/archives/mesa-dev/2017-June/160291.html
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1602 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (19 preceding siblings ...)
2017-06-21 20:52 ` bugzilla-daemon
@ 2017-06-23 13:47 ` bugzilla-daemon
2017-06-23 19:46 ` bugzilla-daemon
` (2 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-06-23 13:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 233 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #20 from almos <aaalmosss@gmail.com> ---
I confirm that Marek's patch fixes Witcher 2.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1040 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (20 preceding siblings ...)
2017-06-23 13:47 ` bugzilla-daemon
@ 2017-06-23 19:46 ` bugzilla-daemon
2017-06-26 12:37 ` bugzilla-daemon
2017-09-29 4:26 ` bugzilla-daemon
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-06-23 19:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 392 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #21 from Shmerl <shtetldik@gmail.com> ---
It's now in master. It should eventually land in /etc/drirc in distros, but
until then, build Mesa from source and set this variable when running the game:
glsl_correct_derivatives_after_discard=true
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1200 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (21 preceding siblings ...)
2017-06-23 19:46 ` bugzilla-daemon
@ 2017-06-26 12:37 ` bugzilla-daemon
2017-09-29 4:26 ` bugzilla-daemon
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-06-26 12:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1018 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
Gregor Münch <gr.muench@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #22 from Gregor Münch <gr.muench@gmail.com> ---
(In reply to Shmerl from comment #21)
> It's now in master. It should eventually land in /etc/drirc in distros, but
> until then, build Mesa from source and set this variable when running the
> game:
>
> glsl_correct_derivatives_after_discard=true
Not needed, Edmondos patch sets this automatically.
https://cgit.freedesktop.org/mesa/mesa/commit/?id=2ea16f08f3f57ce32a2912ddd0ed74027a89a547
If someone wants old behavior back set in game's launch option:
glsl_correct_derivatives_after_discard=false %command%
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2753 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
` (22 preceding siblings ...)
2017-06-26 12:37 ` bugzilla-daemon
@ 2017-09-29 4:26 ` bugzilla-daemon
23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2017-09-29 4:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=98238
--- Comment #23 from Shmerl <shtetldik@gmail.com> ---
The Witcher 3 in Wine is affected by a very similar issue:
https://bugs.winehq.org/show_bug.cgi?id=43786
And actually setting glsl_correct_derivatives_after_discard=true helps as well,
though it costs some performance.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1332 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2017-09-29 4:26 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-13 21:43 [Bug 98238] witcher 2: objects are black when changing lod bugzilla-daemon
2016-10-23 11:24 ` bugzilla-daemon
2016-10-26 20:24 ` bugzilla-daemon
2016-11-04 10:14 ` bugzilla-daemon
2016-11-04 13:07 ` bugzilla-daemon
2016-11-09 21:37 ` bugzilla-daemon
2016-11-16 8:20 ` bugzilla-daemon
2016-11-25 12:54 ` bugzilla-daemon
2016-11-25 13:03 ` bugzilla-daemon
2016-11-25 13:36 ` bugzilla-daemon
2016-11-27 1:07 ` bugzilla-daemon
2016-12-11 21:10 ` bugzilla-daemon
2016-12-18 0:57 ` bugzilla-daemon
2017-01-03 22:18 ` bugzilla-daemon
2017-01-04 0:42 ` bugzilla-daemon
2017-01-05 17:54 ` bugzilla-daemon
2017-01-05 23:54 ` bugzilla-daemon
2017-01-06 0:03 ` bugzilla-daemon
2017-01-25 3:10 ` bugzilla-daemon
2017-03-22 16:59 ` [Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn bugzilla-daemon
2017-06-21 20:52 ` bugzilla-daemon
2017-06-23 13:47 ` bugzilla-daemon
2017-06-23 19:46 ` bugzilla-daemon
2017-06-26 12:37 ` bugzilla-daemon
2017-09-29 4:26 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).