You are not logged in.
I'm pretty sure it's a problem between wine and xmonad. Most games with launchers make xmonad run at 100% cpu, basically crashing xmonad. Examples are: Guild Wars 2 Launcher, Battle.net launcher, league of legends installer (the client works "fine", but that's a problem for later)
It's reproducible with any config. I've tried reddit (which there is still a post about gw2 there that i made), irc, and everywhere I'm ignored.
Recently I tried messing with ewmh activation hook, since when gw2 launchs or any other launcher like that, windows' borders keep flickering as if they're being focused and unfocused really fast, which I thought maybe has to do with NET_ACTIVATE_WINDOW, but it doesn't seem like it.
guild wars 2 is quite a big game to install to try out, but battle.net is kinda small, and gw2 official installer through website also works to demonstrate it(lutris)
Offline
Try starting one of those launchers from an x-terminal and post the output it shows in that terminal.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Try starting one of those launchers from an x-terminal and post the output it shows in that terminal.
edit: i can play the game "normally" if i run it in wine virtual desktop: https://imgur.com/a/VykAIbf , it is visually buggy yes but that's another issue. the focus of this thread is that launchers make xmonad unresponsive and crash
Last edited by jabuxa (2023-04-12 15:59:42)
Offline
One thing in the log that stands out is that the launcher wants to use gamemodeauto but can't .
Please install gamemode, then try again.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
One thing in the log that stands out is that the launcher wants to use gamemodeauto but can't .
Please install gamemode, then try again.
https://github.com/FeralInteractive/gamemode/issues/345
tl;dr: not an issue
Offline
The logs do show vulkan related messages, although they appear to be warnings. Still it's worth investigating.
post the full output of
$ vulkaninfo --summary #comes-with__vulkantools__
$ lspci -k
How do you start xmonad ? (if startx or xinit post ~/.xinitrc )
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I don't see how kernel modules would make game launchers crash xmonad specifically. it works in any other de/wm I've tested.
vulkan also isn't the problem since the game runs fine on wine virtual desktop and with gamescope.
I do launch it through xinit.
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/Xresources
sysmodmap=/etc/X11/xinit/Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -n "`/etc/X11/chooser.sh`" ]; then
command="`/etc/X11/chooser.sh`"
else
failsafe="yes"
fi
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?* ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if [ -n "$failsafe" ]; then
exec dbus-launch --exit-with-session xmonad
else
exec $command
fi
Last edited by jabuxa (2023-04-13 15:26:01)
Offline
Please use bbcode code tags for pasting: https://bbs.archlinux.org/help.php#bbcode
Remove the explicit dbus-launch, while unlikely to the current issue it's likely to mask different issues.
Will go in a similar vein as https://wiki.archlinux.org/title/Xmonad … and_xmonad , try explicitly floating the launcher windows.
Last edited by V1del (2023-04-13 14:41:57)
Online
i've already set it explicitly with float, doesn't change anything. https://0x0.st/H8-3.txt
Offline