Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    [4.1.0 Unstable] Using 7TFT no HDMI image on TV (but I got sound)

    Recalbox General
    [4.1.0 unstable] 7tft hdmi got
    2
    29
    9827
    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.
    • Defiant
      Defiant last edited by

      Hi everyone!
      I'm using a RPi 3 with a 7'' TFT screen (this one: Element 14 7 Inches TFT Screen )

      Screen works perfectly, has a terrific image quality, sound output is flawless through audio jack.

      Problem is when I plug the HDMI cable I've been using before to the TV, when I turn the RPi on I just see a black screen on the TV, and the image comes from the 7'' TFT.
      Only thing I get from the TV is sound.
      What am I doing wrong?
      Can I configure config.txt to "autodetect" when I plug HDMI and switch between HDMI and 7TFT? Or is there any script available for that?
      Thanks a lot in advance.
      Here's a copy of my current config.txt

      uncomment if you get no picture on HDMI for a default "safe" mode
      hdmi_safe=1

      disable_overscan=1

      uncomment to force a specific HDMI mode (this will force VGA)
      #hdmi_group=1
      #hdmi_mode=1

      #comment to get jack audio
      hdmi_drive=2

      #config_hdmi_boost=0

      force hdmi while the tv can take time before sending the signal on the hdmi output
      hdmi_force_hotplug=1

      #uncomment for composite PAL
      sdtv_mode=2

      uncomment for lirc-rpi
      #dtoverlay=lirc-rpi

      if you plug your tv at the same time as your rpi and that the rpi switches from the hdmi or give a low resolution because tv had no enough time to initialize it
      boot_delay=3

      #uncomment if you don't want the rainbow at startup
      disable_splash=1

      Overclock
      gpu_mem_256=128
      gpu_mem_512=256
      gpu_mem_1024=512

      avoid_safe_mode=1

      kernel=zImage

      NOOBS Auto-generated Settings:
      #hdmi_force_hotplug=1
      overscan_scale=0

      max_usb_current=1
      lcd_rotate=2
      avoid_warnings=1
      dtparam=audio=on

      1 Reply Last reply Reply Quote 0
      • Defiant
        Defiant last edited by

        UPDATE:

        Tried tvservice while the HDMI cable is plugged and it detects the TV, but just that.
        It won't let me try -m or -M commands.

        -s says this:

        /recalbox/share_init/system$ tvservice -s
        state 0x400000 [LCD], 800x480 @ 60.00Hz, progressive

        -n says this:

        /recalbox/share_init/system$ tvservice -n
        device_name=GSM-LG_TV

        -a says this:

        /recalbox/share_init/system$ tvservice -a
        PCM supported: Max channels: 2, Max samplerate: 192kHz, Max samplesize 24 bits.
        AC3 supported: Max channels: 6, Max samplerate: 48kHz, Max rate 640 kb/s.

        Substring 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @Defiant last edited by

          @defiant hi

          You're not the first one having troubles with a DSI screen. Such feeling that it gets drtected befire HDMI, therefore this screen is set as first. Have you tried tvserice -e "CEA 16 HDMI" ? You may have yo stoo ES first

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          1 Reply Last reply Reply Quote 0
          • Defiant
            Defiant last edited by

            @substring said in [4.1.0 Unstable] Using 7TFT no HDMI image on TV (but I got sound):

            tvserice -e "CEA 16 HDMI"

            I haven't, but I will right now.
            I just didn't know I had to use ""s and always got an error message, thanks for the tip.

            So... I just did.
            Turned off then on with CEA 16 HDMI
            Just got sound, no image. The TV detects it as 16:9 1080/60p so it gets the signal right, only there's no image.

            1 Reply Last reply Reply Quote 0
            • Defiant
              Defiant last edited by

              UPDATE:

              Just to confirm the HDMI is working, I added "ignore_lcd=1" to config.txt
              Then I rebooted and as expected, I got image and sound from the TV, the RPi LCD is off now.

              1 Reply Last reply Reply Quote 0
              • Defiant
                Defiant last edited by

                UPDATE 2:

                I used display_default_lcd=0 on the config.txt
                HDMI works fine on TV, no image on LCD screen. When rebooted without the HDMI cable plugged, still no image on LCD 😞

                Substring 1 Reply Last reply Reply Quote 0
                • Substring
                  Substring @Defiant last edited by

                  @defiant ok, i didn't think about those LCD options in the config.txt. I've been working on my side for some autoconfiguration stuff. I'm not really sure of the rule, but this is how i think it goes :

                  1. look for HDMI
                  2. if no HDMI, go composite

                  Period.

                  Now, how I solved that (to use a geekworm DPI screen which is very handy) :

                  1. default forces lcd
                  2. if my monitor (and for now, only my monitor) is found, disable lcd and turn on HDMI

                  This is all explained in the doc of raspverry : https://www.raspberrypi.org/documentation/configuration/config-txt/video.md + https://www.raspberrypi.org/documentation/configuration/config-txt/conditional.md

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  1 Reply Last reply Reply Quote 0
                  • Defiant
                    Defiant last edited by

                    Alright!
                    Thanks for the info @Substring , I'll be doing some reading on these articles and as soon as I figure out a way to make this work with my config.txt I'll be posting the results here for future reference.

                    Substring 1 Reply Last reply Reply Quote 0
                    • Substring
                      Substring @Defiant last edited by

                      @defiant don't forget that recalbox sets 720p on emulators, so you should probably set config.videomode to default in recalbox.conf to avoid that. I have worked on a auto mode for the videomode, but it won't make it to 4.1 (despite it works just great)

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      Defiant 1 Reply Last reply Reply Quote 0
                      • Defiant
                        Defiant @Substring last edited by

                        @substring I already thought of that, so I set config.videomode to default.
                        Now, I'm still having trouble getting it to work. I'm a bit lost at this point.
                        I can't get it to pick HDMI over LCD if HDMI is connected 😕

                        1 Reply Last reply Reply Quote 0
                        • Defiant
                          Defiant last edited by

                          Well, I got it to work but only partially.
                          I added this to the config.txt:

                          [EDID=GSM-LG_TV]
                          ignore_lcd=1
                          hdmi_group=2
                          hdmi_mode=82
                          [all]

                          Now when the HDMI from my TV is connected before boot, it will detect and prefer HDMI and it works fine, and if HDMI is not plugged in, the LCD will come up as usual.

                          Problem is it only works with my TV... How do I make that work for example if I take it to a friends house?

                          Substring 1 Reply Last reply Reply Quote 0
                          • Substring
                            Substring @Defiant last edited by

                            @defiant I'm stuck at the same step ... It only works in very few cases (i.e. known TVs). I couldn't find any way to make it generic

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            Defiant 1 Reply Last reply Reply Quote 0
                            • Defiant
                              Defiant @Substring last edited by

                              @substring I think the answer is finding a way to have it detect HDMI and if detected run ignore_lcd=1 and if not detected, don't run it or change it to ignore_lcd=0

                              Substring 1 Reply Last reply Reply Quote 0
                              • Substring
                                Substring @Defiant last edited by

                                @defiant indeed but there is no generic hdmi filter, unless we can put a * in the section name ... That's somethinh we should ask on the official pi forum

                                Former dev - Please reply with @substring so that i am notified when you answer me
                                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                Defiant 1 Reply Last reply Reply Quote 0
                                • Defiant
                                  Defiant @Substring last edited by

                                  @substring That's not entirely crazy! I'll test that and see how it goes when I come back from work.
                                  In the meantime, can you give me a link to the official Pi forum? Thanks!

                                  Substring 1 Reply Last reply Reply Quote 0
                                  • Substring
                                    Substring @Defiant last edited by

                                    @defiant Yeah sure : https://www.raspberrypi.org/forums/

                                    Former dev - Please reply with @substring so that i am notified when you answer me
                                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                    1 Reply Last reply Reply Quote 0
                                    • Substring
                                      Substring last edited by

                                      While searching, I wonder if these may be of interest :
                                      https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=193430

                                      Former dev - Please reply with @substring so that i am notified when you answer me
                                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                      1 Reply Last reply Reply Quote 0
                                      • Defiant
                                        Defiant last edited by

                                        Ok I confirm [EDID=*] doesn't work.
                                        I hope I just got the syntax wrong, or there's something similar.

                                        Substring 1 Reply Last reply Reply Quote 0
                                        • Substring
                                          Substring @Defiant last edited by

                                          @defiant You need to dig in the rasp forum ...

                                          Former dev - Please reply with @substring so that i am notified when you answer me
                                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                          Defiant 1 Reply Last reply Reply Quote 0
                                          • Defiant
                                            Defiant @Substring last edited by

                                            @substring Well I tried and I don't seem to find a complete answer...
                                            I found this article on PINN. I'm not using it, but can this be "adapted" to use on Recalbox???
                                            link text

                                            Substring 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            70
                                            Online

                                            98.7k
                                            Users

                                            28.1k
                                            Topics

                                            187.0k
                                            Posts

                                            Copyright © 2021 recalbox.com