• Missing audio in Video Screensaver

    2
    0 Votes
    2 Posts
    505 Views
    V

    In case anyone googles and finds this ... I did get to the bottom of it by looking into the source code (by source code I mean the RetroPie ES version, stable branch)

    You can see here in VideoPlayerComponent.cpp where it launches omxplayer with a bunch of args:

    VideoPlayerComponent.cpp:

    // Run the omxplayer binary execve("/usr/bin/omxplayer.bin", (char**)argv, (char**)env);

    Now if you fire up ES, launch the screensaver, and take a look in the process list while its running (in ssh session, ps -ef) you'll actually see all those args, something like this in the process list:

    pi 2143 1 7 01:16 ? 00:00:08 --layer 10010 --loop --no-osd --aspect-mode stretch --vol -3885 -o alsa --win 0,0,800,480 --orientation 0 /home/pi/RetroPie/roms/neogeo/media/videos/trally.mp4

    What I noticed is the volume is set to -3885. Now if I run that on the command line to simulate the screensaver I can play with the volume. For omxplayer, volume 0 should be 100% as it's measured in millibels according to the omxplayer help.

    So I quit es and ran this:

    omxplayer.bin --layer 10010 --loop --no-osd --aspect-mode stretch -o alsa --vol -0 --win 0,0,800,480 --orientation 0 /home/pi/RetroPie/roms/neogeo/media/videos/trally.mp4

    ok great I can hear it now! I researched %vol to db and the formula is db = 20*log(%vol) and that checks out because I had es at roughly 65% volume which equates to about -3742 millibels.

    So I went back into es and set the volume to 100%, and now I can finally hear it on a default RetroPie install. The issue is the drop off is really steep (must be some bug in omxplayer on pi, that their millibels to volume curve is off) because if you set the volume level at say, 60% you won't hear much of anything from the speakers. I think this is also compounded by the fact that when you're playing around with the audio settings in es, many times it resets the volume back to zero because it's trying to sync up the level with alsa.

    Anyway, hope this helps someone get their head around the screensaver audio.

    p.s. also, in es audio settings, make sure you set the "omx player audio device" to alsa (or whatever works on your pi, or in your command line experiments), as that drives the argument sent into omxplayer above.

  • displaying images to hdmi1 using fbi or fim

    2
    0 Votes
    2 Posts
    503 Views
    J

    Well I finally found another image viewer that lets me specify something to display on the second hdmi port: vlc!

    But although it worked fine on FKMS, nothing showed up when I ran it with KMS... not sure if I’m doing something wrong or if that is expected.

  • 0 Votes
    14 Posts
    2k Views
    M

    @roslof
    I have the exact same problem but I can't find mame 2016 folder under the bios folder on my image-virtualman 128gb arcade but it must be there as it is an option to use to open the rom file!
    Any idea why, or where it could be??

    M

  • This topic is deleted!

    0
    0 Votes
    0 Posts
    10 Views
    No one has replied
  • Fixing Screen Tearing issues on RPI4

    43
    0 Votes
    43 Posts
    21k Views
    dankcushionsD

    @greenhawk84 to be clear they’re never going to fix dispmanx/omx support. these utilise features of the original closed source gpu firmware that they have replaced with an open, more standard linux solution. it’s not all bad news, though, as there’s typically an alternative solution (eg vlc rather than omx, but you may have to re-encode/replace your videos).

  • 0 Votes
    3 Posts
    2k Views
    quicksilverQ

    Parallel-n64 barely works on raspberry pi and it looks like it's having segfault issues again. I would try out lr-mupen64plus-next if I were you as it is much more compatible with raspberry pi and it also offers 64DD support iirc.

  • Games not starting, joy2key error - I think

    6
    0 Votes
    6 Posts
    646 Views
    G

    @mitu Thanks again for your help.
    It appears to be every Emulator, nothing is working now. Will start again and hope it works.

  • volume control failed to find mixer elements

    1
    0 Votes
    1 Posts
    93 Views
    No one has replied
  • Cant update, retropie update error connect.

    3
    0 Votes
    3 Posts
    658 Views
    mituM

    Update your Retropie-Setup script - make sure you're using the latest version - and see if you get the same issue during update.

  • Spintrak, iPac Ultimate setup help - SOLVED

    11
    0 Votes
    11 Posts
    2k Views
    M

    @citaria that's great 👍

  • Pixel Desktop on Retropie CRT Build

    6
    0 Votes
    6 Posts
    923 Views
    G

    @uberlumby I have one img for CRT and composite. If possible Go to my Chanel on YouTube, have link to download.
    Chanel name: Granny Games.

  • White and grey screen when opening emulationstation

    6
    0 Votes
    6 Posts
    845 Views
    B

    @bmjohnsn said in White and grey screen when opening emulationstation:

    @mitu said in White and grey screen when opening emulationstation:

    @bmjohnsn said in White and grey screen when opening emulationstation:

    lvl2: EmulationStation - v2.0.1a, built Mar 4 2021 - 19:57:50

    That's not the RetroPie version. You may be installing it through RetroPie-Setup, but you're starting another version.
    RetroPie maintains a fork of the original EmulationStation, which is installed in /opt/retropie/supplementary.

    How exactly are you starting EmulationStation ? When installed via RetroPie-Setup, the main binary is in /opt/retropie/supplementary/emulationstation/ and an emulationstation script is copied in /usr/bin. Check if the script points to the correct EmulationStation binary.

    You are right. When I run EmulationStation from the /usr/bin folder, it runs correctly.

    That poses another question... When I call 'emulationstation' in the terminal, how can I get it to point to the right script?

    Actually, I found the version that was running incorrectly in /usr/local/bin.

    Upon deleting emulationstation from this folder, all works well.

    Thank you for your help!

  • Any tweaks to lr-mupen64plus to improve graphics without loss of of fps

    Moved
    1
    0 Votes
    1 Posts
    302 Views
    No one has replied
  • question about the raspberry pi

    3
    0 Votes
    3 Posts
    220 Views
    BuZzB

    Maybe I read it wrong first time - it does look like you mean running the monitor from the RPI? It's possible for a small screen if it's 5v and draws 500mA or less (usb2). But I'm not sure that's a good way to do it. What are you trying to achieve by wanting to do it this way?

    Actually you can probably draw more (see "FAQs - Raspberry Pi Documentation" https://www.raspberrypi.org/documentation/faqs/#pi-power) if the PSU is up for it, but powering a monitor is best done separately really.

  • What is a Wheel?

    3
    0 Votes
    3 Posts
    786 Views
    sirhenrythe5thS

    @lostless Hyperspin too

  • Problem with extracting cheat file zip in retroarch

    2
    0 Votes
    2 Posts
    902 Views
    mituM

    Please add some info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

    You mean you downloaded the cheats through RetroArch's menu and the unpacking fails after download ?

  • Screensaver needed!

    Moved
    1
    0 Votes
    1 Posts
    310 Views
    No one has replied
  • Overrides suddenly stop working

    2
    0 Votes
    2 Posts
    514 Views
    dankcushionsD

    @dominodomino please ensure you fill out all of https://retropie.org.uk/forum/topic/3/read-this-first when requesting support.

    a verbose log for when it works vs when it doesn’t would be useful. note that shaders aren’t save via overrides: https://retropie.org.uk/docs/Shaders-and-Smoothing/#installation

  • Reteopie - Amiga - 8bitdo M30

    4
    0 Votes
    4 Posts
    703 Views
    mituM

    @dch It seems you're using an older RetroPie version and from what I see in the Docs, UAE4ALL doesn't seems to properly support joysticks.
    Try to update to a more recent RetroPie version and use Amiberry. If your gamepad works in other games/systems, Amiberry should be able to read the configuration created by RetroPie and use your gamepad.

  • Changelog after update?

    2
    0 Votes
    2 Posts
    223 Views
    mituM

    In $HOME/RetroPie-Setup/logs there are logs for each update you've made through the setup script, including what packages have been updated.

Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.