Failed to open starfive: /usr/lib/dri/

I created a clean debootstraped Debian image. When starting an X session, I get a strange error about a missing The session still starts. But I’m wondering where such custom/vendor library could be declared. Is there a source or package provided by StarFive which provides this library? While there are some GPU related libraries provided here, I couldn’t fine within.

root@host:~# startx

X.Org X Server
X Protocol Version 11, Revision 0
Current Operating System: Linux DietPi 5.15.102 #1 SMP Tue Mar 14 15:28:55 UTC 2023 riscv64
Kernel command line: root=PARTUUID=c3534437-01 rootfstype=ext4 rootwait earlycon console=ttyS0,115200 console=tty0 consoleblank=0 net.ifnames=0
xorg-server 2:21.1.7-1 (
Current version of pixman: 0.42.2
        Before reporting problems, check
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 14 22:40:39 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
MESA-LOADER: failed to open starfive: /usr/lib/dri/ cannot open shared object file: No such file or directory (search paths /usr/lib/riscv64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: starfive
^Cxinit: connection to X server lost

waiting for X server to shut down .(II) Server terminated successfully (0). Closing log file.

xinit: unexpected signal 2

I interrupted the X session, as can be seen at ^C, after it was running for some minutes. Since the system is remote, I couldn’t test whether the desktop actually shows up on an attached screen. Remote team member will do that later :wink:. The /var/log/Xorg.0.log does not provide more related details.