RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Help: Compiling Chiaki - PS4 remote play

    Scheduled Pinned Locked Moved Help and Support
    chiakips4remote playretropiecompilation
    47 Posts 12 Posters 8.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      domb84
      last edited by domb84

      @zerojay I fixed this in the end and used the original source. I've created a bash script to compile it and add it to RetroPie as a port

      Compile chiaki for RetroPie

      1 Reply Last reply Reply Quote 0
      • D
        domb84
        last edited by

        @domb84 finally resolved the audio issues for this as well. You need to revert to the legacy audio options in RetroPie, ie pulseaudio.

        Final script here works.

        https://dominicbird.com/knowledge-base-2/emulation/compile-chiaki-and-add-as-a-custom-port-to-retropie

        RedMarsBlueMoonR S 2 Replies Last reply Reply Quote 0
        • RedMarsBlueMoonR
          RedMarsBlueMoon @domb84
          last edited by RedMarsBlueMoon

          Just a note that I'm not having any trouble with the audio after upgrading my system to the new PulseAudio default.
          So for me it was working with both Alsa previously and now PulseAudio.

          D 1 Reply Last reply Reply Quote 0
          • D
            domb84 @RedMarsBlueMoon
            last edited by domb84

            @redmarsbluemoon I've put all the info in the script and I did file a bug with logs but I just ended up configuring pulseaudio. Not sure what the issue with alsa is.

            https://github.com/thestr4ng3r/chiaki/issues/397

            Do you have any information on hot keys etc? There's no docs that I can find and since I've made a custom port I can launch it but can't quit unless i just 'killall chaiki' via ssh.

            Also, I'm not sure if there are supposed to be any menus within chiaki, but nothing renders, I just get black boxes if I right click. You can't connect to a session using a controller either (works great in the session). So I have to have at least a mouse attached to the Pi which I don't normally.

            RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
            • RedMarsBlueMoonR
              RedMarsBlueMoon @domb84
              last edited by RedMarsBlueMoon

              @domb84

              With the Audio it looks like you just went with regular apt installed Qt5? Iv'e had to install and build against that Qt5.12 version to get the audio working well. (I got no choices in the Audio select menu that I added otherwise)
              Although someone said it was working with default Qt on their Pi Zero. I haven't though so far but maybe I've just not got all the right Qt packages. There's so many different ones.

              In session there shouldn't be any menus as far as I know.
              On Desktop you can use DS4 touchpad as mouse but maybe that's different in your RetroPie setup.

              Seems cool what you've done though! I'll have to try that out some time soon. Ive never heard about the eglfs stuff you're doing.

              Re quitting, on desktop you have to quit both the session launcher (main) Gui and the session for it to fully quit. If you quit just one the other will still stay up.

              We could try to add something to quit maybe but it would have to be something that have no risk of being triggered for other users on other setups. Unless you want to just fork and add it yourself.
              What's that RetroPie hotkey acting as?

              D 1 Reply Last reply Reply Quote 0
              • D
                domb84 @RedMarsBlueMoon
                last edited by

                @redmarsbluemoon retropie hot key does nothing. Should it? And you mention quitting the session and the application. How? There’s no visible menus, hot keys etc. I’m pretty sure something isn’t rendering but apart from windows screen grabs I have no reference.

                Short of quitting the application it runs perfectly. I’m guessing the platform option I’m running is causing menu rendering issues.

                RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
                • RedMarsBlueMoonR
                  RedMarsBlueMoon @domb84
                  last edited by RedMarsBlueMoon

                  @domb84

                  If you look at the video I linked a few posts up you can see how it runs on Desktop for your reference.

                  If you post a video of how it looks when you run maybe there's something I can say? It's hard to know otherwise. I don't really have time to do a experimental RetroPie setup just now.

                  With the Hotkey I mean what does that signal as to RetroPie normally? maybe we can hook that up to chiaki as quit but I'm not sure.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    domb84 @RedMarsBlueMoon
                    last edited by domb84

                    @redmarsbluemoon I’ll try and grab a video later, but sure id love to help get this up and running properly within RetroPie. My build script works fine now, it’s purely setting up a button to quit and controller navigation in the interface.

                    RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
                    • RedMarsBlueMoonR
                      RedMarsBlueMoon @domb84
                      last edited by RedMarsBlueMoon

                      @domb84
                      I suggest you make a 'Feature Request' on the head master issues page,

                      That way it will get general visibility for the full project and there can be discussions about ways to solve things.

                      https://github.com/thestr4ng3r/chiaki/issues

                      A simple phone video showing your issues, or screen grabs with annotations would be helpful to communicate what you are looking for.

                      1 Reply Last reply Reply Quote 0
                      • RedMarsBlueMoonR
                        RedMarsBlueMoon
                        last edited by

                        Chiaki recently went to v2.0 and with that added PS5 support! :D
                        Also the 1080p streaming should now be working!

                        Credits to the main developer!

                        I have updated my repo, https://github.com/Fredrum/chiaki/wiki/Chiaki-for-the-Raspberry-Pi

                        currently in line with the Master which moved to,
                        https://git.sr.ht/~thestr4ng3r/chiaki

                        I'll continue trying to add some options to make it more useable with retropie.
                        Or someone else might do a better job using the chiaki libs.

                        Cheers!

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          b4zyl @RedMarsBlueMoon
                          last edited by

                          @redmarsbluemoon

                          It works like a charm! Sound, 60FPS 1080p, game pads.
                          Thanks for your rpi repo!

                          1 Reply Last reply Reply Quote 0
                          • C
                            CaelThunderwing
                            last edited by

                            just tried this w/ my 4B 4GB model, but only getting now "qt.qpa.screen: QXcbConnection: Could not connect to display"

                            1 Reply Last reply Reply Quote 0
                            • B
                              BobBob
                              last edited by

                              Good morning guys! I am experiencing the same issue as described by CaelThunderwing. Is there something simple I am missing to get gui/chiaki to run successfully? @CaelThunderwing were you able to find a solution? Thank all you guys in advance! This is gonna make my Pi4 8GB RetroPie setup kick @$$!! I am so excited to stream my PS4/5 through it!

                              1 Reply Last reply Reply Quote 0
                              • M
                                Mellao
                                last edited by

                                Same happening to me, no luck on executing chiaki from RetroPie nor the terminal.
                                Always getting:

                                Could not find DRM device!
                                Aborted
                                

                                Can you please help us?
                                It would be a big step forward to our RetroPie machines :)

                                Thanks in advance!

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sharkticonnz @domb84
                                  last edited by

                                  @domb84 Hey dude what changes do I need to make to use this script for the pi 3 b +?

                                  RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
                                  • RedMarsBlueMoonR
                                    RedMarsBlueMoon @sharkticonnz
                                    last edited by RedMarsBlueMoon

                                    Update to say that I've added in very basic functionality to start Chiaki from non Desktop, non X11 environment in the latest version,

                                    https://github.com/Fredrum/chiaki/wiki/Run-Chiaki-without-Desktop-(From-cli)

                                    Also note that Iv'e identified a problem using xbox controllers with Retropies custom 'xpad' driver for more info see here,
                                    https://github.com/Fredrum/chiaki/wiki/Controllers#controller-problems-with-retropie

                                    I think there's still some issues using the PS5 controller? The Dualsense?
                                    From @Mellao 's report it sounds like that should be fixed with the upcoming Bullseye fingers crossed.

                                    And for anyone who's not aware Chiaki works with PS5 as well since a while back!

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @RedMarsBlueMoon
                                      last edited by

                                      @redmarsbluemoon said in Help: Compiling Chiaki - PS4 remote play:

                                      Also note that Iv'e identified a problem using xbox controllers with Retropies custom 'xpad' driver for more info see here,
                                      https://github.com/Fredrum/chiaki/wiki/Controllers#controller-problems-with-retropie

                                      After removing the driver, you should mention that the input configuration in EmulationStation should be re-run, otherwise this will break the configuration for other emulators and ES.

                                      RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
                                      • RedMarsBlueMoonR
                                        RedMarsBlueMoon @mitu
                                        last edited by

                                        @mitu

                                        Ah yes, I'll add that!

                                        RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
                                        • RedMarsBlueMoonR
                                          RedMarsBlueMoon @RedMarsBlueMoon
                                          last edited by RedMarsBlueMoon

                                          Iv'e started working on a version of Chiaki for the Raspberry Pi that's designed to work better without X11, On Ubuntu and 64bit OSs and also able to use h265 video codec.

                                          Currently heavily in progress but should work somewhat for those who are used to building projects from source and configuring their system.
                                          More information here,

                                          https://github.com/Fredrum/chiaki/wiki/rpi02-WIP-branch-for-64bit,-Ubuntu,-h265-and-DRM

                                          RedMarsBlueMoonR 1 Reply Last reply Reply Quote 0
                                          • RedMarsBlueMoonR
                                            RedMarsBlueMoon @RedMarsBlueMoon
                                            last edited by RedMarsBlueMoon

                                            @mitu
                                            I'm nearing finishing the first version of this new more Retropie friendly variant of Chiaki but it seems like it's going to need some support software versions higher than what is distributed on the RPiOS distros as default.

                                            I was hoping to send you a DM asking you if you had any info on what will be included with a future Bullseye Retropie image, if there is one in the works.

                                            Currently my build relies on,
                                            SDL2 - 2.0.17 upwards
                                            Mesa - 21.3.0 upwards

                                            If you have any insights into this I'd love to hear! :) I find it a bit sad that RPiOS is so behind at least with Bullseye I feel they could have upped the SDL version to something higher than current 2.0.14.

                                            Cheers!

                                            mituM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.