I have older plasma FHD TV (Panasonic TX-P42GW30). I have connected two PCs to this TV over HDMI.
- RaspberryPi (Raspbian, OpenBox): the screen is perfectly fit.
- Intel NUC8i3BEK (Manjaro, KDE): the screen is overscanned behind all the edges of the TV.
In Raspberry Pi I don’t have any special in
# uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan disable_overscan=0 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) hdmi_group=1 hdmi_mode=31 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes ##hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2
I tried to run
autorandr but it did nothing.
Next what I tried was
xrandr -transform. Via GIMP I took screenshot and set perspective according to overscan. The result matrix I put in xrandr:
xrandr --output DP-1 --transform 1.0473,0,-43.5,0,1.048,-25.5,0,0,1 It works in 75 %. The right side of the screen is still behind the edge of TV and I didn’t find out how to fix it. And at all it wasn’t pefrect.
The next try was with setting the new mode in
xrandr. I used this script:
#!/bin/bash RES="1920 1080 60" && \ DISP=$(xrandr | grep -e " connected [^(]" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/") && \ MODELINE=$(cvt $(echo $RES) | grep -e "Modeline [^(]" | sed -r 's/.*Modeline (.*)/\1/') && \ MODERES=$(echo $MODELINE | grep -o -P '(?<=").*(?=")') && \ cat > ./xrandr_newmode.sh << _EOF #!/bin/sh xrandr --newmode $MODELINE xrandr --addmode $DISP $MODERES _EOF
I ran it on the Raspberry Pi, which generated script
xrandr_newmode.sh that I copied on Intel NUC. But there already was mode 1920x1080 so it didn’t help.
Next try: set underscan in
xrandr resulted in error:
$ xrandr --output DP-1 --set underscan on ✔ X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 11 (RRQueryOutputProperty) Serial number of failed request: 32 Current serial number in output stream: 32
Now I’m a little bit on the end. I appreciate if anybody knows how to fix it.