Article View: muc.lists.freebsd.emulation
Article #2[Bug 278363] linsysfs: /sys/class/drm and /sys/dev/char/226:* contents don't match /dev/dri
From: bugzilla-noreply
Date: Wed, 07 Oct 2026 19:07
Date: Wed, 07 Oct 2026 19:07
45 lines
3773 bytes
3773 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278363
Matt K <kilikmatej@protonmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kilikmatej@protonmail.com
--- Comment #2 from Matt K <kilikmatej@protonmail.com> ---
Hello,
I can confirm that the render node part of this can be fixed on
FreeBSD-15.1-RELEASE by main commit 102adf88e6e8
(https://reviews.freebsd.org/D59190?id=185131).
I tested this by patching sys/compat/linsysfs/linsysfs.c, rebuilt only the
linsysfs module and loaded it in place of the stock one. It works.
Setup: AMD Navi 44 (RX 9060 XT), drm-612-kmod 6.12.85, mango Wayland
compositor, Linux userland Ubuntu 24.04, (Mesa 25.2.8) under the Linuxulator.
Before the patch:
/compat/ubuntu/sys/dev/char had only 226:0
/compat/ubuntu/sys/class/drm/card0/device/drm/ was empty
libdrm failed ("MESA-LOADER: failed to retrieve device information",
"amdgpu_get_auth (1) failed") and the rendering went through llvmpipe.
After the patch:
226:128 and renderD128 both exist, libdrm identifies the render node, and Linux
Mesa renders on the GPU:
$ EGL_PLATFORM=surfaceless eglinfo -B
shows: AMD Radeon Graphics (radeonsi, gfx1200, LLVM 20.1.2, DRM 3.61, 5.15.0)
in the "Device platform/Device #0" section
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-278363-4077-DU9OUXHAAx@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-278363-4077@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.emulation Subject: [Bug 278363] linsysfs: /sys/class/drm and /sys/dev/char/226:* contents don't match /dev/dri Date: Wed, 07 Oct 2026 19:07:51 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-emulation@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-278363-4077-DU9OUXHAAx@https.bugs.freebsd.org/bugzilla/> References: <bug-278363-4077@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="42952"; mail-complaints-to="news-admin@muc.de" X-Original-To: emulation@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791400072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1RCENdyC7OEbVyGVZr6sXf0bhmysSsw046+sF7qWQWk=; b=Nf5ww5zc6yjj+Z3+O9WlYCognCDwn/N++sEoG0e4oBA1CnZW62Wy80sB2eKkFkJLaGY/sq aUsYD3z/LN/0czX2I99wXhNEP2IHthQgQVYUGbZqatbnL9u3GXp+DOlw2a6IeH1eKph07H k+HbTkp2U8YJ/N7LIM6yes+GZ5R7J5bmkemD5wMXxKttQ0w1/qwJukLncLubYEqeTNlfMG ea/i+XEcqLHNkex2Q5zuvizazh+35ctUr2PaqTdsLquLmWnAkLuPDSR0TznAVserVP8ehr hifdOeW1KpqOh0cGdLE91AVNUOQ5M5+VKGExu7Y9x9RJSGlFdhezrln8rx0Z8g== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-278363-4077@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes