[OE-core] [PATCH] libsdl: enable X11 for nativesdk

Martin Kelly mkelly at xevo.com
Tue Apr 11 21:47:16 UTC 2017


On 04/11/2017 10:14 AM, Richard Purdie wrote:
> On Tue, 2017-04-11 at 09:34 -0700, akuster808 wrote:
>>
>> On 04/06/2017 12:55 PM, Martin Kelly wrote:
>>>
>>> From: Martin Kelly <mkelly at xevo.com>
>>>
>>> Currently, the following situation fails:
>>>
>>> - Build an SDK and image. Make the image support graphics but not
>>> X11.
>>> - Extract SDK and copy image somewhere outside of the Yocto
>>> workspace. Do
>>>    runqemu on the image.
>>>
>>> This results in the error:
>>> "Could not initialize SDL(No available video device) - exiting"
>> This seems to have fixed an issue I was seeing on FedoraCore 25 with
>> Morty with the same error.  Did I miss comments regarding these
>> changes?
>
> No, I haven't directly commented but these changes do worry me a bit in
> that we're setting the PACKAGECONFIG to x11 for some nativesdk things
> and ignoring it for others. I don't like the inconsistency.
>
> I'm hoping the patch from Jussi today will be a better solution for
> this problem, at least for master.
>

I like Jussi's solution better too. However, I don't have a good way to 
test it on my project (Automotive Grade Linux, which uses Morty), as the 
patch does not backport well due to other changes.

The bug is very significant when your workload hits it (makes images 
built by a different machine unusable). Is there a good solution here 
for Morty?



More information about the Openembedded-core mailing list