Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wine-proton cannot spawn windows but wine-vanilla can
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Slashhhh
n00b
n00b


Joined: 07 Nov 2023
Posts: 25

PostPosted: Tue Mar 26, 2024 2:33 pm    Post subject: wine-proton cannot spawn windows but wine-vanilla can Reply with quote

I'm trying to get steam games working and I have trouble with wine proton.

Infos about my system:

    - mesa: amdgpu
    - session: hyprland
    - window server: wayland with xwayland for x11 support


I noticed, that only native games would start. So I installed wine to make sure I can get that working (i.e. if the wine infrastructure doesn't run, proton stands no chance).

I've installed both wine-vanilla and wine-proton. I tested both by opening a regedit window and observed the following:

    - wine-vanilla launches no problem with both the wayland backend and the x11 backend
    - wine-proton cannot find a driver on either backend:

Code:

marc@MarcDesktop ~ $ wine-proton-8.0.5c regedit
wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
007c:fixme:wineusb:add_usb_device Interface 1 has 6 alternate settings; using the first one.
007c:fixme:wineusb:add_usb_device Interface 1 has 2 alternate settings; using the first one.
007c:fixme:wineusb:add_usb_device Interface 2 has 2 alternate settings; using the first one.
007c:fixme:wineusb:add_usb_device Interface 1 has 15 alternate settings; using the first one.
007c:fixme:wineusb:add_usb_device Interface 3 has 5 alternate settings; using the first one.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
0074: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.
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.
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00d8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00d8:err:systray:initialize_systray Could not create tray window
0114:fixme:oleacc:find_class_data unhandled window class: L"#32769"
0114:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0114:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0114:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000033FF78, 000000000021FAC0: stub!
00d0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d0:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
0114:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0114:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and
 that $DISPLAY is set correctly."
0114:err:tabtip:wWinMain Failed to create hwnd!
012c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
012c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
0140:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0140:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
wine: configuration in L"/home/marc/.wine" has been updated.
00d8:err:seh:call_stack_handlers invalid frame 00007FFF146D4048 (0000000000022000-0000000000220000)
00d8:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
016c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
016c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
016c:err:systray:initialize_systray Could not create tray window
0180:fixme:oleacc:find_class_data unhandled window class: L"#32769"
0180:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0180:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0180:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000033FD78, 000000000021FAC0: stub!
0180:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0180:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
0180:err:tabtip:wWinMain Failed to create hwnd!
0164:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0164:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
016c:err:seh:call_stack_handlers invalid frame 00007FFDD5B39D98 (0000000000022000-0000000000220000)
016c:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.


What am I missing here?

Code:

012c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
012c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."

My `$DISPLAY` variable reads `:0`
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2720

PostPosted: Tue Mar 26, 2024 2:49 pm    Post subject: Reply with quote

Could indicate opengl and/or vulkan problems (perhaps 32bit-only issues which may have went overlooked if native games were 64bit), wine-proton has some extra hooks which may not trigger with wine-vanilla even when running applications that don't use opengl/vulkan like regedit (not that I looked too closely at what Valve is doing exactly)

To rule it out, suggest emerging vulkan-tools with USE="X cube abi_x86_32" and mesa-progs with "X abi_x86_32" too.

Then you can check if all of these work through xwayland:
glxgears
i686-pc-linux-gnu-glxgears
vkcube
i686-pc-linux-gnu-vkcube

Don't really have ideas beside this, hyprland's code is a bit whacky though so it could be hitting some edge case.
Back to top
View user's profile Send private message
Slashhhh
n00b
n00b


Joined: 07 Nov 2023
Posts: 25

PostPosted: Tue Mar 26, 2024 3:23 pm    Post subject: Reply with quote

Ionen wrote:

To rule it out, suggest emerging vulkan-tools with USE="X cube abi_x86_32" and mesa-progs with "X abi_x86_32" too.


Thanks for the idea.

I emerged vulkan-tools with USE="X cube abi_x86_32" and mesa-progs with "X abi_x86_32".
Ionen wrote:

glxgears
i686-pc-linux-gnu-glxgears
vkcube
i686-pc-linux-gnu-vkcube

all of them ran no issues.
Sadly, wine-proton is still acting up

I've found this: https://github.com/ValveSoftware/Proton/issues/4266. I cannot install wine-proton-5.0 anymore as it is no longer in the gentoo repo.

Ionen wrote:
hyprland's code is a bit whacky though so it could be hitting some edge case.


I would've expected that hyprland would not be the cluprit, as it doesn't do much of the windowing and drivers itself as that is handled by wlroots (afaik?). Might try to install kde desktop or something, but emerging it and its dependencies might take a while...
Back to top
View user's profile Send private message
Slashhhh
n00b
n00b


Joined: 07 Nov 2023
Posts: 25

PostPosted: Tue Mar 26, 2024 3:35 pm    Post subject: Reply with quote

Sorry for the double reply

Ionen wrote:
Could indicate opengl and/or vulkan problems (perhaps 32bit-only issues which may have went overlooked if native games were 64bit), wine-proton has some extra hooks which may not trigger with wine-vanilla even when running applications that don't use opengl/vulkan like regedit (not that I looked too closely at what Valve is doing exactly)


Just tested glxgears through wine-vanilla (downloaded from http://www2.cs.uidaho.edu/~jeffery/win32/) and it works fine. (cannot find a precompiled version of vkcube for windows to test).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum