I found out today that two games that used to run flawlessly using Wine have stopped working.
When trying to run Mini Doom 2 (https://calaverastudio.itch.io/minidoom2) or Rayman Redemption (https://gamejolt.com/games/raymanredemption/340532) on Linux Mint 21 using Wine Staging 7.19, I get this error: https://paste.pics/JCECW
Terminal output for Mini Doom 2:Win32 function failed: HRESULT: 0x887a0004
Call: at line 266 in file \Graphics_DisplayM.cpp
Code: Select all
0150:fixme:msg:pack_message msg 80 (WM_SETICON) not supported yet
Attempting to set gamepadcount to 12
0150:fixme:dwmapi:DwmEnableMMCSS (1) stub
0150:err:vulkan:wine_vk_init Failed to load vulkan library
0150:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0150:err:wgl:init_opengl OpenGL support is disabled.
0150:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0150:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 00F27238.
0150:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0150:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 00F27238.
0150:fixme:imm:ImeSetActiveContext (000100BE, 1): stub
0150:fixme:imm:ImmReleaseContext (000100FA, 000100BE): stub
This is happening on my RTX 2070 laptop, which has an Optimus video card set to Nvidia (Performance Mode). Latest Nvidia driver 520.56.06, although I also tried with 510 and 515 today - same result. Full specs of my PC: https://termbin.com/qtjg
These games worked when I last played them a few weeks ago. They also work fine on my desktop PC, which also has LM21 and Wine Staging 7.19. I reinstalled Wine twice, completely wiping everything related to it (or at least to the best I could muster) in-between, and it's always the same result. I have no idea what happened and any help would be truly appreciated.