Make sure you have DirectX 11 installed, have up to date

Questions about Wine on Linux
Locked
Bhavana
Level 1
Level 1
Posts: 6
Joined: Fri Nov 18, 2022 6:30 am

Make sure you have DirectX 11 installed, have up to date

Post by Bhavana »

Hi,

The below error is observed while opening .exe file using wine

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


Can anyone help me in this?
Thanks in advance
invisible kid
Level 5
Level 5
Posts: 356
Joined: Tue Dec 24, 2019 3:23 pm

Re: Make sure you have DirectX 11 installed, have up to date

Post by invisible kid »

I have an nvidia card and it supplies a package that installs the drivers. Does your video card supply drivers? I think there are other drivers that can be used instead that do not support vulkan(from your other thread) like the open source nouveau driver. Sorry, not much help : (
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Make sure you have DirectX 11 installed, have up to date

Post by DarkShadow44 »

Complete console log?
Also, wine version and output of "glxinfo -B", please.
Bhavana
Level 1
Level 1
Posts: 6
Joined: Fri Nov 18, 2022 6:30 am

Re: Make sure you have DirectX 11 installed, have up to date

Post by Bhavana »

DarkShadow44 wrote: Fri Nov 18, 2022 11:39 pm Complete console log?
Also, wine version and output of "glxinfo -B", please.
Hi,

Thanks for reply . Wine version : 7.21

Log :
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:imm:ImmReleaseContext (0000000000030046, 0000000000010052): stub
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:fixme:imm:ImeSetActiveContext (0000000000010052, 1): stub
00b4:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
00b4:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub

glxinfo -B command result : 36
Last edited by Bhavana on Mon Nov 21, 2022 1:03 am, edited 1 time in total.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Make sure you have DirectX 11 installed, have up to date

Post by DarkShadow44 »

Did you set the wined3d renderer to vulkan? Because your wine doesn't have vulkan support.

Also, my glxinfo -B result is this:

Code: Select all

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 5700 (navi10, LLVM 14.0.6, DRM 3.48, 6.0.9-arch1-1) (0x731f)
    Version: 22.2.3
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 6579 MB, largest block: 6579 MB
    VBO free aux. memory - total: 15751 MB, largest block: 15751 MB
    Texture free memory - total: 6579 MB, largest block: 6579 MB
    Texture free aux. memory - total: 15751 MB, largest block: 15751 MB
    Renderbuffer free memory - total: 6579 MB, largest block: 6579 MB
    Renderbuffer free aux. memory - total: 15751 MB, largest block: 15751 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 24216 MB
    Currently available dedicated video memory: 6579 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 (navi10, LLVM 14.0.6, DRM 3.48, 6.0.9-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Are you sure your graphics driver is working properly?
Bhavana
Level 1
Level 1
Posts: 6
Joined: Fri Nov 18, 2022 6:30 am

Re: Make sure you have DirectX 11 installed, have up to date

Post by Bhavana »

Hi,
how to set the wined3d renderer to vulkan?

The following is the response for glxinfo -B
Unknown option `-B'
Usage: glxinfo [-v] [-t] [-h] [-i] [-b] [-s] [-display <dname>]
-v: Print visuals info in verbose form.
-t: Print verbose table.
-display <dname>: Print GLX visuals on specified server.
-h: This information.
-i: Force an indirect rendering context.
-b: Find the 'best' visual and print its number.
-l: Print interesting OpenGL limits.
-s: Print a single extension per line.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Make sure you have DirectX 11 installed, have up to date

Post by DarkShadow44 »

how to set the wined3d renderer to vulkan?
You probably shouldn't, but you can use "winetricks renderer=gl" or "winetricks renderer=vulkan" to change the renderer. But if you never did this, you probably still use gl.

You can also just run "glxinfo", although that is a lot more output.
Bhavana
Level 1
Level 1
Posts: 6
Joined: Fri Nov 18, 2022 6:30 am

Re: Make sure you have DirectX 11 installed, have up to date

Post by Bhavana »

Hi,

Still the below is seen:

Log :
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:imm:ImmReleaseContext (0000000000030046, 0000000000010052): stub
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
0024:fixme:imm:ImeSetActiveContext (0000000000010052, 1): stub
00b4:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
00b4:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
Locked