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

    emulationstation not using the resolution set in config.txt

    Scheduled Pinned Locked Moved Help and Support
    emulationstatonlcd display
    5 Posts 2 Posters 350 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.
    • X
      xk42
      last edited by xk42

      Just bought a 4.0 inch lcd display from amazon. However I'm struggling with the resolution.

      hdmi_force_hotplug=1
      hdmi_group=2
      hdmi_mode=87
      hdmi_drive=2
      hdmi_cvt 480 800 60 6 0 0 0
      display_rotate=3

      Here is when retropie boots up

      [img]https://i.imgur.com/kpWev7Z.jpg[/img]
      When emulationstation starts
      [img]https://i.imgur.com/Fn4AGGl.jpg[/img]

      I also tried running emulationstation --resolution 480 800. But it was still showing the same thing.

      However if I set display_rotate=0. Which is in portrait mode, then everything works fine.

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

        EmulationStation has also a --screenrotate parameter (with the same values as display_rotate from config.txt), try using it in conjunction with the --resolution. Are you using a Pi4 ?

        1 Reply Last reply Reply Quote 0
        • X
          xk42
          last edited by

          Yes I'm using Pi4 with retropie-buster-4.5.13-rpi4.img.

          Okay this worked.

          sudo /opt/retropie/supplementary/emulationstation/emulationstation --screenrotate 3 --resolution 800 480

          Fantastic! Thank you. I was just mixing up the width/height I guess as I was just looking at the values in config.txt

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

            I think the PI4 lacks (at the moment) all the options available for display_(hdmi_lcd)_rotate.
            As pointed out by a forum user a few weeks back, the Pi4 doesn't allow rotation by 90 and 270 deg when using the VC4 FKMS V3D driver (the default on Pi4) - https://www.raspberrypi.org/documentation/configuration/config-txt/video.md.

            1 Reply Last reply Reply Quote 0
            • X
              xk42
              last edited by

              Oh that's interesting. I'm using the default driver, I guess rotation did not work for emulationstation when it was done through config.txt. However adding the --screenrotate, it definitely worked.

              I'm also looking at the script they provided to set it upt.
              https://github.com/goodtft/LCD-show/blob/master/MPI4008-show

              sudo echo "dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900" >> ./boot/config.txt.bak

              Guess I need to be using the ads7846 driver instead of the default one. For now I'm just happy it worked. 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.