Bug 90869 - Rendering bug in The Witcher
Summary: Rendering bug in The Witcher
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 10:38 UTC by Sven Arvidsson
Modified: 2016-04-19 09:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of bug (581.56 KB, image/png)
2015-06-05 10:38 UTC, Sven Arvidsson
Details

Description Sven Arvidsson 2015-06-05 10:38:19 UTC
Created attachment 116318 [details]
Screenshot of bug

Hi,

I'm trying to run the game The Witcher (in Wine) it has rendering errors when drawing the rain.

This bug is present in both git master (78395dbf9ff429d98523f8b4a340f7188d8b4db0) and in 10.5.5.

I made an apitrace of the game and it renders without problem on i965. 

Running the trace on r600 results in this warning:

101172: glDebugOutputCallback: Medium severity API unknown issue 1, FBO incomplete: driver marked FBO as incomplete [-1]

This is on a Redwood, Radeon HD 5670 1GB.
Comment 1 Sven Arvidsson 2015-06-05 10:48:53 UTC
apitrace file:

https://www.dropbox.com/s/3hmjqeil80d3x28/witcher.trace?dl=0
Comment 2 Matteo Bruni 2015-06-05 18:48:38 UTC
This is probably Wine bug 25696 / 34052. Read https://bugs.winehq.org/show_bug.cgi?id=34052#c42 for an explanation of that bug (essentially, the vertex shader reads out of bounds of a uniform array).
Comment 3 Sven Arvidsson 2015-06-07 10:23:54 UTC
Yes, it's probably something similar. I tried the reorder shader constants patch, but it didn't make any difference (and introduced other bugs as you mentioned)

I filed a new bug with Wine just to be sure:
https://bugs.winehq.org/show_bug.cgi?id=38711

Maybe this bug could be kept open at least for a while if there's something that can be done on the driver side.
Comment 4 Sven Arvidsson 2016-04-19 09:42:25 UTC
This was fixed in Wine by Matteo Bruni so I think we can close this 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.