[Bug 286311] x11-wm/sway: fails to start on amdgpu after ports bb43067a6928

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Apr 2025 15:23:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286311

            Bug ID: 286311
           Summary: x11-wm/sway: fails to start on amdgpu after ports
                    bb43067a6928
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://cgit.freebsd.org/ports/commit/?id=bb43067a6928
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: 2khramtsov@gmail.com
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

$ dbus-run-session seatd-launch sway
[...]
drm_gem_plane_helper_prepare_fb: explicit fence not handled

$ pciconf -lv | grep 580 -B2 -A2
vgapci0@pci0:1:0:0:     class=0x030000 rev=0xe7 hdr=0x00 vendor=0x1002
device=0x67df subvendor=0x1458 subdevice=0x2302
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]'
    class      = display
    subclass   = VGA
hdac0@pci0:1:0:1:       class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002
device=0xaaf0 subvendor=0x1458 subdevice=0xaaf0
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]'
    class      = multimedia
    subclass   = HDA
(src) $ git rev-parse origin/main
base d14036ea424d
(ports) $ git rev-parse origin/main
ports 4e2974ebfe54
$ pkg info graphics/drm-66-kmod
[...]
6.6.25.1500038_1
$ pkg info mesa-devel
[...]
Version        : 25.1.b.228
(standalone, + local ports patches to pull in mesa-devel rather than mesa-dri)

Reverting ports bb43067a6928 and downgrading helps, so that suggests a
regression in wlroots/sway or a newly exposed drm-kmod or base bug.

I can't investigate (e.g. try git bisect on wlroots or sway) until this weekend
at least, I also can't submit any bug to either of {wlroots,sway,drm-kmod,src}
yet.

I have found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282659#c7 but I
can't confirm anything yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.