lutris / wine

Repository containing source code for various Lutris Wine builds
Other
142 stars 23 forks source link

Unable to install any game (Application tried to create a window, but no driver could be loaded.) #145

Open khoavo-hatch opened 2 years ago

khoavo-hatch commented 2 years ago

I cannot install any game on Ubuntu 21.10 (I've tried Control, Assassin's Creed and Alan Wake)

Here's the log when it crashes

2022-03-24 17:02:15,259: All files available
2022-03-24 17:02:15,259: All files are available, continuing install
2022-03-24 17:02:15,265: Creating a win64 prefix in /nfs/kv/ac
2022-03-24 17:03:33,689: win64 Prefix created in /nfs/kv/ac
Started initial process 804249 from /home/ubuntu/.local/share/lutris/runners/wine/lutris-fshack-7.2-x86_64/bin/wine /nfs/data/downloads/setup_assassins_creed_1.02_v2_28524.exe /NOCANCEL /SP- /SUPPRESSMSGBOXES
Start monitoring process.
01c0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
01c0:err:winediag:nodrv_CreateWindow The explorer process failed to start.
01d8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
01d8:err:winediag:nodrv_CreateWindow The explorer process failed to start.
01d8:fixme:win:DisableProcessWindowsGhosting : stub
01d8:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
01d8:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing"): stub
01d8:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
2022-03-24 17:03:34,756: Command exited with code 256
None

Lutris version

$ apt list --installed lutris
Listing... Done
lutris/impish,impish,now 0.5.9.1~ubuntu21.10.1 all [installed]

I'm a total noob so maybe I'm missing something obvious, would appreciate any pointers to how to troubleshoot this.

AriaMoradi commented 1 year ago

I have the same issue on my nvidia hybrid graphics laptop with other games, even simple desktop apps.

Looks like it's got something to do with nvidia, I had the same issue, uninstalling nvidia drivers and using intel integrated at least avoids the crash. On further investigation it seems that the crash is related to the Vulkan ICD Loader, switching to Intel ICD fixes the issue when nvidia is available as well.