2012-12-28, 01:56
I am having trouble when I switch the TV off or switch inputs, that my XBMC ubuntu box will run 640x480 and only display the upper left part of the screen until I reboot.
As a quick and dirty workaround, im running a little script that forces HD res every 5s. It doesnt cause any flickering or anything if the correct resolution is already set:
ITs not an elegant solution, but it works for me, so I thought it might help some, although you will have to change the DFP2 to whatever xrandr reports as your TV. You can find out by just running
xrandr -display :0.0
This also works over SSH btw.
As a quick and dirty workaround, im running a little script that forces HD res every 5s. It doesnt cause any flickering or anything if the correct resolution is already set:
Code:
#!/bin/bash
while true; do
echo changing res
xrandr -display :0.0 --output DFP2 --mode 1920x1080
sleep 5
done
ITs not an elegant solution, but it works for me, so I thought it might help some, although you will have to change the DFP2 to whatever xrandr reports as your TV. You can find out by just running
xrandr -display :0.0
This also works over SSH btw.