Posts: 3
Joined: Wed Oct 04, 2017 7:58 pm

Using a 7'' TFT I can't use HDMI

Wed Oct 04, 2017 8:51 pm

Hi everyone!

I've been digging a lot on the internet about this, and also asked in the Recalbox forum, and nobody seems to know.
I'm using a Raspberry Pi 3 B with Recalbox (4.1), I installed the Element14 7'TFT https://www.element14.com/community/doc ... ated-prods

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

Code: Select all

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


uncomment to force a specific HDMI mode (this will force VGA)

#comment to get jack audio


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

#uncomment for composite PAL

uncomment for 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

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




NOOBS Auto-generated Settings:


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

-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.

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.

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.

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

Code: Select 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?

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

Any help please?
Thanks a lot in advance!

User avatar
Posts: 14658
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Using a 7'' TFT I can't use HDMI

Thu Oct 05, 2017 5:42 pm

My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !
Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC

Posts: 3
Joined: Wed Oct 04, 2017 7:58 pm

Re: Using a 7'' TFT I can't use HDMI

Thu Oct 05, 2017 10:24 pm

Thank you for the reply!
It seems like a solid solution. I'll be testing it during the weekend and let you know how it went.

Posts: 3
Joined: Wed Oct 04, 2017 7:58 pm

Re: Using a 7'' TFT I can't use HDMI

Tue Oct 10, 2017 12:15 am

No luck, I couldn't get it to work.
For some reason after doing everything described in the instructions, Recalbox won't even boot on a fresh install.

When I do this step :

Code: Select all

Edit "recovery.cmdline" in F:, add to the end of the line " dsi" , dont fortget the space-character, and save
It will work properly on HDMI when connected, PINN boots perfectly on HDMI, but then when Recalbox starts, the image is back on the LCD.

Then I do the next steps:

Code: Select all

Go to F:\ and create a config.txt and add the line "ignore_lcd=1" and save
when starting, the output will be forced onto hdmi with this command. PINN menu will only be visible on hdmi source now
this is important, so the dsi display does not blink, while using hdmi
Mount sd card back into raspberry pi and start into rasbian.
10.Open terminal and go to /boot/

Create file "config.dsi" in /boot/ - this config will be loaded, when hdmi is not connected
dsi display loads automatically and does not need any commands, so the config.dsi can be empty
you can add later, what usually would go into config.txt to configure your dsi display
Create file "config.hdmi" in /boot/ - this config will be loaded, when hdmi is connected
add line "ignore_lcd=1" to config.hdmi, this forces to ignore the dsi display
After that, it won't boot.

Return to “Official Foundation Display”

Who is online

Users browsing this forum: No registered users and 1 guest