v14 DPMS suspends all video outputs
#1
Hi!

I have an Intel NUC with several video outputs (1 HDMI, 2xDisplayPorts). My connections are HDMI -> TV, DP -> Amplifier. So I use HDMI video output solely for video, and DisplayPort solely for audio (no passthrough or anything on DisplayPort).

I then tried to set display to sleep after 5 minutes. The problem is that display goes to sleep, but takes audio output with it. I understand that I lose audio because it comes from a DP, but what I am interested in: is it possible to send only one interface to sleep. Ideally, only the video output that is selected for KODI output should be affected by DPMS.

I run Kodi 14.2 Git 7cc53a9
Kernel 3.13
Ubuntu 14.04
My Debug log: http://goo.gl/z96ed8
Reply
#2
In short:

- Upgrade kernel to >= 4.0.x
- Upgrade linux-firmware
- Use drm_kms_helper to overwrite the EDID information and pray :-) or teach your TV / AMP to transmit the EDID info when off. Alternatively you can check to "close" Pin 19, which is the hotplug detect.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Thanks fritsch!

I am now on kernel 4.0.4, also update linux-firmware and my release is now 14.04.2.

Maybe you could provide a bit more information about drm_kms_helper? I'v tried taping pin 19 - no luck. My /sys/module/drm_kms_helper/parameters/edid_firmware is empty.

This really puzzles me, because in my mind the outputs should be independent..

I also looked in the source code. Seems that power management acts upon Display class (Display* dpy = g_Windowing.GetDisplay();, from DPMSSupport.cpp), but I am not sure if this display consist of several screens, or there is a separate display per video output.
Reply
#4
That you don't get Audio anymore has nothing to do with kodi. When TV turns off, the Audio device unregisters :-(

See the arch wiki for drm_kms_helper. You will need to combine that with grub overwrite and xorg.conf (but only if you want to boot without TV powered on): https://wiki.archlinux.org/index.php/Ker...de_setting

Especially: https://wiki.archlinux.org/index.php/Ker...s_and_EDID
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Thanks again! Will read through the page.

Seems to be harder than I expected Smile Probably will stick with my old method: suspending TV from a remote control. By doing this audio is still present, and there are no glitches in audio playback.
Reply

Logout Mark Read Team Forum Stats Members Help
DPMS suspends all video outputs0