On 8/6/20 8:19 PM, Milos Ladni wrote:
> Anyway i also tried to load Lima driver and i got /dev/dri/card0, 
> card1  and renderD128 but i am not sure how to test it.
> 
> When i try to load xwindow or kmscube i get following error message:
> root@olinuxino:~/workspace# kmscube
> gbm: failed to open any driver (search paths
> /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
> gbm: Last dlopen error: /usr/lib/dri/sun4i-drm_dri.so: cannot open
> shared object file: No such file or directory
> failed to load driver: sun4i-drm

Unfortunately I can't help with firefox or video decoding, but for
running kmscube (and making sure lima actually works), you also need
"mesa" (preferably not older than 20.0.0) with "lima" and "kmsro"
gallium drivers compiled.

Also, one gotcha is that most apps expect /dev/dri/card0 to be a display
device (IIRC), but sometimes kernel assigns /dev/dri/card0 to be lima
device. If that's the case, you'll need to specify device explicitly
with "-d" option for kmscube.

-- 
Andrey Lebedev aka -.- . -.. -.. . .-.
Software engineer
Homepage: http://lebedev.lt/

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/4578acc2-18bd-405e-dbf9-ad67631ffecf%40gmail.com.

Reply via email to