HGL
ratty-blush
Game launch fails with DX11 issue, but only on laptop
I have a game that runs full screen. It runs fine on my desktop, but on my laptop it crashes with the error message:
Screen: DX11 could not switch resolution (1920x1080 fs=1 hz=0)
[Ironically, 1920x1080 is the resolution my laptop monitor runs on].
I'm getting this consistently when I launch. My laptop has a Nvidia RTX 1650 graphics card, and my desktop has a Nvidia RTX 1660. Both are running Pop_OS 22.04, and Wayland/Gnome 42.9.
A Reddit post suggested adding PROTON_USE_WINED3D=1 %command%
, but I'm not sure what the equivalent would be under Heroic.9 Replies
correct-apricot•2y ago
Try using Wine-GE rather than Proton, first of all. If it still doesn't work, please post another log.
ratty-blushOP•2y ago
Using Wine-GE latest, I didn't even get to the non-fullscreen splash page, but there are more error messages.
dependent-tan•2y ago
"autoInstallDxvkNvapi": trueturn that off, delete the prefix folder
/home/ralmond/Games/Heroic/Prefixes/default/Genshin Impactalso you might be missing dependencies, but probably not. worth checking with this link
https://github.com/lutris/docs/blob/master/WineDependencies.md
ratty-blushOP•2y ago
Still an issue. I tried downgrading my nvidia drivers, and I'm getting the same issues with the 535 and 470 drivers.
ratty-blushOP•2y ago
rare-sapphire•2y ago
err: D3D11SwapChain: Failed to recreate swap chain: VK_ERROR_OUT_OF_DEVICE_MEMORYMeans you are running out of VRAM (latest log where drivers seem to work unlike the second)
dependent-tan•2y ago
You also might need to verify and repair the game, that couldn't hurt either way
ratty-blushOP•2y ago
I think the memory thing is a red herring. Looking at nvtop, there should be plenty of VRAM. I think it is an issue with Xwayland, as I tried switching back to X11 and it is now working.
rare-sapphire•2y ago
Nice