Kodi Community Forum

Full Version: Kodi blank display and unresponsive switching screens
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I recently upgraded to Kodi 17 on my Linux PC. The console is a VGA monitor (1280x1024), and HDMI3 is connected via a AVR to a 1080p TV (1920x1080). I leave Kodi running, and the display (in Kodi settings) set to HDMI3 or DEFAULT. When the AVR is off, Kodi occupies the VGA screen. When the AVR is turned on, udev detects the change and I run a script to use xrandr to add the display, and Kodi automatically switches to the HDMI screen. Used to work beautifully in Kodi versions up to 16.

Now, Kodi is still switching, but the display is dark and kodi doesn't respond to input. If I kill Kodi and restart, it starts up on the HDMI screen and all is good. If I then turn off the AVR, Kodi switches back to VGA screen, and goes dark/unresponsive again.

I don't know if it is the switching of displays that is causing Kodi 17 to behave this way, or the fact that the screens are different resolutions and slightly different sync? Any ideas for a fix or workaround would be most appreciated!

Thanks,
Shash

root@chattersrv:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
root@chattersrv:~# uname -a
Linux chattersrv 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
root@chattersrv:~# kodi --version
17.0 Git:20170210-nogitfound Media Center Kodi
Copyright © 2005-2013 Team Kodi - http://kodi.tv
CPU: Intel i5-2500
Graphics: Built-in HD Graphics 2000
Debug log: http://paste.ubuntu.com/24020689/
dmesg: http://paste.ubuntu.com/24020728/
Fixate your edid with drm_kms_helper - the forum search will show you how to do that.
I followed the steps here: http://forum.kodi.tv/showthread.php?tid=...pid2148505, except my card is HDMI-A-3, and I disabled the udev HDMI hotplug rules. Works great.

Thanks a bunch for your help.