All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
@ 2018-08-26 11:11 Peter Thompson
  2018-08-28  2:11 ` Peter Thompson
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Thompson @ 2018-08-26 11:11 UTC (permalink / raw)
  To: buildroot

I cannot get directfb + SDL2 working on Beaglebone Black  (see Bugzilla
#4232 and SDL forums)
    https://bugzilla.libsdl.org/show_bug.cgi?id=4232
    https://discourse.libsdl.org/u/PeterThompson/activity

I do not want to use X windows for the video driver.  I tried adding OpenGL
ES to the rootfs but for that I need efl which in turn needs the kernel
built by Buildroot.  I have a working kernel which I want to work on
separately to attach a new display and prefer not to be forced to always
build it through Buildroot.

Suggestions?

Note: SDL2+directfb combo used to work on igepv2 buildroot-2015.08.1.   I
am just trying to migrate to the beaglebone black.


Peter Thompson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180826/5bf3a581/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-26 11:11 [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3 Peter Thompson
@ 2018-08-28  2:11 ` Peter Thompson
  2018-08-28  8:15   ` Peter Korsgaard
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Thompson @ 2018-08-28  2:11 UTC (permalink / raw)
  To: buildroot

RESOLVED
SDL2-2.0.8 works on Beaglebone Black using DirectFB provided the following
patch is applied to SDL2-2.0.8.

https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c

The patch was created by Sam Lantinga and will be incorporated into the
next release of SDL2.

Peter

On Sun, Aug 26, 2018 at 5:11 AM, Peter Thompson <
peter.macleod.thompson@gmail.com> wrote:

> I cannot get directfb + SDL2 working on Beaglebone Black  (see Bugzilla
> #4232 and SDL forums)
>     https://bugzilla.libsdl.org/show_bug.cgi?id=4232
>     https://discourse.libsdl.org/u/PeterThompson/activity
>
> I do not want to use X windows for the video driver.  I tried adding
> OpenGL ES to the rootfs but for that I need efl which in turn needs the
> kernel built by Buildroot.  I have a working kernel which I want to work on
> separately to attach a new display and prefer not to be forced to always
> build it through Buildroot.
>
> Suggestions?
>
> Note: SDL2+directfb combo used to work on igepv2 buildroot-2015.08.1.   I
> am just trying to migrate to the beaglebone black.
>
>
> Peter Thompson
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180827/452c7e54/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-28  2:11 ` Peter Thompson
@ 2018-08-28  8:15   ` Peter Korsgaard
  2018-08-28 14:17     ` Peter Thompson
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2018-08-28  8:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Thompson <peter.macleod.thompson@gmail.com> writes:

 > RESOLVED
 > SDL2-2.0.8 works on Beaglebone Black using DirectFB provided the following
 > patch is applied to SDL2-2.0.8.

 > https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c

 > The patch was created by Sam Lantinga and will be incorporated into the
 > next release of SDL2.

Great, care to send a proper patch with your signed-off-by for this?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-28  8:15   ` Peter Korsgaard
@ 2018-08-28 14:17     ` Peter Thompson
  2018-08-28 14:35       ` Peter Korsgaard
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Thompson @ 2018-08-28 14:17 UTC (permalink / raw)
  To: buildroot

Hi Peter

My original plan was to wait for the next SDL2 release thereby allowing
SDL2 to fix itself before updating the SDL2_VERSION in  buildroot.

Otherwise we have to change buildroot SDL2_VERSION to  point to the
temporary patched SDL2 source for download:
http://www.libsdl.org/tmp/SDL-2.0.zip
OR
somehow change buildroot to download this patch and apply it to the
downloaded SDL2-2.0.8 before compiling (I am not sure how to do this in
buildroot).

Then we would need to re-change this all back when the new release of SDL2
incorporates this patch.

..... unless I am missing something.....

Peter

On Tue, Aug 28, 2018 at 2:15 AM, Peter Korsgaard <peter@korsgaard.com>
wrote:

> >>>>> "Peter" == Peter Thompson <peter.macleod.thompson@gmail.com> writes:
>
>  > RESOLVED
>  > SDL2-2.0.8 works on Beaglebone Black using DirectFB provided the
> following
>  > patch is applied to SDL2-2.0.8.
>
>  > https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c
>
>  > The patch was created by Sam Lantinga and will be incorporated into the
>  > next release of SDL2.
>
> Great, care to send a proper patch with your signed-off-by for this?
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180828/017cb20e/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-28 14:17     ` Peter Thompson
@ 2018-08-28 14:35       ` Peter Korsgaard
  2018-08-28 16:56         ` Peter Thompson
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2018-08-28 14:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Thompson <peter.macleod.thompson@gmail.com> writes:

 > Hi Peter
 > My original plan was to wait for the next SDL2 release thereby allowing
 > SDL2 to fix itself before updating the SDL2_VERSION in  buildroot.

 > Otherwise we have to change buildroot SDL2_VERSION to  point to the
 > temporary patched SDL2 source for download:
 > http://www.libsdl.org/tmp/SDL-2.0.zip
 > OR
 > somehow change buildroot to download this patch and apply it to the
 > downloaded SDL2-2.0.8 before compiling (I am not sure how to do this in
 > buildroot).

