• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • 2
    2Play
    last edited by 2Play 13 May 2021, 18:17

    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!

    J 1 Reply Last reply 16 May 2021, 15:53 Reply Quote 0
    • Q
      quicksilver
      last edited by 13 May 2021, 19:03

      @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.

      2 1 Reply Last reply 13 May 2021, 20:10 Reply Quote 1
      • 2
        2Play @quicksilver
        last edited by 2Play 13 May 2021, 20:10

        @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
        • J
          jamrom2 @2Play
          last edited by jamrom2 16 May 2021, 15:53

          @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.

          2 1 Reply Last reply 2 Jun 2021, 23:06 Reply Quote 0
          • 2
            2Play @jamrom2
            last edited by 2 Jun 2021, 23:06

            @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!

            J 1 Reply Last reply 3 Jun 2021, 23:23 Reply Quote 0
            • J
              jamrom2 @2Play
              last edited by 3 Jun 2021, 23:23

              @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 17 Apr 2022, 05:30

                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.

                  This community forum collects and processes your personal information.
                  consent.not_received