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

    Amiberry v3.3+: How to make rotation_angle work? [solved]

    Scheduled Pinned Locked Moved Help and Support
    amiberryrotate screen
    6 Posts 2 Posters 758 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.
    • LolonoisL
      Lolonois
      last edited by Lolonois

      There is a config switch for amiberry: rotation_angle but on my setup it does not rotate the amiberry display as stated in the documentation.

      I am trying to rotate by 180 degrees (upside-down), but still get the display output as if with angle = 0 degrees.

      Find here my amiberry.conf from /opt/retropie/configs/amiga/amiberry/conf/amiberry.conf, the rp500/rp1200.uae are stock/default. The games in questions do run without a separate/game specific *.uae file.

      The vital stats:

      • Amiberry v3.3 compiled from source (NB: Effect can also be reproduced on Amiberry v4.1.2 source build)
      • Retropie-Setup Script 4.7.12 (cf1f3207), started from Retropie 4.7.1 image.
      • Rpi 4, 4GB
      • Display connected via HDMI+DVI adapter.

      Anybody else encountered this? / can reproduce this?
      Do I miss something?
      Maybe @midwan you can chime in?

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

        hi @Lolonois! Thanks for reporting back and for providing details about your setup. Do you mind me asking first what game(s) are you testing with please? Share the full name including the extension (eg. awesome_game.lha). Second and out of curiosity what's the reason of you needing to rotate the screen? Do you have a special sceen?

        Can you please test with the following settings set to no? So your amiberry.conf include the following:

        default_horizontal_centering=no
        default_vertical_centering=no
        

        Also you're on pi4 hence do you rely on fKMS or KMS mode?

        LolonoisL 1 Reply Last reply Reply Quote 0
        • LolonoisL
          Lolonois @nemo93
          last edited by

          @nemo93 hello again.

          Games tested (but I assume the effect is agnostic from a specific game): Pang_v2.2_0929.lha,AfterBurner_v1.4_Sega_0947.lha

          I have set the both default_*_centering= to no but no change in result.

          I am using FKMS (dtoverlay=vc4-fkms-v3d in /boot/config.txt).

          Motivation: At some point in time Retropie will have to switch to Kernel 5.x (latest by Dec 2024), maybe the decision is made earlier to release a Kernel 5 based Retropie.

          This means to use a more recent firmware/eeprom (rpi-eeprom-update).

          In consequence the display_hdmi_rotate will no longer be supported. Which is bad for all hardware builds with a rotated display (90, 270 or 180 degrees). But there is a update path provided: With Kernel 5.x / recent rpi-firmware one can use in cmdline.txt something like ... video=HDMI-A-1:1600x1200@60,rotate=180. The retroarch encapsulated emulators and ports like VVVVVVV and yapesdl based games for example do work well and rotate as expected. I could speculate that before Dec 2024 amiberry has a retroarch integration and won't have to table this issue here.

          However, amiberry does not honor the setting in cmdline.txt as replacement for display_hdmi_rotatein the config.txt. This is why I tried the amiberry.conf switch rotation_angle.
          (other emulators reluctant to the cmdline.txt switch are linapple and jzintv, but that's a different story).

          Currently I stick to Kernel 4.19 and the shipped rpi firmware of Retropie 4.7.1 (Firmware rev. 20200212) to be able to use inconfig.txt (display_rotate=2 / display_hdmi_rotate=2) since my display (stock LCD PC monitor) is built into the bartop 180 degrees "upside-down".

          N 1 Reply Last reply Reply Quote 0
          • N
            nemo93 @Lolonois
            last edited by

            @lolonois thank you very very much for such detailed response. Got it. I'll do some testing asap on my end as well. There are some upcoming changes to Amiberry so not easy but I'll see through it. Thanks again.

            N 1 Reply Last reply Reply Quote 0
            • N
              nemo93 @nemo93
              last edited by

              @Lolonois I've had to ask @midwan and his answer was: "The rotation angle only works with SDL2, not dispmanx. Retropie uses the dispmanx version." If not mistaken we'll have to wait for the full KMS mode to be supported on pi4 to get support of that parameter. Sorry for not being able to assist further :(

              LolonoisL 1 Reply Last reply Reply Quote 0
              • LolonoisL
                Lolonois @nemo93
                last edited by

                @nemo93 NP, thanks for sorting this out. As stated earlier the whole testrun was anticipatory for the time when kernel 4.19 is discontinued. So still a few years development time for full KMS.

                1 Reply Last reply Reply Quote 0
                • LolonoisL Lolonois referenced this topic on
                • 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.