Springen naar inhoud


Foto

solo4k sdl


  • Please log in to reply
Er zijn 42 reacties in dit onderwerp

#1 serdeliuk

  • Senior Member
  • 130 berichten

+5
Neutral

Geplaatst op 29 juli 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
  • 130 berichten

+5
Neutral

Geplaatst op 31 juli 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 :)


Veranderd door serdeliuk, 31 juli 2019 - 23:23

init 2 && init 3


Re: solo4k sdl #3 serdeliuk

  • Senior Member
  • 130 berichten

+5
Neutral

Geplaatst op 1 augustus 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
  • 130 berichten

+5
Neutral

Geplaatst op 1 augustus 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
  • 130 berichten

+5
Neutral

Geplaatst op 1 augustus 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
  • 5403 berichten

+247
Excellent

Geplaatst op 1 augustus 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
  • 130 berichten

+5
Neutral

Geplaatst op 1 augustus 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
  • 130 berichten

+5
Neutral

Geplaatst op 3 augustus 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

Bijgevoegde Bestanden


Veranderd door serdeliuk, 3 augustus 2019 - 23:52

init 2 && init 3


Re: solo4k sdl #9 WanWizard

  • Forum Moderator
    PLi® Core member
  • 48441 berichten

+823
Excellent

Geplaatst op 4 augustus 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), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: solo4k sdl #10 betacentauri

  • PLi® Core member
  • 5403 berichten

+247
Excellent

Geplaatst op 4 augustus 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

  • Forum Moderator
    PLi® Core member
  • 48441 berichten

+823
Excellent

Geplaatst op 4 augustus 2019 - 12:33

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


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: solo4k sdl #12 betacentauri

  • PLi® Core member
  • 5403 berichten

+247
Excellent

Geplaatst op 4 augustus 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
  • 130 berichten

+5
Neutral

Geplaatst op 4 augustus 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

  • Forum Moderator
    PLi® Core member
  • 48441 berichten

+823
Excellent

Geplaatst op 4 augustus 2019 - 15:55

A new GUI? Long overdue...


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: solo4k sdl #15 rantanplan

  • Senior Member
  • 149 berichten

+5
Neutral

Geplaatst op 4 augustus 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
  • 130 berichten

+5
Neutral

Geplaatst op 4 augustus 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

  • Forum Moderator
    PLi® Core member
  • 48441 berichten

+823
Excellent

Geplaatst op 4 augustus 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), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: solo4k sdl #18 serdeliuk

  • Senior Member
  • 130 berichten

+5
Neutral

Geplaatst op 4 augustus 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

  • Forum Moderator
    PLi® Core member
  • 48441 berichten

+823
Excellent

Geplaatst op 4 augustus 2019 - 18:39

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


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: solo4k sdl #20 serdeliuk

  • Senior Member
  • 130 berichten

+5
Neutral

Geplaatst op 4 augustus 2019 - 18:40

same situation here, only a bored sysadmin


init 2 && init 3





1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers