https://bugs.winehq.org/show_bug.cgi?id=57084
Bug ID: 57084 Summary: WINE without X11/XWayland (pure Wayland) can't find graphics driver Product: Wine Version: 9.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winewayland Assignee: wine-bugs@winehq.org Reporter: redwindwanderer@gmail.com Distribution: ---
Hello there,
I've just built latest stable WINE (9.15) and also latest stable WINE sources from gitlab (https://gitlab.winehq.org/wine/wine/), and I get identical results when trying to load any program with it:
0148:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0148:err:winediag:nodrv_CreateWindow L"The graphics driver is missing. Check your build!"
WINE was successfully configured and built using the wine-wayland driver:
./configure --enable-win64 --without-x --with-wayland --without-pulse --without-cups --without-gphoto --without-opencl --without-pcap --without-pcsclite --without-dbus --without-sane --without-oss --without-krb5 --without-netapi --without-capi --without-gettext --without-gnutls --enable-archs=x86_64,i386
As you can see in the configure log attached, the wayland driver is activated correctly.
And the wayland WINE driver is installed:
~/src/wine$ find /usr/local -name *winewayland* /usr/local/lib/wine/i386-windows/winewayland.drv /usr/local/lib/wine/x86_64-unix/winewayland.so /usr/local/lib/wine/x86_64-windows/winewayland.drv
I also tried forcing the driver loading using: WINEDEBUG=+wayland WINEDLLOVERRIDES="winewayland.drv=n" winecfg
But that makes no difference.
Maybe mainline WINE is not ready for Wayland-only? Any ideas, please?
https://bugs.winehq.org/show_bug.cgi?id=57084
--- Comment #1 from Manuel redwindwanderer@gmail.com --- Created attachment 76961 --> https://bugs.winehq.org/attachment.cgi?id=76961 Wine configure log
https://bugs.winehq.org/show_bug.cgi?id=57084
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sutupud@yahoo.com
--- Comment #2 from mata sutupud@yahoo.com --- The driver also needs to be enabled in the registry, did you do that?
wine reg.exe add 'HKCU\Software\Wine\Drivers' /f /v Graphics /d x11,wayland
It will be used when WAYLAND_DISPLAY is set and DISPLAY unset.
https://bugs.winehq.org/show_bug.cgi?id=57084
--- Comment #3 from Manuel redwindwanderer@gmail.com --- @mata Thanks. I did that and it works (well, most basic programs work.. games all crash, I am in new WoW 64 mode and it seems to have a low compatibility with games right now, but Wine works on Wayland now).
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=57084
Manuel redwindwanderer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #4 from Manuel redwindwanderer@gmail.com --- I'm going to close this issue, as this is really not an issue but the Wayland driver being incomplete and not not being included in the defaults yet.
https://bugs.winehq.org/show_bug.cgi?id=57084
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Manuel from comment #0)
./configure --enable-win64 --without-x --with-wayland --without-pulse --without-cups --without-gphoto --without-opencl --without-pcap --without-pcsclite --without-dbus --without-sane --without-oss --without-krb5 --without-netapi --without-capi --without-gettext --without-gnutls --enable-archs=x86_64,i386
Note that --enable-win64 has no effect if --enable-archs=x86_64,i386 is used.