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 18314 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 :')