• 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

box86 / using startx to load a program doesn't go to full screen

Scheduled Pinned Locked Moved Help and Support
box86startx
5 Posts 3 Posters 1.1k 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.
  • R
    retropieuser555
    last edited by 3 Nov 2020, 09:18

    Raspberry Pi: 4 (2GB)
    RetroPie: 4.6
    EmulationStation: 2.9.3RP

    So I've been playing around with box86 testing various games to see if they will run and I'm having a reoccurring issue with a few games. But I believe one issue might be separate to another.

    Essentially in games like Undertale, the window is centered and I cannot get the game into fullscreen mode. When running from pixel desktop you can press F4 to get fullscreen mode. But I note the game doesn't boot in fullscreen on pixel, you have to select F4 each time.

    In games like AM2R and Freedom Planet, the window is centered but cut off from so you only get a strip of video data. In pixel these games when I run them go straight into fullscreen mode.

    Here is my .sh file I'm using for AM2R as an example:-

    #!/bin/bash
    
    xset -dpms s off s noblank
    matchbox-window-manager -use_titlebar no &
    xinit /home/pi/RetroPie/roms/ports/AM2R/am2r -- vt$(fgconsole)
    

    Any ideas what I'm missing to get this working? I've also tried changing the xinit line to startx and it does the same thing.

    Undertale example

    Pi 5 4GB

    Retroflag GPI with raspberry pi zero 2 w/ wifi

    Retroachievements:- lovelessrapture

    S H 2 Replies Last reply 6 Nov 2020, 18:50 Reply Quote 0
    • S
      shavecat @retropieuser555
      last edited by shavecat 11 Jun 2020, 18:59 6 Nov 2020, 18:50

      @retropieuser555
      Hey try put this between or maybe a different screen size -

          tvservice -e "DMT 4"
      
          tvservice -p
      

      Will love your help too
      how did u get it working like FREDDOM PLANET ?
      can i have your sh files plz ?
      trying to get it working but with no successes and couple more
      i did get postal 1 wolrd of goo & shovel knight just with that -

      #!/bin/bash
      
      cd /media/usb0/roms/box86/ShovelKnight/32
      box86 ShovelKnight
      
      

      Thanks will love to hear :)
      With your sh it gives me -
      (EE) Server terminated with error (1). CLosing the log file.share/xorg/Xorg.0.log for additional information

      1 Reply Last reply Reply Quote 0
      • H
        hooperre @retropieuser555
        last edited by 17 Nov 2020, 00:36

        @retropieuser555 I just got this working last night! Change -use_titlebar no to -use_titlebar yes!

        4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

        R 1 Reply Last reply 17 Nov 2020, 14:30 Reply Quote 0
        • R
          retropieuser555 @hooperre
          last edited by 17 Nov 2020, 14:30

          @hooperre Thanks! Glad that fixed it for you but for me I just tried that and it didn't change anything unfortunately.

          Pi 5 4GB

          Retroflag GPI with raspberry pi zero 2 w/ wifi

          Retroachievements:- lovelessrapture

          1 Reply Last reply Reply Quote 0
          • H
            hooperre
            last edited by hooperre 23 Jul 2021, 16:39

            @retropieuser555 Hopefully you see this, but I was able to fix it by going into /home/pi/.config/AM2R/config.ini and changing:

            [Screen]
            Fullscreen="1.000000"
            

            to

            Fullscreen="0.000000"`

            4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

            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.

              [[user:consent.lead]]
              [[user:consent.not_received]]