Skip to main content
Topic: wine: Fails even in clean WINEPREFIX with different errors. (Read 1974 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

wine: Fails even in clean WINEPREFIX with different errors.

Ahoj,

started recently, I am almost always unable to run any wine software (including winecfg). Regardless if I run in a fresh WINEPREFIX or my default WINEPREFIX.

To start clean, I uninstalled all wine-related software I could find and then re-installed just lib32/wine (pacman -Qs wine shows as installed packages just wine 8.9-1 and ttf-tahoma 5.0.1-1, pacman -Qs dxvk shows nothing).

Then I created a new user, logged in as this user, made sure no wine-related process was running anymore (pgrep '(\.exe|wine)' | while read i; do kill -9 "$i"; done (as root)), and as this freshly created user started WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg.

It fails to start, the following is printed to the terminal:
Code: [Select]
wine: created the configuration directory '/home/wine-test/.wine32'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0044:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:start_rpcss Failed to open RpcSs service
004c:err:ole:start_rpcss Failed to open RpcSs service
008c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
008c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
008c:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
00a8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00a8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00b8:err:service:process_send_command service protocol error - failed to write pipe!
0100:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00f8:err:sync:RtlpWaitForCriticalSection section 7EFE6A00 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00f8, blocked by 0100, retrying (60 sec)
00dc:err:service:process_send_command receiving command result timed out
002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebus" for device L"ROOT\\WINE\\WINEBUS", error 1053.
002c:err:setupapi:SetupDiInstallDevice Failed to control service L"winebus" for device L"ROOT\\WINE\\WINEBUS", error 1062.
wine: configuration in L"/home/wine-test/.wine32" has been updated.
0100:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0100:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0100:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0120:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
A second run of WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg:
Code: [Select]
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:err:sync:RtlpWaitForCriticalSection section 7EFE6A00 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0074, blocked by 007c, retrying (60 sec)
003c:err:service:process_send_command receiving command result timed out
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1053
003c:err:service:process_send_command service protocol error - failed to write pipe!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053
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
0100:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0100:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."

And in 64 bit mode, WINEARCH=win64 WINEPREFIX=~/.wine64 wine64 winecfg (having killed all maybe remaining wine processes before):
Code: [Select]
wine: created the configuration directory '/home/wine-test/.wine64'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0044:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
004c:err:ole:start_rpcss Failed to open RpcSs service
0054:err:ole:start_rpcss Failed to open RpcSs service
0088:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0088:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00a0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00a0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00b0:err:service:process_send_command service protocol error - failed to write pipe!
00e0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00e0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0114:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0108:err:sync:RtlpWaitForCriticalSection section 00007F62809FBEA0 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0108, blocked by 0114, retrying (60 sec)
00f0:err:service:process_send_command receiving command result timed out
002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebus" for device L"ROOT\\WINE\\WINEBUS", error 1053.
002c:err:setupapi:SetupDiInstallDevice Failed to control service L"winebus" for device L"ROOT\\WINE\\WINEBUS", error 1062.
00f0:err:service:process_send_command receiving command result timed out
002c:err:setupapi:SetupDiInstallDevice Failed to start service L"wineusb" for device L"ROOT\\WINE\\WINEUSB", error 1053.
002c:err:setupapi:SetupDiInstallDevice Failed to control service L"wineusb" for device L"ROOT\\WINE\\WINEUSB", error 1062.
wine: configuration in L"/home/wine-test/.wine64" has been updated.
0114:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0114:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0114:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0130:fixme:wineusb:add_usb_device Interface 1 has 6 alternate settings; using the first one.
0130:fixme:wineusb:add_usb_device Interface 0 has 2 alternate settings; using the first one.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0114:fixme:wineusb:query_id Unhandled ID query type 0x5.
0140:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0140:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
A second run of WINEARCH=win64 WINEPREFIX=~/.wine64 wine64 winecfg:
Code: [Select]
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:wineusb:add_usb_device Interface 1 has 6 alternate settings; using the first one.
0080:fixme:wineusb:add_usb_device Interface 0 has 2 alternate settings; using the first one.
003c:err:service:process_send_command service protocol error - failed to write pipe!
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053
0054:err:sync:RtlpWaitForCriticalSection section 00007FDFDB5FBEA0 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0054, blocked by 0060, retrying (60 sec)
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:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
0104:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0104:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."

The whole thing takes a few minutes on first run and about 2 minutes on second run, and has huge disk I/O (mainly read).

I have made sure that this user can oben graphical windows (xterm shows up, DISPLAY variable is set).

Any hint what might be wrong here? Any idea how to fix it?

It did work until recently.

When I run wine "normally" (without all the fresh WINEPREFIX, with DXVK installed, with wine-nine and wine-mono and wine-gecko installed, I not always get the
err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.-error or the
err:service:process_send_command service protocol error - failed to write pipe!-error, but sometimes straight away the
err:sync:RtlpWaitForCriticalSection section [...] "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread [...], blocked by [...], retrying (60 sec)-error.
I have not started to bisect here, because the plain "only wine is installed" already does not work.

The same when I have lib32/wine-staging 8.9.1-1 installed instead of lib32/wine 8.9-1.
Then I tried the Arch version multilib/wine 8.9-1, same problem.
Then I tried with chaotic-aur/wine-stable 8.0.1-2, same problem.

In my "full setup" where other wine-related packages were installed, very seldomly wine software came up, this was mainly when some other stray wine version's (e.g. proton) executables where still running.

Just a reference, before I started to try to diagnose this problem, I had the following additional packages installed: 
bottles dxvk-mingw-git koku-xinput-wine lib32-vkd3d libdxvk protontricks-git q4wine vkd3d wine-installer wine-gecko wine-libusb-git wine-mono wine-mono-gecko-version-fix wine-nine wineasio winetricks-git xnine-git

Further diagnostic information:

pacman -Qs elogin | grep '^local':
Code: [Select]
local/elogind 252.9-1
local/elogind-openrc 20210704-1
local/lib32-elogind 246.10-2
local/libelogind 252.9-1

env:
Code: [Select]
OPUSHOME=/opt/spiceopus
SHELL=/bin/bash
CSF_MDTVTexturesDirectory=/usr/share/opencascade/resources/Textures
XDG_CONFIG_DIRS=/etc/xdg
CONDA_EXE=/usr/bin/conda
CSF_DrawPluginDefaults=/usr/share/opencascade/resources/DrawResources
LC_ADDRESS=de_DE.utf-8
CSF_LANGUAGE=us
LC_NAME=de_DE.utf-8
CSF_MIGRATION_TYPES=/usr/share/opencascade/resources/StdResource/MigrationSheet.txt
XDG_DATA_HOME=/home/wine-test/.local/share
GRADLE_HOME=/usr/share/java/gradle
XDG_CONFIG_HOME=/home/wine-test/.config
LC_MONETARY=de_DE.utf-8
CSF_OCCTResourcePath=/usr/share/opencascade/resources
SPICE_LIB_DIR=/opt/spiceopus/lib/spiceopus
CSF_STEPDefaults=/usr/share/opencascade/resources/XSTEPResource
PWD=/home/wine-test
LOGNAME=wine-test
QT_QPA_PLATFORMTHEME=qt5ct
DRAWHOME=/usr/share/opencascade/resources/DrawResources
CSF_StandardLiteDefaults=/usr/share/opencascade/resources/StdResource
HOME=/home/wine-test
LC_PAPER=de_DE.utf-8
LANG=en_DE.utf-8
_PROFILE_D_SOURCED=yes
SSH_CONNECTION=::1 44416 ::1 22
CSF_ShadersDirectory=/usr/share/opencascade/resources/Shaders
CSF_EXCEPTION_PROMPT=1
CSF_XmlOcafResource=/usr/share/opencascade/resources/XmlOcafResource
XDG_CACHE_HOME=/home/wine-test/.cache
CSF_SHMessage=/usr/share/opencascade/resources/SHMessage
ANDROID_HOME=/opt/android-sdk
LC_IDENTIFICATION=en_DE.utf-8
TERM=xterm-256color
GTK_OVERLAY_SCROLLING=0
LESSOPEN=|/usr/bin/lesspipe.sh %s
SPICE_EXEC_DIR=/opt/spiceopus/bin
USER=wine-test
CONDA_SHLVL=0
CSF_StandardDefaults=/usr/share/opencascade/resources/StdResource
CSF_IGESDefaults=/usr/share/opencascade/resources/XSTEPResource
DISPLAY=:0.0
CSF_XCAFDefaults=/usr/share/opencascade/resources/StdResource
SHLVL=1
LC_TELEPHONE=de_DE.utf-8
LC_MESSAGES=C
LC_MEASUREMENT=de_DE.utf-8
CSF_PluginDefaults=/usr/share/opencascade/resources/StdResource
CSF_TObjMessage=/usr/share/opencascade/resources/TObj
CASROOT=/usr
LC_CTYPE=de_DE.utf-8
XDG_RUNTIME_DIR=/tmp/XDG-wine-test
SSH_CLIENT=::1 44416 22
MKLROOT=/opt/intel/oneapi/mkl/latest
DEBUGINFOD_URLS=https://debuginfod.artixlinux.org
LC_TIME=de_DE.utf-8
QT_AUTO_SCREEN_SCALE_FACTOR=1
CSF_XSMessage=/usr/share/opencascade/resources/XSMessage
LC_COLLATE=de_DE.utf-8
MMGT_CLEAR=1
XDG_DATA_DIRS=/usr/local/share:/usr/share
PATH=/usr/condabin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/android-sdk/emulator:/opt/android-sdk/platform-tools:/opt/fv:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
CSF_TObjDefaults=/usr/share/opencascade/resources/StdResource
GDK_SCALE=1
USE_SYMENGINE=1
ELM_SCALE=1
SSH_TTY=/dev/pts/22
QT_PLUGIN_PATH=/home/wine-test/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
DRAWDEFAULT=/usr/share/opencascade/resources/DrawResources/DrawDefault
LC_NUMERIC=en_US.utf-8
_=/usr/bin/env

lspci:
Code: [Select]
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 03)
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 600] (rev 03)
00:0e.0 Multimedia audio controller: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
00:11.0 Unclassified device [0050]: Intel Corporation Celeron/Pentium Silver Processor Integrated Sensor Solution (rev 03)
00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 03)
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:13.2 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 03)
00:16.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 0 (rev 03)
00:16.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 1 (rev 03)
00:16.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 2 (rev 03)
00:16.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 3 (rev 03)
00:17.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 4 (rev 03)
00:17.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 5 (rev 03)
00:17.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 6 (rev 03)
00:17.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 7 (rev 03)
00:18.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
00:18.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
00:18.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
00:18.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 03)
00:19.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 03)
00:19.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 03)
00:19.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 03)
00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 03)
00:1e.0 SD Host controller: Intel Corporation Device 31d0 (rev 03)
00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 03)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
01:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

