DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 9:08 am

bbeemer wrote:I don't have an /etc/cmdline.txt.
Sorry, /boot/cmdline.txt; same directory as config.txt

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 9:27 am

ragnarjensen wrote:
bbeemer wrote:Is it possible to use both the HDMI and the 2.8 PiTFT screen at the same time just to use the desktop?
Yes. I have a PiTFT running together with a HP 1680x1050 monitor on the HDMi port.
Image
I have four server layouts in my /etc/X11/xorg.conf, so I can choose if I want to use the PiTFT, the HDMI monitor or both on the startx command line.

I use Adafruit's kernel, installed with their "DIY Installer script" as described here: https://learn.adafruit.com/adafruit-pit ... sy-install

Code: Select all

ragnar@speedyplus:~$ uname -a
Linux speedyplus 3.12.26+ #7 PREEMPT Wed Sep 17 14:25:24 EDT 2014 armv6l GNU/Linux
ragnar@speedyplus:~$ cat /proc/version
Linux version 3.12.26+ (ladyada@ladyada-VirtualBox) (gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-1ubuntu2) ) #7 PREEMPT Wed Sep 17 14:25:24 EDT 2014
My /etc/X11/xorg.conf:

Code: Select all

# /etc/X11/xorg.conf for the Adafruit 2.8" 320x240 PiTFT, together with an HP 1680x1050 monitor on the RPi's HDMI port.
# We're using a single X server, so if running both monitors as separate desktops they will be DISPLAY :0.0 and :0.1 respectively.
#
#######################################################################################################
#
#  This file contains four server layouts. If none is selected when starting X, the first one is used.
#
# startx			# Adafruit monitor only.
#
# startx -- -layout HDMI	# RPi HDMI monitor only.
#				# The Adafruit's touch function is still active and maps to the entire HDMI monitor.
#				# It can be used as a touchpad of sorts.
#
# startx -- -layout OneDesk	# Both monitors, one extended desktop. Touch area must be transformed.
#
# startx -- -layout TwoDesk	# Both monitors, two separate desktops. Touch area must be transformed.
# 				# Both desktops share the mouse and keyboard.
# 				# The mouse pointer can move between desktops, but nothing else can.
# 				# You have to start a window manager on the secondary screen yourself.
#
#######################################################################################################

Section "Device" 
# RPi builtin video, framebuffer 0
	Identifier	"RPi_HDMI" 
	Driver		"fbdev" 
	Option		"fbdev"			"/dev/fb0"
EndSection 

Section	"Device" 
# Adafruit PiTFT 2.8" resistive touchscreen, framebuffer 1
	Identifier	"fbtft_dev" 
	Driver		"fbdev" 
	Option		"fbdev"			"/dev/fb1"
EndSection 

Section	"Monitor" 
# Primary monitor. Adafruit 320x240
	Identifier	"Adafruit28r" 
EndSection 

Section	"Monitor" 
# Secondary monitor. HP 1680x1050
	Identifier	"HDMI_monitor" 
EndSection 


Section	"Screen" 
	Identifier	"Primary" 
	Device		"fbtft_dev" 
	Monitor		"Adafruit28r" 
EndSection 

Section	"Screen" 
	Identifier	"Secondary" 
	Device		"RPi_HDMI" 
	Monitor		"HDMI_monitor" 
EndSection 



Section	"ServerLayout" 
# Adafruit monitor only.
	Identifier	"Default" 
	Screen 0	"Primary"		0 0
EndSection

#####################################################
Section	"ServerLayout" 
# RPi HDMI monitor only.
	Identifier	"HDMI" 
	Screen 0	"Secondary"		0 0
EndSection

#####################################################
Section	"ServerLayout" 
# Both monitors, one extended desktop.
# Adafruit to the left of the secondary monitor. Monitors aligned at the bottom.
	Identifier	"OneDesk" 
	Screen 0	"Primary"		0 810 	# Adafruit monitor is 240 pixels high, 810 pixels less than the HP.
							# Place its top-left corner 810 pixels below the HP's upper edge,
							# in order to align monitors along the bottom edge.

	Screen 1	"Secondary"		320 0	# Secondary monitor's left edge 320 pixels to the right of Adafruit's left edge.
	Option		"Xinerama"		"true"  # Enable XINERAMA extension to get one desktop over both monitors.
EndSection

#####################################################
Section	"ServerLayout" 
# Same as "OneDesk" but without Xinerama, i.e. two desktops. You have to start secondary screen's window manager yourself.
	Identifier	"TwoDesk" 
	Screen 0	"Primary"		0 810 
	Screen 1	"Secondary"		320 0
	Option		"Xinerama"		"false" # Disable XINERAMA extension to get two separate desktops.
EndSection
At the moment, I always use the "TwoDesk" configuration (two separate desktops). I have to start the desktop environment on the secondary monitor myself, so I have created a file ~/.config/autostart/10-desktopmgr-autostart.desktop.
which contains

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Desktop autostart for secondary display
Comment=Start the LXDE environment on secondary display
Exec=/home/pi/bin/desktopmgr.sh
OnlyShowIn=LXDE
Then, in my ~/bin directory, I have the script desktopmgr.sh:

Code: Select all

#!/bin/bash
#
# Start the LXDE desktop environment on the secondary display in a Dual-Head setup, where Xinerama is OFF.
# 

export SECONDARY_DISPLAY=:0.1
export LXDE_CONF_DIR=LXDE_01			# Directory under ~/.config/pcmanfm/ with LXDE configuration for this desktop.
export OPENBOX_CONFIG=$HOME/.config/openbox/lxde_01-rc.xml

#xsetroot -display ${SECONDARY_DISPLAY} -solid thistle # For debug. If the secondary screen changes colour, we know that this script is running.

# Start a window manager.
DISPLAY=${SECONDARY_DISPLAY} openbox --config-file ${OPENBOX_CONFIG} &

# Start the desktop environment (wallpaper and desktop icons). It is actually the file manager pcmanfm that manages the desktop, when started with its --desktop option.
#
# Alas, there is a bug in pcmanfm.
# It won't start on DISPLAY :0.1 if there already is another pcmanfm running on the main DISPLAY :0.0
# It seems like it only checks if it already is running on the same X server,
# not taking the possible multiple displays on that server into consideration.
# Workaround by using the DISPLAY environment variable to point to a non-existing DISPLAY :9.0, where it does its check-if-i-am-already-running
# and using the --display argument to point out the real DISPLAY we want it running on.

DISPLAY=:9.0 pcmanfm --display=${SECONDARY_DISPLAY} --desktop  --profile LXDE &

# Start a terminal in the lower left corner of the display.
cd $HOME	# To make the terminal open in our home directory.
xterm -bg LightGoldenrodYellow -fg black -geometry +0-0 -display :0.1 &

# A clock is always nice to have.
DISPLAY=${SECONDARY_DISPLAY} xclock  -geometry +150+10 &

# Shrink the touch area. By default the Adafruit touchscreen will map to the entire X server screen area (both displays.)
# We need to shrink the touch area into a rectangle which is smaller than the total screen. 
#
# The below transformation is for an Adafruit PiTFT 320x240 monitor to the left of a 1680x1050 monitor. The two monitors are aligned at the bottom edges.
# The touch area is shrunk to only encompass the Adafruit monitor.
# If your setup differs at all from the above, you have to recalculate the transformation.
# All the nitty, gritty details at https://wiki.archlinux.org/index.php/Calibrating_Touchscreen
# You have to "sudo apt-get install xinput" for the next line to work...

xinput set-prop "stmpe-ts" --type=float "Coordinate Transformation Matrix" 0.16 0 0 0 0.22857142857142857142857142857143 0.77142857142857142857142857142857 0 0 1

