Mailing List Archive

FE won’t come out of sleep once every 24 hours
Hi Folks!


I’ve been having an issue with one of my Frontends where some time in
the middle of the afternoon it won’t come out of suspend (?) – black
screen and need to REISUB to get going again. Sort of similar to Steve
Greene’s thread earlier in this month (“AMD Ryzen freeze [OT]”) so I
purchased and installed a new video card – no change.


Problem started maybe mid-September – why Steve’s post caught my interest.


‘Ton’ of what appear to be false-positives in the logs, for example:

*

W CoreContext screensaver-dbus.cpp:87 (Inhibit) ScreenSaverDBus:
Failed to disable screensaver: Type of message, “(ss)”, does not
match expected type “(susu)”

*

Entering standby mode after 90 minutes of inactivity


Googling those seemed to indicate not an issue, plus the logs on that
Frontend show them, some going back to the beginning of May and I didn’t
have the issue back then. Other problem is I don’t know what I’m looking
for in the error message department. I haven’t seen anything that stands
out.


Highpoints of the unit’s spec’s:

Ubuntu 22.04

MythTV v 31 (Fall project to update)

CPU = Intel Core2 Duo E7500 with 6 GB RAM (free shows no swap being used)

Video Card:

inxi -G --display

Graphics:

Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nouveau v: kernel

Display: server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting

unloaded: fbdev,vesa gpu: nouveau resolution: 1920x1080~60Hz

OpenGL: renderer: NV138 v: 4.3 Mesa 23.0.4-0ubuntu1~22.04.1


FE’s Setup > Video > Playback is set as ‘Normal’. I did try toggling
this setting to something else, save & exit, then back to Normal, save &
exit – sort of to re-configure. And yes, also played with Ubuntu’s
Screensaver setting (it’s off). Obviously didn’t help.


So what else is needed to be know to fix my little problem?


Thanks!

Barry
Re: FE won?t come out of sleep once every 24 hours [ In reply to ]
On Sat, 21 Oct 2023 19:50:36 -0500, you wrote:

>
>Hi Folks!
>
>
>I?ve been having an issue with one of my Frontends where some time in
>the middle of the afternoon it won?t come out of suspend (?) ? black
>screen and need to REISUB to get going again. Sort of similar to Steve
>Greene?s thread earlier in this month (?AMD Ryzen freeze [OT]?) so I
>purchased and installed a new video card ? no change.
>
>
>Problem started maybe mid-September ? why Steve?s post caught my interest.
>
>
>?Ton? of what appear to be false-positives in the logs, for example:
>
> *
>
> W CoreContext screensaver-dbus.cpp:87 (Inhibit) ScreenSaverDBus:
> Failed to disable screensaver: Type of message, ?(ss)?, does not
> match expected type ?(susu)?
>
> *
>
> Entering standby mode after 90 minutes of inactivity
>
>
>Googling those seemed to indicate not an issue, plus the logs on that
>Frontend show them, some going back to the beginning of May and I didn?t
>have the issue back then. Other problem is I don?t know what I?m looking
>for in the error message department. I haven?t seen anything that stands
>out.
>
>
>Highpoints of the unit?s spec?s:
>
>Ubuntu 22.04
>
>MythTV v 31 (Fall project to update)
>
>CPU = Intel Core2 Duo E7500 with 6 GB RAM (free shows no swap being used)
>
>Video Card:
>
>inxi -G --display
>
>Graphics:
>
>Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nouveau v: kernel
>
>Display: server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
>
>unloaded: fbdev,vesa gpu: nouveau resolution: 1920x1080~60Hz
>
>OpenGL: renderer: NV138 v: 4.3 Mesa 23.0.4-0ubuntu1~22.04.1
>
>
>FE?s Setup > Video > Playback is set as ?Normal?. I did try toggling
>this setting to something else, save & exit, then back to Normal, save &
>exit ? sort of to re-configure. And yes, also played with Ubuntu?s
>Screensaver setting (it?s off). Obviously didn?t help.
>
>
>So what else is needed to be know to fix my little problem?

There are lots of different screensavers, and disabling all of them
can be quite difficult. The first one is the one that most people
know about, the one controlled by the screensaver setting,
xscreensaver. To make sure it is not running, run this command:

ps -ef | grep -i xscreen

Then there are the screensavers built into X, one of which I believe
just blanks the screen, and the other tells the monitor/TV to go to a
blank screen mode. To turn them off, I have this section in my
/etc/X11/xorg.conf file:

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

And then I also need to run this command:

xset s off

from the GUI startup (it only works once the GUI is running). The
various different desktops have different ways of starting things at
GUI startup, so you will need to use the correct one. Are you using
XFCE4?

