LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-21-2020, 02:54 AM   #1
dr_berta
Member
 
Registered: Sep 2005
Location: Carpi (Modena) - Italy
Distribution: Ubuntu 20.04_x86_64 LTS; Slackware 13 64bit; Gentoo, Fedora, Yocto
Posts: 98

Rep: Reputation: 1
Raspberry Pi4 does not show on the HDMI the 3.5" TFT display output


Hello,
I would like to work with both the HDMI and the TFT display I have on my raspberry PI4.
I tried to configure the raspberry activating two framebuffer, but the result I have is that on HDMI I see only the log during the boot and on the TFT I see only X with the window manager.

What do I have to do to be able to work with both the displays? It does not matter if the diplays are cloned or not

Thanks
Claudio
 
Old 11-21-2020, 06:06 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,781

Rep: Reputation: Disabled
When I attached two monitors, it automatically created an extended desktop, (I didn't touch config.txt at all).

(Mine were regular VGA screens.)

EDIT: Check this out - https://thepihut.com/blogs/raspberry...raspberry-pi-4

Last edited by fatmac; 11-21-2020 at 06:08 AM.
 
Old 11-22-2020, 08:42 AM   #3
dr_berta
Member
 
Registered: Sep 2005
Location: Carpi (Modena) - Italy
Distribution: Ubuntu 20.04_x86_64 LTS; Slackware 13 64bit; Gentoo, Fedora, Yocto
Posts: 98

Original Poster
Rep: Reputation: 1
I would like to make my tv smart connecting to it the raspberry.
The issue is that I have a 3.5" TFT and I would like to see the screen also on my tv using the HDMI.

I know that the two HDMI are working well together, but this is not my case.

What I see is similar to a condition where the TFT and the HDMI are two virtual desktops. On the TFT I see the graphic interface and on the HDMI I see the logs of the system.

This is my config.txt file

Code:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

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

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=720
#framebuffer_height=450

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug:0=1

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

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
enable_uart=off
dtoverlay=tft35a:rotate=90
start_x=1
gpu_mem=132
Any suggestion?
 
Old 11-23-2020, 02:57 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,278

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
3.5" TFT? What's the dpi?

I suspect this line near the end of your quote from config.txt is odd
Code:
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug:0=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group:0=1
Specifically, 0≠1.
0 means disabled, 1 means enabled

It's inclined to be
option=0
or
option=1
 
Old 11-24-2020, 05:34 AM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,781

Rep: Reputation: Disabled
Quote:
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group:0=1
#hdmi_mode=1
#hdmi_group=2
hdmi_mode:0=16
I think you probably need to set up your second moniitor....hdmi_group:1=
(If you are getting text, but no graphical screen.)

On the RPi4B you need to indicate which screen, hence the :0 or :1 on the hdmi_group statement.

Also, check menu > preferences > screen configuration to see what it has set.
 
Old 11-27-2020, 02:18 AM   #6
dr_berta
Member
 
Registered: Sep 2005
Location: Carpi (Modena) - Italy
Distribution: Ubuntu 20.04_x86_64 LTS; Slackware 13 64bit; Gentoo, Fedora, Yocto
Posts: 98

Original Poster
Rep: Reputation: 1
I added hdmi_group:1=1

The TFT is 3.5" so 320x480 px.

Now the situation is shown in the attached picture: on the HDMI screen (my TV) I see the raspberry logo with the message: "polkit service"

The TFT is showing the desktop screen.

It seems that also the HDMI is working but not as extended screen

What could I do?

Thanks
Attached Thumbnails
Click image for larger version

Name:	20201127_075950.jpg
Views:	22
Size:	144.7 KB
ID:	34691  
 
Old 11-27-2020, 05:41 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,278

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
I think you could write yourself a config in /etc/X11/xorg.conf.d/20-video.conf. Man xorg.conf has the details, and you'll find examples online. Have 2 Monitor sections, describe both Monitors, and X will use them if they are there, and ignore them if they are not.
 
Old 11-27-2020, 05:44 AM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,781

Rep: Reputation: Disabled
The only other thing I can think of is this topic - https://www.instructables.com/How-to...tors-in-linux/

(Not sure if it will help or not, but worth a look probably.)

Failing that, I'm afraid I'm out of ideas; as I said, mine just worked.
 
Old 11-27-2020, 01:38 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,278

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Afaik, default linux gives same screen left + right, but should set modes correctly

There's default configs somewhere weird like /usr/lib/X11/ or /usr/share/X11/xorg.conf.d/ where my box has them. They are just defaults but X reads them but /etc/X11/xorg.conf.d/ overwrites them
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Laptop display cannot show red, HDMI output can, VGA too, so looks like hardware issue, but is a malicious video firmware mod a possibility? Ulysses_ Linux - Hardware 20 11-18-2020 12:51 PM
[SOLVED] Pi4 not booting with a Pi3 (Sarpi) card. Any hint ? Pigi_102 Slackware - ARM 10 09-22-2020 04:34 AM
What OS for an ISPcorporate datacentre based on Raspberry PI4 ronatartifact Linux - Server 16 10-04-2019 10:30 AM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 02:09 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration