Bug 107873 - Doom 2016 - Rendering issues
Summary: Doom 2016 - Rendering issues
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 18.2
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-09 13:47 UTC by Ahmed Elsayed
Modified: 2018-09-17 19:04 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Ahmed Elsayed 2018-09-09 13:47:09 UTC
I can't run Doom 2016 with Mesa 18.1.7 or Mesa 18.1.8, so I tried Mesa 18.2.0-1 and the game started but it will start with the intro that looks like a green artifacts, then it loads and the loading screen in green instead of red, then I can hear the menu sounds but I can't see the menu because of the red fog that covers all the screen, and I have to press alt+f4 to end it.

I tried 3 times to record .apitrace file but it doesn't produce any file that I can upload.
Comment 1 Ahmed Elsayed 2018-09-09 13:49:01 UTC
System information:

Operating system: Manjaro KDE (the latest version).

GPU: AMD HD 8750M

Driver: 18.2.0-1

Wine version: 3.15 staging
Comment 2 Bas Nieuwenhuizen 2018-09-09 18:51:12 UTC
So just to check, you enabled Vulkan instead of GL rendering? Doom is using GL by default.
Comment 3 Ahmed Elsayed 2018-09-09 20:56:38 UTC
I tried both OpenGL and Vulkan and same gave me the same behavior. I am trying to compile Mesa 18.3 for the third time because it failed in the last 2 times. I hope it will be built without errors this time.
Comment 4 Ahmed Elsayed 2018-09-10 22:59:06 UTC
I tried also Mesa 18.3 and I have the same problem.
Comment 5 Timothy Arceri 2018-09-13 04:35:37 UTC
Ok I think this is a regression with wine staging. First of all I can confirm this is not a RADV bug setting +r_renderapi 1 in launch options for steam launches the Vulkan path and its working fine.

As for the GL path it is using EXT_direct_state_access even though he don't advertise it. This seems to be a regression in wine staging and I've seen the same issue with Wolfenstein: The Old Blood recently.

I'm moving this bug to radeonsi for now but I'm tempted to close as not our bug.
Comment 6 Ahmed Elsayed 2018-09-15 10:10:30 UTC
I can start the game with Vulkan but it stops loading at 99%, but with opengl, I can hear the menu sounds but I can see only the red fog.

I filed a bug in Wine but no one answered me.

https://bugs.winehq.org/show_bug.cgi?id=45826
Comment 7 Zebediah Figura 2018-09-15 14:29:26 UTC
(In reply to Timothy Arceri from comment #5)
> Ok I think this is a regression with wine staging. First of all I can
> confirm this is not a RADV bug setting +r_renderapi 1 in launch options for
> steam launches the Vulkan path and its working fine.
> 
> As for the GL path it is using EXT_direct_state_access even though he don't
> advertise it. This seems to be a regression in wine staging and I've seen
> the same issue with Wolfenstein: The Old Blood recently.
> 
> I'm moving this bug to radeonsi for now but I'm tempted to close as not our
> bug.

Do you mean that this is a bug present in Staging but not in upstream Wine? In particular, is the patchset "opengl32-Revert_Disable_Ext" to blame?
Comment 8 Timothy Arceri 2018-09-17 06:27:20 UTC
(In reply to Zebediah Figura from comment #7) 
> Do you mean that this is a bug present in Staging but not in upstream Wine?
> In particular, is the patchset "opengl32-Revert_Disable_Ext" to blame?

I'm not sure I use Fedora which uses wine staging by default, but I do know this is a recent regression.
Comment 9 Timothy Arceri 2018-09-17 06:30:17 UTC
(In reply to Zebediah Figura from comment #7)
> Do you mean that this is a bug present in Staging but not in upstream Wine?
> In particular, is the patchset "opengl32-Revert_Disable_Ext" to blame?

Ok so it seems someone has confirmed this patch is the problem in the wine bug, so I'm going to close this bug.
Comment 10 Ahmed Elsayed 2018-09-17 19:03:59 UTC
(In reply to Ahmed Elsayed from comment #6)
> I can start the game with Vulkan but it stops loading at 99%, but with
> opengl, I can hear the menu sounds but I can see only the red fog.
> 
> I filed a bug in Wine but no one answered me.
> 
> https://bugs.winehq.org/show_bug.cgi?id=45826

Using the normal wine instead of wine-staging solved this issue, and the game is working fine with opengl. Thanks for your help.
Comment 11 Ahmed Elsayed 2018-09-17 19:04:56 UTC
(In reply to Timothy Arceri from comment #9)
> (In reply to Zebediah Figura from comment #7)
> > Do you mean that this is a bug present in Staging but not in upstream Wine?
> > In particular, is the patchset "opengl32-Revert_Disable_Ext" to blame?
> 
> Ok so it seems someone has confirmed this patch is the problem in the wine
> bug, so I'm going to close this bug.

It was wine bug. Sorry for posting here. And thanks for your patient.


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.