I’m working on bringing up Qt5 application code on the i.MX6 in Torizon/Docker.
I’ve derived our application container from torizon/qt5-wayland:3.2.1.
The OS has the etnaviv
graphics driver enabled and the GPU is present in the container and detected by kms-setup.sh. /dev/dri and /dev/galcore are mapped to the container.
Currently, I am bypassing wayland using eglfs, e.g.
kms-setup.sh ./application.bin -platform eglfs
.
(Note however, that running on Wayland produces similar output about using LLVMpipe).
The application does come up on the display, but Qt reports:
qml: Running on a software rasterizer (LLVMpipe), expect limited performance.
Is this expected for etnaviv
? The message appears to be accurate as trying e.g. weston-simple-egl
reports only 16 fps:
$>weston-simple-egl
65 frames in 5 seconds: 13.000000 fps
81 frames in 5 seconds: 16.200001 fps
80 frames in 5 seconds: 16.000000 fps
and further backed up by looking at top
when the program is running, weston is using an entire CPU core while drawing.