Here's a proper fix/workaround: Edit /boot/firmware/usercfg.txt and add the line:
disable_overscan=1 ** Also affects: linux-firmware-raspi2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-raspi in Ubuntu. https://bugs.launchpad.net/bugs/1896180 Title: Raspberry Pi HDMI output has thick black borders Status in linux-firmware-raspi2 package in Ubuntu: New Status in linux-raspi package in Ubuntu: New Bug description: Raspberry Pi HDMI output has thick black borders. This appears to be due to some DRM property defaults coming from the kernel. You can fix them in Xorg sessions with: xrandr --output HDMI-1 --set "top margin" 0 xrandr --output HDMI-1 --set "bottom margin" 0 xrandr --output HDMI-1 --set "left margin" 0 xrandr --output HDMI-1 --set "right margin" 0 To work around the issue in Wayland sessions you will need to log into Xorg first, run the above commands, then log out and into Wayland. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware-raspi2/+bug/1896180/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp