[Bug 103544] Graphical glitches r600 in game this war of mine linux native
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 8 00:25:25 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103544
--- Comment #14 from Roland Scheidegger <sroland at vmware.com> ---
(In reply to Ilia Mirkin from comment #13)
> (In reply to Roland Scheidegger from comment #12)
> > Here's a apitrace for this (1GB, of course the corruption is only seen
> > towards the end...), should be available a week (?):
> > https://we.tl/EanuxRG7Yf
>
> Well, this all replays fine with nouveau, even if I remove the blending
> config which makes 0*nan=0. At least I couldn't see any artifacts.
>
> So this all points to ... sadness. Can you check if you still see artifacts
> with nosb?
Tried that, doesn't help.
I noticed some things looking questionable in the driver:
- the driver doesn't use the ieee variants consistently (e.g. muls from lerps).
There's also some inconsistencies - for r600, the comments say for non-gl usage
the ieee variant should be used for rcp, however eg/cayman will use that
anyway, and I don't think handling it differently between these drivers is done
on purpose.
- the driver uses min/max instead of min_dx10/max_dx10 (though at least the EG
ISA docs are wrong/inaccurate what they exactly do). These would kill off NaNs
(albeit I am not entirely sure if the non-dx10 version doesn't kill off NaNs
neither, given the docs aren't accurate in the first place...). I think this
probably should be changed (as far as I can tell, radeonsi also uses
effectively the dx10 versions, since llvm.min/maxnum is specified as selecting
non-nan operands, though I don't know if the backend honors it really). This
actually does help things, it removes the black holes in the fires, and the
"vertical blue stripes" (albeit the latter wasn't really in that trace). But
otherwise there's still lots of black boxes around.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171108/9c4bebfb/attachment.html>
More information about the dri-devel
mailing list