Bug 95317 - "the timeless" demo in wine: Red dot rendered that shouldn't be there
Summary: "the timeless" demo in wine: Red dot rendered that shouldn't be there
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (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: 2016-05-08 16:30 UTC by Christoph Haag
Modified: 2016-10-17 21:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
screenshot: radeonsi with the red dot (681.61 KB, image/jpeg)
2016-05-08 16:30 UTC, Christoph Haag
Details
screenshot: intel with the small black dot (693.37 KB, image/jpeg)
2016-05-08 16:30 UTC, Christoph Haag
Details

Description Christoph Haag 2016-05-08 16:30:10 UTC
Created attachment 123552 [details]
screenshot: radeonsi with the red dot

The program is THE TIMELESS, can be downloaded from here: http://mercury.sexy/

It's for windows, but uses OpenGL 4.3 and needs these overrides to work in wine:
MESA_GL_VERSION_OVERRIDE=4.3COMPAT MESA_GLSL_VERSION_OVERRIDE=430

Here is an apitrace of the first few seconds, 34MB: http://haagch.frickel.club/files/timeless.trace
(For some reason when replaying it resizes the window to a massive size. The actual image is in the lower left)

Notice the big red dot in the middle. It only happens on radeonsi. On intel there is no red dot, but a small black dot.

Hardware:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wimbledon XT [Radeon HD 7970M] (rev ff)

Latest mesa git.
Comment 1 Christoph Haag 2016-05-08 16:30:44 UTC
Created attachment 123553 [details]
screenshot: intel with the small black dot
Comment 2 Christoph Haag 2016-05-08 18:20:29 UTC
Some additional info: The demo is supposed to render some waves after the first scene, but with mesa there's just a white screen with a tiny red dot.

There is one shader that does not compile in the trace, but I do not think it is the cause for the dot or the missing waves.

I remembered seeing https://lists.freedesktop.org/archives/mesa-dev/2015-August/092314.html and used it to replace
jl(l.xxy*1439)
with
jl(l.x*1439)

This causes the dot to alter colors during some of the scenes (with the shader failing, it stays red), but it does not fix the white screen instead of waves issue. Here is a video of the demo with the "fixed" shader:
https://www.youtube.com/watch?v=5z5FmwJwKzA

Perhaps the missing waves and the dot are related, perhaps they are not.
Comment 3 Marek Olšák 2016-10-17 21:06:58 UTC
The trace doesn't work with the given overrides. It prints a lot of GL errors if Mesa is built with --enable-debug, meaning there are failing GL calls. I have to assume the trace simply doesn't work because Mesa doesn't support GL 4.3 Compatibility.

(the overrides aren't supposed to give you the Compatibility profile; instead, they trick Mesa into thinking it's Compatibility, which sometimes works and sometimes doesn't)


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.