Usually when I get a new SBC one of the things I like to try out is to test the GPU. Usually I start with running glxinfo, but I’m get the error:
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig
Is there anything that I can use to test the GPU? I can see the driver option when I reconfigured the kernel, but somehow after reconfiguring I can’t seem to find anything that suggests the GPU exists.
did anyone here get the gpu in xorg and/or wayland working well besides the starfive debian image and has documented/scripted all the steps required?
i tried to get it working for my experimental debian sid image but so far failed … kernel side i seem to have gotten to work, i.e. pvr firmware gets loaded and starts properly and all required drm devices register properly and in the same order as in the starfive debian image.
i then took the debian gpu related binaries from Debian/gpu/DDK1.17-binary-xorg at 20221225T084846Z · starfive-tech/Debian · GitHub and unpacked them to the right place into my running image and then i changed /usr/bin/Xorg to a symlink to /usr/local/bin/Xorg … all seems to startup ok, but then xorg does not start properly: it starts up initially, initializes properly even the hacked up glamor in the xorg but a bit later dies and gets restarted by lightdm.
can it maybe be because i have that patch to enable the framebuffer console in my kernel? i think i saw some fb related errors in my xorg log …
a lot of thanks in advance and best wishes - hexdump
ps: this is the xorg.log i’m getting - https://pastebin.com/raw/sjSQn7QV … the dri2 error is also present in the working starfive debian image … no idea why the xserver always restarts
pps: i think i’m getting an idea …
/var/log/lightdm# cat seat0-greeter.log
/usr/sbin/slick-greeter: symbol lookup error: /lib/riscv64-linux-gnu/libharfbuzz.so.0: undefined symbol: FT_Get_Transform
ppps: the gpu etc. binaries brought a libfreetype with it which does not seem to be compatible with the installed libharfbuzz - moving that libfreetype aside at least lets me start the xorg server now, but everything is extremely slow in it now