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

    pi5 CEA 1920x1080P impossibile to set

    Scheduled Pinned Locked Moved Help and Support
    pi5
    33 Posts 3 Posters 7.7k 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.
    • giandeejayG
      giandeejay @mitu
      last edited by

      @mitu no... I know the response ...
      there is no difference... for now...

      but many people ask...
      https://forums.raspberrypi.com/viewtopic.php?t=361001

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

        Sorry, but I don't see the point you want to make here. If you think the documentation on the RPI side needs to be improved - then you can suggest things to the RPI folks. I found about most of these changes from their documentation and their posts and I don't think the documentation deliberately obscures the information.

        but many people ask...
        https://forums.raspberrypi.com/viewtopic.php?t=361001

        I see 1 user, which happens to be the maintainer of the Arch Linux kernel packages - so not quite a regular user - and their question was addressed by the RPI folks. Hardly 'many people' and not something that users are interested anyway.

        1 Reply Last reply Reply Quote 0
        • giandeejayG
          giandeejay @mitu
          last edited by giandeejay

          @mitu another discovery for me of last few hours

          Now that I know i must modify cmdline.txt (and instructions gaved are all clear) on PI5:

          My Pink TV 24" (buyed for 20 euros in earlier 2016) and always declared (by tvservice command) and used with Retropie on pi3 on pi3b+ and pi4 at 1920x1080p 60hz 16:9, now on pi5 runs in 1920x1200 60hz 16:10 (preferred mode)
          This is very strange, but true...

          giandeejayG 1 Reply Last reply Reply Quote 0
          • giandeejayG
            giandeejay @giandeejay
            last edited by giandeejay

            @mitu in these days I tried to change my Pink TV resolution and aspect ratio (in the origins perfectly working at 1920x1080p 16:9 60hz on pi4), but now, on pi5, seeems impossible to do, to set this 1920x1080p , the only working resolution possible on pi5 is 1920x1200M@60D (16:10)
            Any other resolution on pi5 , always in /boot/firmware/cmdline.txt is rejected by TV (No signal)...
            And when I start emulationstation in 1920x1080p, in blind mode (blue TV screen), if I press after 1 minute , F4 (to quit blind emulationstation) and I type : wayfire (wayland launch command) correctly start but in 1920x1200p)...
            ..so I think that wayland ignore 1920x1080p, and re-set my TV at 1920x1200p ...even if in cmdline.txt is setted on 1920x1080p...
            Any Idea?

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

              Run kmsprint -m and post the output. What resolution is chosen if you don't force one in cmdline.txt ?

              giandeejayG 1 Reply Last reply Reply Quote 0
              • giandeejayG
                giandeejay @mitu
                last edited by giandeejay

                @mitu said in pi5 CEA 1920x1080P impossibile to set:

                Run kmsprint -m and post the output. What resolution is chosen if you don't force one in cmdline.txt ?

                Hi MITU,
                Maybe i have found a solution for my TV CEA

                My GOAL is to set 1920x1080p 60hz on pi5 cmdline.txt (but nothing of written before can do it working, always blue screen on TV and out of range)

                But maybe i found a real solution:

                Is very hard to find an online updated guide for cmdline.txt for PI5 attached to a TV CEA (like mine) , because most users use DMT Monitor, not a TV...
                The real problem is because my TV can support various Hdmi mode (maximum value is 1920x1200p, but my tv can support also 1920x1080i and 1920x1080p)

                And my GOAL is to force 1920x1080p 60hz (not 1920x1200p)

                When I start raspberry pi5 with raspberry pi os (without wayland desktop support)
                useful for me to install (next) Retropie, for a manual setup...

                Kms kernel video detect my TV CEA and set the best possible supported resolution at 1920x1200@60hz.

                And if I force in cmdline.txt
                1920x1080@60D
                My TV responds: Signal out of range.

                So only 1920x1200p works on TV, But this resolution is not the best resolution for me (and for Retropie)

                Solution:

                So in these days, I found randomly online , beacause there is no a definitive and exhaustive guide on how to set a custom resolution, for pi5 with a TV CEA, instead of DMT Monitors.

                So i'm very confused reading general raspberry pi's online guide ..
                Because are generic too, not specific for a single model of raspberry pi..
                I have to force 1920x1080p 60hz on a PI5 (not 4, not 3b+, not cm4, not zero, pico and so on...
                So maybe in
                cmdline.txt i have to add 2 parameters instead of 1 (valid for all CEA TV)

                video=HDMI-I-1:1920x1080@60De video=TV-1:D

                I hope that second parameters can set cortectly the CEA mode.

                Instead of use (valid only for DMT, but not for a CEA TV)
                video=HDMI-I-1:1920x1080@60D

                Can you confirm that also:
                video=TV-1:D ...in addition (like previous example) is a good set for TV CEA on PI5 hdmi port 0 ?

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

                  @giandeejay said in pi5 CEA 1920x1080P impossibile to set:

                  video=TV-1:D ...in addition (like previous example) is a good set for TV CEA on PI5 hdmi port 0 ?

                  No, I haven't heard of such connector type.

                  giandeejayG 2 Replies Last reply Reply Quote 0
                  • giandeejayG
                    giandeejay @mitu
                    last edited by giandeejay

                    @mitu said in pi5 CEA 1920x1080P impossibile to set:

                    @giandeejay said in pi5 CEA 1920x1080P impossibile to set:

                    video=TV-1:D ...in addition (like previous example) is a good set for TV CEA on PI5 hdmi port 0 ?

                    No, I haven't heard of such connector type.

                    Ok infact was a test
                    Nothing happens...
                    My problem with 1920x1080p 60hz on CEA TV still unsolved...

                    I have also tried to modify under .config/wayfire.ini the resolution but there is something of strange, 1920x1080P is accepted by wayland desktop but if I use lxrandr.desktop program I cannot modify the resolution , when I apply any change before saving the resolution still remain 1920x1200 instead of 1920x1080..
                    And if i start from terminal emulationstation -- resolution 1920 1080
                    I obtain always a bluescreen TV out of range.

                    So I think there are too much resolution manager program that cause my problem during pi5 boot.

                    1 Reply Last reply Reply Quote 0
                    • giandeejayG
                      giandeejay @mitu
                      last edited by

                      @mitu Hi Mitu , on some forum and documentation online, I saw something of unexplained (not clear) on how the new Pi OS Bookworm works:

                      if I change resolution in /boot/firmware/cmdline.txt I expect that this resolution work as well in terminal and in desktop... but it's not so simple as I think:

                      Bookworm Graphic Desktop (Wayland / Wayfire) has much more than one file to change the Graphic Resolution, another file is for example the /home/<user>/.config/wayfire.ini

                      Instead I think that Retropie 4.8.6 works on "terminal resolution" instead of Desktop resolution like Wayland, so the "user mistmatch" is behind the corner...

                      So probably if I try to get Retropie working at 1920x1080p 60hz on my Raspberry Pi5 (like I correctly work on my pi4, but where on my pi4 only by changing 2 parameters Retropie 4.8.6 change correctly the two resolutions in Terminal + in Desktop) using in /boot/config.txt:

                      hdmi_group=1
                      hdmi_mode=16

                      with the same TV , Retropie 4.8.6 on pi4 works correctly in 1920x1080 60hz (16:9)

                      Instead on PI5, with: video=HDMI-A-1:1920x1080@60D , in cmdline.txt ,
                      Retropie 4.8.6 after few seconds, of listing boot text lines, immediatly make my TV OUT OF RANGE, in Blue Screen, but if I wait some seconds (the loading of emulationstation) and if I press (blind) F4 and if I type wayfire command, wayland desktop immediatly starts correctly but in 1920x1200...

                      If I use LXRANDR or XRANDR program it says that my HDMI (0) Device is called Xwayland0:

                      Instead If i set:
                      on PI5, with: video=HDMI-A-1:1920x1200@60D , in cmdline.txt ,
                      Retropie 4.8.6 after few seconds, of listing boot text lines, next appear correctly the Emulationstation Loading, but at 1920x1200 at 60hz, so in this resolution i can see also the 2 delimiters lines up and down the Emulationstation Screen (Systems Select) "--------------------------------"
                      like a zoom out... or too much overscan borders (but overscan is set to off).

                      Instead:
                      If I delete the "video=HDMI-A-1:1920x1200@60D" , in cmdline.txt , I obtain Blue Screen on TV, so i think that the "kms-v3d" driver cannot recognise correctly the resolution of my TV... during boot...

                      So if I take a look of Retropie on Pi4 connected to the same TV it says 1920x1080 @59.88 hz

                      Tomorrow if i have time i will post the: kmsprint -m results:
                      for now every time I watch this command, the result is:
                      1920x1200*,
                      and many other resolution like 1280x960, 1024x768 are listed like 1920x1080,
                      but I don't know how to set...

                      I hope this can help you, to help me...

                      giandeejayG 1 Reply Last reply Reply Quote 0
                      • giandeejayG
                        giandeejay @giandeejay
                        last edited by

                        @giandeejay said in pi5 CEA 1920x1080P impossibile to set:

                        @mitu Hi Mitu , on some forum and documentation online, I saw something of unexplained (not clear) on how the new Pi OS Bookworm works:

                        if I change resolution in /boot/firmware/cmdline.txt I expect that this resolution work as well in terminal and in desktop... but it's not so simple as I think:

                        Bookworm Graphic Desktop (Wayland / Wayfire) has much more than one file to change the Graphic Resolution, another file is for example the /home/<user>/.config/wayfire.ini

                        Instead I think that Retropie 4.8.6 works on "terminal resolution" instead of Desktop resolution like Wayland, so the "user mistmatch" is behind the corner...

                        So probably if I try to get Retropie working at 1920x1080p 60hz on my Raspberry Pi5 (like I correctly work on my pi4, but where on my pi4 only by changing 2 parameters Retropie 4.8.6 change correctly the two resolutions in Terminal + in Desktop) using in /boot/config.txt:

                        hdmi_group=1
                        hdmi_mode=16

                        with the same TV , Retropie 4.8.6 on pi4 works correctly in 1920x1080 60hz (16:9)

                        Instead on PI5, with: video=HDMI-A-1:1920x1080@60D , in cmdline.txt ,
                        Retropie 4.8.6 after few seconds, of listing boot text lines, immediatly make my TV OUT OF RANGE, in Blue Screen, but if I wait some seconds (the loading of emulationstation) and if I press (blind) F4 and if I type wayfire command, wayland desktop immediatly starts correctly but in 1920x1200...

                        If I use LXRANDR or XRANDR program it says that my HDMI (0) Device is called Xwayland0:

                        Instead If i set:
                        on PI5, with: video=HDMI-A-1:1920x1200@60D , in cmdline.txt ,
                        Retropie 4.8.6 after few seconds, of listing boot text lines, next appear correctly the Emulationstation Loading, but at 1920x1200 at 60hz, so in this resolution i can see also the 2 delimiters lines up and down the Emulationstation Screen (Systems Select) "--------------------------------"
                        like a zoom out... or too much overscan borders (but overscan is set to off).

                        Instead:
                        If I delete the "video=HDMI-A-1:1920x1200@60D" , in cmdline.txt , I obtain Blue Screen on TV, so i think that the "kms-v3d" driver cannot recognise correctly the resolution of my TV... during boot...

                        So if I take a look of Retropie on Pi4 connected to the same TV it says 1920x1080 @59.88 hz

                        Tomorrow if i have time i will post the: kmsprint -m results:
                        for now every time I watch this command, the result is:
                        1920x1200*,
                        and many other resolution like 1280x960, 1024x768 are listed like 1920x1080,
                        but I don't know how to set...

                        I hope this can help you, to help me...

                        HI MITU ,
                        there something going strange .......

                        On my pi5 and my TV 1920x1080p, with retropie 4.8.6:


                        If I set in /boot/firmware/cmdline.txt
                        this line:
                        video=HDMI-A-1:1920x1200@60D

                        TV starts in 1920x1200, and boot correctly in CLI, so Emulationstation starts,
                        so If I next press F4 to go in CLI, and If I also modify
                        /home/pi/.config/wayfire.ini

                        and set something like this in the file:
                        [HDMI-A-1]
                        video=1920x1080

                        and next I type:
                        wayfire

                        Wayland Desktop starts correctly in 1920x1080p !!!!

                        So I dont' know why, if i boot directly in CLI (to start Emulationstation) with this parameters in /boot/firmware/cmdline.txt
                        video=HDMI-A-1:1920x1080@60D

                        immediatly for 2 seconds I can see (correctly) some text booting line, but
                        when Emulationstation is booting after 1 second, the signal of TV goes "OUT OF RANGE".

                        So My TV supports 1920x1080p 60hz and 1920x1200p 60hz,
                        but when Emulationstation starts only this 1920x1200p 60hz works........

                        Instead Wayland (and TV) can support every resolution 1080p and 1200p, and so on.

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

                          Can you please post the output of the command I asked in my last reply ?

                          giandeejayG 2 Replies Last reply Reply Quote 0
                          • giandeejayG
                            giandeejay @mitu
                            last edited by giandeejay

                            @mitu said in pi5 CEA 1920x1080P impossibile to set:

                            Can you please post the output of the command I asked in my last reply ?

                            Maybe I have found the error on modedb.c

                            For resolution of 1920x1080 60hz, why they use 67.3khz ?
                            Normally 67.5khz is the value of TV CEA for horizontal freq, 67.34khz maybe is a too low value...
                            https://tomverbeure.github.io/video_timings_calculator

                            Pasted from modedb.c:

                            /* 1920x1080 @ 60 Hz, 67.3 kHz hsync */
                            { NULL, 60, 1920, 1080, 6734, 148, 88, 36, 4, 44, 5, 0,
                            FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
                            FB_VMODE_NONINTERLACED },

                            If I set
                            video = HDMI-A-1-1920x1080M@50D
                            In /boot/firmware/cmdline.txt
                            My TV works half:
                            Infact
                            The initial script process is OUT OF RANGE
                            But during loading of emulationstation the screen appear in 1920x1080 50hz
                            And Emulationstation works half...the screen goes out of range if I press F4 to cli , or if I launch raspi-config...
                            Next time I will post the kmsprint result of PUD
                            Infact only UD are on 1920x1080p 50hz line but P remains on 1920x1080i 60hz.

                            1 Reply Last reply Reply Quote 0
                            • giandeejayG
                              giandeejay @mitu
                              last edited by giandeejay

                              @mitu said in pi5 CEA 1920x1080P impossibile to set:

                              Can you please post the output of the command I asked in my last reply ?

                              Hi MITU I finally solved problem with HDMI on Pi5 with Retropie:
                              First of all i have bought this KVM EDID Standard Emulator

                              https://a.aliexpress.com/_EzdWnJX

                              Second problem are margins:
                              So I have modified
                              /boot/firmware/cmdline.txt
                              From:
                              video=HDMI-A-1:1920x1080@60D

                              To:
                              video=HDMI-A-1:1920x1080@60mD, margin_left=56,margin_right=56,margin_top=28,margin_bottom=28

                              And now finally my Pink (english) TV CEA works at 1920x1080p 60hz 148.500mhz
                              And EmulationStation is Centered and fit the screen (also in terminal).

                              So I think that KMS driver VC4 inside of Raspberry pi5 isn't compatibile with all possible vsynk + and hsynk - or inverted parameters of polarity, is only compatible with vsynk+ and hsynk+.
                              The KVM emulators (around 3 dollars) solved all my problems.

                              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.