Is wine_devel (11.5) broken in FreeBSD 15.0-RELEASE?

Hi,

Running FreeBSD 15.0-RELEASE and wine_devel (11.5). It seems games load and work for about 10 seconds, then lock up.
Vulkan doesn't work at all (despite vkcube working fine). Is wine totally broken on 15.0-RELEASE? Are we stuck installing old 14.x lib32 packages in .i386-wine-pkg or does the new WOW64 work yet?

Wine ran fine in 14.3, but with 15.0 it seems something is way out of sync with the drivers and WINE games just aren't stable at all.

I've tried:

* Using 'gl' only as renderer (game loads and works for about 20 seconds then freezes solid)
* Using 'vulkan' as renderer (installed curl and winetricks, ran: winetricks dxvk) and get:

info: Game: <name of game>
info: DXVK v2.7.1
info: Build: x86 gcc 15.1.0
info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x7b803370
info: Extension providers:
info: Platform WSI
info: OpenVR
info: OpenVR: could not open registry key, status 2
info: OpenVR: Failed to locate module
info: OpenXR
info: Enabled instance extensions:
info: VK_KHR_win32_surface
err: DxvkInstance: Failed to create Vulkan instance

Even attempting to switch renderer back to gl fails at this point. The only way to fix it is to recreate the WINEPREFIX.

Also tried with and without mesa-devel. No change.

wine-devel-11.5,1
winetricks-20260125
mesa-dri-24.1.7_11
mesa-libs-24.1.7_1

Anyone have any ideas on how to get this working? The game in question is an older 32-bit game, but it ran fine on 14.3.
 
Anyone have any ideas on how to get this working? The game in question is an older 32-bit game, but it ran fine on 14.3.
I noticed something like that last month with osu! (32-bit OpenGL game); was fine on 14.2-R (old WoW64), but seemingly randomly crashed 15.0 and 16.0 with new WoW64.

I didn't try a 32-bit Vulkan game with new WoW64, but VK with DXVK worked fine with 64-bit apps on 16.0.
 
I noticed something like that last month with osu! (32-bit OpenGL game); was fine on 14.2-R (old WoW64), but seemingly randomly crashed 15.0 and 16.0 with new WoW64.

I didn't try a 32-bit Vulkan game with new WoW64, but VK with DXVK worked fine with 64-bit apps on 16.0.
Can 32-bit games work with Vulkan? If so, how do I set it up? When I tried 'winetricks dxvk' it just broke the WINEPREFIX.
I would like to play this 32-bit game using vulkan as the renderer, but it seems to not work. Does anyone know if Vulkan renderer works with wine_devel 11.5?
 
Anyone have any ideas on how to get this working? The game in question is an older 32-bit game, but it ran fine on 14.3.

Yes - I currently have 2x games working with wine-devel-11.5,1. Make sure you (also) have an updated "mono" and "gecko" that go with it.

NOTE 1: I "was" using wine-devel-11.5,1 until (today) - but I switched over to wine-devel-allaudio-11.5,1 to see if I could fix an audio thing I am working on. Both pkgs are working equally well for me at present.

NOTE2: I currently (DO NOT) have "sound" working for my 2x games, but in game sound (is not) a deal breaker for me right now.

[15.0-RELEASE-p5]
Code:
$ pkg info | grep wine
wine-devel-allaudio-11.5,1     Microsoft Windows compatibility environment
wine-gecko-devel-2.47.4_1      Gecko Layout Engine for Wine development branch (HTML support)
wine-mono-devel-11.0.0         Mono .NET implementation for Wine development branch
winetricks-20260125            Easy way to work around problems in Wine
$
 
Yes - I currently have 2x games working with wine-devel-11.5,1. Make sure you (also) have an updated "mono" and "gecko" that go with it.

NOTE 1: I "was" using wine-devel-11.5,1 until (today) - but I switched over to wine-devel-allaudio-11.5,1 to see if I could fix an audio thing I am working on. Both pkgs are working equally well for me at present.

