RADV: Black screen in DOOM Eternal
Description
When I launch DOOM Eternal the screen is black but the game's audio still plays. If I move my mouse, I can hear the sound the cursor makes when it hovers over the different options in the menu so the game is running but there is no video output. If I delete the proton prefix and launch the game I don't get a black screen but if I go to the graphics menu and set the resolution to my monitor's native resolution I get the black screen again and this will not go away until I delete the prefix again. RADV_DEBUG=llvm
does not help with this issue.
The reason I believe this is a RADV issue and not a Proton one is because this does not happen with older Mesa version and AMDVLK.
Steps to reproduce
- Use Mesa 21.3.0-devel (git-138463d3)
- Delete the DOOM Eternal Proton prefix
- The game should launch normally. Go to the graphics menu and change your resolution or window mode and once you apply these setting you will get a black screen with the game audio still playing. if you kill the game process and start the game again you will only get a black screen with the audio playing.
- OS: Arch Linux
- GPU: 2f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT / 6800M] [1002:73df] (rev c1)
- Kernel version: 5.14.2-zen1-2-zen
- Mesa version: Mesa 21.3.0-devel (git-138463d3)
- Desktop environment: N/A, I use the i3 window manager.
If applicable
- Xserver version: X.Org X Server 1.20.13
- Wine/Proton version: Proton 5.13-6, 6.3-6, Experimental.
Regression
This problem does not occur with Mesa 21.3.0-devel (git-b05cd10b) and older.