[OE-core] [PATCH 3/6] oe-selftest: extend virgl gtk test to also check the SDL option

Alexander Kanavin alex.kanavin at gmail.com
Mon Nov 4 21:10:51 UTC 2019


On Sat, 2 Nov 2019 at 23:29, Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> Same failures on the Debian 10 worker:
>
>>
>>> https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/778
>>>
>>
>> runqemu - ERROR - Failed to run qemu: Xlib:  extension "RANDR" missing on
>> display ":1".
>> qemu-system-x86_64: ../libepoxy-1.5.3/src/dispatch_common.c:863:
>> epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL
>> context.\n"' failed.
>>
>> Thanks - the Gtk part is passing fine, so it's something SDL does that
>> upsets the X/GL stack on the Debian 10 host.
>> I am reluctant to disable the SDL part of the virgl tests on Debian 10,
>> as it is a new distro (unlike centos 7).
>>
>> I'll try to see if I can run Debian 10 in a VM here and try to reproduce.
>> Or is it possible to debug directly on a Debian 10 worker?
>>
>
> So I actually went ahead, and installed Debian 10 into a qemu image, then
> transferred a pre-populated build directory into it, and ran runqemu there
> against tigervnc (hurray for the nested kvm feature!).
>
> Both 'runqemu kvm sdl gl' and 'runqemu kvm gtk gl' work fine, including
> running kmscube!
>
> So I'd like to see what packages are installed on the Debian 10 worker vs.
> my Debian 10 installation.
>
> Can you issue 'dpkg -l' on the worker, and send me the output, please?
> Maybe something is missing?
>

After additional digging I reproduced this. The culprit is the outdated VNC
server implementation that runs on the Debian 10 autobuilder (and maybe
others as well).

Specifically, it's tightvncserver, where all Linux development has ceased
10 years ago (!).
https://www.tightvnc.com/

If you replace that with tigervnc (a modern, supported fork of tightvnc),
then the tests pass fine.
https://tigervnc.org/

As Fedora has already obsoleted tightvnc in favor of tigervnc, I think we
should do the same on all debian machines (debian provides both tightvnc
and tigervnc, but treats them as equal).
https://src.fedoraproject.org/rpms/tightvnc/blob/master/f/dead.package
I also checked that tightvnc is not available for opensuse either.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20191104/669938bc/attachment.html>


More information about the Openembedded-core mailing list