Author Topic: Raspberry Pi 3 Image  (Read 60323 times)

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #30 on: April 08, 2016, 09:36:56 AM »
Hey!, fuel injection is a good thing ;) Damn those butterfly floats.

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #31 on: April 08, 2016, 06:51:13 PM »
Nitro-

FFMpeg is compiling, got a few library depreciated warnings but its going. Crosses fingers and throws chicken bones.

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #32 on: April 08, 2016, 11:01:55 PM »
however omxplayer plays hd videos with 4-5% cpu.
anychance we can make that the default video player for AM?

If only it was that easy!  Using the omxplayer to attractmode would be a serious undertaking, I don't think it would be an easy swap  :(

Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #33 on: April 10, 2016, 11:38:51 AM »
Here is my attempt at an image for the Raspberry Pi with Attract-Mode. I built this using a Pi3, but I think it should work ok on others.
http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8277

Video Guide here:
https://www.youtube.com/watch?v=lrXe3icI-mI

It will boot to the CLI so you need to login with pi/raspberry.

Then resize the filesystem using the "sudo raspi-config" command.
When its rebooted and you have logged in, run it with "xinit attract"

Or you can get it to auto boot into Attract-Mode if you run the retropie setup, and in the setup menu set it to start Emulation Station by default (although because of the edit below it will start Attract Mode)
"sudo /home/pi/RetroPie-Setup/retropie_setup.sh"
3 - Setup
Auto Start Emulation Station
Start Emulation Station at boot
Quit out of setup


edit this file
"sudo nano /etc/profile.d/10-emulationstation.sh"
and replace emulationstation with "xinit attract"

Please note if you auto start it, it seems to not like the keyboard after a while for some reason, not really a problem if you configure your own controller. So I'd get your controller working with it before you auto start it.
RetroPie Help Guides: https://goo.gl/3gcNsT

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #34 on: April 10, 2016, 01:09:13 PM »
Here is my attempt at an image for the Raspberry Pi with Attract-Mode. I built this using a Pi3, but I think it should work ok on others.
http://smartretro.co.uk/forums/viewtopic.php?f=3&t=8277

Video Guide here:
https://www.youtube.com/watch?v=lrXe3icI-mI

It will boot to the CLI so you need to login with pi/raspberry.

Then resize the filesystem using the "sudo raspi-config" command.
When its rebooted and you have logged in, run it with "xinit attract"

Or you can get it to auto boot into Attract-Mode if you run the retropie setup, and in the setup menu set it to start Emulation Station by default (although because of the edit below it will start Attract Mode)
"sudo /home/pi/RetroPie-Setup/retropie_setup.sh"
3 - Setup
Auto Start Emulation Station
Start Emulation Station at boot
Quit out of setup


edit this file
"sudo nano /etc/profile.d/10-emulationstation.sh"
and replace emulationstation with "xinit attract"

Please note if you auto start it, it seems to not like the keyboard after a while for some reason, not really a problem if you configure your own controller. So I'd get your controller working with it before you auto start it.

Got it downloaded, going to try it out tonight and see if there is any difference to the image I complied.

Curious if you would be able to tell me the steps you took to get the image down to 2gb? When I clone my image it always clones a full card img so mine is 14.8 gb or something like that. Anyway to get that down to a resonable size?

Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #35 on: April 10, 2016, 01:23:52 PM »
Sure, I do this (then compress with 7zip)
http://smartretro.co.uk/forums/viewtopic.php?f=3&t=58
RetroPie Help Guides: https://goo.gl/3gcNsT

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #36 on: April 10, 2016, 01:36:31 PM »
Sure, I do this (then compress with 7zip)
http://smartretro.co.uk/forums/viewtopic.php?f=3&t=58

Sweet, I knew you'd have made a "how to". ;) 

Just working on trying the get Dahpne working on AM, have it all working in Retropie but not much luck on AM.
Once I do I'll make a image of that to keep safe. :)

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #37 on: April 10, 2016, 04:00:17 PM »
Nice tutorial...

My approach is a little different but your method might be a little bit faster. First, I install raspbian jessie, resize the partition, configure the window mgr the way I want it then update and upgrade raspbian before the next step. Next, I get the retropie install script, and install retropie. Once it's installed, I just use it to setup my joysticks and to install more emulators. I never even run emulationstation, I do everything through the retropie_setup.sh tool.

The last stage is installing AM by following the attract wiki for the pi.

