Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2024 15:27:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278363] linsysfs: /sys/class/drm and /sys/dev/char/226:* contents don't match /dev/dri
Message-ID:  <bug-278363-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278363

            Bug ID: 278363
           Summary: linsysfs: /sys/class/drm and /sys/dev/char/226:*
                    contents don't match /dev/dri
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: iwtcex@gmail.com

There are two significant issues here:

1. linsysfs creates entries for everything that has vgapci attached to it,
regardless of whether the GPU has any associated /dev/dri/card* nodes =E2=
=80=94 this
might (and occasionally does) result in Mesa's libGL picking the wrong driv=
er
in multi-GPU configurations;

2. there are no entries for /dev/dri/renderD* nodes, which breaks Vulkan
initialization, forcing Mesa to choose the software rendering fallback.

(See https://github.com/freebsd/drm-kmod/issues/290 and
https://forums.freebsd.org/threads/linuxulator-vs-intel-amd-gpus.92445/ for
context.)

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



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