<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 25, 2021 at 12:38 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 25 Jul 2021 11:04:36 -0400, you wrote:<br>
<br>
>On Sun, Jul 25, 2021 at 10:24 AM Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>> On Sun, 25 Jul 2021 09:17:35 -0400, you wrote:<br>
>><br>
>> ><br>
>> >On 7/25/21 8:18 AM, Stephen Worthington wrote:<br>
>> >> On Sun, 25 Jul 2021 07:27:16 -0400, you wrote:<br>
>> >><br>
>> >>> This problem is most likely caused by changing HDMI inputs away from my<br>
>> >>> PC and then back again. It's more subtle than it was a few years ago<br>
>> >>> when I was chasing this on 1080P.<br>
>> >>><br>
>> >>> I've recently tried setting my PC to UHD 4K with a scale factor of 200%<br>
>> >>> on any *buntu version with 5.11 kernel so I have gfx software new<br>
>> enough<br>
>> >>> to support my 11th gen Intel based NUC.<br>
>> >>><br>
>> >>> This seems to help 1080 content like mythtv since the TV in UHD<br>
>> improved<br>
>> >>> HD content.<br>
>> >>><br>
>> >>> If I set my HDMI 2.0 switch to the NUC and boot it, my TV is rock solid<br>
>> >>> regardless of what video I play, mythtv, streaming, games, etc.<br>
>> >>><br>
>> >>> If I leave the NUC on and switch to another HDMI source and later back<br>
>> >>> to the NUC I get the occasional screen blanking and loss of audio for<br>
>> >>> about 1-2 seconds. This repeats randomly.<br>
>> >>><br>
>> >>> I can fix this by:<br>
>> >>><br>
>> >>> 1. rebooting or<br>
>> >>><br>
>> >>> 2. setting the screen to 1080p 100% scaling.<br>
>> >>><br>
>> >>> This sound like that old problem where you had to capture the EDID in a<br>
>> >>> file and play with xorg.conf so the settings got reset with an HDMI<br>
>> >>> event like switching.<br>
>> >>><br>
>> >>> I can't find that old discussion. I have not had to do any such tricks<br>
>> >>> is a very long time. This just started when I changed to 4K settings<br>
>> >>> instead of HD. It's always been a 4K TV. I thought it might be<br>
>> hardware<br>
>> >>> but all the cables and switches are 4K@60 HDMI 2.0 rated.<br>
>> >>><br>
>> >>> At this point I just reboot each time I want to connect the PC to to<br>
>> the TV.<br>
>> >>><br>
>> >>> Any ideas??<br>
>> >> You could get a better HDMI switch - I think there are ones that will<br>
>> >> remember the EDID data and emulate the presence of the TV on any ports<br>
>> >> where the real TV is not connected. Full KVM switches seem to usually<br>
>> >> have that feature. But good HDMI KVM switches are not cheap.<br>
>> ><br>
>> >The switch I picked was about $40 and worked great until I started<br>
>> >testing at 4K@60. I tried using the second HDMI on the TV but had issues<br>
>> >with that, so I didn't spend a lot of time with it. Since I split the<br>
>> >output of the switch with a HDMI 2.0 digital audio extractor. I didn't<br>
>> >want to go that route.<br>
>> ><br>
>> >the switch I use is<br>
>> ><br>
>> ><br>
>> <a href="https://www.amazon.com/gp/product/B07MCS9PJD/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1" rel="noreferrer" target="_blank">https://www.amazon.com/gp/product/B07MCS9PJD/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1</a><br>
>> ><br>
>> >Jim A<br>
>><br>
>> There is no sign on that page of EDID support, so it likely does not<br>
>> have it. HDMI switches with EDID support normally tell you as it is<br>
>> an important feature, and justifies higher cost.<br>
>><br>
>> I did an experiment. I plugged in my NUC PC directly to my HDMI2 TV port.<br>
>I could not see anything until I changed the HDMI UHD color setting to turn<br>
>OFF HDMI 2.0. At that point I could see the PC desktop, but it was only<br>
>4K@30. To get 4K@60 I have to turn on HDMI 2.0 support.<br>
><br>
>So now I'm back on my HDMI 2.0 Switch and HDMI 2.0 support is turned on for<br>
>that HDMI1 port. The PC is set to 4K@60 and the TV info shows 4K@60. I also<br>
>have a Nividia Shield TV connected to the switch and it works at full 4K@60.<br>
><br>
>While trying to write this email the screen has blanked out for a second<br>
>twice.<br>
><br>
>Rebooting seems to be my only choice. However, I'm very curious why the PC<br>
>directly connected to the TV HDMI2 port can run 4K@60 with the TV in HDMI<br>
>2.0 mode??<br>
><br>
>Since the EDID switches are expensive and so are newer UHD TV's, I'm stuff<br>
>for now.<br>
><br>
>Jim A<br>
<br>
If it is an EDID problem, you can always just copy the EDID data and<br>
tell set up the xorg.conf to point to it. In Ubuntu, install the<br>
read-edid package and run:<br>
<br>
get-edid >edid.bin<br>
<br>
Put the edid.bin file into /etc/X11, then make the Device section of<br>
/etx/X11/xorg.conf look something like this:<br>
<br>
Section "Device"<br>
Identifier "nvidia"<br>
Driver "nvidia"<br>
Option "ConnectedMonitor" "DFP-0"<br>
Option "CustomEDID" "DFP-0:/etc/X11/edid.bin"<br>
Option "IgnoreEDID" "false"<br>
Option "UseEDID" "true"<br>
EndSection<br>
<br>
Change the DFP-0 to match what you see in /var/log/Xorg.0.log, and use<br>
the matching Identifier and Driver names.<br></blockquote><div><br></div><div>So currently I don't have an xorg.conf. So how is the correct way to create it so I can change the Device section?</div><div><br></div><div>Also my system only has the Intel Xe Graphics. </div><div><br></div><div>FYI my Xorg.log is at: "/home/jim/.local/share/xorg/Xorg.1.log" </div><div><br></div><div>Checking there I think the DFP-0 should be HDMI-1</div><div> </div><div>[ 30.185] (II) modeset(0): EDID for output DP-1<br>[ 30.227] (II) modeset(0): EDID for output HDMI-2<br>[ 30.227] (II) modeset(0): EDID for output DP-2<br>[ 30.227] (II) modeset(0): EDID for output DP-3<br>[ 30.227] (II) modeset(0): Output HDMI-1 connected<br>[ 30.227] (II) modeset(0): Output DP-1 disconnected<br>[ 30.227] (II) modeset(0): Output HDMI-2 disconnected<br>[ 30.227] (II) modeset(0): Output DP-2 disconnected<br>[ 30.227] (II) modeset(0): Output DP-3 disconnected<br></div><div><br></div><div>Jim A</div><div><br></div><div><br></div></div></div>