Thread View: muc.lists.freebsd.emulation
1 messages
1 total messages
Started by bugzilla-noreply
Wed, 07 Oct 2026 19:07
[Bug 278363] linsysfs: /sys/class/drm and /sys/dev/char/226:* contents don't match /dev/dri
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads