Jump to content


Photo

solo4k sdl


  • Please log in to reply
100 replies to this topic

#1 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 29 July 2019 - 17:19

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

 


init 2 && init 3


Re: solo4k sdl #2 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 31 July 2019 - 23:22

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.

init 2 && init 3


Re: solo4k sdl #3 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 1 August 2019 - 12:44

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.


init 2 && init 3


Re: solo4k sdl #4 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 1 August 2019 - 14:07

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.


init 2 && init 3


Re: solo4k sdl #5 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 1 August 2019 - 14:47

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 :)


init 2 && init 3


Re: solo4k sdl #6 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 1 August 2019 - 16:34

1. For what do you use SDL?

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


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: solo4k sdl #7 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 1 August 2019 - 16:58

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


init 2 && init 3


Re: solo4k sdl #8 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 3 August 2019 - 23:51

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.

init 2 && init 3


Re: solo4k sdl #9 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 4 August 2019 - 11:46

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


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: solo4k sdl #10 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 August 2019 - 11:55

https://en.wikipedia...rectMedia_Layer
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: solo4k sdl #11 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 4 August 2019 - 12:33

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


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: solo4k sdl #12 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 4 August 2019 - 13:55

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.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: solo4k sdl #13 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 4 August 2019 - 14:17

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.


init 2 && init 3


Re: solo4k sdl #14 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 4 August 2019 - 15:55

A new GUI? Long overdue...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: solo4k sdl #15 rantanplan

  • PLi® Contributor
  • 1,744 posts

+80
Good

Posted 4 August 2019 - 17:12

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

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

 

So multimedia in general could also be interesting



Re: solo4k sdl #16 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 4 August 2019 - 18:35

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


init 2 && init 3


Re: solo4k sdl #17 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 4 August 2019 - 18:36

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


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: solo4k sdl #18 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 4 August 2019 - 18:38

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


init 2 && init 3


Re: solo4k sdl #19 WanWizard

  • PLi® Core member
  • 68,215 posts

+1,713
Excellent

Posted 4 August 2019 - 18:39

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


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: solo4k sdl #20 serdeliuk

  • Senior Member
  • 315 posts

+18
Neutral

Posted 4 August 2019 - 18:40

same situation here, only a bored sysadmin


init 2 && init 3



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users