Bug 13912 - runqemu sdl gl should fail (meta/lib/oeqa/selftest/cases/runtime_test.py)
Summary: runqemu sdl gl should fail (meta/lib/oeqa/selftest/cases/runtime_test.py)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.2
Assignee: Joe Slater
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-05-20 08:03 UTC by Joe Slater
Modified: 2020-06-04 17:38 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
local.conf for runqemu failure (11.87 KB, text/plain)
2020-05-21 11:08 UTC, Joe Slater
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Slater 2020-05-20 08:03:12 UTC
libsdl2-native does not build with opengl support, even if configured to, because mesa-native does not build for x11 (so it doesn't provide glx.h to libsdl2-native).  So, no context is created and runqemu should fail with an initialization error message.

So, test_testimage_virgl_gtk_sdl() should always fail for this case unless mesa is not the opengl provider.
Comment 1 Alexander Kanavin 2020-05-21 02:28:21 UTC
We had a determinism issue with this, which was recently fixed in master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next&id=13e49c2af060bd64adcae8df80ebe195838b3703

Since then it's been working reliably. Does this fix the issue for you?
Comment 2 Randy MacLeod 2020-05-21 07:53:23 UTC
Question for you Joe.
Comment 3 Joe Slater 2020-05-21 11:08:42 UTC
Created attachment 4682 [details]
local.conf for runqemu failure
Comment 4 Joe Slater 2020-05-21 11:11:33 UTC
Hm, my original comment went away when I attached local.conf.  Anyway, things still fail and I am building on two additional hosts.  The failure is in libepoxy, which does not think a GLX context exists.
Comment 5 Alexander Kanavin 2020-05-21 12:19:47 UTC
What is your host distro?
Comment 6 Joe Slater 2020-05-21 13:19:11 UTC
(In reply to comment #5)
> What is your host distro?

ubuntu 18.04.3  also fails on ubuntu 16.04
Comment 7 Alexander Kanavin 2020-05-21 13:24:58 UTC
Can you also tell the poky commit id please?
Comment 8 Joe Slater 2020-05-21 13:33:51 UTC
(In reply to comment #7)
> Can you also tell the poky commit id please?

f5cc698a89   bitbake: user manual...

building for a third host, but it is also ubuntu.
Comment 9 Alexander Kanavin 2020-05-21 13:41:44 UTC
This is tested on the AB in both 18.04, and 16.04, so I don't have any further ideas right now. You can check e.g.:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/953

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/950
Comment 10 Randy MacLeod 2020-06-04 08:02:19 UTC
Ping Joe?
Comment 11 Joe Slater 2020-06-04 17:38:41 UTC
Since this is working for oe-core, I will change status to resolved.