And, I just wanted to say that it's nice to see someone enjoying robospin on the pi. I made it where you can turn off some features if performance is an issue. But, I've been pleasantly surprised how well it runs on the rpi3.

Speaking of robospin, I've added some new features and hope to release it in the next day or so. It was getting a little stale, so I wanted to add some new features like pan and scan for those who want it. It already has system logos but I thought it would be cool if I could add game logos without creating too much clutter. And, I think that was accomplished. The hardest part has been getting all the game developer logos, I might be short some but most are accounted for.         
« Last Edit: April 10, 2016, 07:49:20 PM by omegaman »

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #38 on: April 11, 2016, 05:32:25 AM »
Nitro-

FFMpeg is compiling, got a few library depreciated warnings but its going. Crosses fingers and throws chicken bones.

How'd that go for you?
I compiled ffmpeg but ffplay didn't build.
add some flags repeat.
ffplay but no hardware.
compile x264 library.
re-compile ffpeg with some more flags.
still no hardware acceleration.
For some reason -enable mmal is being ignored by the build process because when I check the h264 decoder it isn't listed as mmal enabled.

Hell I even enabled the experiment opengl drivers which speeds up the desktop considerably but still made no difference with HD video.
If you can't get it to work i think i'm gonna have to ask on the official forums.

I must of compiled ffmpeg 10 times over the weekend. LOL!

hmmm, didn't try this flag.

 --enable-x264_mmal

just  --enable-libx264 and --enable_mmal.

will try tonight.


« Last Edit: April 11, 2016, 06:03:03 AM by nitrogen_widget »

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #39 on: April 11, 2016, 07:29:55 AM »
Nitro-

It compiled after about an hour or so, but with no hardware acceleration like you. I'm thinking the update broke the package from deb-multimedia-keyring . However, I did fine this howto: https://ubuntu-mate.community/t/tutorial-build-or-download-ffmpeg-libavcodec-with-mmal-support-hardware-acceleration-video-decoding/3565

But, I haven't tried compiling it again.

I guess this what you use to verifty ffmpeg -codecs | grep h264_mmal

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #40 on: April 11, 2016, 08:07:02 AM »
Just wanted to keep this in the Pi thread.
I was able to get Daphne working on my AM Rpi3 very nicely. Just have to configure the joystick input.ini figured out, keyboard is working fine.
If anyone has played around with configuring Daphne joystick any pointers would be awesome. ;)

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #41 on: April 11, 2016, 09:16:16 AM »
Fin-

On windows, I set mine up with the daphneloader. I think some of the joystick info is in the daphneloaderprefs.xml and keyboard in the dainput.ini, but don't hold me to that.  I still need to install this is on my pi as well.

FYI, I think retroarch supports daphne now but haven't tested it.

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #42 on: April 11, 2016, 09:45:30 AM »
Nitro-

It compiled after about an hour or so, but with no hardware acceleration like you. I'm thinking the update broke the package from deb-multimedia-keyring . However, I did fine this howto: https://ubuntu-mate.community/t/tutorial-build-or-download-ffmpeg-libavcodec-with-mmal-support-hardware-acceleration-video-decoding/3565

But, I haven't tried compiling it again.

I guess this what you use to verifty ffmpeg -codecs | grep h264_mmal

--enable-mmal was allready in config file but had "[no]" in the line. which I took out.
I configured with --enable-mmal also.
no go. :(

and the -codecs line was how I figured out there was no mmal associated with h264.

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #43 on: April 11, 2016, 09:47:55 AM »
Just wanted to keep this in the Pi thread.
I was able to get Daphne working on my AM Rpi3 very nicely. Just have to configure the joystick input.ini figured out, keyboard is working fine.
If anyone has played around with configuring Daphne joystick any pointers would be awesome. ;)

I just installed this on my pi3 with retropie script last night for the heck of it.
it finally ran after i got the files in the right spot but i didn't have controls mapped.

I also played with shaders on retroarch for libretro2003.
very nice screen curvature or scanlines using the pi specific shader's installed by the retropie script without slowdown.
Just can't seem to figure out which config file calls them. LOL!
I only got them working using keyboard shortcuts to cycle through them. :)
« Last Edit: April 11, 2016, 09:50:18 AM by nitrogen_widget »

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 880
    • View Profile
Re: Raspberry Pi 3 Image
« Reply #44 on: April 11, 2016, 10:19:36 AM »
Sneak preview of updated robospin. Opinions ? https://www.youtube.com/watch?v=RmOvoS5eVx0