Kodi Community Forum

Full Version: Problems with Kubuntu 16.04 multi monitor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having troubles with a brand new install of Kodi on my multi-monitor Kubuntu.

Here's my system info and my Kodi version:
Code:
$ inxi -F
System:    Host: hague Kernel: 4.8.0-46-generic x86_64 (64 bit) Desktop: KDE Plasma 5.5.5
           Distro: Ubuntu 16.04 xenial
Machine:   System: TOSHIBA product: KIRA BOOK v: PSUC2U-003008
           Mobo: TOSHIBA model: KIRA BOOK v: Version A0
           Bios: TOSHIBA v: Version 1.40 date: 01/13/2015
CPU:       Dual core Intel Core i7-5500U (-HT-MCP-) cache: 4096 KB
           clock speeds: max: 3000 MHz 1: 2400 MHz 2: 2455 MHz 3: 2464 MHz 4: 2915 MHz
Graphics:  Card: Intel Broadwell-U Integrated Graphics
           Display Server: X.Org 1.18.4 driver: intel
           Resolution: [email protected], [email protected], [email protected]
           GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
           GLX Version: 3.0 Mesa 12.0.6
Audio:     Card-1 Intel Wildcat Point-LP High Definition Audio Controller driver: snd_hda_intel
           Card-2 Intel Broadwell-U Audio Controller driver: snd_hda_intel
           Card-3 DisplayLink driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.8.0-46-generic
Network:   Card: Intel Wireless 7265 driver: iwlwifi
           IF: wlan0 state: down mac: 60:57:18:58:03:db
Drives:    HDD Total Size: 532.2GB (40.9% used)
           ID-1: /dev/sda model: Crucial_CT500MX2 size: 500.1GB
           ID-2: USB /dev/sdb model: STORE_N_GO size: 32.1GB
Partition: ID-1: / size: 450G used: 195G (46%) fs: ext4 dev: /dev/dm-0
           ID-2: /boot size: 473M used: 180M (41%) fs: ext2 dev: /dev/sda2
           ID-3: swap-1 size: 8.50GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 79.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 281 Uptime: 9 min Memory: 2456.2/7892.2MB Client: Shell (bash) inxi: 2.2.35
mario@hague:~$ kodi --version
17.1 Git:20170320-nogitfound Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv

Also, this is my kodi debug log.

As you can see from the Resolution line above, I have three monitors. The only way in which Kodi works fine is in the
Windowed mode. Otherwise, if it opens on a 1920x1080 display, it has 2560x1440 resolution; when I change it to its native value,
it will simultaneously modify the resolution also of the display which does have a 2560x1440 resolution. If I change back (via xrandr)
the resolution of the UHD monitor to its native value, the Kodi display goes all black and never shows correctly again, I have to kill it.
If instead I open it on the UHD monitor it works just fine, even in full screen mode, until I decide to move it to one of the other monitors
when it turns off simultaneoulsy all screens, and I need then to go to a console to restore the system.

If I change the Monitor from Default to one of the monitor names (HDMI-1, DVI-1, eDP1), again Kodi goes all black and never displays again.
Even after having killed kodi, (via pkill -9, no less), the initial monitor configuration is all messed up, and it takes me a good few minutes of xrandr
to bring it back to the status quo.

I do not know whether kodi is not playing nice with X11 or with KDE.
Thanks for your reply. How am I to use the wiki instructions about EDID? I am asking because I have three displays:
am I supposed to run read-edid for each one of them, and then somehow join them? Or just for one of them?

BTW, working work-arounds are running Kodi inside a nested X display (Xephyr) or on a VM, second one being much
less resource-intensive.

Cheers.