solo4k sdl
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
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.
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.
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.
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
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.
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
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.
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.
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.
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
serdeliuk 4 Aug 2019
Indeed, a new GUI, a new media player, a new NEW why not? At least a bunch of new plugins....
WanWizard 4 Aug 2019
I'm all for it. Now if we can open a tin of developers with the right knowledge?