programs icon indicating copy to clipboard operation
programs copied to clipboard

[Bug]: Unable to launch D2R from battle.net

Open MichaelMackus opened this issue 1 year ago • 0 comments

I'm unable to launch Diablo II: Resurrected after I open the battle.net launcher. I'm using the default "Battle.net" launcher setup in a bottle, using the latest Flatpak bottles version. The device is a steam deck.

The game opens with a windows alert error "Unable to initialize graphics device". It seems that D2R has a compatibility check to verify the GPU works with the game, many others have this same issue on other systems. The game does launch successfully via Lutris and plays very well, so it appears that it should be possible to launch on the steam deck. Strangely, the Lutris bash script which is generated via the Lutris CLI does not work - only launching directly via the Lutris GUI (or using the "rungame:GAME" syntax in the CLI). Hopefully some of that info helps the developers, since maybe it is some interaction with flatpak & system libraries, but I'm not really sure.

I've tried checking and unchecking many options in the preferences, and none seem to have any effect on this particular error. For instance, toggling on/off VKD3D, virtual desktop, and dedicated graphics. I even tried overriding the nvidia DLSS DLL, which some others had recommended online, to no avail. I also tried setting up the same environment variables (and the dxvk.conf file) from lutris. Since all that didn't work I've reverted back to the defaults from the Battle.net Bottles launcher setup.

Perhaps related? https://github.com/bottlesdevs/Bottles/issues/1806 - D2R is a DirectX 12 game so it is likely using VKD3D

MichaelMackus avatar Aug 04 '22 19:08 MichaelMackus