Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED]Wine:Application tried to create a window, but no driver could be loaded (Read 39224 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED]Wine:Application tried to create a window, but no driver could be loaded

I can't run winecfg successfully, I have installed nvidia drivers, wine-gecko, wine-mono, wine  (and the dependencies including the optionals ones ). But i get this output

Code: [Select]
002c:fixme:winediag:__wine_start_process Wine Staging 5.14 is a testing version containing experimental patches.
002c:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
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
0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0044:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0044:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0044:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0044:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
003c:err:service:process_send_command service protocol error - failed to write pipe!
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"wineusb" 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"MountMgr" failed to start: 1053
0078:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0078:err:winediag:nodrv_CreateWindow The explorer process failed to start.

Re: Wine-staging:Application tried to create a window, but no driver could be loaded

Reply #1
make sure you are running winecfg from a terminal window in a desktop environment, and try this command:
Code: [Select]
DISPLAY=:0 winecfg
try echo $DISPLAY to know if your display is not 0, and replace it.

if still doesn't work you can try the normal version of wine, and if still doesn't work you can provide us with some info like:
Code: [Select]
inxi -SGxxx
glxinfo -B
xrandr

Re: Wine-staging:Application tried to create a window, but no driver could be loaded

Reply #2
Btw, wine-staging is not our package, still archlinux package.
feel free use search engine to find more info, I am sure, you are not alone with this problem.

it is new wine  installation, or update? if update, try rename old wine settings dir (.wine) and run new clear session

Re: Wine-staging:Application tried to create a window, but no driver could be loaded

Reply #3
Thanck a lot for your solutions, I find the problem: I miss a package during installation

Code: [Select]
# pacman -S elogind elogind-runit 

From Artix wiki install:

Quote
Notice: mate-session and quite a few other packages from the Arch repositories are compiled against systemd even if they don't actually use it, at least not as PID1; to satisfy the library link you may install elogind and its services files elogind-openrc, elogind-runit, or elogind-s6

8 reinstalltions but I did :')

Re: [SOLVED]Wine:Application tried to create a window, but no driver could be loaded

Reply #4
Actually, this has appeared for me now since some time.

Wine almost ever refuses to run; sometimes it runs when I start it twice in a row (but mostly it fails).

The same weather I use lib32/wine or lib32/wine-staging.

When I try to start winecfg with my default, existing, WINEPREFIX, it fails with:

Code: [Select]
0080:fixme:wineusb:add_usb_device Interface 1 has 2 alternate settings; using the first one.
0080:fixme:wineusb:add_usb_device Interface 2 has 2 alternate settings; using the first one.
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.
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 00007F967BCFBEA0 "../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.
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.
0114:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0114:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."

(Total running time: 00:01:50; output of time winecfg:
Code: [Select]
0.90user 2.58system 1:50.91elapsed 3%CPU (0avgtext+0avgdata 29976maxresident)k
4332672inputs+0outputs (9509major+24278minor)pagefaults 0swaps
)

When I try to start winecfg with a fresh WINEPREFIX to get a clean start, it fails with:

Code: [Select]
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)
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."
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."
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
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."
0088:fixme:file:NtLockFile I/O completion on lock not implemented yet
0088:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00c0:err:service:process_send_command service protocol error - failed to write pipe!
00f0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00f0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0120:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:err:sync:RtlpWaitForCriticalSection section 00007F077B0FBEA0 "../wine/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0118, blocked by 0120, retrying (60 sec)
0100: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.
002c:err:setupapi:SetupDiInstallDevice Failed to control service L"wineusb" for device L"ROOT\\WINE\\WINEUSB", error 1061.
wine: configuration in L"/tmp/wine-foo" has been updated.
0134:fixme:wineusb:add_usb_device Interface 1 has 2 alternate settings; using the first one.
0134:fixme:wineusb:add_usb_device Interface 2 has 2 alternate settings; using the first one.
0120:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0120:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0120:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0134:fixme:wineusb:add_usb_device Interface 1 has 6 alternate settings; using the first one.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
0120:fixme:wineusb:query_id Unhandled ID query type 0x5.
015c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
015c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."

(Total running time: 00:04:37; output of time:
Code: [Select]
1.07user 2.42system 4:36.96elapsed 1%CPU (0avgtext+0avgdata 30028maxresident)k
4089008inputs+32outputs (10141major+24143minor)pagefaults 0swaps
)

Each invocation gives minutes of huge disk IO (mainly reading).

elogind is installed.

Any idea what might go wrong?

Re: [SOLVED]Wine:Application tried to create a window, but no driver could be loaded

Reply #5
Actually, this has appeared for me now since some time.
I did remove all the proton packages I had installed (proton, proton-ge-custom, proton-caller, protontricks-git, protonup-qt) and this solved this issue for me.

Re: [SOLVED]Wine:Application tried to create a window, but no driver could be loaded

Reply #6
Actually, this has appeared for me now since some time.
I did remove all the proton packages I had installed (proton, proton-ge-custom, proton-caller, protontricks-git, protonup-qt) and this solved this issue for me.

And just to appear again. In different flavours ... :-(.

Even when I start with a fresn and empty WINEPREFIX.

--> Continuing in this new thread with detailed error description.