You are not logged in.

#1 2024-06-20 21:24:40

disk-destroyer
Member
Registered: 2023-12-14
Posts: 4

[SOLVED] Wine - failed to load libvulkan and libGL

I'm trying to run an game through Wine, but I keep getting the same error. Two windows pop up, one black, and the other titled "error" and containing some seemingly random text and symbols (it's the same every time, if that helps).
Anyway, I get the following errors:

0150:err:vulkan:vulkan_init Failed to load libvulkan.so.1
0150:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0150:err:wgl:init_opengl OpenGL support is disabled.
0150:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0150:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 0A85A1B8.

mesa is installed. vulkan-intel is installed.
Does anyone know what's going on and how to fix it?
Thanks.

Last edited by disk-destroyer (2024-06-20 22:23:23)

Offline

#2 2024-06-20 21:40:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: [SOLVED] Wine - failed to load libvulkan and libGL

Which graphics card? Post

vulkaninfo --summary
glxinfo -B
lspci -k | grep -EA3 '3D|VGA' 
printenv

generally speaking for most wine stuff you'll need lib32-mesa and lib32-vulkan-intel assuming you have an actually capable GPU

Last edited by V1del (2024-06-20 21:40:48)

Offline

#3 2024-06-20 22:22:02

disk-destroyer
Member
Registered: 2023-12-14
Posts: 4

Re: [SOLVED] Wine - failed to load libvulkan and libGL

I'm using integrated graphics (Intel HD Graphics 5500).
I installed lib32-mesa and lib32-vulkan-intel and it works fine now.
Thanks!

I'm quite new to Arch though, so I'm not really sure why I need a 32-bit package here.
Was it just the fact that it was a 32-bit game, or am I completely misunderstanding this?

Offline

#4 2024-06-21 08:59:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: [SOLVED] Wine - failed to load libvulkan and libGL

Pretty much yes. Even if it was a x64 game, you're still running Windows software and chances are that some launcher or other intermediate tooling is just 32bit only since that will work "everywhere" and you thus need to have corresponding compat libs. You might want to take a look at wine's optional dependency list should you have any other/further issues that might stem from this relation.

Offline

Board footer

Powered by FluxBB