Wine 7 won't run games on FreeBSD - Unknown error (127)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Clockwork
Newbie
Newbie
Posts: 3
Joined: Fri Jan 06, 2023 5:16 am

Wine 7 won't run games on FreeBSD - Unknown error (127)

Post by Clockwork »

> uname -rm
13.1-RELEASE-p3 amd64

> pciconf -lv | grep -B 4 VGA
vgapci0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1d01 subvendor=0x1043 subdevice=0x85f5
vendor = 'NVIDIA Corporation'
device = 'GP108 [GeForce GT 1030]'
class = display
subclass = VGA

---

> sudo pkg info | grep wine
i386-wine-devel-6.11_1,1 32-bit Microsoft Windows compatibility environment for 64-bit FreeBSD
wine-7.0,1 Microsoft Windows compatibility environment
wine-gecko-devel-2.47.3 Gecko Layout Engine for Wine development branch (HTML support)
wine-mono-5.1.1 Mono .NET implementation for Wine
wine-mono-devel-7.3.0 Mono .NET implementation for Wine development branch
wine-proton-6.3.2_6 Wine with a bit of extra spice
winetricks-20220411 Easy way to work around problems in Wine

> /opt/wine-7.0/bin/wine64 --version
wine-7.0

> /opt/wine-7.0/share/wine/pkg32.sh install wine mesa-dri
pkg -o ABI=FreeBSD:13:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/clockwork/.i386-wine-pkg install wine mesa-dri
Updating FreeBSD repository catalogue...
Fetching packagesite.pkg: 100% 6 MiB 6.5MB/s 00:01
Processing entries: 100%
FreeBSD repository update completed. 31583 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

> .i386-wine-pkg/usr/local/bin/wine --version
wine-6.0.4

when I start any game I get an error:

> .i386-wine-pkg/usr/local/bin/wine .wine/drive_c/GOG\ Games/Fallout\ New\ Vegas/FalloutNV.exe
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:err:module:open_builtin_file failed to load .so lib "/usr/home/clockwork/.i386-wine-pkg/usr/local/lib/wine/winex11.drv.so"
0068:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
00e8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031EE38 1 C) semi-stub
0024:err:d3d:wined3d_adapter_init Failed to initialise output, hr 0x80070057.
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow Unknown error (127).
0024:err:d3d:wined3d_adapter_init Failed to initialise output, hr 0x80070057.
0024:fixme:msvcrt:__clean_type_info_names_internal (10066A1C) stub
0024:fixme:msvcrt:__clean_type_info_names_internal (018229A4) stub

---

> wine --version
wine-6.11
But This wine perfectly launches games.
Clockwork
Newbie
Newbie
Posts: 3
Joined: Fri Jan 06, 2023 5:16 am

Re: Wine 7 won't run games on FreeBSD - Unknown error (127)

Post by Clockwork »

on the profile forum they report that it is a known bug in the Nvidia driver.
Clockwork
Newbie
Newbie
Posts: 3
Joined: Fri Jan 06, 2023 5:16 am

Re: Wine 7 won't run games on FreeBSD - Unknown error (127)

Post by Clockwork »

The essence of the problem was this. I can't run 32 bit applications because some applications can't find the 32 bit version of the driver.

Wine 7.0 x64 dropped the DirectX API for 32-bit applications. Other Win32 applications that don't try to use direct-render graphics continue to run smoothly.

Linux's users for some reason broke Wine in terms of supporting outdated Win32 DX applications and what it depends on - for the sake of Vulkan. This is called "Neither to myself, nor to people."
rafaelroob
Newbie
Newbie
Posts: 1
Joined: Tue Mar 14, 2023 8:39 pm

Re: Wine 7 won't run games on FreeBSD - Unknown error (127)

Post by rafaelroob »

They say it's a known fault in the Nvidia driver on the profile forum.
Locked