# Display blanking under KMS

**URL:** <https://dietpi.com/forum/t/display-blanking-under-kms/19149>\
**Category:** Community Tutorials\
**Created:** [2 February 2024 14:46 UTC](https://dietpi.com/forum/t/display-blanking-under-kms/19149 "2024-02-02T14:46:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![coderant](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b5e925/32.png) [@coderant](https://dietpi.com/forum/u/coderant)\
**Post date:** [2 February 2024 14:46 UTC](https://dietpi.com/forum/t/display-blanking-under-kms/19149/1 "2024-02-02T14:46:46Z")

</div>

I recently switched from Raspbian buster to DietPi bookworm on an RPi connected to TV

Under buster, the following was my go to command for display blanking

`vcgencmd display_power 0`

In bookworm, the above command works only if I use the fkms driver (vc4-fkms-v3d)  
If I switch to kms driver(vc4-kms-v3d), the command no longer works. (might be the same case with bullseye too from what I have read)

I have come across a few options while searching for alternatives to `vcgencmd`. I am listing them below in case anyone finds it useful. (specifically systems with no desktop environment)

1. Using `kmsblank` command

2. If you are using kodi, there are a couple of ways to blank the screen

3. Using `consoleblank` setting in the kernel command line as described [here](https://www.raspberrypi.com/documentation/computers/configuration.html#console)

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [2 February 2024 15:50 UTC](https://dietpi.com/forum/t/display-blanking-under-kms/19149/2 "2024-02-02T15:50:54Z")

</div>

did you tried using `dietpi-config` to set headless mode?

---

<div class="post-metadata">

**Author:** ![coderant](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b5e925/32.png) [@coderant](https://dietpi.com/forum/u/coderant)\
**Post date:** [3 February 2024 13:08 UTC](https://dietpi.com/forum/t/display-blanking-under-kms/19149/3 "2024-02-03T13:08:21Z")

</div>

Thank you for sharing the additional option. Seems like the option permanently disables HDMI display, not just during idle time.

The options I listed above target use case where the display needs to be turned off temporarily to save power and turned back on when required without a reboot

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [3 February 2024 14:02 UTC](https://dietpi.com/forum/t/display-blanking-under-kms/19149/4 "2024-02-03T14:02:51Z")

</div>

Well you where talking about headless system and usually these systems don’t have a screen attached 😉

---

<div class="post-metadata">

**Author:** ![coderant](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b5e925/32.png) [@coderant](https://dietpi.com/forum/u/coderant)\
**Post date:** [4 February 2024 12:50 UTC](https://dietpi.com/forum/t/display-blanking-under-kms/19149/5 "2024-02-04T12:50:44Z")

</div>

ok, updated the post to accurately reflect the system
