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

    START an emulator with "XINIT:" No KB on Fullscreen But OK if windowed

    Scheduled Pinned Locked Moved Help and Support
    xinitscummvmkeyboardfullscreennot working
    7 Posts 4 Posters 946 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.
    • 2Play2
      2Play
      last edited by 2Play

      good day to all!
      @mitu I think you might be the person to have knowledge on below

      I ve been using some setups with XINIT: and noticed that if game has fullscreen option set then Keyboard isnt working.
      If set to windowed then is ok.

      If run using xinit ./filename -- vt1 -keeptty instead full screen is working ok.

      I have compiled SCUMMVM from github to test latest AGS feature and binary will run only with XINIT:

      scummvm = "XINIT: bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh %BASENAME%"
      

      instead

      scummvm = "bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh %BASENAME%"
      

      But as +Start ScummVM.sh sets fullscreen then keyboard wont work to enter with F5 to LAUNCHER
      If I remove the --fullscreen then it works ok but of course not fullscreen and woudl require to set a video option to scummvm so it can fill screen
      is

      #!/bin/bash
      game="$1"
      pushd "/home/pi/RetroPie/roms/scummvm" >/dev/null
      /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" $game
      while read id desc; do
         echo "$desc" > "/home/pi/RetroPie/roms/scummvm/$id.svm"
      done < <(/opt/retropie/emulators/scummvm/bin/scummvm --list-targets | tail -n +3)
      popd >/dev/null
      

      Your friend,
      2Play!

      jamrom2J 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver
        last edited by

        @2play sounds like the program is losing focus when in fullscreen mode. You'll need to either use windowed mode or use a window manager like matchbox. Take a look at https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/ports/minecraft.sh for hints on how to install and use matchbox.

        2Play2 1 Reply Last reply Reply Quote 1
        • 2Play2
          2Play @quicksilver
          last edited by 2Play

          @quicksilver Thank you Ill have a look!
          So far I was using the windowed mode that worked great.
          But Ill test it.

          Your friend,
          2Play!

          1 Reply Last reply Reply Quote 0
          • jamrom2J
            jamrom2 @2Play
            last edited by jamrom2

            @2play I don't think this is just a scummvm issues. I have the same results with all non-libretro versions of DosBox. I get full-screen, however, the keyboard doesn't work.

            2Play2 1 Reply Last reply Reply Quote 0
            • 2Play2
              2Play @jamrom2
              last edited by

              @jamrom2 yes its not scummvm related. just pointed as example
              when you use xinit to start from es, if it set on full screen kb wont work. if you set as windowed (if posisble) then its working

              Your friend,
              2Play!

              jamrom2J 1 Reply Last reply Reply Quote 0
              • jamrom2J
                jamrom2 @2Play
                last edited by

                @2play do you have a Pi3 or Pi4? As far as I have been told, the XINIT option doesn't work in the Pi3 build.

                1 Reply Last reply Reply Quote 0
                • N
                  notthesame
                  last edited by

                  Hey everyone, im having similar issues, ok so first this first im on rpi4 latest retropie 4.8.

                  This was the only close issue i could find.

                  The thing i am having is my gamepad and keyboard wont work when adding XINIT to yabasanshiro emulator.cfg i tested running retropie on desktop but gets hot so i than thought why not reverse it, now all games should be running from vulkan from my understanding and run great but notging works i have to reboot my pi from ssh.

                  Could this issue be the same for fullscreen or maybe i need to point my config to my key2map for yabasanshiro.

                  Thanks

                  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.