• Launching chromium from emulationstation

    4
    0 Votes
    4 Posts
    7k Views
    W

    @carlosricardocm said in Launching chromium from emulationstation:

    I get the following message:
    Failed to put Xlib into threaded mode.
    Gtk: cannot open display

    In order to fix that, you need to follow this tutorial.
    In the end, I only had to run the two installs below:

    sudo apt-get install xinit sudo apt-get install matchbox-window-manager

    I have a script called chromium[dot]sh in RetroPie/roms/chromium which contains the following line inside:
    chromium-browser

    After installing xinit and matchbox-window-manager, I've modified my Chromium launcher script exactly as instructed in the aforementioned tutorial.

    Also I added the following to the file es_sytems.cfg located in /opt/retropie/config/all/emulationstation/es_system
    <system> <fullname>Chromium</fullname> <name>chromium</name> <path>~/RetroPie/roms/ chromium</path> <extension>.sh .SH</extension> <command>bash %ROM%</command> <platform>chromium</platform> </system>

    In my file, I've got:

    <system> <name>chromium</name> <fullname>Chromium Web Browser</fullname> <path>/home/pi/RetroPie/roms/chromium</path> <extension>.sh .SH</extension> <command>startx %ROM% > /dev/null 2>&1</command> <platform>chromium</platform> <theme>chromium</theme> </system>

    Note the <command> line: I've entered startxfollowed by the %ROM% parameter (which will get the script name) then an extra > /dev/null 2>&1 (this is to omit the output from the script commands, keeping a clean console).

    Update:
    Initially I had xinit in the command line to invoke the script from a window manager environment. A couple days after, while managing modules and plugins (throwing apt-gets at random, for no reason whatsoever), I ended up somehow breaking xinit as in it would no longer start the X-Server. So I found a workaround by replacing xinit with startx in the <command> line, and all was good again.

  • Joy2key causing controller issues

    36
    0 Votes
    36 Posts
    6k Views
    BiZzAr721B

    Awesome news! Thank you!

  • crt-pi shader not working on odroid xu4?

    2
    0 Votes
    2 Posts
    1k Views
    F

    Sorry to reply to such and old thread, but did you get it working? Trying to use crt-pi to and crt-pi vertical but it doesnt work. I have seperate config files for every arcade game, that change screen size and if its vertical or not. I copied from my retropie on raspberry pi, but crt-pi will not work. Load presents in retroarch menu doesnt work either.

  • Display switch from Pixel to tty1 after manual installation

    11
    0 Votes
    11 Posts
    4k Views
    A

    @Rascas i have the same problem...

    i run this :

    sudo sed -i 's/fbi -T 2/fbi -T 1/g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh

    And works 100%..

    but ...What does that line of code do?

    ty.

  • Newbie Stupid Question - Right Trigger

    2
    0 Votes
    2 Posts
    138 Views
    mituM

    @Garavar You should be able to un-bind that key from the said menu (Esc or delete) and assign the Config menu to Tab instead of right joystick.
    What emulator/RetroPie version are you using ? Add more info as requested in https://retropie.org.uk/forum/topic/3/read-this-first.

  • Retrode 2 Extraction files to Retropie

    1
    0 Votes
    1 Posts
    377 Views
    No one has replied
  • 0 Votes
    3 Posts
    605 Views
    G

    Thank you so much!

  • 0 Votes
    4 Posts
    1k Views
    mituM

    @ikarampa Is is a post that's 13 months old, opened for PPSSPP on a Raspberry Pi. You might have better results posting on the LibreElec forums to ask for advice.

  • 0 Votes
    2 Posts
    222 Views
    mituM

    Please add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first to your post. What RetroPie version, image used, hard-disk, etc. ?

  • 7 Votes
    1 Posts
    347 Views
    No one has replied
  • PSX games not booting

    13
    0 Votes
    13 Posts
    9k Views
    X

    @BJRetro I think I did the lr. But when I went to update, I could not find the binary option. Only from source. I'm also not sure what the difference is :s
    Thanks for the tip, this might be it. Will look up how to do it.

  • 0 Votes
    3 Posts
    391 Views
    A

    Thanx!

  • RetroPie on Odroid C2 not working

    12
    0 Votes
    12 Posts
    2k Views
    H

    So glad i hit upon this thread.
    I had a similiar use case as that of OP's. Didn't find Rp3 performant enough, so i have odroid c2 running librelec. But now i want to run retroarch with kodi on another microSd on C2. I did similiar permuations with the images but just like as OP's they all failed.
    If anyone got it working on c2, it would be greatly appreciated if they can contribute in updating the wiki or let know even if they were able to do so, so that investing time might be worthwhile. The "retropie-4-x-on-odroid-c2" link is helpfull but can't fully grasp if some steps are obsolete or still required.

    @Phil333 did you pursue this further or dropped it for now?

    thanks for this thread tough!

  • 0 Votes
    5 Posts
    2k Views
    EfriimE

    @cacotigon
    Top time is something like that, Kirby Samurai is a minigame, randomly the screen flashes: !!! and you press a button as fast as you can to respond. So long as you aren't cheating, and you give yourself enough chances, and you're not impaired, if you can't beat your top score; then you have a good personal idea of the input lag.
    So you get (input lag)+(legitimate human factor)=(top time)
    My best time on a real nintendo was 8,11 average, 13-8,11 = "5,2" the input lag and time measurements, might be per frame, I dont know, 5,2x .06 = 300,120ms { + runahead 1 frame } = 360,180ms. You can divide that result by two because we are experiencing an input and an output lag: ~90ms does that sound about right?

    Run-Ahead didn't work as well in kirby-superstar, more framedrops, I forgot what I did to get it up to speed, maybe it was a The second run-ahead, but it kind of seemed contradictory, so I thought it was a fluke but I did get a higher score.

    Run-ahead on SMW I thought it felt a lot better when I got it up to speed, v-sync needed to be on or else scrolling looked terrible in one trial. I overclocked and I adjusted the audio latency, and used different cores but I wasn't compiling my test results so I don't know.

    I'm back at it again though, now that I've stabilized my overclock. I may just browse the web forums and raspberry pi stuff for a while.

    EDIT: Oh yeah! you can read my edit history on my previous posts, I tried to compile as much of it as I could but it is pretty much just as disorganized and I was embarrassed as I can just go on and on as I don't know what I'm doing.
    EDIT2: Actually I can't figure out how to read edit history.

  • 0 Votes
    14 Posts
    619 Views
    BuZzB

    @herb_fargus said in My cat just puke(hairball) on my raspberry pi 3b+ and it died...:

    Stick it in a bag of rice. Good as new!

    Not sure the cat will like that!

  • Copy Artwork On Game Launch

    2
    0 Votes
    2 Posts
    75 Views
    mituM

    @basis When a game is started, it executes the runcommand-onstart script, you can use it to get the media path and copy it wherever you need. https://retropie.org.uk/docs/Runcommand/#runcommand-onstart-and-runcommand-onend-scripts.

  • RetroArch 1.7.6 control labels

    9
    1 Votes
    9 Posts
    929 Views
    pjftP

    @markwkidd thanks.

    Actually, it might be something that we can solve on our end on autoconfig.

    Adding the following to the mapping on /opt/retropie/configs/all/retroarch-joypads solved it:

    input_b_btn_label = "Cross (down)" input_y_btn_label = "Square (left)" input_select_btn_label = "Select" input_start_btn_label = "Start" input_up_btn_label = "D-Pad Up" input_down_btn_label = "D-Pad Down" input_left_btn_label = "D-Pad Left" input_right_btn_label = "D-Pad Right" input_a_btn_label = "Circle (right)" input_x_btn_label = "Triangle (up)" input_l_btn_label = "L1" input_r_btn_label = "R1" input_l2_btn_label = "L2" input_r2_btn_label = "R2" input_l3_btn_label = "L3" input_r3_btn_label = "R3" input_l_x_plus_axis_label = "Left Analog Right" input_l_x_minus_axis_label = "Left Analog Left" input_l_y_plus_axis_label = "Left Analog Down" input_l_y_minus_axis_label = "Left Analog Up" input_r_x_plus_axis_label = "Right Analog Right" input_r_x_minus_axis_label = "Right Analog Left" input_r_y_plus_axis_label = "Right Analog Down" input_r_y_minus_axis_label = "Right Analog Up" input_menu_toggle_btn_label = "Home"

    There's a repository with lots of these mappings here, following @mitu 's thread (thank you!):

    https://github.com/libretro/retroarch-joypad-autoconfig/tree/master/udev

    So it's probably something that's RetroPie-specific for now.

    Thanks both.

  • How to use Xbox One controller

    3
    0 Votes
    3 Posts
    529 Views
    T

    @tikimojo You could try using this video:


    Assuming of course your xbox controller is model 1708

  • [Solved] Lr-mess (not compile?) and GX4000

    3
    0 Votes
    3 Posts
    602 Views
    D

    @mitu Wow 30 hours... brutal!
    Thx for all the info, that's all that i needed, i considered thread solved.

  • Cant install cores Mame2003plus & Mame2016

    31
    0 Votes
    31 Posts
    4k Views
    Stuart2773S

    @mitu

    thanks for the help i will give that a try

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.