Posts: 12
Joined: Dec 2024
Reputation:
0
Jayes
Junior Member
Posts: 12
2025-01-14, 22:46
(This post was last modified: 2025-01-17, 17:51 by PatK. Edited 1 time in total.)
I run Kodi on a laptop with Debian Trixie. I have KDE installed, but SDDM automatically logs into Kodi. I have a regular TV connected to the laptop via HDMI. I have Kodi configured to use the HDMI output and it works well.
The laptop is right next to the TV so I prefer it with a dark screen. When I check "blank other displays" in Kodi the laptop screen switches off - no problem.
Ater a restart of the system, however, Kodi shows up on the TV in the wrong position. About 1/3 of the left of the Kodi is shown on 1/3 on the right of the TV. Kodi has, in other words, shifted to the right with 2/3 of it now off the screen.
Turning "blank other displays" off fixes it.
I don't think this is a bug. In fact, I don't think Kodi is to blame at all. It probably has something to do with my Debian/KDE installation. I have searched everywhere but cannot find a solution.
Your help would be much appreciated.
Johan Spee
Posts: 12
Joined: Dec 2024
Reputation:
0
Jayes
Junior Member
Posts: 12
It should not be all that difficult.
I also had this problem on Debian 12. I tweaked everything I could think of in KDE and Kodi ... and one day I started the laptop up and it worked. But I had no idea why.
I now installed Debian 13 and again I tweaked everything I could think of in KDE and Kodi ... to no avail.
It's frustrating. I can be done.
But how?
Posts: 4,588
Joined: Jan 2011
Reputation:
157
DaVu
Team-Kodi Member
Posts: 4,588
Getting the EDID isn't that difficult. Just have a look at the script I wrote.
Most likely you are able to copy and paste most of it and use it on your machine. It might fail due to the check_file function which might only work on LibreELEC. But getting the EDID, store it in a seperated file and either add it to the Kernel command line (for intel) or add it to xorg.conf (for nvidia) isn't that hard.
The script was written for LibreELEC due to sound problems or when the HDMI handshake couldn't be done, because the AVR wasn't switched on before the LibreELEC device. So we created a EDID from a fully running system and use that instead of waiting for the handshake on every boot.
Anyway...this could help you probably.
In case you don't understand the script (which is totally fine), we're happy to assist. Just tell me if that's needed
Posts: 12
Joined: Dec 2024
Reputation:
0
Jayes
Junior Member
Posts: 12
I spoke too soon... closing the lid does not turn the laptop off but it does prevent starting it up. Bios has no fix for this.
Back at square one...
Posts: 205
Joined: Mar 2020
Reputation:
33
I have recently encountered the related bug: turning "Blank other displays" on blanks the HDMI monitor as well. This did not happen on a newer LG 4K panels but started on very old Samsung panel in the new place. Debug log with X category enabled would be interesting to look at.
Posts: 12
Joined: Dec 2024
Reputation:
0
Jayes
Junior Member
Posts: 12
With two active screens Kodi suffered badly from horizontal tearing. I tried every trick to fix that - to no avail.
In the end I solved all my problems by not logging into Kodi, but into KDE and start Kodo as an application there. Latop screen now switches off (KDE handles that). Tearing is gone.
Case not really solved, but still closed.
Thanks for your advice.