Kodi Community Forum

Full Version: Video via HDMI is distorted after TV is turned off and back on again
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm running an AM1 board with AMD Athlon kabini x86_64 on Lubuntu with ubuntu 14.10. Linux version 3.16.0-31

I'm not including kodi logs because this isn't really a kodi problem but I don't know where else to ask.

If my TV is on when I boot my computer then both video and audio work through HDMI as expected. My problem is if I turn my TV off and then come back later and turn my TV on the display is distorted. The top half of the screen looks right but the bottom half of the screen is squeezed into just a few lines. Like I said, I know this isn't a Kodi problem because I can exit Kodi back to the desktop and the same problem exists. While the screen is distorted I've taken a screenshot. After I reboot the computer and look at the screenshot it looks normal (ie. not distorted).
Extract the edid of the TV so the PC thinks the TV is always connected.

http://forum.kodi.tv/showthread.php?tid=...pid1685301
Best add on for bein sports hd any 1 Huh
(2015-03-23, 14:30)leeavfcsmith Wrote: [ -> ]Best add on for bein sports hd any 1 Huh

Do that again and you will need a new forum account. No piracy here: http://kodi.wiki/view/Official:Forum_rul...ed_add-ons
(2015-03-23, 08:01)teeedubb Wrote: [ -> ]Extract the edid of the TV so the PC thinks the TV is always connected.

http://forum.kodi.tv/showthread.php?tid=...pid1685301

I did all the steps and rebooted, left the TV off overnight and came back to the same problem.

If it helps here's a pic of what it looks like http://i.imgur.com/5AZKmHF.jpg
Does: xrandr --output HDMI-0 --off && xrandr --output HDMI-0 --auto help?

or xrandr --output HDMI-0 --auto alone? From a shell? (You might need to add DISPLAY=:0 before the command)

You also need to find out your HDMI output port, DISPLAY=:0 xrandr -q will tell.
(2015-03-23, 18:12)fritsch Wrote: [ -> ]Does: xrandr --output HDMI-0 --off && xrandr --output HDMI-0 --auto help?

or xrandr --output HDMI-0 --auto alone? From a shell? (You might need to add DISPLAY=:0 before the command)

You also need to find out your HDMI output port, DISPLAY=:0 xrandr -q will tell.

Well adding DISPLAY=:0 was necessary and the --off -auto did indeed make the screen go out and then come back. It takes a little while of having the TV off before the screen gets distorted when turning it back on. I'll check back later and see if it'll correct the distortion without a full reboot.
The xrandr -auto does work. It takes it about 5 seconds but it does come back to the correct screen size.