I also am a bit surprised that you have an Nvidia GT1030 card (like
me), but are using it with the Nouveau drivers. You will likely not
be getting the proper deinterlace performance and the offloading of
video processing onto the GPU that the Nvidia drivers provide. With
that old a CPU, that will likely be affecting your picture quality.
But you will also not be having any Nvidia video driver problems
causing your resuming problem. However, it is still possible that the
Nouveau drivers could have a bug.

>Thanks!
>
>Barry
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: FE won’t come out of sleep once every 24 hours [ In reply to ]
(Was wondering why I didn't see this reply in the forum: sent it to the
wrong area! Argh!)


Hi Stephen!


Thanks for coming to my rescue!

ps -ef | grep -i xscreen gave:

barry 3916 3905 0 08:12 pts/0 00:00:00 grep --color=auto -i xscreen


...Ummm, I’m not sure if that means it is running on not.



As for my /etc/X11/xorg.conf …hmmm! Don’t have one. Do have:

/usr/share/doc/xserver-xorg-video-intel/xorg.conf

/etc/X11/xrdp/xorg.conf

(The latter could explain Remmina issues, but that’s a different topic.)


Looking at this file (/etc/X11/xrdp/xorg.conf) looks like it has taken
the place of the one for X11 – ‘redirecting’ might be the term? (Was
looking to see if any timers set.)



As for using the Nouveau drivers, yes, I did think that odd.



Looks like I have a few problems. I probably played with XRDP when VNC
and Remmina were upgrading versions, of which the old (Remmina) worked
fine and the new needed the legacy option added. I did learn how to use
the current Remmina – half-thinking a fresh install might be in order?


Barry
Re: FE won?t come out of sleep once every 24 hours [ In reply to ]
On Sun, 22 Oct 2023 14:56:00 -0500, you wrote:

>
>(Was wondering why I didn't see this reply in the forum: sent it to the
>wrong area! Argh!)
>
>
>Hi Stephen!
>
>
>Thanks for coming to my rescue!
>
>ps -ef | grep -i xscreen gave:
>
>barry 3916 3905 0 08:12 pts/0 00:00:00 grep --color=auto -i xscreen
>
>
>...Ummm, I?m not sure if that means it is running on not.

It is not running. The only executable seen by the ps -ef command
that matched the grep was the grep command itself. If xcreensaver is
running, you also get a line showing an xscreensaver command.

>As for my /etc/X11/xorg.conf ?hmmm! Don?t have one. Do have:
>
>/usr/share/doc/xserver-xorg-video-intel/xorg.conf

This one is just documentation, it is not used.

>/etc/X11/xrdp/xorg.conf

This one is likely used for xrdp (the X RDP protocol server). I doubt
it is used for the normal X config, just for the config used for
remote access. However, I have never used RDP, so I could be wrong.

In the absence of an existing /etc/X11/xorg.conf file, if you need
one, just create it and add the lines you want.

>(The latter could explain Remmina issues, but that?s a different topic.)
>
>
>Looking at this file (/etc/X11/xrdp/xorg.conf) looks like it has taken
>the place of the one for X11 ? ?redirecting? might be the term? (Was
>looking to see if any timers set.)

If you are not currently using xrdp, you could just uninstall it -
that should remove the /etc/X11/xrdp/ directory and its contents
(unless you have manually edited them).

>As for using the Nouveau drivers, yes, I did think that odd.
>
>
>
>Looks like I have a few problems. I probably played with XRDP when VNC
>and Remmina were upgrading versions, of which the old (Remmina) worked
>fine and the new needed the legacy option added. I did learn how to use
>the current Remmina ? half-thinking a fresh install might be in order?

Personally, I use Remmina with the VNC protocol, and install x11vnc on
all my machines as the VNC server. Which is not an entirely
straightforward thing to do - I think I had to write my own
/etc/systemd/system/x11vnc.service file to make it work properly.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: FE won’t come out of sleep once every 24 hours [ In reply to ]
On 23/10/2023 02:20, Stephen Worthington wrote:
>
> Personally, I use Remmina with the VNC protocol, and install x11vnc on
> all my machines as the VNC server. Which is not an entirely
> straightforward thing to do - I think I had to write my own
> /etc/systemd/system/x11vnc.service file to make it work properly.

I got fed up with all the arcane configuration options when attempting to connect to remote hosts. I
finally went with x2go and have never looked back.

x2go consists of some scripts (!) which run on the server and several client options. The standard
client I use can connect to almost anything and has an RDP option which I have used in the past,
when I operated a Windows VM for a while.

I now have a mini-thin client which boots into openbox and runs just x2goclient; it gives me a logon
within 15 seconds of pressing the power button. Everything else runs on a fat server.

--

Mike Perkins


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org