You are not logged in.
Hi lads,
I;m scratching my head a bit here. I have recently switched to hyprland. I'm truely amazed by it. There is no way back. However, launching the occatioal game that i play. I found out a bit of a strange thing. In plasma (Wayland) it works perfectly. No trouble whatsoever. But in Hyprland it just crashes with no usefull info (log or whatever) so i tryed around, it seems most if not all wine / proton games crash. All the native games work.
I have checked glxinfo, and my drivers are working. Do you lads have any suggestion where i might start to search as to why these games crash under Hyprland but not under plasma? Or a good start to perhaps do some more in depth analysis?
Some system info:
working with 2 gpu's,
]$ glxinfo | grep renderer
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.30-1-lts)
$ prime-run glxinfo | grep renderer
OpenGL renderer string: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2grub does load the modeset
GRUB_CMDLINE_LINUX_DEFAULT="nvidia_drm.modeset=1 rcutree.rcu_idle_gp_delay=1 default_ps_max_latency_us to 11000"Last edited by BottleNeck (2023-05-27 18:47:28)
Offline
There are two things I could see this being. Its probably not a driver issue if the games work on Plasma. Plasma Wayland would be using kwin, while hyprland uses wlroots. There could be an issue with an incorrect xwayland setup. It might be launching with Plasma configs rather than configs for hyprland/wlroots. The other thing is that Wine recently got native Wayland support being worked on. Wine might be trying to use its Wayland support but may not have support for wlroots-based compositors. I believe there should be a config file somewhere in which you can turn on or off native Wayland support for Wine.
Offline
based on your suggestion i got testing again.
Initially this setup was not working, so i installed plasma to test. Where it did work.
I now updated (or added) the multilib. This was removed due to the merger, i forgot to add it. It updated (wine upgraded wine (8.8-1 -> 8.9-1)). I tested it directly, but still not functioning. Than i removed Plasma as i figured i would remove any possible config conflict. Now the game works like a charm.
So i writing it down as a combination problem. Initially wine was having some bug maybe. with the update, probertly xdg-desktop-plasma or something was still in the way. After it's removal, all good. Weird stuff tho! I feel sad for not getting to the bottom of this, but than again as long as it works right...
Thanks for the help.
edit:
V1del makes perfect sense. I edited a bit too much ![]()
Last edited by BottleNeck (2023-05-27 18:46:58)
Offline
None of these environment variables you try to set make sense in your intended context and Wayland support is not yet merged in any released version AFAIK.
What is it you are trying to launch and do you get output when doing so from a terminal?
Did/do you ensure that wine/game windows are floating? https://wiki.hyprland.org/Configuring/W … w-rules-v2
Last edited by V1del (2023-05-27 18:33:25)
Offline