lsusb:
Code: [Select]
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 002: ID 6080:8061 AMR-4630-XXX-0- 0-1023 USB KEYBOARD
Bus 001 Device 058: ID 0c45:7603 Microdia USB Keyboard
Bus 001 Device 057: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 056: ID 10d5:1234 Uni Class Technology Co., Ltd
Bus 001 Device 055: ID 0424:2524 Microchip Technology, Inc. (formerly SMSC) USB MultiSwitch Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

xrandr:
Code: [Select]
Screen 0: minimum 8 x 8, current 1600 x 1200, maximum 32767 x 32767
DSI1 connected 1280x720+320+480 right (normal left inverted right x axis y axis) 0mm x 0mm
   720x1280      60.08*+
   640x480       59.94 
   720x405       59.51    58.99 
   360x640       60.00 
   640x360       59.84    59.32 
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 440mm x 330mm
   1600x1200     60.00*+
   1280x1024     60.02 
   1024x768      60.00 
   800x600       60.32 
   640x480       59.94 
   720x400       70.08 

/proc/cpuinfo:
Code: [Select]
processor	: 0
vendor_id : GenuineIntel
cpu family : 6
model : 122
model name : Intel(R) Celeron(R) N4100 CPU @ 1.10GHz
stepping : 1
microcode : 0x22
cpu MHz : 2279.654
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 24
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid arch_capabilities
vmx flags : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass
bogomips : 2188.80
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

