Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2026 16:57:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 292411] sysutils/drm-latest-kmod: GPU reset causes Xorg and other X applications to crash
Message-ID:  <bug-292411-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292411

            Bug ID: 292411
           Summary: sysutils/drm-latest-kmod: GPU reset causes Xorg and
                    other X applications to crash
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jrm@freebsd.org

Around the time 15.0 was released, I started seeing issues with drm (either the
port or building directly from the HEAD of the drm repository).  The result is
that Xorg crashes and I'm kicked back to the display manager.  Here is what I
see in the logs.  This is on an AMD Framework 16 running:
releng/15.0-n280999-7bceec30b351 GENERIC amd64.

Here is the relevant section of /var/log/messages.
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR :amdgpu_job_timedout] ring
gfx_0.0.0 timeout, signaled seq=50663202, emitted seq=50663204
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR :amdgpu_job_timedout]
Process information: process  pid 677895 thread  pid 677895
Jan 12 12:36:32 <kern.crit> asn kernel: drmn0: GPU reset begin!
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:32 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:33 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:33 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:33 <kern.crit> asn kernel: [drm ERROR
:mes_v11_0_submit_pkt_and_poll_completion] MES failed to response msg=3
Jan 12 12:36:33 <kern.crit> asn kernel: [drm ERROR
:amdgpu_mes_unmap_legacy_queue] failed to unmap legacy queue
Jan 12 12:36:33 <kern.crit> asn kernel: [drm ERROR :gfx_v11_0_cp_gfx_enable]
failed to halt cp gfx
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: MODE2 reset
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: GPU reset succeeded, trying to
resume
Jan 12 12:36:33 <kern.info> asn kernel: [drm] PCIE GART of 512M enabled (table
at 0x000000801FD00000).
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: SMU is resuming...
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: SMU is resumed successfully!
Jan 12 12:36:33 <kern.info> asn kernel: [drm] DMUB hardware initialized:
version=0x08004800
Jan 12 12:36:33 <kern.info> asn kernel: [drm] kiq ring mec 3 pipe 1 q 0
Jan 12 12:36:33 <kern.info> asn kernel: [drm] VCN decode and encode initialized
successfully(under DPG Mode).
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: [drm] jpeg_v4_0_hw_initdrmn0:
ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.0.0 uses VM inv eng
1 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.1.0 uses VM inv eng
4 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.2.0 uses VM inv eng
6 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.3.0 uses VM inv eng
7 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.0.1 uses VM inv eng
8 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.1.1 uses VM inv eng
9 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.2.1 uses VM inv eng
10 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring comp_1.3.1 uses VM inv eng
11 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring sdma0 uses VM inv eng 12 on
hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring vcn_unified_0 uses VM inv
eng 0 on hub 8
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring jpeg_dec uses VM inv eng 1
on hub 8
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: ring mes_kiq_3.1.0 uses VM inv
eng 13 on hub 0
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: recover vram bo from shadow
start
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: recover vram bo from shadow done
Jan 12 12:36:33 <kern.crit> asn kernel: drmn0: GPU reset(2) succeeded!
Jan 12 12:36:33 <kern.info> asn kernel: pid 4091 (Xorg), jid 0, uid 0: exited
on signal 6 (core dumped)
Jan 12 12:36:33 <kern.info> asn kernel: pid 10599 (chrome), jid 0, uid 1001:
exited on signal 5 (no core dump - coredumpsize limit is 0)
Jan 12 12:36:34 <user.warn> asn devd[3471]: notify_clients: send() failed;
dropping unresponsive client


The current backtrace from the Xorg core file isn't helpful because it wasn't
built with debug symbols.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292411-7788>