Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - progets

Pages: [1] 2 3
1
Announcements / Re: Pi3 image
« on: July 15, 2017, 10:21:36 AM »
The script needs updating for sure, and the new RetroPie release should have 2.0.5 installed by default.

Sent from my SM-G920F using Tapatalk

The RetroPie 4.2 image doesn't have SDL2 2.0.5. It may come if you update RetroPie to 4.2.10 but I'm using a scratch disk because I'm porting the binary to "my build" so I didn't update RetroPie before building RetroFE. If I have time maybe I'll try.

Update - You must be right about the latest RetroPie including SDL2 2.0.5 because it works on "my build" without additional dependencies and the control works after exiting a game. Again, great job!

2
Announcements / Re: Pi3 image
« on: July 15, 2017, 10:06:09 AM »
Just my 2 cents, the install.sh should be updated to include the newer SDL2 2.0.5 and also the original RetroFE dependencies (those work much better than a full gstreamer install). Once you have that I think most people can figure it out from there.

original RetroFE dependencies (I'm not certain all of these are needed)
Code: [Select]
sudo apt-get install g++ cmake libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-dev gstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-libav zlib1g-dev libglib2.0-0 libglib2.0-dev sqlite3 gstreamer1.0-alsa gstreamer1.0-pulseaudio

P.S. I didn't see your post since it fell on a new page before I made this comment.

3
Announcements / Re: Pi3 image
« on: July 15, 2017, 08:47:24 AM »
Does anyone have issues with a controller/joystick/gamepad controlling the RetroFE frontend after launching and playing a game? Once I return from playing the first game in RetroFE the gamepad no longer controls RetroFE and only a keyboard works.

Try the latest code; I've hopefully added hot-pluggability, which should also fix this issue.

Having issues with the new build. I haven't had a lot of time to test but here's what I see for now.

Code: [Select]
pi@retropie:~/retrofe $ cmake --build RetroFE/Build
[  2%] Building CXX object CMakeFiles/retrofe.dir/Control/UserInput.cpp.o
/home/pi/retrofe/RetroFE/Source/Control/UserInput.cpp: In member function ‘bool UserInput::update(SDL_Event&)’:
/home/pi/retrofe/RetroFE/Source/Control/UserInput.cpp:302:72: error: ‘SDL_JoystickFromInstanceID’ was not declared in this scope
         SDL_JoystickClose( SDL_JoystickFromInstanceID( e.jdevice.which ) );
                                                                        ^
CMakeFiles/retrofe.dir/build.make:158: recipe for target 'CMakeFiles/retrofe.dir/Control/UserInput.cpp.o' failed
make[2]: *** [CMakeFiles/retrofe.dir/Control/UserInput.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/retrofe.dir/all' failed
make[1]: *** [CMakeFiles/retrofe.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
pi@retropie:~/retrofe $

Seems like the SDL version of RetroPie is out of date; you need 2.0.5 for this feature to work. I had the same issue under Windows where I had to update SDL2. I'd already updated mine in order to compile the latest MAME.

I ran "bash <(curl -s https://bitbucket.org/phulshof/retrofe/raw/default/Scripts/Raspi2/install.sh)" tonight. Doesn't this install SDL2 from source? If so, how can I get a "newer" version?

Update - I see that the script only calls for SDL2 2.0.3 now.

Update 2 - Once I compiled SDL2 2.0.5 I was able to compile the latest RetroFe. The controller issue has been resolved with this RetroFE build. Great work Pieter!

4
Announcements / Re: Pi3 image
« on: July 15, 2017, 08:35:37 AM »
Does anyone have issues with a controller/joystick/gamepad controlling the RetroFE frontend after launching and playing a game? Once I return from playing the first game in RetroFE the gamepad no longer controls RetroFE and only a keyboard works.

Try the latest code; I've hopefully added hot-pluggability, which should also fix this issue.

Having issues with the new build. I haven't had a lot of time to test but here's what I see for now.

Code: [Select]
pi@retropie:~/retrofe $ cmake --build RetroFE/Build
[  2%] Building CXX object CMakeFiles/retrofe.dir/Control/UserInput.cpp.o
/home/pi/retrofe/RetroFE/Source/Control/UserInput.cpp: In member function ‘bool UserInput::update(SDL_Event&)’:
/home/pi/retrofe/RetroFE/Source/Control/UserInput.cpp:302:72: error: ‘SDL_JoystickFromInstanceID’ was not declared in this scope
         SDL_JoystickClose( SDL_JoystickFromInstanceID( e.jdevice.which ) );
                                                                        ^
CMakeFiles/retrofe.dir/build.make:158: recipe for target 'CMakeFiles/retrofe.dir/Control/UserInput.cpp.o' failed
make[2]: *** [CMakeFiles/retrofe.dir/Control/UserInput.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/retrofe.dir/all' failed
make[1]: *** [CMakeFiles/retrofe.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
pi@retropie:~/retrofe $

5
Announcements / Re: Pi3 image
« on: July 10, 2017, 08:27:08 AM »
Does anyone have issues with a controller/joystick/gamepad controlling the RetroFE frontend after launching and playing a game? Once I return from playing the first game in RetroFE the gamepad no longer controls RetroFE and only a keyboard works.

6
Announcements / Re: Pi3 image
« on: July 07, 2017, 08:52:43 AM »
It's better but still runs 100% CPU with the default Aeon Nox. I still see a reduced CPU usage when using specific gstreamer packages vs. the gstreamer full compile.

@Pieter - Did you determine which specific gstreamer package(s) you are using? Are you confident that the gstreamer install isn't a factor?

7
Announcements / Re: Pi3 image
« on: June 29, 2017, 08:37:53 AM »
Ok, that's odd. I just did a small test, but RetroFE 0.8.9 (with the fixes to properly launch emulators) is a LOT slower with video than e.g. 0.8.6. Did you notice a strong drop in performance as well? This may just be a general drop in performance that's causing the video to run slower.

I personally can't say. Other than your most recent release (or much older releases), the games wouldn't launch so I didn't use RetroFE for a period of time on the Pi. I do notice a difference of the latest RetroFE running with the old gstreamer install requirements vs a "sudo apt-get install gstreamer1.0". I only noticed this since I did a forklift move (picked up the new install folder and moved over to an older RetroFE build but current with RetroPie). There's a performance difference for certain. That's why I suspected the gstreamer packages as being part of the performance hit with the videos.

8
Announcements / Re: Pi3 image
« on: June 26, 2017, 06:41:38 AM »
So I got gstreamer1.0 installed.  Got it installed. I am testing my theme RetroSpin - Static 16x9.  I added Atari 7800 just to test.  I need to play with it more but videos are not playing at all atm.

my path to them in my setup is here:  /home/pi/RetroFE/collections/Atari 7800/medium_artwork/video

The Atari 7800 Settings.conf has media.video path :  media.video           = %BASE_MEDIA_PATH%\%ITEM_COLLECTION_NAME%\medium_artwork\video^M

The main settings.conf has VideoEnable = yes

So not sure what gives on that.

Seems kind of pokey still since the last time I played with it.  Like everything is half speed.

Boxes and carts slide on and off slower.  Wheel is slower.  Maybe the videos are playing and they are just off the screen, maybe I will disable videos and see if it speeds up next.  Thanks

This might be my fault with bad advice. I haven't been able to test yet but I think that the full gstreamer1.0 package might be the issue. I think this should be a smaller subset of it or a plugin. This is a difference between a build I have working decently and a build that's pretty slow.

@Pieter - which specific gstreamer package(s) are you using?

9
Announcements / Re: Pi3 image
« on: June 25, 2017, 07:36:36 AM »
I'd welcome a copy; would save me some work. 😀

Sent from my SM-G920F using Tapatalk

This can be done a few ways. It's just a matter of preference. Since my build is designed to run multiple FEs using a RetroPie base I like to put the scripts and artwork in the same place as the roms for any system (/home/pi/RetroPie/roms). This keeps it standardized and easy for me to know where everything is located. If you plan to only use RetroFE you might opt to place these things within the RetroFE structure.

That being said, this is how I'm doing it
Code: [Select]
cd <retrofe_directory>
nano retrofe_setup.sh

add this to the file and save it
Code: [Select]
mkdir /home/pi/RetroPie/roms/setup
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/audiosettings.rp >> "/home/pi/RetroPie/roms/setup/Audio Settings.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/bluetooth.rp >> /home/pi/RetroPie/roms/setup/Bluetooth.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/configedit.rp >> "/home/pi/RetroPie/roms/setup/Configuration Editor.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/wifi.rp >> "/home/pi/RetroPie/roms/setup/Configure Wifi.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/filemanager.rp >> "/home/pi/RetroPie/roms/setup/File Manager.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/raspiconfig.rp >> "/home/pi/RetroPie/roms/setup/Raspberry Pie Setup.sh"
echo sudo reboot >> /home/pi/RetroPie/roms/setup/Reboot.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/retroarch.rp >> "/home/pi/RetroPie/roms/setup/Retroarch Setup.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/retronetplay.rp >> "/home/pi/RetroPie/roms/setup/Retroarch Netplay.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/rpsetup.rp >> "/home/pi/RetroPie/roms/setup/RetroPie Setup.sh"
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/runcommand.rp >> /home/pi/RetroPie/roms/setup/RunCommand.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/showip.rp >> "/home/pi/RetroPie/roms/setup/Show IP Address.sh"
echo sudo poweroff >> /home/pi/RetroPie/roms/setup/Shutdown.sh
echo sudo /home/pi/RetroPie-Setup/retropie_packages.sh retropiemenu launch /home/pi/RetroPie/retropiemenu/splashscreen.rp >> "/home/pi/RetroPie/roms/setup/Splash Screen.sh"
mkdir /home/pi/RetroPie/roms/setup/boxart
mkdir /home/pi/RetroPie/roms/setup/cartart
mkdir /home/pi/RetroPie/roms/setup/marquee
mkdir /home/pi/RetroPie/roms/setup/snap
mkdir /home/pi/RetroPie/roms/setup/video
mkdir /home/pi/RetroPie/roms/setup/wheel
cp /home/pi/RetroPie/retropiemenu/icons/audiosettings.png "/home/pi/RetroPie/roms/setup/snap/Audio Settings.png"
cp /home/pi/RetroPie/retropiemenu/icons/bluetooth.png /home/pi/RetroPie/roms/setup/snap/Bluetooth.png
cp /home/pi/RetroPie/retropiemenu/icons/configedit.png "/home/pi/RetroPie/roms/setup/snap/Configuration Editor.png"
cp /home/pi/RetroPie/retropiemenu/icons/wifi.png "/home/pi/RetroPie/roms/setup/snap/Configure Wifi.png"
cp /home/pi/RetroPie/retropiemenu/icons/filemanager.png "/home/pi/RetroPie/roms/setup/snap/File Manager.png"
cp /home/pi/RetroPie/retropiemenu/icons/raspiconfig.png "/home/pi/RetroPie/roms/setup/snap/Raspberry Pie Setup.png"
cp /home/pi/RetroPie/retropiemenu/icons/retroarch.png "/home/pi/RetroPie/roms/setup/snap/Retroarch Setup.png"
cp /home/pi/RetroPie/retropiemenu/icons/retronetplay.png "/home/pi/RetroPie/roms/setup/snap/Retroarch Netplay.png"
cp /home/pi/RetroPie/retropiemenu/icons/rpsetup.png "/home/pi/RetroPie/roms/setup/snap/RetroPie Setup.png"
cp /home/pi/RetroPie/retropiemenu/icons/runcommand.png /home/pi/RetroPie/roms/setup/snap/RunCommand.png
cp /home/pi/RetroPie/retropiemenu/icons/showip.png "/home/pi/RetroPie/roms/setup/snap/Show IP Address.png"
cp /home/pi/RetroPie/retropiemenu/icons/splashscreen.png "/home/pi/RetroPie/roms/setup/snap/Splash Screen.png"
chmod +x /home/pi/RetroPie/roms/setup/*.sh
cat >> launchers/Setup.conf << EOF
executable = /bin/bash
arguments = "%ITEM_FILEPATH%"
EOF
mkdir collections/Setup
cat >> collections/Setup/settings.conf << EOF
# Uncomment and edit the following line to use a different ROM path.
list.path = /home/pi/RetroPie/roms/setup
list.includeMissingItems = false
list.extensions = sh
list.menuSort = yes

launcher = Setup

media.screenshot    = /home/pi/RetroPie/roms/setup/snap
media.screentitle   = /home/pi/RetroPie/roms/setup/title
media.artwork_back  = /home/pi/RetroPie/roms/setup/boxart_back
media.artwork_front = /home/pi/RetroPie/roms/setup/boxart
media.logo          = /home/pi/RetroPie/roms/setup/wheel
media.medium_back   = /home/pi/RetroPie/roms/setup/cartart_back
media.medium_front  = /home/pi/RetroPie/roms/setup/cartart
media.video         = /home/pi/RetroPie/roms/setup/video
media.story         = /home/pi/RetroPie/roms/setup/story
EOF
sed -i -e '$a\Setup' collections/Main/menu.txt

Code: [Select]
chmod +x retrofe_setup.sh
bash retrofe_setup.sh

This should get it working and give you a little artwork that is included with RetroPie. Obviously you can add more artwork to pretty it up. I borrowed the logo (wheel) artwork for the "Setup" collection from the Attract-Mode Unified layout http://forum.attractmode.org/index.php?topic=1123.msg8202#msg8202

P.S. This is the script I shared on page three but modified for RetroFE instead of Attract-Mode. I test it and it works on a basic RetroPie build with RetroFE added.

10
Announcements / Re: Pi3 image
« on: June 24, 2017, 08:51:09 AM »
I have all the RetroPie setup scripts running in RetroFE. This means you won't need to run ES when using RetroFE to make changes or updates. I also have Kodi launching from RetroFE.

I have everything on the Pi overclocked and it runs pretty well using the RAW theme. With videos enabled RetroFE is running around 60% CPU. I think that this can be tuned to make for a great Pi FE.

11
Announcements / Re: Pi3 image
« on: June 24, 2017, 05:29:04 AM »
Ok, so videos only take 20%. How much impact does the theme have?

Sent from my SM-G920F using Tapatalk

I've been playing around with my personal retropie build. I'm now using the "RAW" theme and it's pretty responsive. With videos turned on it uses 100% of the CPU. When I turn off the videos the same theme drops to only 20% CPU usage.

Retrofe video handling is extremely taxing on the Pi. The same videos play fine with little CPU change on other FEs on the Pi.

12
Announcements / Re: Pi3 image
« on: June 24, 2017, 04:39:54 AM »
So sorry if this seems like a linux n00b question.  I ran the command:

bash <(curl -s https://bitbucket.org/phulshof/retrofe/raw/default/Scripts/Raspi2/install.sh)

but i am afraid I do not have a retrofe program to run.  I type

./retrofe/Artifacts/linux/RetroFE/retrofe to start and doesnt exits.  Checked the folder too.

./root/retrofe/Artifacts/linux/RetroFE/retrofe is the path on my pi.  Anyway help is appreciated I am close to testing.

You need gstreamer1.0 to compile retrofe.

You can run this before the retrofe install command you mention above
Code: [Select]
sudo apt-get install gstreamer1.0

13
Announcements / Re: Pi3 image
« on: June 23, 2017, 10:35:28 PM »
Ok, so videos only take 20%. How much impact does the theme have?

Sent from my SM-G920F using Tapatalk

I updated my post above. On a basic build the CPU didn't drop.

Themes don't change the CPU use very much but do make a big difference using the FE.

14
Announcements / Re: Pi3 image
« on: June 23, 2017, 10:27:52 PM »
Before I spend a lot of time looking into ffmpeg (a library I have little experience with), could you check if the 100% CPU is also used when video has been turned off? In other words: is it the video playing that causes this or is there a different cause for it?

With regards to videos not playing on a specific build: that's probably a decoder issue. I'm not sure which decoder those specific videos use...

On my personal RetroPie build turning off the videos drops the CPU to around 80%. On a basic RetroPie build the CPU is stays at 100% even with the videos off.

All my videos are from emumovies. On the Pi I use the SD videos (because of space and performance). The videos use the h264 codec.

15
Announcements / Re: Pi3 image
« on: June 23, 2017, 08:43:36 AM »
Just a quick update.

When I tested above I built a new SD card. I installed RetroPie from the 4.2 image, updated raspi-config, updated retropie, tried to install retrofe (failed), installed gstreamer1.0, deleted and reinstalled retrofe. The builtin videos (Arcade and Genesis) played ok but my videos didn't (they work fine in ES or AM).

I have copied off the retrofe folder from the new SD card and moved it to a different SD card with my personal retropie build. My videos do play ok here. I have tested the runcommand and non-runcommand launchers and both work on my build. I have to say retrofe works much better on my personal build than on a new build (this could be just video related).

On both builds retrofe maxes out the CPU when running the FE. In AM using ffmepg to hardware decode videos makes a huge difference in CPU use and Pi temp (about 20 degrees celsius). I don't know if this is an option for retrofe but when you're dealing with a Pi every little bit of CPU offloading helps.

For what it's worth, my Pi build is at RetroPie 4.2.3. The latest is at Retropie 4.2.8. I'm updating my image to see if it makes a difference but I doubt it will since my image is was updated less than 2 months ago.

Pages: [1] 2 3