0% found this document useful (0 votes)
23 views2 pages

Keep HDMI Off On Boot

Keep HDMI Off on Boot

Uploaded by

svanwellness
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views2 pages

Keep HDMI Off On Boot

Keep HDMI Off on Boot

Uploaded by

svanwellness
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

9/12/2021 Keep HDMI off on boot - Raspberry Pi Stack Exchange

Raspberry Pi Stack Exchange is a question


and answer site for users and developers
of hardware and software for Raspberry
Pi. It only takes a minute to sign up.

Sign up to join this community

Anybody can ask a question

Anybody can answer

The best answers are voted


up and rise to the top

Keep HDMI off on boot


Asked 3 years, 6 months ago Active 3 years, 4 months ago Viewed 26k times

I have a battery-powered RPi Zero W that is going to be hooked into a mobile laser projector.
This is an experiential setup, so I need to be able to turn it off and on between uses.
14
My goal here is to have the RPi startup but not display anything through the projector (HDMI)
unless I programmatically tell it to. Can anyone point me in the right direction here on how to
do this?
3
Basically, I'd like to remove the boot splash image and any text, and keep it from going to
desktop, preferably just keeping the HDMI completely off.

I have a script that I use to turn the display off, but would love to boot this way:

sudo vcgencmd display_power 0

boot hdmi display

Share Improve this question Follow asked Feb 26 '18 at 15:50


normmcgarry
Your privacy 241 1 2 5
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose
information in accordance with our Cookie Policy.

Raspbian Stretch. But I'm open to anything if there is a better option for what I want. – normmcgarry
Accept all
Febcookies Customize settings
26 '18 at 18:44

[Link] 1/2
9/12/2021 Keep HDMI off on boot - Raspberry Pi Stack Exchange

1 Answer Active Oldest Votes

There is a few things you can try:

22 1) Edit /etc/[Link] and add the following lines above exit 0:

# Disable HDMI
/usr/bin/tvservice -o

this will turn off the display, but only somewhere during the boot sequence

2) add hdmi_blanking setting to your /boot/[Link] I found the follwing settings here:

hdmi_blanking=0: HDMI Output will be blank when DPMS is triggered


hdmi_blanking=1: HDMI Output will be disabled when DPMS is triggered
hdmi_blanking=2: HDMI Output will be disabled on boot and can be enabled using the above
listed commands.

But the official documentation does not mention hdmi_blanking=2 only the following 2
settings:

0 HDMI Output will blank instead of being disabled


1 HDMI Output will be disabled rather than just blanking

I think hdmi_blanking=1 should do what you want.

And if that doesn't help you can still try a few other things found in this article:

disable_splash=1 in /boot/[Link]

Edit /boot/[Link] quiet: disable boot message texts, [Link]: removes


Raspberry Pi logo in top left corner, vt.global_cursor_default=0: removes blinking cursor

I don't have a TV to try it on my Raspberry Pi.

Share Improve this answer Follow edited Apr 18 '18 at 20:59 answered Apr 18 '18 at 17:05
Eugen
446 2 9

4 What worked for me is setting hdmi_blanking=2 , whereas hdmi_blanking=1 didn't really work.
Thanks! – diegoreymendez Feb 13 '19 at 17:06

1 For me, on a Pi Zero, hdmi_blanking in [Link] made no difference in current drawn - I have no
Your privacy
screen connected, so I'm only measuring current. The only thing that worked was the tvservice -o call in
By clicking/etc/[Link]
“Accept all–cookies”,
Rado Maryou
17 agree Stack Exchange can store cookies on your device and disclose
at 20:42
information in accordance with our Cookie Policy.

Accept all cookies Customize settings

[Link] 2/2

You might also like