I've setup my Raspberry Pi as a kiosk, on a portrait-mounted HDMI TV. After setting display_rotate=1 and the GPU split to 128MB in /boot/config.txt the screen is now the correct orientation.

However the bottom half of the screen is black. I know the desktop is extending the full height of the TV because the "Raspberry" background is in the middle of the screen, and windows fill beyond the edge of the drawn area.

The same is true for both the GUI and the terminal (even during boot). I'm stumped as to why this is happening, and I can't find anything online referring to this issue.

Anyone have any ideas?


4 Answers 4


Have you tried increasing the memory split? I had no luck with my little portrait display project until I increased it to 256 IIRC. I also had some odd issues when I disabled the logo display on boot. Note the ability to do this may vary depending on which RPi you're using.

  • It's a Raspberry Pi B+. All the guides I checked suggested 128M would be sufficient, however I'll try cranking it up to 256. The device does very little anyway. Jun 18, 2015 at 7:11
  • Increasing the GPU memory split to 256M had no effect. Jun 18, 2015 at 7:19
  • Mine was an old model B. I've since upgraded to a 2B for my application. It's interesting that the command line is going it as well as the X GUI. My display required display_rotate=3, but that shouldn't make any difference. On one display, I did have to use hdmi_mode=82 to force 1080p mode.
    – bobstro
    Jun 18, 2015 at 14:32
  • Based on pastebin.com/GLLq5NhC, my TV doesn't support HDMI mode 82. Jun 19, 2015 at 7:34
  • This worked for me on an rpi Zero W
    – Stoopkid
    Mar 4, 2019 at 16:33

Finally got it working with the following settings in /boot/config.txt:

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

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

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

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

# uncomment to force a console size. By default it will be display's size minus
# overscan.

# uncomment if hdmi display is not detected and composite is being output

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

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

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

# uncomment for composite PAL

#uncomment to overclock the arm. 700 MHz is the default.

# Uncomment some or all of these to enable the optional hardware interfaces

# Uncomment this to enable the lirc-rpi module

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

Hopefully they are useful to others in my position.


I encountered the same issue where around the bottom 40% (ish) of the screen was cutoff when display_rotate=1 or display_rotate=3. Updating the firmware worked for me. I believe this had to do with this firmware bug.

I am using a Pi2 model B with gpu_mem=256.


uncomment framebuffer works for me

# uncomment to force a console size. By default it will be display's size minus
# overscan.
  • It's great it works for you, but does it solve the problem stated in the question? Dec 9, 2020 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.