.. Or simply include the hg commit as a .patch file in the package.

 > Then we would need to re-change this all back when the new release of SDL2
 > incorporates this patch.

Correct.

Do you know when sdl2-2.0.9 is planned? 2.0.8 is what we are using both
for 2018.02 (the current long term support version), 2018.05 (the
current release) and master (what will very soon become 2018.08).

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-28 14:35       ` Peter Korsgaard
@ 2018-08-28 16:56         ` Peter Thompson
  2018-08-29  9:21           ` Peter Thompson
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Thompson @ 2018-08-28 16:56 UTC (permalink / raw)
  To: buildroot

I checked with Sam - this is his note back...

"I'm not sure, but I think we're going to start on it soon. We have a bunch
of good improvements in 2.0.9 for folks."



On Tue, Aug 28, 2018 at 8:35 AM, Peter Korsgaard <peter@korsgaard.com>
wrote:

> >>>>> "Peter" == Peter Thompson <peter.macleod.thompson@gmail.com> writes:
>
>  > Hi Peter
>  > My original plan was to wait for the next SDL2 release thereby allowing
>  > SDL2 to fix itself before updating the SDL2_VERSION in  buildroot.
>
>  > Otherwise we have to change buildroot SDL2_VERSION to  point to the
>  > temporary patched SDL2 source for download:
>  > http://www.libsdl.org/tmp/SDL-2.0.zip
>  > OR
>  > somehow change buildroot to download this patch and apply it to the
>  > downloaded SDL2-2.0.8 before compiling (I am not sure how to do this in
>  > buildroot).
>
> .. Or simply include the hg commit as a .patch file in the package.
>
>  > Then we would need to re-change this all back when the new release of
> SDL2
>  > incorporates this patch.
>
> Correct.
>
> Do you know when sdl2-2.0.9 is planned? 2.0.8 is what we are using both
> for 2018.02 (the current long term support version), 2018.05 (the
> current release) and master (what will very soon become 2018.08).
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180828/9793e410/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-28 16:56         ` Peter Thompson
@ 2018-08-29  9:21           ` Peter Thompson
  2018-08-29 13:39             ` Peter Korsgaard
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Thompson @ 2018-08-29  9:21 UTC (permalink / raw)
  To: buildroot

Now that I see how easy it is ... add file containing Sam's patch called

0001-hg-libsdl-org-SDL-raw-rev-751cdc74d55c.patch
to the SDL2 package

... I can easily submit a proper patch with signed-of-by to buildroot

Let me know what you would like.....
<https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c>
Peter


On Tue, Aug 28, 2018 at 10:56 AM, Peter Thompson <
peter.macleod.thompson@gmail.com> wrote:

> I checked with Sam - this is his note back...
>
> "I'm not sure, but I think we're going to start on it soon. We have a
> bunch of good improvements in 2.0.9 for folks."
>
>
>
> On Tue, Aug 28, 2018 at 8:35 AM, Peter Korsgaard <peter@korsgaard.com>
> wrote:
>
>> >>>>> "Peter" == Peter Thompson <peter.macleod.thompson@gmail.com>
>> writes:
>>
>>  > Hi Peter
>>  > My original plan was to wait for the next SDL2 release thereby allowing
>>  > SDL2 to fix itself before updating the SDL2_VERSION in  buildroot.
>>
>>  > Otherwise we have to change buildroot SDL2_VERSION to  point to the
>>  > temporary patched SDL2 source for download:
>>  > http://www.libsdl.org/tmp/SDL-2.0.zip
>>  > OR
>>  > somehow change buildroot to download this patch and apply it to the
>>  > downloaded SDL2-2.0.8 before compiling (I am not sure how to do this in
>>  > buildroot).
>>
>> .. Or simply include the hg commit as a .patch file in the package.
>>
>>  > Then we would need to re-change this all back when the new release of
>> SDL2
>>  > incorporates this patch.
>>
>> Correct.
>>
>> Do you know when sdl2-2.0.9 is planned? 2.0.8 is what we are using both
>> for 2018.02 (the current long term support version), 2018.05 (the
>> current release) and master (what will very soon become 2018.08).
>>
>> --
>> Bye, Peter Korsgaard
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180829/9dac281e/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3
  2018-08-29  9:21           ` Peter Thompson
@ 2018-08-29 13:39             ` Peter Korsgaard
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2018-08-29 13:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Thompson <peter.macleod.thompson@gmail.com> writes:

 > Now that I see how easy it is ... add file containing Sam's patch called
 > 0001-hg-libsdl-org-SDL-raw-rev-751cdc74d55c.patch
 > to the SDL2 package

 > ... I can easily submit a proper patch with signed-of-by to buildroot

Yes, please do! Thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-29 13:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-26 11:11 [Buildroot] SDL2+directfb combo does not work as built by buildroot-2018.02.3 Peter Thompson
2018-08-28  2:11 ` Peter Thompson
2018-08-28  8:15   ` Peter Korsgaard
2018-08-28 14:17     ` Peter Thompson
2018-08-28 14:35       ` Peter Korsgaard
2018-08-28 16:56         ` Peter Thompson
2018-08-29  9:21           ` Peter Thompson
2018-08-29 13:39             ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.