Qemu, Aarch64, Yocto Linux, Virgl, Wayland, Weston, Ivi-Shell: Only OpenGL ES 3.0
Edgar Mobile
heideggm at hotmail.com
Fri Mar 18 08:39:58 UTC 2022
Greetings,
I try to run qemu-system-aarch64 with a Yocto 3.4 image and VirGL for OpenGL ES 3.1 with Wayland, Weston, Ivi-Shell, but I only get a 3.0 core profile.
In order to create the Yocto image, I use
source oe-init-build-env build-virgl
then
bitbake core-image weston.
I use the command line from the auto generated runqemu but change the command line to a self-built qemu 6.2. The resulting command line looks like this:
sudo qemu-system-aarch64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -drive id=disk0,file=/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/deploy/images/qemuarm64/core-image-weston-qemuarm64-20220317211455.rootfs.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -device qemu-xhci -device usb-tablet -device usb-kbd -machine virt -cpu cortex-a57 -smp 4 -m 512 -serial mon:vc -serial null -display sdl,gl=on,show-cursor=on -device virtio-gpu-gl-pci -kernel /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/deploy/images/qemuarm64/Image--5.14.21+git0+f9e349e174_9d5572038e-r0-qemuarm64-20220317110103.bin -append 'root=/dev/vda rw mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 ' -device virtio-net-device,netdev=user0 -netdev user,id=user0,hostfwd=tcp::2222-:22
However, I only get an OpenGL ES 3.0 context, but I need 3.1. From weston.log:
[21:22:57.286] EGL_KHR_surfaceless_context available
[21:22:57.323] GL version: OpenGL ES 3.0 Mesa 21.2.4
[21:22:57.323] GLSL version: OpenGL ES GLSL ES 3.00
[21:22:57.324] GL vendor: Mesa/X.org<http://x.org/>
[21:22:57.324] GL renderer: virgl
Any ideas?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/virglrenderer-devel/attachments/20220318/f248ca2d/attachment-0001.htm>
More information about the virglrenderer-devel
mailing list