[ ... skipped core 1 and core 2 ... ]

processor : 3
[ ... same information as for core 0 ...]

Re: wine: Fails even in clean WINEPREFIX with different errors.

Reply #1
Hi

I think i have the same Problem, and i may have a clue. It appears to be somehow related to Nvidia card/drivers/karma/whatever. If i remove the card, it suddenly works again.
 
You can try on a notebook by running this before starting X or Wayland:
Code: [Select]
echo "1" > /sys/bus/pci/devices/0000\:01\:00.0/remove
echo "1" > /sys/bus/pci/devices/0000\:01\:00.1/remove
echo "1" > /sys/bus/pci/devices/0000\:01\:00.2/remove
echo "1" > /sys/bus/pci/devices/0000\:01\:00.3/remove
But note that your card may have different address.

Re: wine: Fails even in clean WINEPREFIX with different errors.

Reply #2
lib32/wine (pacman -Qs wine shows as installed packages just wine 8.9-1
Quote
The same when I have lib32/wine-staging 8.9.1-1 installed instead of lib32/wine 8.9-1.
Then I tried the Arch version multilib/wine 8.9-1, same problem.
I've got wine-staging 8.14-1.1.  And vanilla wine 8.14-1 available.
Why are you on 8.9-1 ?

Edit:just realised the OP was months ago. Forget I spoke.  :-[

Re: wine: Fails even in clean WINEPREFIX with different errors.

Reply #3
Another minor clue:
I just tried it on plain Arch, where it does the exact same thing. I then tried under Wayland where it works fine. So it seems to be a problem between wine, X and Nvidia cards.

I'm kind of lost now. I know it worked fine a few month ago on the exact same machine. I may try the LTS kernel and/or downgrade of wine, X or kernel.

*EDIT* i also tried a different card. Same thing.

Re: wine: Fails even in clean WINEPREFIX with different errors.

Reply #4
Seems to be vulkan related. Forcing vulkan to use intel
Code: [Select]
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.i686.json
and it works. Only on the intel gpu, though.

EDIT I had it wrong, it was "intel_icd.x86_64.json" but should be "intel_icd.i686.json"

Re: wine: Fails even in clean WINEPREFIX with different errors.

Reply #5
Well, well, well...

I have not the faintest whats going on or where i even should report it.

But

I think i got it working:
Code: [Select]
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
fixed it. At least for me.

But i'm dumbfounded. Stupefied even. I mean, everything else works perfectly find without that. Vulkaninfo reports both cards (vulkaninfo32 too), vkcube runs just fine. So does vkmark and even RayTracingInVulkan. All use the Nvidia card by default, at least vkcube runs on the intel as well using --gpu_number.

So

What???

 

Re: wine: Fails even in clean WINEPREFIX with different errors.

Reply #6
First a few minor observations:

  • Running wine with VK_ICD_FILENAMES set to either nvidia oder intel i686 works. Right now i have no definitive proof the particular card is actually used (most games don't show that information and i had no time to just try the performance)
  • Running vkcube with VK_ICD_FILENAMES set to intel i686 does not work, while vkcube32 does, which is exactly what i would expect.
  • Running vulkaninfo[32] with VK_ICD_FILENAMES set to either works also just as expected, shows only the particular card or does not work at all when architecture does not match

So, VK_ICD_FILENAMES works just as expected, no worries there.

BUTT!

I also noticed a weird quirk i so far did not wrote about. When running wine or steam, without setting VK_ICD_FILENAMES (not setting means auto detection), i get for several seconds heavy lag in X. With periods of about one to a few seconds of complete inactivity interspersed by short burts of activity (where actually X events happening in the dead times are processed fine). It stops for wine after all the wine processes died out, for steam just after about a minute. I observe this effect nowhere else with one exception (see later).
While this effect occurs i get dmesg errors:
Code: [Select]
[  217.257267] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  217.257270] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
One for every period of inactivity. For both wine and steam as well. And i get exactly the same when connection or disconnecting display devices. I have no idea if there is actually a connection between the three or if thats a coincidence. This "Failed to probe lspcon" is a thing i have seen for years on different machines but never when starting wine or steam. It was always related to connecting and disconnecting displays or changing resolutions and stuff. I tried to dig into it every now and then, but never found a solution, but many people who observed that problem in different situations with different subsequent problems.
That said, my current notebook has muxes on pretty much every video output (meaning the output can be connected to either the intel or the nvidia gpu), which is nice but causes this lspcon problem to occur quite heavily on this machine (or so i assume).

I don't really know what i should made out of all of this. Or where i should file a bug report. At least i can use wine and steam again.