• 0 Votes
    6 Posts
    1k Views
    mituM

    @depawlur said in Ubuntu 20.04 EmulationStation crash after turning off DS4/PS4 controller:

    How do I properly install it?
    also what package is that?
    libSDL or libSDL-dev?
    also is it libSDL or libsdl2?

    The package in the Ubuntu version you're using does not have the bug fixed. I see that Ubuntu 21.04 (the upcoming version) will have a newer version with the fix I was mentioning before.
    You can install it from source, but if it's not something you've done before, I'd say wait for the new Ubuntu version. libsdl2 uses the traditional ./configure; make; make install installation process, common for many open source projects.

    You should look into why your controller disconnects - maybe there's an issue with it or the connection to your system.

    I followed instructions here, tried to install from ubuntu repo as well as compiled it, but same effect for me.

    We don't have instructions for building SDL, if you're referring to the RetroPie install instructions, then I don't think it's any difference how you make the installatio - on a PC the RetroPie packages are always installed from source.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • 0 Votes
    1 Posts
    628 Views
    No one has replied
  • 1 Votes
    8 Posts
    1k Views
    N

    Hello, i'm sad to report tha still in retropie 4.7.11, with kernel 5.10 the shanwan ps3 gamepads still does not pair, though are wworking if plugged via usb cable. Tried both with the shanwan clone driver and custombluez provided in the repos.

    So aside downgrade there is no other solution? If so, we are force to wait the fix to be uploaded to raspbian; the script provided by psyke83 is here.

  • lr-DeSmuME problrem

    6
    0 Votes
    6 Posts
    924 Views
    saku00S

    @mitu works, thanks!

  • lr-vice, no fire button

    2
    0 Votes
    2 Posts
    483 Views
    jamrom2J

    @amplifuzz did you try and remap or check the mapping in the Retroarch menu?

    Pull up the menu depending on your controller but SNES style controllers is select+X. Then Quick Menu - controls - input section. See if you can remap it there or change the mapping to fit your controller.

    Also...remember C64 games also have joystick port settings to switch. But sound like uiu already have that covered.

  • Raspberry Pi 4 - Forced VSYNC?!

    14
    0 Votes
    14 Posts
    3k Views
    F

    @mitu Built SDL 2.0.14 with

    --disable-video-rpi --enable-video-kmsdrm

    The FPS problem still exists with 5.4 kernel, or newer one after full SO upgrade (in this case with fkms or kms), and in this way when emulator is closed EmulationStation is frozen.

    Anyway I found a solution, if VERTICAL SYNC is enabled also on emulator (I added a command line parameter for this) also Raspberry Pi v4 version is ok.

    If you don't have any other idea I'll stop the investigation, I don't love VSYNC because if a user has a 50 Hz monitor all games with nominal 60 FPS framerate runs at 50 FPS.

    Really appreciate your help

  • Saving Games not working?

    3
    0 Votes
    3 Posts
    713 Views
    YFZdudeY

    @stumcbill
    The only two things I can think of are

    Drive is full File permissions issue

    #1 is easy enough to check, #2 shouldn't be an issue as long as your USB drive is using the FAT32 file system.

    When you say you manually save, if you mean through the game's normal save feature, you could try using a save state as an alternative. If a save state worked then it likely would mean that none of the above applies and it is something else.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • SD card image problem

    3
    0 Votes
    3 Posts
    516 Views
    B

    @ashpool Ok thank you! I was worried there

  • Help with button mapping / Pi inside A1up

    1
    0 Votes
    1 Posts
    351 Views
    No one has replied
  • 0 Votes
    4 Posts
    698 Views
    M

    @lostless OK, so I updated all packages, and now it's fixed.

  • Automatic runing command at start. How to?

    5
    0 Votes
    5 Posts
    963 Views
    I

    @mitu оООО!
    Oh thank you! on the hundredth attempt, it still worked itself

    -magic!?))
  • NDS-i on retropie

    2
    0 Votes
    2 Posts
    423 Views
    SuperFromNDS

    @saku00 Sadly, I don't think it is. The only emulator I know of that even supports the DS-i is melonDS, which even then is still a WIP and not available on RetroPie at the moment.

  • Bilinear vs Texture Filtering?

    3
    0 Votes
    3 Posts
    1k Views
    A

    @dankcushions Thanks. I prefer shaders, as the zFast gives you a nice touch of bilinear with scanlines. I found the curved version was slowing things down, but when I went with standard, it was fine. I guess that little extra processing step to warp the edges was just a little too much. When I remove that, things work pretty well (and look great).

  • Skyscraper messing up game names

    11
    0 Votes
    11 Posts
    1k Views
    T

    @sleve_mcdichael thanks for taking the time to explain this :)

  • Where do I go from here?

    3
    0 Votes
    3 Posts
    525 Views
    S

    @sleve_mcdichael That seems to have sorted it, thanks very much :)

  • dolphin 5.0 showing up in foreground

    5
    0 Votes
    5 Posts
    430 Views
    F

    @mitu Okay sorry for wasting your time, I reinstalled it and it fixed the major issue that the diagonals were really slow. I didn't think it was a game profile issue cause it worked fine on dolphin 5.0. I'm not sure how it fixed it though.

  • Skyscraper not showing videos

    3
    0 Votes
    3 Posts
    1k Views
    S

    @drdave79
    You've already enabled OMX player, right? First guess then would be the videos have downloaded, but are in another format like yuv444p while they need to be in yuv420p (or at least that is one that is known to work.) If so, there's a simple script that can convert them for you when downloaded.

    Check first: locate a game that doesn't show a video. Navigate to where the video should be, at:

    /home/pi/.emulationstation/downloaded_media/<platform>/videos/<romname>.mp4

    If the file exists, check it out with ffprobe (may require sudo apt install ffmpeg first):

    ffprobe "filename.mp4" 2>&1 | grep Stream

    Output will look something like:

    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv444p, 360x480 [SAR 1:1 DAR 3:4], 349 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default) Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 24000 Hz, stereo, fltp, 64 kb/s (default)

    See in the Video stream where it says yuv444p, 360x480? That's bad, we want it to say yuv420p instead.

    Sounds like you? Good. This post on GitHub discusses the solution. TL;DR version after:

    https://github.com/muldjord/skyscraper/issues/222

    The quick version:

    Edit your /home/pi/.skyscraper/config.ini to include the line:

    videoConvertCommand="videoconvert.sh %i %o"

    Script provided by jgcobra on the GitHub thread:

    #! /bin/bash # Script provided by jgcobra echo Converting video... echo Source: $1 echo Dest: $2 # Check if the video is already in 420p format c=$(ffprobe "$1" 2>&1 | grep -c yuv420p) if [ "$c" -eq 0 ] then echo Incorrect source video format detected. Converting video to 420p format... ffmpeg -i "$1" -y -pix_fmt yuv420p -acodec copy -strict experimental "$2" else echo Video is in correct 420p format. Copying as is... cp "$1" "$2" fi

    Place the script in your system path or in /home/pi/.skyscraper and make it executable with chmod +x videoconvert.sh. If you want to see the script's output when run by Skyscraper, I think you need to put verbosity="3" in your config.ini.

    I think this check/conversion only happens on initial caching of the video, so re-scrape your roms with --cache refresh to force a re-download and, for maximum efficiency, you can use --flags skipexistingcovers and similar to avoid unnecessarily redownloading those media.

    This solved probably 90% of my problem videos. There were a handful that didn't take and I had to do a little extra fiddling, but this should get you started.

    Don't forget to rebuild your gamelist.

  • Retropie Reading P1 & P2 as 1 Keyboard

    2

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.