Bug 103814 - incorrect dust rendering in hl2 without sisched
Summary: incorrect dust rendering in hl2 without sisched
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 17.2
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-19 13:10 UTC by Hleb Valoshka
Modified: 2018-04-04 00:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
example of incorrect rendering (269.57 KB, image/jpeg)
2017-11-19 13:10 UTC, Hleb Valoshka
Details

Description Hleb Valoshka 2017-11-19 13:10:43 UTC
Created attachment 135585 [details]
example of incorrect rendering

Hi,

Mesa 17.2 and above incorrectly renders dust in hl2ep1, it looks like the screen is divided into four parts and only one or two of them are filled with the dust.

I've checked 17.3.0~rc3, 17.2.5, they have this issue. 17.1.5 doesn't have it.

I use Radeon 7750.
Comment 1 Hleb Valoshka 2017-11-22 19:48:33 UTC
Actually it's caused by *absence* of one or more R600_DEBUG options.
When I run the game with R600_DEBUG=forcedma,hyperz,llvm,precompile,sisched,sbcl,sbsafemath I have good rendering. Without it I have the described problem. I'll try to figure out which option fixes rendering.
Comment 2 Hleb Valoshka 2017-11-24 16:50:22 UTC
I've tested other HL2 titles (HL2, EP2, Lost Coast), they all have this issue. But it can be workarounded by usage of sisched.
Comment 3 almos 2017-11-26 12:06:22 UTC
I have the same problem on R9 270x with Mesa 17.2.2
Comment 4 Nicolai Hähnle 2017-11-28 14:44:41 UTC
Thanks for the report. I cannot reproduce this on VI with latest Mesa and LLVM. Could you please (1) try with latest Mesa and LLVM (e.g. Padoka PPA if you're o on Ubuntu) and (2) provide the output of glxinfo?
Comment 5 Hleb Valoshka 2017-12-01 19:45:17 UTC
I have checked mesa snapshot build against llvm6 and no more able to reproduce this error.

Debian's 17.1.5 is linked against llvm4, while 17.2.5 is linked against llvm5, so it looks like llvm5 causes issues, but it's too big to bisect.

I currently have no possibility to check 17.3 linked against llvm6 but if nobody does this I'll do it closer to x-mas.
Comment 6 Hleb Valoshka 2017-12-20 17:44:29 UTC
Tried today 17.3.0 linked both against llvm 5.0 & 6.0. With 5.0 the issue persist, with 6.0 goes away.

So at least it's not a Mesa issue.
Comment 7 Timothy Arceri 2018-04-04 00:35:30 UTC
It's unlikely a new version of LLVM 5 will be released. If you see the problem again with LLVM 6 or 7 fell free to reopen the bug.


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.