Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug] Failed to initialize graphics. Make sure you have DirectX 11 installed

Open ziomek64 opened this issue 5 years ago • 5 comments

Okay so the games are not running for me, i created a gaming bottle, tried newest lutris wine and its not working for me. One games is just not starting the other says dx11 is not there or something like that. These games works for me under lutris. But I wanted to try Bottles. I'm kinda new so linux to would appreciate help, i don't know if its on my end or the bottles app

I tried arch and flatpak version of bottles

ziomek64 avatar Jun 11 '21 14:06 ziomek64

I need more information, please follow the bug report template.

mirkobrombin avatar Jun 11 '21 14:06 mirkobrombin

Installation

Method: arch, also tried flatpak
Version 3.1.13

As I said I tried running some games and they are not running at all. One of them throws windows error about dx11. Using newest proton ( also tried lutris wine ) and dxvk 1.8.1. What information do you need, how can i get it for you

Running clean arch with gnome

ziomek64 avatar Jun 11 '21 20:06 ziomek64

2021-06-12 12:49:13 INFO: Running an executable on the wineprefix … esync: up and running. 0080:err:module:open_builtin_so_file failed to load .so lib "/home/cryptozio/.local/share/bottles/runners/Proton-6.9-GE-2/files/lib64/wine/x86_64-unix/wineusb.sys.so" 0080:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142 Thats what i'm getting in the console Also getting this, idk if its wine or my game: Failed to initialize graphics. Make sure you have DirectX 11 installed, have up to date drivers for your graphics card and have not disabled 3D acceleration in display settings. InitializeEngineGraphics failed

This is on newest flatpak

ziomek64 avatar Jun 12 '21 10:06 ziomek64

The issues you are reporting seem specific to Wine rather than Bottles.

Most Windows software needs tricks and dependencies in order to function. Lutris offers installers that automate the tweaking process of a wineprefix in order to run that software (if supported), this by installing dependencies, changing Windows version, adding or modifying DLLs via override or physically, installing DXVK, enabling esync or fsync or wine sync etc.

Bottles will support this function from v4, where it will implement its own installers that will automate the process. Until then you can proceed manually, looking on WineHQ and ProtonDB for the dependencies to be installed and the changes to be made to the bottle to run that software.

Let me also say that if you are looking to run a game, Lutris is light years ahead of Bottles and if that game is supported by their community (via installer) you should take advantage of it.

Just a small note: from your log I also notice that the error is related to the absence of DirectX11. This actually does not need to be installed if you are using DXVK, as this tool itself provides the DLLs needed to take advantage of the Vulkan-based implementation of D3D9, D3D10 and D3D11. Also be careful to use DXVK with Proton as this is already implemented and active by default in Proton itself.

Other references:

Let me know if I can help you in any other way or if you need more information 🙂

mirkobrombin avatar Jun 12 '21 17:06 mirkobrombin

use DXVK, it fixed for me

Image

androidfan-byte avatar Jun 14 '26 15:06 androidfan-byte