From nobody Sat May 27 22:28:35 2023 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTGfM3RxJz4Wsl1 for ; Sat, 27 May 2023 22:28:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTGfM2xT5z3CrG; Sat, 27 May 2023 22:28:43 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685226523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DUd/bpH6BEizEigdpP/tmZA1aGUm/feQCdUUMHy0TQ4=; b=loQLUaCzJDNsZPpZNqXpwGlU4RdmAxmLbQfxbJPeCmDc3mZokfJi1VS3yJTXCp8CpLZaZn pKUVlFNE5sBGM772CKf0y7oUoCKfHTNR2daR3RNhANHztd4QWy2qI2wSFm4FbFzfXWkLtM 4iHegVJRVyWHsM/qVE5CB+y3vNRb/Ws1ns2rDod1mTeLLnXeLafkj58IyyllZCqwp7hh0V k+d3aO+cVsuOichYURa0SFvUhfQQXdHsBgZPTZlGgLvIMk9UjCeIvFWi4TsCBmLS8hFj07 sv4zFcAcdtr7JO4t9waWLMTz8IzInkMU5pM5NvMlq90LejzzDt8F+P1DvarXIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685226523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=DUd/bpH6BEizEigdpP/tmZA1aGUm/feQCdUUMHy0TQ4=; b=qR/4y1Bo3MtMyUHpr1HCg6+yMGues5qlNDsmaB2zNdi/0aTJZL9uYuOGAkqlF2EWHxPtqI wMoaFAgbYHGkbSVmyHJtit3fDT4EHotYCWA+b4jaZOPbhU4lfG/qEH8BxI7NWXUigHhydd aEKu8+oFCfRYYrS0VMixmU3AAizROCYKYihi974eXKIcEzYVCNcqvJrTuxLSKbwF5RjrsC 3XDS+desXQNxuhgsSozTRwMJmbRZsJpK5Yxy6pOwVzr0tAmNLCde0MNZ2HpQPx/kjtEx5Z M040QBCT1cgInEQV00/DP7f2cbbV3JfN195j+VuDA8EMrG74gpbdvlxV16KQdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685226523; a=rsa-sha256; cv=none; b=IFt52z9DW60sdsjZ3QaUrzPp12r/XY0IdvqvxawZVR1V9WYEmGwCU+uC41yAYaEXLo6Vs1 TJRpo3fYGld/+u5Zsj2J93aLkvhLQQ95Bb14SszHXTj7EXaQtWTWnY+VXiFfXJlaLpnhTf Sh/QUVw5ZXceW2tgCP9C47gOHYVSYnwXOfTAKblZEoTlFZPeiPWvm5HK9HCHdZRUTEVA0R ITf3b6g8Phi3E5oIrrJPeM4BL+QSSWNoEvIm0Fz/IeHuZgB4VqGYQkOVCw6BZ3P4w82clx 8/QYrCBo8Lc7WSqiIoGca9XdZHX9aL7bifOEKzp5wztWEZNlOyEwTwyLoRAbXw== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 397921B573; Sat, 27 May 2023 22:28:43 +0000 (UTC) From: Jan Beich To: Guido Falsi Cc: freebsd-x11@freebsd.org Subject: Re: Help request: strange issue with xfce xfwm4 on AMD hardware, running head In-Reply-To: <2931778c-9d23-90b8-719f-e34cfa41f188@madpilot.net> (Guido Falsi's message of "Sat, 27 May 2023 20:03:51 +0200") References: <0edab5e7-70db-9b32-39da-54b1503ab824@madpilot.net> <2931778c-9d23-90b8-719f-e34cfa41f188@madpilot.net> Date: Sun, 28 May 2023 00:28:35 +0200 Message-ID: <353h-8l4c-wny@FreeBSD.org> List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Guido Falsi 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 # 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