[mythtv-users] Mythbuntu, Intel graphics and losing, monitor when off

Nicolas Krzywinski myth at site7even.de
Tue Aug 23 19:57:44 UTC 2016


Hi guys, I had this issue as well on Mythbuntu 14.04 and solved it with 
an udev rule:

nsk at htpc7even:~$ cat /etc/udev/rules.d/90-hdmi-hotplug.rules
KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", 
ENV{XAUTHORITY}="/home/htpc/.Xauthority", RUN+="/srv/bin/hdmihotplug.sh"
nsk at htpc7even:~$ cat /srv/bin/hdmihotplug.sh
#!/bin/bash

export DISPLAY=:0
export XAUTHORITY=/home/htpc/.Xauthority

function connect()
{
     xrandr --output HDMI2 --mode 1920x1080
}

function disconnect()
{
       xrandr --output HDMI2 --off
}

xrandr | grep "HDMI2 connected" &> /dev/null && connect || disconnect
nsk at htpc7even:~$

Greetings,

Nicolas


On 23.08.2016 14:00, mythtv-users-request at mythtv.org wrote:
> Message: 2
> Date: Mon, 22 Aug 2016 08:46:45 -0700
> From: Marc Rawji <mrawji at gmail.com>
> To: Discussion about MythTV <mythtv-users at mythtv.org>
> Subject: Re: [mythtv-users] Mythbuntu,	Intel graphics and losing
> 	monitor when off
> Message-ID:
> 	<CAJ14JXq7PpiR2KFu55YLH337o49FOP41_6yLb6EZ7RfLnp2bFw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Happy you got a working xorg.conf...
>
> regarding the EDID information, I followed the steps here:
> http://kodi.wiki/view/Creating_and_using_edid.bin_via_xorg.conf
>
> It lets me turn the computer on, even if the TV/Receivers are off, and
> still have a running frontend when I switch to the right input.
>
> Good luck!
> Marc
>
>
>
> On Mon, Aug 22, 2016 at 12:12 AM, Simon Hobson <linux at thehobsons.co.uk>
> wrote:
>
>> Richard Morton <richard.e.morton at gmail.com> wrote:
>>
>>> I've not seen this issue before, the system works fine if I boot with
>> the TV on but when I turn off the monitor or switch it to another input and
>> then return the TV is blank with no signal reported.
>>
>> Apart from all the other options you've had, IIRC there are gadgets
>> available that sit in the HDMI lead and have the sole function of saving
>> the EDID info from the TV/monitor and passing it to the computer when the
>> TV is off.
>>
>> AIUI, TVs are supposed (according to the HDMI spec) to provide the EDID
>> even when off (in power save, guess it would be hard when unplugged) or
>> switched to another input. It seems that most don't - and these gadgets are
>> there to work around such problems.
>>
>> I did a quick search for "edid saver" and quickly found that "we are not
>> alone" with this problem, it looks like "edid emulator" might be a better
>> search term.
>>



More information about the mythtv-users mailing list