which sets up the desktop environment on the secondary monitor and transforms the PiTFT's touch area to only cover its own screen.
Easy, really ;)
--
Ragnar
Thanks, I only need to have the same desktop on both displays (or on HDMI if connected (for maintenance reasons) and on the TFT otherwise (because it is a portable unit). I think I will wait until I have my displays working independently before I try to tackle this.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 9:51 am

DirkS wrote:Try adding 'fbcon=map:10' to the end of the first line of /etc/cmdline.txt (see https://github.com/notro/fbtft/wiki/Boo ... le-console, don't bother with the font right now)
It connects the default console with framebuffer 1 (pitft). It should not have any effect if pitft is switched off.

It's also possible to do this after logging in with

Code: Select all

con2fbmap 1 1
Gr.
Dirk.
Added the above to the end of /boot/cmdline.txt...
unplugged HDMI...
rebooted...
no change, same as before.
????
tft log is:
is it HDMI or DMT?
state 0x40002 [NTSC 4:3], 720x480 @ 60Hz, interlaced
Framebuffer information
mode "656x416"
geometry 656 416 656 416 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode

Frame buffer device information:
Name : BCM2708 FB
Address : 0x18006000
Size : 545792
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 1312
Accelerator : No
switch on PiTFT

Also same as before

User avatar
DougieLawson
Posts: 40821
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 11:14 am

But you do have /boot/cmdline.txt
to correct Dirk's typo or auto correct error.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 5:49 pm

DougieLawson wrote:But you do have /boot/cmdline.txt
to correct Dirk's typo or auto correct error.
yes.
I changed it and tested it, the results are in my last post.

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 7:58 pm

bbeemer wrote:
DougieLawson wrote:But you do have /boot/cmdline.txt
to correct Dirk's typo or auto correct error.
yes.
I changed it and tested it, the results are in my last post.
How does the pitft itself react? Does it light up and then go black without text?
What is the output of 'cat /proc/fb'?
This shows the available framebuffer devices.

Gr.
Dirk.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 8:57 pm

DirkS wrote:How does the pitft itself react? Does it light up and then go black without text?
Yes it lights up at power on, then goes dark sometime during boot (late in boot), No text or gui, nothing at all.
This is the same if I use the PiTFT image except that the image ends up showing text then the gui if it set to do so.
What is the output of 'cat /proc/fb'?
This shows the available framebuffer devices.
0 BCM2708 FB

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 9:22 pm

The way the screen reacts would suggest it actually gets initialised.
Does lsmod show 'fbtft_device'?
And 'dmesg' should show up several lines starting with 'fbtft_device', probably in the last 20 or so messages.
Does it show success or errors?

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 9:49 pm

DirkS wrote:The way the screen reacts would suggest it actually gets initialised.
I think so to.
Does lsmod show 'fbtft_device'?
No, here it is:
pi@raspberrypi ~ $ lsmod
Module Size Used by
binfmt_misc 6585 1
snd_bcm2835 20598 1
i2c_dev 5593 0
snd_soc_pcm512x 8932 0
snd_soc_wm8804 8180 0
sg 19981 0
arc4 1945 2
rt2800usb 17527 0
rt2800lib 86254 1 rt2800usb
crc_ccitt 1657 1 rt2800lib
rt2x00usb 12361 1 rt2800usb
rt2x00lib 46106 3 rt2x00usb,rt2800lib,rt2800usb
snd_soc_bcm2708_i2s 6483 0
regmap_mmio 2850 1 snd_soc_bcm2708_i2s
snd_soc_core 134535 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_bcm2708_i2s
mac80211 364422 3 rt2x00lib,rt2x00usb,rt2800lib
evdev 11975 4
joydev 10797 0
regmap_spi 1956 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm_dmaengine 5489 1 snd_soc_core
snd_pcm 87655 4 snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
cfg80211 220823 2 mac80211,rt2x00lib
snd_page_alloc 5160 1 snd_pcm
regmap_i2c 1653 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_compress 8230 1 snd_soc_core
snd_seq 62109 0
rfkill 21180 2 cfg80211
snd_timer 21056 2 snd_pcm,snd_seq
leds_gpio 2175 0
snd_seq_device 6446 1 snd_seq
led_class 4115 2 leds_gpio,rt2x00lib
snd 66386 8 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
spi_bcm2708 5352 0
rpi_pwm 6656 0
i2c_bcm2708 4734 0
And 'dmesg' should show up several lines starting with 'fbtft_device', probably in the last 20 or so messages.
Does it show success or errors?
Wow that's a long one!
No entries starting with "fbtft_device" the closest is a bunch that say:
"[14584.339347] bcm2708_fb_blank blank_mode=0
[14584.339903] bcm2708_fb_blank returns=0 p[1]=0x80000000"

or something similar.

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 10:34 pm

So it's not loaded...

Can you try 'sudo modprobe fbtft_device ...' on the command line with the parameters you use in 'rc.local' to see what happens?

Gr.
Dirk.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 10:47 pm

DirkS wrote:So it's not loaded...

Can you try 'sudo modprobe fbtft_device ...' on the command line with the parameters you use in 'rc.local' to see what happens?

Gr.
Dirk.
Yes I can, but I am installing a package in the command line right now, should I wait until it Is done first?

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 10:49 pm

Yes, best to let that finish first...

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 10:55 pm

DirkS wrote:Yes, best to let that finish first...
Ok I will wait, it is PyQt4 and it has been running for HOURS (no it is not frozen it moves occasionally, just takes a long time).
IIRC it is doing the "make" stage should I finish the "make install" stage before I do this?

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Mon Dec 29, 2014 11:02 pm

Just finish the make including make install first.
Most 'make install' don't take that much time; mostly moving files around and setting up symlinks.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 3:18 am

DirkS wrote:So it's not loaded...

Can you try 'sudo modprobe fbtft_device ...' on the command line with the parameters you use in 'rc.local' to see what happens?

Gr.
Dirk.
Here is the output:
pi@raspberrypi ~ $ modprobe fbtft_device name=adafruitrt28 rotate=90 frequency=32000000
ERROR: could not insert 'fbtft_device': Operation not permitted

However "sudo modprobe fbtft_device name=adafruitrt28 rotate=90 frequency=32000000"
turned the TFT dark but no output.

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 8:53 am

bbeemer wrote:However "sudo modprobe fbtft_device name=adafruitrt28 rotate=90 frequency=32000000"
turned the TFT dark but no output.
Does 'cat /proc/fb' show up with one or 2 entries after that.

Gr.
Dirk

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 9:04 am

DirkS wrote:
bbeemer wrote:However "sudo modprobe fbtft_device name=adafruitrt28 rotate=90 frequency=32000000"
turned the TFT dark but no output.
Does 'cat /proc/fb' show up with one or 2 entries after that.

Gr.
Dirk
Yes the new one is:
1 fb_ili9340

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 9:25 am

Great, that's the framebuffer for pitft.
Does 'sudo con2fbmap 1 1' show the text on the screen?
If not, can you try the following:
- power down Pi
- unplug power and boot again
- run 'sudo modprobe fbtft_device name=' (command as above).
- sudo con2fbmap 1 1

Gr.
Dirk.

User avatar
DougieLawson
Posts: 40821
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 9:29 am

If you create /etc/modprobe.d/fbtft_device.conf with the modprobe parms you can get the module loaded automagically.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 9:37 am

DirkS wrote:Great, that's the framebuffer for pitft.
Does 'sudo con2fbmap 1 1' show the text on the screen?
If not, can you try the following:
- power down Pi
- unplug power and boot again
- run 'sudo modprobe fbtft_device name=' (command as above).
- sudo con2fbmap 1 1

Gr.
Dirk.
I did all of the above but nothing showed anything on the tft.

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 9:55 am

bbeemer wrote:I did all of the above but nothing showed anything on the tft.
Doing a bit of thinking.. (can't do it too often; it hurts ;) )
Completely different approach: leave everything as default (auto loading of tft modules, etc).
Then just change the active framebuffer with 'con2fbmap' depending HDMI availability...
'con2fbmap 1 0' should set it to the main fb (main screen, HDMI or whatever is connected)
'con2fbmap 1 1' to the the alternative screen (pitft in this case).

Gr.
Dirk.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 10:13 am

I'm not sure I follow you.
DirkS wrote: Doing a bit of thinking.. (can't do it too often; it hurts ;) )
LOL. Me to.
Completely different approach: leave everything as default (auto loading of tft modules, etc).
Do you mean leave everything as it is, or put it back the way it was originally? I don't think I can remember all the changes we made. :(
Then just change the active framebuffer with 'con2fbmap' depending HDMI availability...
'con2fbmap 1 0' should set it to the main fb (main screen, HDMI or whatever is connected)
'con2fbmap 1 1' to the the alternative screen (pitft in this case).
Do you mean to keep the test the same (in /etc/rc.local) but use "con2fbmap x x" instead of "modprobe fbtft_device ..."?

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 6:17 pm

bbeemer wrote:Do you mean leave everything as it is, or put it back the way it was originally? I don't think I can remember all the changes we made. :(
Yes, I meant back to the original. I think I can tell you how it was if necessary.
Do you mean to keep the test the same (in /etc/rc.local) but use "con2fbmap x x" instead of "modprobe fbtft_device ..."?
Yes, that's the idea. I did a quick test and it seems to be working fine. BTW: it fits in more or less with one of the previous posts about using multiple screens etc.

BTW: I was in a bit of a hurry this morning. Had to go out to earlier than planned...

Gr.
Dirk.

bbeemer
Posts: 73
Joined: Sun Nov 16, 2014 5:50 am
Location: Iowa, US

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 10:02 pm

DirkS wrote:
bbeemer wrote:Do you mean leave everything as it is, or put it back the way it was originally? I don't think I can remember all the changes we made. :(
Yes, I meant back to the original. I think I can tell you how it was if necessary.
Do you mean to keep the test the same (in /etc/rc.local) but use "con2fbmap x x" instead of "modprobe fbtft_device ..."?
Yes, that's the idea. I did a quick test and it seems to be working fine. BTW: it fits in more or less with one of the previous posts about using multiple screens etc.
I assume you mean the post by ragnar... I stumbled on his post about his multiple screen setup and pm'd him hoping he could help, it seems he did
BTW: I was in a bit of a hurry this morning. Had to go out to earlier than planned...
Not a problem I understand, I am out of school for Xmas break so I don't have any schedule except for a couple of holiday gatherings.

I went through all of the posts and changed everything I thought was relevant let me know if you think of anything else I need to change.
Here are the changes I made to put everything back to the original:

/etc/modules - uncommented all commented out lines (only 1 line)

/etc/modprobe.d/fbtft_device.conf - renamed from /etc/modprobe.d/fbtft_device.conf.save back to /etc/modprobe.d/fbtft_device.conf

/boot/cmdline.txt - removed fbcon=map:10 from end of file

/etc/rc.local - made the con2fbmap x x changes discussed above.

rebooted with the HDMI plugged in

It works with the HDMI plugged in but the TFT went dark (late in boot as usual)

rebooted with out HDMI plugged in

With out HDMI plugged in the TFT went dark (late in boot as usual) but no display. tft.logs are good (the same as before).

The TFT goes dark either way. ?????

DirkS
Posts: 10595
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Dual screen HDMI and 2.8 PiTFT

Tue Dec 30, 2014 11:05 pm

What happens when you use 'con2fbmap 1 1' on the command line (doesn't matter if HDMI plugged in or not).
I can switch console from HDMI to pitft by using 'con2fbmap 1 x' (x=0 for hdmi, 1 for pitft).
While on the login screen I can only see that by the appearing / disappearing cursor at the login prompt.

Return to “Interfacing (DSI, CSI, I2C, etc.)”