]> code.ossystems Code Review - openembedded-core.git/commit
qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 22 Aug 2021 20:22:58 +0000 (22:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Aug 2021 07:25:50 +0000 (08:25 +0100)
commit9b1daa173481f7f560e00e0dc22b4010ff1dc0ec
treef8c1df7c8c630c5580c2412f82d0b7503a616d6f
parent043e32278e91843277143777b27a498fa27f0a8f
qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent

This is particularly useful for llvm-accelerated GL rendering from qemu guest to
an offscreen buffer (accessible over vnc or spice) using llvmpipe on the
host, rather than using unaccelerated swrast renderer in the guest.

This is the best that can be done in the absence of a host GPU with render node
support (such as old Matrox cards common in servers, or fully virtualized cloud
environments with no GPU at all).

Note: even though NVidia blob drivers do support render nodes, they do not
support gbm (yet?), and so rendering will fall back to llvmpipe as well even when
the system has a 3000 euro NVidia GPU. Cue Linus picture.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runtime_test.py
scripts/runqemu