<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I had this combo (NUC+OLED), but I am
not sure if I had this issue. However, I do notice that I have
srandrd installed that is running daemon mode looking for display
connect/active event. It will then call my shell script to set
correct resolution). This is what I did. <br>
<ol>
<li>Build srandrd from source. May be it is available in binary
form, but building is quite easy, I think.<br>
</li>
<li>Create a shell script that sets X resolution using xrandr
(eg: xrandr -display <your display> --output
<your-hdmi> --mode 1920x1080 --rate 60)</li>
<li>Start srandrd (basically fix mythrv-frontend script to fire
srandrd in daemon mode, if not started already) with your
shell script as action for "display connected/active" (ie.,
use this check in your shell script if ($?SRANDRD_ACTION)
then....))<br>
</li>
</ol>
I am sure there are other (and possibly better) solutions, but
this is what I have and it works for me.<br>
<br>
Regards<br>
Ramesh<br>
<br>
<br>
<br>
On 6/19/23 08:22, Adam Skinner wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+gr129n4sj2nbbnNLS+eABmucQvcYsrmNNbXbUxJAvGOMY35Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>Sorry this isn't strictly a mythtv problem so feel free to
tell me to go away. </div>
<div><br>
</div>
<div>In a nutshell, I've got a new LG Oled 4K TV. When my
Frontend goes to sleep due to inactivity, there seems to be
some issues with the new TV and Xorg upon resume. I get a
blank screen. </div>
<div><br>
</div>
<div>My humble NUC cannot really run anything at 4K , so I've
still using 1080p set using XFCE4 control centre not xorg.conf</div>
<div><br>
</div>
<div>I *think* from looking at the logs - upon resume xorg and
the TV renegotiate and set a 4K resolution rather than the
previous 1080p. </div>
<div><br>
</div>
<div>Modern X doesn't seem to have much in the way of an
xorg.conf - so Im planning on generating one, have a single
set resolution and not allow any others. </div>
<div><br>
</div>
<div>Would welcome any advice , especially if I'm wasting my
time going down this route. <br>
</div>
<div><br>
</div>
<div>Adam</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
</blockquote>
<br>
</body>
</html>