Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: ian57 on February 25, 2014, 08:07:13 AM
-
Hi,
I'm trying to use picore to play arcade game with pifba emulator https://code.google.com/p/pifba/
I use picore 5.1.1-ssh, i installed on boot rpicore, sdl sdl2 libs.
I installed pifba from binaries in tc home.
Running the fbacapex frontend with tc user gives : *fail to open vchiq instance.
Running it with sudo gives me a black screen but nothing more.
Applying chmod a+rx /dev/vchiq gives the same results.
This emulator runs well whith raspian and moebius inux.
I tried to run mame4all-pi and pimenu, the same result occurs (black screen). I think it comes from rights on video device or configuration at boot (in config.txt perhaps)
If someone has an idea?
-
Install rpi-videocore.tcz extension, it may help.
-
Thanks for the reply, but they are already installed...
The problem is really strange, because if I make a chmod a+rw /dev/vchiq the program runs but seems to freeze (local keyboard is not responding; but ssh is ok). I cannot kill the process to get the terminal back to work!
-
Running binaries built for another system you have always high chance they do not work.
-
Yes i agree with you : that's why i'm trying now to recompile it inside picore ;-)
I will let you know my results.
So I recompiled pimenu a simple program which uses SDL etc... I got the same black screen as with pifba.
Same thing... I get a black screen when running it with sudo ./pimenu and get the vchiq access error without sudo.
I really think it come from a simple rights problem ou configuration.
-
New try with the 5.2 release... and the good management of time under picore (see http://forum.tinycorelinux.net/index.php/topic,16750.0.html)
It works ..... no more black screen ...
sudo ./fbacapex gives the front end, and i can use the fba emulator ;-)
see attachments
thanks for all replies
[edit]
After more tests, it seems that it came from SDL_mixer which is not required but installed (when you don't know you install everything ;-)). I think SDL_mixer was perturbing alsa for sound...
[/edit]