NOTE2: I currently (DO NOT) have "sound" working for my 2x games, but in game sound (is not) a deal breaker for me right now.

[15.0-RELEASE-p5]
Code:
$ pkg info | grep wine
wine-devel-allaudio-11.5,1     Microsoft Windows compatibility environment
wine-gecko-devel-2.47.4_1      Gecko Layout Engine for Wine development branch (HTML support)
wine-mono-devel-11.0.0         Mono .NET implementation for Wine development branch
winetricks-20260125            Easy way to work around problems in Wine
$
I have mono and gecko:
Code:
wine-devel-11.5,1              Microsoft Windows compatibility environment
wine-gecko-devel-2.47.4_1      Gecko Layout Engine for Wine development branch (HTML support)
wine-mono-devel-11.0.0         Mono .NET implementation for Wine development branch
winetricks-20260125            Easy way to work around problems in Wine

Do you have those packages installed in $HOME/.i386-wine-pkg?

What steps did you do to install/enable dxvk in your wineprefix?

This is what happens after I run:
Code:
winetricks dxvk
winetricks renderer=vulkan

Code:
info:  Game: game1127.dll
info:  DXVK: v2.7.1
info:  Build: x86 gcc 15.1.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x7b803370
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  Found device: Intel(R) Graphics (ADL GT2) (Intel open-source Mesa driver 24.1.7)
info:    Skipping: Device does not support 256 of push data
warn:  DXVK: No adapters found. Please check your device filter settings
warn:  and Vulkan drivers. A Vulkan 1.3 capable setup is required.
 
Do you have those packages installed in $HOME/.i386-wine-pkg?

I wasn't that specific -- I installed using:

Code:
/usr/local/share/wine/pkg32.sh --old install -r FreeBSD-ports wine-devel mesa-dri

If you remove (~/.i386-wine-pkg) and just type (wine --version) you will get some additional help (as shown below).

To install (32 bit) libraries which my game needed (my understanding is) that the --old flag will reach back to the RELEASE-14 FreeBSD repositories and load the 32 bit libraries from there.

What steps did you do to install/enable dxvk in your wineprefix?

winetricks dxvk

My (other winetrick was to add DirectX 9) -- aka "winetricks d3dx9"

Lastly I set (NO SOUND) using winetricks because my game was crashing because of sounds issues. I also installed all of the (usual windows fonts) using "winetricks".

Both my games are running flawlessly -- I was actually just "lost" playing one of the games a little while ago.
 
I just
I wasn't that specific -- I installed using:

Code:
/usr/local/share/wine/pkg32.sh --old install -r FreeBSD-ports wine-devel mesa-dri

If you remove (~/.i386-wine-pkg) and just type (wine --version) you will get some additional help (as shown below).

To install (32 bit) libraries which my game needed (my understanding is) that the --old flag will reach back to the RELEASE-14 FreeBSD repositories and load the 32 bit libraries from there.



winetricks dxvk

My (other winetrick was to add DirectX 9) -- aka "winetricks d3dx9"

Lastly I set (NO SOUND) using winetricks because my game was crashing because of sounds issues. I also installed all of the (usual windows fonts) using "winetricks".

Both my games are running flawlessly -- I was actually just "lost" playing one of the games a little while ago.
I did both winetricks d3dx9 and also tried mesa-devel. Neither works.
 
Can 32-bit games work with Vulkan? If so, how do I set it up?
Yeah (I use it with 2010 WoW)

I download the latest release tar.gz in a browser: https://github.com/doitsujin/dxvk/releases

Run this to move d3d9.dll to the Wine prefix:
Code:
rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/d3d9.dll' ~/'.wine/World of Warcraft 3.3.5/drive_c/windows/syswow64' && rm -Rf '/tmp/dxvk-'*

And set a DLL override for it (above can be done GUI and below GUI with winecfg Libraries tab):
Code:
WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f

DX9 games need only d3d9.dll, and 32-bit games need it in syswow64 (new WoW64 prefix). DX10/11 needs more dlls but it's the same folders and dll override process.
 
Yeah (I use it with 2010 WoW)

I download the latest release tar.gz in a browser: https://github.com/doitsujin/dxvk/releases

Run this to move d3d9.dll to the Wine prefix:
Code:
rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x32/d3d9.dll' ~/'.wine/World of Warcraft 3.3.5/drive_c/windows/syswow64' && rm -Rf '/tmp/dxvk-'*

And set a DLL override for it (above can be done GUI and below GUI with winecfg Libraries tab):
Code:
WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f

DX9 games need only d3d9.dll, and 32-bit games need it in syswow64 (new WoW64 prefix). DX10/11 needs more dlls but it's the same folders and dll override process.
Thanks for this. I tried it on a fresh WINEPREFIX and I still get the Vulkan error:
Code:
info:  DXVK: v2.7.1
info:  Build: x86 gcc 15.1.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x7b803370
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_KHR_win32_surface
err:   DxvkInstance::createInstance: Failed to create Vulkan instance

vkcube runs perfectly well though.

WoW 2010 you say? Was that Cataclysm? I can maybe test with that to rule out game weirdness.
 
Tried WoW Lich King client and got this:
Code:
info:  Game: Wow.exe
info:  DXVK: v2.7.1
info:  Build: x86 gcc 15.1.0
info:  Found built-in config:
info:    dxvk.hideIntegratedGraphics = True
info:  Effective configuration:
info:    dxvk.hideIntegratedGraphics = True
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x77e63370
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_KHR_win32_surface
err:   DxvkInstance::createInstance: Failed to create Vulkan instance
terminate called after throwing an instance of 'dxvk::DxvkError'

Wonder what the "dxvk.hideIntegratedGraphics = True" is all about? I'm using a built-in graphics chipset from Intel:
Code:
$ vkcube                                                                                                                               
Selected WSI platform: xcb
Selected GPU 0: Intel(R) Graphics (ADL GT2), type: IntegratedGpu

Do I have to somehow set dxvk.hideIntegratedGraphics = False or something?
 
err: DxvkInstance::createInstance: Failed to create Vulkan instance
terminate called after throwing an instance of 'dxvk::DxvkError'

Looks like you did hit PR 293273, which implies that you still have mesa-devel on the i386 side (with pkg32.sh) installed.

While here:

winetricks dxvk
winetricks renderer=vulkan

This is counterproductive because DXVK translates OpenGL to Vulkan, so it’s obvious that nothing will work anymore.

Also, Wine already includes d3d* libraries, and if you simply overwrite them with winetricks d3dx9 , they won't be used and makes the work of that part in Wine obsolete.

If winetricks d3dx9 fixes something for you then you should investigate which exact d3d9 dll is affected and report that.

Generally, using winetricks dxvk vkd3d alone is sufficient to run most games.
 
Looks like you did hit PR 293273, which implies that you still have mesa-devel on the i386 side (with pkg32.sh) installed.

While here:



This is counterproductive because DXVK translates OpenGL to Vulkan, so it’s obvious that nothing will work anymore.

Also, Wine already includes d3d* libraries, and if you simply overwrite them with winetricks d3dx9 , they won't be used and makes the work of that part in Wine obsolete.

If winetricks d3dx9 fixes something for you then you should investigate which exact d3d9 dll is affected and report that.

Generally, using winetricks dxvk vkd3d alone is sufficient to run most games.
Sorry I don't understand your answer. Should I uninstall mesa-devel from .i386-wine-pkg or what?
I tried winetricks d3dx9 and also winetricks dxvk vkd3d. Nothing works. I get the Vulkan error. Do I need to recompile mesa-devel and turn off DRM?
How would I compile and install an i386 package on a 64-bit machine when FreeBSD 15.0 has dropped the 32-bit support?

This is really frustrating. I just want my 32-bit game to work with dxvk. I get nasty memory leaks with 'gl' in the game and it runs out of memory and freezes. On dxvk, at least on Linux it runs and doesn't run out of memory. This is why I wanted to get dxvk working in FreeBSD.
 
Back
Top