←  [EN] Third-Party Development

Forums

»

solo4k sdl

serdeliuk's Photo serdeliuk 29 Jul 2019

Hello,

 

I wonder if anyone else tried to use SDL1.2 or SDL2 on solo4k and if it works.

I tried and the video init tells that "No available video device" the sound init seems to not give any error.

 

Many thanks,

 

 

Marc

 

Quote

serdeliuk's Photo serdeliuk 31 Jul 2019

Just to let you know that i compiled the SDL2 -- 2.0.10 on the machine "with development tools installed on the solo4k" and works, init audio and video works and i can display a image on screen, tomorrow i will test the sound system, right now i cant because everyone sleep :)


Edited by serdeliuk, 31 July 2019 - 23:23.
Quote

serdeliuk's Photo serdeliuk 1 Aug 2019

The sound works perfectly too, as expected.

 

So there is something wrong with the source provided in openpli 6.2 tree, the libsdl 1.2 or 2.0.4 does not work.

I will try to compile by hand both provided versions and see if the provided version has something wrong or there is sometihng with config files, i will keep you posted.

Quote

serdeliuk's Photo serdeliuk 1 Aug 2019

OK, the conclusion, the provided SDL versions through OpenPli 6.2 tree does not have directfb support or have bugs, only sound works.

 

I will create a .bb for SDL2-2.0.10 which works well for directfb and sound.

Quote

serdeliuk's Photo serdeliuk 1 Aug 2019

Hmmmmm.... it seems that OpenPli release-6.2 tree does not provide at all SDL support :)))) so i added 1.2 and 2.0.4 SDL to my tree at some point and forgot.

However, good news is that 2.0.10 works with both directfb and sound "alsa", sorry for the confusion :)

Quote

betacentauri's Photo betacentauri 1 Aug 2019

1. For what do you use SDL?

2. Please create bb for latest image version. So develop branch or 7.1.

Quote

serdeliuk's Photo serdeliuk 1 Aug 2019

Hi betacentauri, i want to build/port a Z80 "sinclaiar spectrum" emulator, i will build two bb files then as i do not use yet Pli7

Quote

serdeliuk's Photo serdeliuk 3 Aug 2019

Hello,

 

I have attached the bitbake recipe for SDL2 2.0.10

I have tested the recipe, which build flawless, under develop branch with directfb and alsa as "distro_features", unfortunatelly i was unable to test the result as i currently use OpenPli 6.2

 

The bitbake recipe was not tested, yet, under a clean new OpenPli release-6.2 branch because as soon as i add directfb as a distro feature a lot of build errors pops up.

 

I will build a patch to fix all errors for those who wants to build SDL2 + directfb + alsa for Vu Solo4K under OpenPli 6.2, keep looking here :)

 

 

Best regards,

 

 

Marc

Attached Files


Edited by serdeliuk, 3 August 2019 - 23:52.
Quote

WanWizard's Photo WanWizard 4 Aug 2019

For the uninitiated amongst us, what is SDL, and why should it be added?

Quote

WanWizard's Photo WanWizard 4 Aug 2019

Ok. What is it useful for? Other than games?

Quote

betacentauri's Photo betacentauri 4 Aug 2019

Hi betacentauri, i want to build/port a Z80 "sinclaiar spectrum" emulator, i will build two bb files then as i do not use yet Pli7


I guess for most users it’s not interesting. Maybe some are interested in emulating old NES games on the box.
Quote

serdeliuk's Photo serdeliuk 4 Aug 2019

Could be useful in many different ways, for example open a new world implementing plugins, with directfb + sdl2 there are many new ways to display a window on screen and manipulate the video device. Few months ago I ported DFBTERM which perform well, but there are many SDL terminal emulators.

 

Just few ideas of porting things, as firefox, anbox, different games and/or emulators, out-there it is a lot of software built on SDL, especially for embedded systems.

Quote

WanWizard's Photo WanWizard 4 Aug 2019

A new GUI? Long overdue...

Quote

rantanplan's Photo rantanplan 4 Aug 2019

https://github.com/f...l2_video_player

https://ffmpeg.org/d..._8c_source.html

 

So multimedia in general could also be interesting

Quote

serdeliuk's Photo serdeliuk 4 Aug 2019

Indeed, a new GUI, a new media player, a new NEW :) why not? At least a bunch of new plugins....

Quote

WanWizard's Photo WanWizard 4 Aug 2019

I'm all for it. Now if we can open a tin of developers with the right knowledge? ;)

Quote

serdeliuk's Photo serdeliuk 4 Aug 2019

:)))) i have a tin of beer i will open it and see what happens

Quote

WanWizard's Photo WanWizard 4 Aug 2019

Already tried that, no developers came out... ;)

Quote

serdeliuk's Photo serdeliuk 4 Aug 2019

same situation here, only a bored sysadmin

Quote