Date: Sun, 28 May 2023 00:28:35 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Guido Falsi <mad@madpilot.net> Cc: freebsd-x11@freebsd.org Subject: Re: Help request: strange issue with xfce xfwm4 on AMD hardware, running head Message-ID: <353h-8l4c-wny@FreeBSD.org> In-Reply-To: <2931778c-9d23-90b8-719f-e34cfa41f188@madpilot.net> (Guido Falsi's message of "Sat, 27 May 2023 20:03:51 %2B0200") References: <0edab5e7-70db-9b32-39da-54b1503ab824@madpilot.net> <2931778c-9d23-90b8-719f-e34cfa41f188@madpilot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Guido Falsi <mad@madpilot.net> writes: > On 27/05/23 10:31, Guido Falsi wrote: > >> Hi, >> I'm seeing a strange issue with xfwm4 on my laptop running head >> (commit 5804b7ab378d6207130bd1685c931da6a4e76e55), using pkgbase, >> everything build on poudriere. >> I have filed an issue upstream with a description and some finding: >> https://gitlab.xfce.org/xfce/xfwm4/-/issues/722 >> I'm testing changing some things but I get the same exact error 100% >> repeatable. >> > > A friend of mine suggested trying to disable DRI 3 and this indeed > allowed xfwm4 to not crash. > > This is a workaround, not a fix, and does not explain what is causing > the behavior. > > Not sure where I should be looking, I'll also check changes in kernel > that could be related. > > Again if anyone has some insight please share! See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253746 Maybe check if DRI3 in Xwayland is also affected e.g., # pkg install sway pam_xdg # pw groupmod video -m <user> # sysrc seatd_enable=YES # service seatd start # echo 'session optional pam_xdg.so notroot runtime' >>/etc/pam.d/system $ exit # re-login non-root users to get XDG_RUNTIME_DIR $ mkdir ~/bin $ cat <<\EOF >~/bin/startw # Naive startx reimplementation via Sway + Xwayland (rootful) export X11_DISPLAY=:$((${DISPLAY#:} + 1)) if [ -n $XDG_SESSION_COOKIE ]; then export LIBSEAT_BACKEND=consolekit2 fi echo "xwayland disable" >~/.sway-xwayland-only.conf echo "default_border none" >>~/.sway-xwayland-only.conf echo "for_window [app_id="org.freedesktop.Xwayland"] fullscreen enable" >>~/.sway-xwayland-only.conf echo "exec Xwayland ${X11_DISPLAY}" >>~/.sway-xwayland-only.conf echo "exec 'env -u WAYLAND_DISPLAY DISPLAY=${X11_DISPLAY} XDG_SESSION_TYPE=x11 sh ~/.xinitrc; swaymsg exit'" >>~/.sway-xwayland-only.conf exec sway -c ~/.sway-xwayland-only.conf EOF $ chmod +x ~/bin/startw # pkg install xfce $ echo 'exec startxfce4' >>~/.xinitrc $ dbus-run-session startw or (with ConsoleKit2 support) # sysrc dbus_enable=YES # service dbus start $ ck-launch-session dbus-run-session startw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?353h-8l4c-wny>