[Solved] mythtv-setup freezes upon launching

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

[Solved] mythtv-setup freezes upon launching

Post by ulmus-scott »

After recording some TV (not sure if live TV also causes an issue; I didn't think to test it and I'd rather not have to set up Myth again.), trying to launch mythtv-setup just shows a blank screen, see attached screenshots, and is unresponsive to any input (except sometimes it does exit via the left arrow or escape key). The blank screen may just show the background of the theme (mythbuntu), or a grayed out menu; I think it may have sometimes shown just a black screen (on my current combined backend/frontend). I am currently setting up a replacement combined backend/frontend.

Both computers are running Xubuntu (20.04 for the currently running and a fresh install of 21.04 on the new one) and I have installed mythtv 31 using the mythbuntu ppa. Both machines are using Intel integrated graphics (Haswell HD Graphics and Skylake HD 530), if that is relevant. I am using an HDHomeRun Dual HDHR4-US tuner.

Since I was setting up a new machine, I was doing some test recordings on it. When I noticed that the bug was also present on the new machine, I uninstalled it (apt-get purge). Interestingly, this left the database intact (a packaging bug?), and when I reinstalled the issue persisted. So I purged mythtv again, and dropped the database in mysql. When I reinstalled again, mythtv-setup worked as expected.

Until I made some test recordings. Manual recordings on two different channels to test the tuner (and a third on a different subchannel), and the tuner works fine, but when I stopped the recordings and tried to run mythtv-setup, it was once again freezing.

I also ran mythtv-setup.real (instead of through the settings manager script) to get some logs if they are useful. I also attached the setup log from /var/log/mythtv.

So is something strange happening to the database?


As an aside, when I was setting up the new machine, in mythtv-setup -> capture cards, when I was adding the networked HDHomeRun it only listed the serial number. When I was setting up the old machine in 2014, I could enter or it showed serial-0 and -1 to separately identify the two tuners. In order to be able to record on two channels, I had to create a duplicate entry, and it works but when I stopped one of my test scheduled recordings early, it stopped both (the other one was tuned to a different channel) and when I went into System Status -> input status it showed Input 1: 2 available and Input 2: 1 available and one locked (tuned?, I don't quite remember).

Also, the frontend default video playback profile was NVDEC Normal; wouldn't one of the OpenGL options make more sense as a default?

Thanks,
Scott
Attachments
mythtv-setup.log
(201.92 KiB) Downloaded 70 times
Last edited by ulmus-scott on Sun Aug 22, 2021 12:58 am, edited 1 time in total.
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

The terminal output of mythtv-setup is
exitted via left arrow (showed grayed out menu):

Code: Select all

htpc@htpc-HP:~$ mythtv-setup.real
"Display: Requesting EGL for 'Mesa Project, 1.5'"
2021-06-04 21:40:30.149888 I  Setup Interrupt handler
2021-06-04 21:40:30.149921 I  Setup Terminated handler
2021-06-04 21:40:30.149924 I  Setup Segmentation fault handler
2021-06-04 21:40:30.149926 I  Setup Aborted handler
2021-06-04 21:40:30.149928 I  Setup Bus error handler
2021-06-04 21:40:30.149931 I  Setup Floating point exception handler
2021-06-04 21:40:30.149933 I  Setup Illegal instruction handler
2021-06-04 21:40:30.149937 I  Setup Real-time signal 0 handler
2021-06-04 21:40:30.149940 I  Setup Hangup handler
2021-06-04 21:40:30.149985 C  mythtv-setup version: fixes/31 [v31.0+fixes.202105291450.df29c72b4d~ubuntu21.04.1] www.mythtv.org
2021-06-04 21:40:30.149988 C  Qt version: compile: 5.15.2, runtime: 5.15.2
2021-06-04 21:40:30.150005 I  Ubuntu 21.04 (x86_64)
2021-06-04 21:40:30.150006 N  Enabled verbose msgs:  general
2021-06-04 21:40:30.150013 N  Setting Log Level to LOG_INFO
2021-06-04 21:40:30.160214 I  Added logging to the console
2021-06-04 21:40:30.312368 N  Using runtime prefix = /usr
2021-06-04 21:40:30.312382 N  Using configuration directory = /home/htpc/.mythtv
2021-06-04 21:40:30.312433 I  Assumed character encoding: en_US.UTF-8
2021-06-04 21:40:30.313179 I  Loading en_us translation for module mythfrontend
2021-06-04 21:40:30.313540 I  Empty LocalHostName. This is typical.
2021-06-04 21:40:30.313550 I  Using a profile name of: 'htpc-HP' (Usually the same as this host's name.)
2021-06-04 21:40:30.313664 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 0
2021-06-04 21:40:30.315379 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-04 21:40:30.315405 I  Display: Using screen 'HDMI-2' (Make: Ancor Communications Inc Model: ASUS VS239-)
2021-06-04 21:40:30.315425 I  Display: Qt screen pixel ratio: 1.00
2021-06-04 21:40:30.315447 I  Display: Geometry: 1920x1080+0+0 Size(Qt): 509mmx286mm
2021-06-04 21:40:30.318746 N  Display: Desktop video mode: 1920x1080 60.000Hz
2021-06-04 21:40:30.318761 N  Display: Display has custom colourspace
2021-06-04 21:40:30.328777 I  Starting process manager
2021-06-04 21:40:30.328930 I  Starting process signal handler
2021-06-04 21:40:30.333264 I  Starting IO manager (write)
2021-06-04 21:40:30.333347 I  Starting IO manager (read)
2021-06-04 21:40:30.380952 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-04 21:40:30.474585 E  DB Error (StorageGroup::StorageGroup()):
Query was:

Driver error was [1/]:
Driver not loaded
Database error was:
Driver not loaded

2021-06-04 21:40:30.474900 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
			eno: No such file or directory (2)
2021-06-04 21:40:30.474912 I  No joystick configuration found, not enabling joystick control
2021-06-04 21:40:30.474914 I  UDPListener: Enabling
2021-06-04 21:40:30.475002 I  Binding to UDP 0.0.0.0:0
2021-06-04 21:40:30.475030 I  Binding to UDP [::]:0
2021-06-04 21:40:30.485767 I  Using Frameless Window
2021-06-04 21:40:30.485771 I  Using Full Screen Window
2021-06-04 21:40:30.499432 I  Display: Have main widget
2021-06-04 21:40:30.499437 I  Display: Have main window
2021-06-04 21:40:30.499449 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-04 21:40:30.499498 I  UI Screen Resolution: 1920 x 1080
2021-06-04 21:40:30.562254 I  OpenGL: OpenGL vendor        : Intel
2021-06-04 21:40:30.562267 I  OpenGL: OpenGL renderer      : Mesa Intel(R) HD Graphics 530 (SKL GT2)
2021-06-04 21:40:30.562272 I  OpenGL: OpenGL version       : 4.6 (Compatibility Profile) Mesa 21.0.1
2021-06-04 21:40:30.562280 I  OpenGL: Qt platform          : xcb
2021-06-04 21:40:30.562378 I  OpenGL: EGL display          : Yes
2021-06-04 21:40:30.562393 I  OpenGL: EGL images           : Yes
2021-06-04 21:40:30.562398 I  OpenGL: Qt OpenGL format     : OpenGL 4.6
2021-06-04 21:40:30.562407 I  OpenGL: Qt OpenGL surface    : RGBA: 8880 Depth: 0 Stencil: 0
2021-06-04 21:40:30.562415 I  OpenGL: Max texture size     : 16384
2021-06-04 21:40:30.562424 I  OpenGL: Max texture units    : 192
2021-06-04 21:40:30.562430 I  OpenGL: Shaders              : Yes
2021-06-04 21:40:30.562439 I  OpenGL: NPOT textures        : Yes
2021-06-04 21:40:30.562444 I  OpenGL: Multitexturing       : Yes
2021-06-04 21:40:30.562458 I  OpenGL: Rectangular textures : Yes
2021-06-04 21:40:30.562462 I  OpenGL: Buffer mapping       : Yes
2021-06-04 21:40:30.562472 I  OpenGL: Framebuffer objects  : Yes
2021-06-04 21:40:30.562476 I  OpenGL: 16bit framebuffers   : Yes
2021-06-04 21:40:30.562485 I  OpenGL: Unpack Subimage      : Yes
2021-06-04 21:40:30.562490 I  OpenGL: GL_RED/GL_R8         : Yes
2021-06-04 21:40:30.578204 I  OpenGL: Initialised MythRenderOpenGL
2021-06-04 21:40:30.578213 I  OpenGL: Using full range output
2021-06-04 21:40:30.579055 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-04 21:40:30.579188 I  MythUIHelper: Kept 9 files, deleted 0 files, stat error on 0 files
2021-06-04 21:40:30.579201 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-04 21:40:30.579718 I  MythUIHelper: Kept 56 files, deleted 0 files, stat error on 0 files
libcec.so.6: cannot open shared object file: No such file or directory
2021-06-04 21:40:30.794389 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-04 21:40:30.794534 E  CECAdapter: Failed to load libcec.
2021-06-04 21:40:31.853730 N  Setting QT default locale to en_US
2021-06-04 21:40:31.853748 I  Current locale en_US
2021-06-04 21:40:31.853830 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2021-06-04 21:40:31.937362 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-04 21:40:32.057234 I  Power: On AC power
2021-06-04 21:40:32.057280 I  Power: Supported actions: Suspend,Restart,Shutdown
2021-06-04 21:40:32.066276 I  Loading en_us translation for module mythfrontend
2021-06-04 21:40:32.069058 I  Using Frameless Window
2021-06-04 21:40:32.069071 I  Using Full Screen Window
2021-06-04 21:40:32.069953 I  Display: Have main widget
2021-06-04 21:40:32.069961 I  Display: Have main window
2021-06-04 21:40:32.070644 I  Display: Found screen 'HDMI-2'
2021-06-04 21:40:32.070670 I  Display: Waiting for new screen
2021-06-04 21:40:32.546245 W  Display: Timed out waiting for new screen
2021-06-04 21:40:32.548608 I  UI Screen Resolution: 1920 x 1080
2021-06-04 21:40:32.586512 I  OpenGL: Initialised MythRenderOpenGL
2021-06-04 21:40:32.586525 I  OpenGL: Using full range output
2021-06-04 21:40:32.592508 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-04 21:40:32.592776 I  MythUIHelper: Kept 9 files, deleted 0 files, stat error on 0 files
2021-06-04 21:40:32.592811 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-04 21:40:32.593524 I  MythUIHelper: Kept 56 files, deleted 0 files, stat error on 0 files
libcec.so.6: cannot open shared object file: No such file or directory
2021-06-04 21:40:32.833722 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-04 21:40:32.833900 E  CECAdapter: Failed to load libcec.
2021-06-04 21:40:32.837907 I  Current MythTV Schema Version (DBSchemaVer): 1361
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
2021-06-04 21:40:38.330600 W  MythPainter: 133 images not yet de-allocated.
2021-06-04 21:40:38.330863 I  Clearing OpenGL painter cache.
2021-06-04 21:40:38.331858 I  OpenGL: MythRenderOpenGL closing
2021-06-04 21:40:38.335419 I  OpenGL: MythRenderOpenGL closing
2021-06-04 21:40:38.350441 I  PowerDBus: Closing interfaces
^[[D2021-06-04 21:40:40.178956 I  Exiting

exitted via ctrl c (showed background only)

Code: Select all

htpc@htpc-HP:~$ mythtv-setup.real
"Display: Requesting EGL for 'Mesa Project, 1.5'"
2021-06-04 21:44:19.417718 I  Setup Interrupt handler
2021-06-04 21:44:19.417730 I  Setup Terminated handler
2021-06-04 21:44:19.417733 I  Setup Segmentation fault handler
2021-06-04 21:44:19.417736 I  Setup Aborted handler
2021-06-04 21:44:19.417738 I  Setup Bus error handler
2021-06-04 21:44:19.417741 I  Setup Floating point exception handler
2021-06-04 21:44:19.417743 I  Setup Illegal instruction handler
2021-06-04 21:44:19.417747 I  Setup Real-time signal 0 handler
2021-06-04 21:44:19.417750 I  Setup Hangup handler
2021-06-04 21:44:19.417796 C  mythtv-setup version: fixes/31 [v31.0+fixes.202105291450.df29c72b4d~ubuntu21.04.1] www.mythtv.org
2021-06-04 21:44:19.417799 C  Qt version: compile: 5.15.2, runtime: 5.15.2
2021-06-04 21:44:19.417817 I  Ubuntu 21.04 (x86_64)
2021-06-04 21:44:19.417819 N  Enabled verbose msgs:  general
2021-06-04 21:44:19.417826 N  Setting Log Level to LOG_INFO
2021-06-04 21:44:19.428353 I  Added logging to the console
2021-06-04 21:44:19.580847 N  Using runtime prefix = /usr
2021-06-04 21:44:19.580861 N  Using configuration directory = /home/htpc/.mythtv
2021-06-04 21:44:19.580913 I  Assumed character encoding: en_US.UTF-8
2021-06-04 21:44:19.581618 I  Loading en_us translation for module mythfrontend
2021-06-04 21:44:19.581983 I  Empty LocalHostName. This is typical.
2021-06-04 21:44:19.581994 I  Using a profile name of: 'htpc-HP' (Usually the same as this host's name.)
2021-06-04 21:44:19.582109 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 0
2021-06-04 21:44:19.583817 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-04 21:44:19.583842 I  Display: Using screen 'HDMI-2' (Make: Ancor Communications Inc Model: ASUS VS239-)
2021-06-04 21:44:19.583862 I  Display: Qt screen pixel ratio: 1.00
2021-06-04 21:44:19.583884 I  Display: Geometry: 1920x1080+0+0 Size(Qt): 509mmx286mm
2021-06-04 21:44:19.586988 N  Display: Desktop video mode: 1920x1080 60.000Hz
2021-06-04 21:44:19.587002 N  Display: Display has custom colourspace
2021-06-04 21:44:19.597078 I  Starting process manager
2021-06-04 21:44:19.597174 I  Starting process signal handler
2021-06-04 21:44:19.601135 I  Starting IO manager (read)
2021-06-04 21:44:19.601432 I  Starting IO manager (write)
2021-06-04 21:44:19.649031 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-04 21:44:19.744104 E  DB Error (StorageGroup::StorageGroup()):
Query was:

Driver error was [1/]:
Driver not loaded
Database error was:
Driver not loaded

2021-06-04 21:44:19.744497 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
			eno: No such file or directory (2)
2021-06-04 21:44:19.744510 I  No joystick configuration found, not enabling joystick control
2021-06-04 21:44:19.744512 I  UDPListener: Enabling
2021-06-04 21:44:19.744629 I  Binding to UDP 0.0.0.0:0
2021-06-04 21:44:19.744659 I  Binding to UDP [::]:0
2021-06-04 21:44:19.755402 I  Using Frameless Window
2021-06-04 21:44:19.755406 I  Using Full Screen Window
2021-06-04 21:44:19.768623 I  Display: Have main widget
2021-06-04 21:44:19.768626 I  Display: Have main window
2021-06-04 21:44:19.768649 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-04 21:44:19.768718 I  UI Screen Resolution: 1920 x 1080
2021-06-04 21:44:19.799826 I  OpenGL: OpenGL vendor        : Intel
2021-06-04 21:44:19.799831 I  OpenGL: OpenGL renderer      : Mesa Intel(R) HD Graphics 530 (SKL GT2)
2021-06-04 21:44:19.799833 I  OpenGL: OpenGL version       : 4.6 (Compatibility Profile) Mesa 21.0.1
2021-06-04 21:44:19.799838 I  OpenGL: Qt platform          : xcb
2021-06-04 21:44:19.799873 I  OpenGL: EGL display          : Yes
2021-06-04 21:44:19.799877 I  OpenGL: EGL images           : Yes
2021-06-04 21:44:19.799878 I  OpenGL: Qt OpenGL format     : OpenGL 4.6
2021-06-04 21:44:19.799881 I  OpenGL: Qt OpenGL surface    : RGBA: 8880 Depth: 0 Stencil: 0
2021-06-04 21:44:19.799883 I  OpenGL: Max texture size     : 16384
2021-06-04 21:44:19.799886 I  OpenGL: Max texture units    : 192
2021-06-04 21:44:19.799888 I  OpenGL: Shaders              : Yes
2021-06-04 21:44:19.799891 I  OpenGL: NPOT textures        : Yes
2021-06-04 21:44:19.799892 I  OpenGL: Multitexturing       : Yes
2021-06-04 21:44:19.799895 I  OpenGL: Rectangular textures : Yes
2021-06-04 21:44:19.799896 I  OpenGL: Buffer mapping       : Yes
2021-06-04 21:44:19.799898 I  OpenGL: Framebuffer objects  : Yes
2021-06-04 21:44:19.799900 I  OpenGL: 16bit framebuffers   : Yes
2021-06-04 21:44:19.799902 I  OpenGL: Unpack Subimage      : Yes
2021-06-04 21:44:19.799904 I  OpenGL: GL_RED/GL_R8         : Yes
2021-06-04 21:44:19.804781 I  OpenGL: Initialised MythRenderOpenGL
2021-06-04 21:44:19.804786 I  OpenGL: Using full range output
2021-06-04 21:44:19.805158 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-04 21:44:19.805217 I  MythUIHelper: Kept 9 files, deleted 0 files, stat error on 0 files
2021-06-04 21:44:19.805224 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-04 21:44:19.805449 I  MythUIHelper: Kept 56 files, deleted 0 files, stat error on 0 files
libcec.so.6: cannot open shared object file: No such file or directory
2021-06-04 21:44:20.018448 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-04 21:44:20.018604 E  CECAdapter: Failed to load libcec.
2021-06-04 21:44:21.073959 N  Setting QT default locale to en_US
2021-06-04 21:44:21.073979 I  Current locale en_US
2021-06-04 21:44:21.074061 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2021-06-04 21:44:21.157460 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-04 21:44:21.284499 I  Power: On AC power
2021-06-04 21:44:21.284549 I  Power: Supported actions: Suspend,Restart,Shutdown
2021-06-04 21:44:21.293229 I  Loading en_us translation for module mythfrontend
2021-06-04 21:44:21.295837 I  Using Frameless Window
2021-06-04 21:44:21.295848 I  Using Full Screen Window
2021-06-04 21:44:21.297353 I  Display: Have main widget
2021-06-04 21:44:21.297374 I  Display: Have main window
2021-06-04 21:44:21.298344 I  Display: Found screen 'HDMI-2'
2021-06-04 21:44:21.298378 I  Display: Waiting for new screen
2021-06-04 21:44:21.824068 W  Display: Timed out waiting for new screen
2021-06-04 21:44:21.826297 I  UI Screen Resolution: 1920 x 1080
2021-06-04 21:44:21.860082 I  OpenGL: Initialised MythRenderOpenGL
2021-06-04 21:44:21.860095 I  OpenGL: Using full range output
2021-06-04 21:44:21.869532 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-04 21:44:21.869761 I  MythUIHelper: Kept 9 files, deleted 0 files, stat error on 0 files
2021-06-04 21:44:21.869789 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-04 21:44:21.870504 I  MythUIHelper: Kept 56 files, deleted 0 files, stat error on 0 files
libcec.so.6: cannot open shared object file: No such file or directory
2021-06-04 21:44:22.107380 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-04 21:44:22.107532 E  CECAdapter: Failed to load libcec.
2021-06-04 21:44:22.112503 I  Current MythTV Schema Version (DBSchemaVer): 1361
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
^C2021-06-04 21:44:47.572004 C  Received Interrupt: Code 128, PID 0, UID 0, Value 0x00000000
2021-06-04 21:44:47.581922 W  MythPainter: 144 images not yet de-allocated.
2021-06-04 21:44:47.581992 I  Clearing OpenGL painter cache.
2021-06-04 21:44:47.582394 I  OpenGL: MythRenderOpenGL closing
2021-06-04 21:44:47.583602 I  OpenGL: MythRenderOpenGL closing
2021-06-04 21:44:47.590164 I  PowerDBus: Closing interfaces
2021-06-04 21:44:47.590648 I  Waiting for threads to exit.
2021-06-04 21:44:49.484019 I  Exiting

Identical except ctrl c has an extra line for Waiting for threads to exit.
Last edited by ulmus-scott on Sat Jun 05, 2021 12:54 pm, edited 1 time in total.
User avatar
kmdewaal
Developer
Posts: 640
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: mythtv-setup freezes upon launching

Post by kmdewaal »

How to configure all the bits for channel scanning is described in the Wiki https://www.mythtv.org/wiki/Channel_Scanning and especially the paragraph https://www.mythtv.org/wiki/Channel_Sca ... Run_tuners is of interest because the configuration of these is rather different since mythtv v30.

Could it be that you have multiple instances of e.g. mythbackend or mythtv-setup running? If you run for example mythbackend as a service then that service must be stopped before you can start mythtv-setup because they should not run simultaneously.

The attached mythtv-setup log looks OK for the scanning part but at the end there should be a complete list of all channels found and that is missing. There have been reports about mythtv-setup crashing at the end of the scan but I have never been able to reproduce this. Maybe you have. It could be that changing scanning options, such as "Full search for old channels" or "Logical Channel Numbers required" do make a difference.

To run mythtv-setup on another computer I most often use "ssh -X <another computer>" and then start mythtv-setup. This then uses Qt instead of OpenGL apparently because OpenGL cannot be played across the network but for mythtv-setup this is OK. Another possibility is to use VNC which gives you what is called a remote desktop.
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

Thanks for the wiki link.
Could it be that you have multiple instances of e.g. mythbackend or mythtv-setup running? If you run for example mythbackend as a service then that service must be stopped before you can start mythtv-setup because they should not run simultaneously.
The script called from the Ubuntu settings manager stops the backend before launching mythtv-setup.real, so the backend should not be running. I had to manually terminate mythtv-setup.real in Task Manager, so no other instances of mythtv-setup were concurrently running.

Code: Select all

htpc@htpc-HP:~$ sudo systemctl stop mythtv-backend
htpc@htpc-HP:~$ mythtv-setup.real
"Display: Requesting EGL for 'Mesa Project, 1.5'"
2021-06-05 09:01:41.199847 I  Setup Interrupt handler
2021-06-05 09:01:41.199863 I  Setup Terminated handler
2021-06-05 09:01:41.199866 I  Setup Segmentation fault handler
2021-06-05 09:01:41.199869 I  Setup Aborted handler
2021-06-05 09:01:41.199871 I  Setup Bus error handler
2021-06-05 09:01:41.199874 I  Setup Floating point exception handler
2021-06-05 09:01:41.199877 I  Setup Illegal instruction handler
2021-06-05 09:01:41.199881 I  Setup Real-time signal 0 handler
2021-06-05 09:01:41.199884 I  Setup Hangup handler
2021-06-05 09:01:41.199933 C  mythtv-setup version: fixes/31 [v31.0+fixes.202105291450.df29c72b4d~ubuntu21.04.1] www.mythtv.org
2021-06-05 09:01:41.199937 C  Qt version: compile: 5.15.2, runtime: 5.15.2
2021-06-05 09:01:41.199962 I  Ubuntu 21.04 (x86_64)
2021-06-05 09:01:41.199964 N  Enabled verbose msgs:  general
2021-06-05 09:01:41.199972 N  Setting Log Level to LOG_INFO
2021-06-05 09:01:41.210377 I  Added logging to the console
2021-06-05 09:01:41.362842 N  Using runtime prefix = /usr
2021-06-05 09:01:41.362855 N  Using configuration directory = /home/htpc/.mythtv
2021-06-05 09:01:41.362907 I  Assumed character encoding: en_US.UTF-8
2021-06-05 09:01:41.364219 I  Loading en_us translation for module mythfrontend
2021-06-05 09:01:41.364826 I  Empty LocalHostName. This is typical.
2021-06-05 09:01:41.364837 I  Using a profile name of: 'htpc-HP' (Usually the same as this host's name.)
2021-06-05 09:01:41.364954 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 0
2021-06-05 09:01:41.367054 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-05 09:01:41.367081 I  Display: Using screen 'HDMI-2' (Make: Ancor Communications Inc Model: ASUS VS239-)
2021-06-05 09:01:41.367101 I  Display: Qt screen pixel ratio: 1.00
2021-06-05 09:01:41.367124 I  Display: Geometry: 1920x1080+0+0 Size(Qt): 509mmx286mm
2021-06-05 09:01:41.370273 N  Display: Desktop video mode: 1920x1080 60.000Hz
2021-06-05 09:01:41.370286 N  Display: Display has custom colourspace
2021-06-05 09:01:41.380359 I  Starting process manager
2021-06-05 09:01:41.380407 I  Starting process signal handler
2021-06-05 09:01:41.384292 I  Starting IO manager (read)
2021-06-05 09:01:41.384420 I  Starting IO manager (write)
2021-06-05 09:01:41.432544 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-05 09:01:41.523832 E  DB Error (StorageGroup::StorageGroup()):
Query was:

Driver error was [1/]:
Driver not loaded
Database error was:
Driver not loaded

2021-06-05 09:01:41.527529 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
			eno: No such file or directory (2)
2021-06-05 09:01:41.527546 I  No joystick configuration found, not enabling joystick control
2021-06-05 09:01:41.527549 I  UDPListener: Enabling
2021-06-05 09:01:41.528060 I  Binding to UDP 0.0.0.0:0
2021-06-05 09:01:41.528090 I  Binding to UDP [::]:0
2021-06-05 09:01:41.538808 I  Using Frameless Window
2021-06-05 09:01:41.538812 I  Using Full Screen Window
2021-06-05 09:01:41.554765 I  Display: Have main widget
2021-06-05 09:01:41.554769 I  Display: Have main window
2021-06-05 09:01:41.554779 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-05 09:01:41.554831 I  UI Screen Resolution: 1920 x 1080
2021-06-05 09:01:41.588138 I  OpenGL: OpenGL vendor        : Intel
2021-06-05 09:01:41.588143 I  OpenGL: OpenGL renderer      : Mesa Intel(R) HD Graphics 530 (SKL GT2)
2021-06-05 09:01:41.588145 I  OpenGL: OpenGL version       : 4.6 (Compatibility Profile) Mesa 21.0.1
2021-06-05 09:01:41.588147 I  OpenGL: Qt platform          : xcb
2021-06-05 09:01:41.588178 I  OpenGL: EGL display          : Yes
2021-06-05 09:01:41.588179 I  OpenGL: EGL images           : Yes
2021-06-05 09:01:41.588183 I  OpenGL: Qt OpenGL format     : OpenGL 4.6
2021-06-05 09:01:41.588185 I  OpenGL: Qt OpenGL surface    : RGBA: 8880 Depth: 0 Stencil: 0
2021-06-05 09:01:41.588188 I  OpenGL: Max texture size     : 16384
2021-06-05 09:01:41.588190 I  OpenGL: Max texture units    : 192
2021-06-05 09:01:41.588192 I  OpenGL: Shaders              : Yes
2021-06-05 09:01:41.588194 I  OpenGL: NPOT textures        : Yes
2021-06-05 09:01:41.588196 I  OpenGL: Multitexturing       : Yes
2021-06-05 09:01:41.588198 I  OpenGL: Rectangular textures : Yes
2021-06-05 09:01:41.588200 I  OpenGL: Buffer mapping       : Yes
2021-06-05 09:01:41.588202 I  OpenGL: Framebuffer objects  : Yes
2021-06-05 09:01:41.588204 I  OpenGL: 16bit framebuffers   : Yes
2021-06-05 09:01:41.588206 I  OpenGL: Unpack Subimage      : Yes
2021-06-05 09:01:41.588208 I  OpenGL: GL_RED/GL_R8         : Yes
2021-06-05 09:01:41.594335 I  OpenGL: Initialised MythRenderOpenGL
2021-06-05 09:01:41.594340 I  OpenGL: Using full range output
2021-06-05 09:01:41.595754 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-05 09:01:41.595970 I  MythUIHelper: Kept 9 files, deleted 0 files, stat error on 0 files
2021-06-05 09:01:41.595977 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-05 09:01:41.596733 I  MythUIHelper: Kept 56 files, deleted 0 files, stat error on 0 files
libcec.so.6: cannot open shared object file: No such file or directory
2021-06-05 09:01:41.871263 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-05 09:01:41.871410 E  CECAdapter: Failed to load libcec.
2021-06-05 09:01:42.935400 N  Setting QT default locale to en_US
2021-06-05 09:01:42.935418 I  Current locale en_US
2021-06-05 09:01:42.935500 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2021-06-05 09:01:42.988363 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-05 09:01:43.110010 I  Power: On AC power
2021-06-05 09:01:43.110057 I  Power: Supported actions: Suspend,Restart,Shutdown
2021-06-05 09:01:43.119906 I  Loading en_us translation for module mythfrontend
2021-06-05 09:01:43.126866 I  Using Frameless Window
2021-06-05 09:01:43.126877 I  Using Full Screen Window
2021-06-05 09:01:43.128125 I  Display: Have main widget
2021-06-05 09:01:43.128134 I  Display: Have main window
2021-06-05 09:01:43.128944 I  Display: Found screen 'HDMI-2'
2021-06-05 09:01:43.128973 I  Display: Waiting for new screen
2021-06-05 09:01:43.603873 W  Display: Timed out waiting for new screen
2021-06-05 09:01:43.606204 I  UI Screen Resolution: 1920 x 1080
2021-06-05 09:01:43.644470 I  OpenGL: Initialised MythRenderOpenGL
2021-06-05 09:01:43.644484 I  OpenGL: Using full range output
2021-06-05 09:01:43.651115 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-05 09:01:43.651368 I  MythUIHelper: Kept 9 files, deleted 0 files, stat error on 0 files
2021-06-05 09:01:43.651398 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-05 09:01:43.652108 I  MythUIHelper: Kept 56 files, deleted 0 files, stat error on 0 files
libcec.so.6: cannot open shared object file: No such file or directory
2021-06-05 09:01:43.908800 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-05 09:01:43.908921 E  CECAdapter: Failed to load libcec.
2021-06-05 09:01:43.914060 I  Current MythTV Schema Version (DBSchemaVer): 1361
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined
2021-06-05 09:01:51.824738 W  MythPainter: 133 images not yet de-allocated.
2021-06-05 09:01:51.824809 I  Clearing OpenGL painter cache.
2021-06-05 09:01:51.825080 I  OpenGL: MythRenderOpenGL closing
2021-06-05 09:01:51.826421 I  OpenGL: MythRenderOpenGL closing
2021-06-05 09:01:51.832174 I  PowerDBus: Closing interfaces
2021-06-05 09:01:56.240053 I  Exiting

Manually stopping the service yielded no difference. Background only but exited with left arrow key.
The attached mythtv-setup log looks OK for the scanning part but at the end there should be a complete list of all channels found and that is missing.
Sorry, I should have said when I did the test recordings. It was 2021-06-04 20:15ish to 20:32.
There have been reports about mythtv-setup crashing at the end of the scan but I have never been able to reproduce this. Maybe you have. It could be that changing scanning options, such as "Full search for old channels" or "Logical Channel Numbers required" do make a difference.
The channel scan works fine. If you were confused by the GitHub bug I posted (https://github.com/MythTV/mythtv/issues/365), that is a configuration issue. It scans channels 37-51 when it shouldn't any more (actually should never have scanned channel 37, it is reserved for radio astronomy, but it is simpler and easier to code it to be scanned anyway). The wiki https://www.mythtv.org/wiki/Channel_Sca ... nel_Scan_2 fourth image shows how to change the scan range, so if I could get into mythtv-setup I should be able to limit the channel range appropriately if I needed to rescan.
when I was setting up the new machine, in mythtv-setup -> capture cards, when I was adding the networked HDHomeRun it only listed the serial number. When I was setting up the old machine in 2014, I could enter or it showed serial-0 and -1 to separately identify the two tuners. In order to be able to record on two channels, I had to create a duplicate entry, and it works but when I stopped one of my test scheduled recordings early, it stopped both (the other one was tuned to a different channel)
Per the wiki https://www.mythtv.org/wiki/Channel_Sca ... Run_tuners , this is how it is supposed to be setup. Still seems a little odd to me that you aren't identifying the specific tuner. Doesn't explain why stopping the one recording early stopped the other one, though (admittedly manually stopping a recording should be a rare occurrence). Could be because I named both "test". A third recording "test 2" ended properly at 20:30. Relevant mythbackend.log section:

Code: Select all

Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: C thread_unknown mythcommandlineparser.cpp:2608 (ConfigureLogging) mythbackend version: fixes/31 [v31.0+fixes.202105291450.df29c72b4d~ubuntu21.04.1] www.mythtv.org
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: C thread_unknown mythcommandlineparser.cpp:2612 (ConfigureLogging) Qt version: compile: 5.15.2, runtime: 5.15.2
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown mythcommandlineparser.cpp:2614 (ConfigureLogging) Ubuntu 21.04 (x86_64)
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: N thread_unknown mythcommandlineparser.cpp:2616 (ConfigureLogging) Enabled verbose msgs:  general
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: N thread_unknown logging.cpp:724 (logStart) Setting Log Level to LOG_INFO
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I Logger logging.cpp:280 (run) Added logging to the console
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Interrupt handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Terminated handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Segmentation fault handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Aborted handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Bus error handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Floating point exception handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Illegal instruction handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Real-time signal 0 handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I thread_unknown signalhandling.cpp:191 (SetHandlerPrivate) Setup Hangup handler
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: N thread_unknown mythdirs.cpp:203 (InitializeMythDirs) Using runtime prefix = /usr
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: N thread_unknown mythdirs.cpp:204 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcorecontext.cpp:284 (Init) Assumed character encoding: en_US.UTF-8
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I LogForward loggingserver.cpp:248 (SyslogLogger) Added syslogging
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcontext.cpp:629 (LoadDatabaseSettings) Empty LocalHostName. This is typical.
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcontext.cpp:636 (LoadDatabaseSettings) Using a profile name of: 'htpc-HP' (Usually the same as this host's name.)
Jun  4 20:16:04 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcontext.cpp:885 (TestDBconnection) Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: N CoreContext mythcorecontext.cpp:1809 (InitLocale) Setting QT default locale to en_US
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcorecontext.cpp:1842 (SaveLocaleDefaults) Current locale en_US
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: N CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext platforms/mythpowerdbus.cpp:530 (AcquireLock) PowerDBus: Failed to delay sleep,shutdown: Permission denied
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythpower.cpp:348 (PowerLevelChanged) Power: On AC power
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythpower.cpp:131 (Init) Power: Supported actions: None
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythtranslation.cpp:62 (load) Loading en_us translation for module mythfrontend
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext schemawizard.cpp:117 (Compare) Current MythTV Schema Version (DBSchemaVer): 1361
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythtranslation.cpp:62 (load) Loading en_us translation for module mythfrontend
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: N CoreContext main_helpers.cpp:605 (run_backend) MythBackend: Starting up as the master server.
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[0](10414922): Added 2 devices from 10414922
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[0](10414922): Connected to device(10414922-0)
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[0](10414922): Added 2 devices from 10414922
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[0](10414922): Connected to device(10414922-0)
Jun  4 20:16:05 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[0](10414922): Added 2 devices from 10414922
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[0](10414922): Connected to device(10414922-0)
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[0](10414922): Added 2 devices from 10414922
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[0](10414922): Connected to device(10414922-0)
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext programinfo.cpp:2299 (CheckProgramIDAuthorities) Found 0 distinct programid authorities
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I Scheduler mythdbcon.cpp:447 (getStaticCon) New static DB connectionSchedCon
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'LogClean'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'DBCleanup'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'ThemeUpdateNotifications'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'RecordedArtworkUpdate'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'MythFillDB'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'JobQueueRecover'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:663 (RegisterTask) Registering HouseKeeperTask 'HardwareProfiler'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:729 (Start) Queueing HouseKeeperTask 'ThemeUpdateNotifications'.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:737 (Start) Starting HouseKeeper.
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP 0.0.0.0:6544
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP [::]:6544
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP 0.0.0.0:6554
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP [::]:6554
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP 0.0.0.0:6549
Jun  4 20:16:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP [::]:6549
Jun  4 20:16:09 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for MATCH 0 0 0 - SchedulerInit
Jun  4 20:16:09 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 0 items in 0.0 = 0.02 match + 0.00 check + 0.01 place
Jun  4 20:16:09 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2492 (HandleRunSchedulerStartup) Scheduler: Seem to be woken up by USER
Jun  4 20:16:10 htpc-HP mythbackend: mythbackend[1097]: I CoreContext main_helpers.cpp:700 (run_backend) Main::Registering HttpStatus Extension
Jun  4 20:16:10 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP 0.0.0.0:6543
Jun  4 20:16:10 htpc-HP mythbackend: mythbackend[1097]: I CoreContext serverpool.cpp:418 (listen) Listening on TCP [::]:6543
Jun  4 20:16:10 htpc-HP mythbackend: mythbackend[1097]: N CoreContext autoexpire.cpp:242 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
Jun  4 20:16:11 htpc-HP mythbackend: mythbackend[1097]: I CoreContext bonjourregister.cpp:115 (BonjourCallback) Bonjour: Service registration complete: name 'Mythbackend on htpc-HP' type '_mythbackend._tcp.' domain: 'local.'
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:754 (Run) Queueing HouseKeeperTask 'DBCleanup'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:754 (Run) Queueing HouseKeeperTask 'JobQueueRecover'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I CoreContext housekeeper.cpp:754 (Run) Queueing HouseKeeperTask 'LogClean'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:144 (Run) Running HouseKeeperTask 'ThemeUpdateNotifications'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping backendhousekeeper.cpp:427 (DoRun) Loading themes for 31
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:164 (Run) HouseKeeperTask 'ThemeUpdateNotifications' Finished Successfully.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:144 (Run) Running HouseKeeperTask 'DBCleanup'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:164 (Run) HouseKeeperTask 'DBCleanup' Finished Successfully.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:144 (Run) Running HouseKeeperTask 'JobQueueRecover'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:164 (Run) HouseKeeperTask 'JobQueueRecover' Finished Successfully.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:144 (Run) Running HouseKeeperTask 'LogClean'.
Jun  4 20:17:06 htpc-HP mythbackend: mythbackend[1097]: I HouseKeeping housekeeper.cpp:164 (Run) HouseKeeperTask 'LogClean' Finished Successfully.
Jun  4 20:17:25 htpc-HP mythbackend: mythbackend[1097]: N Expire autoexpire.cpp:242 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
Jun  4 20:17:38 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(52) mainserver.cpp:7911 (connectionClosed) Control sock(55e21d2c0320) disconnected
Jun  4 20:17:41 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Frontend
Jun  4 20:17:41 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2da0b0) as a client (events: 0)
Jun  4 20:17:41 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest backendcontext.cpp:63 (SetFrontendConnected) BackendContext: Frontend 'htpc-HP' connected.
Jun  4 20:17:41 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:17:41 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d33c940) as a client (events: 1)
Jun  4 20:17:56 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Playback
Jun  4 20:17:56 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-hp(55e21d2c0320) as a client (events: 0)
Jun  4 20:17:56 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:2032 (HandleAnnounce) MainServer: adding: htpc-hp(55e21d33c590) as a file transfer
Jun  4 20:17:56 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(60) mainserver.cpp:7898 (connectionClosed) FileTransfer sock(55e21d33c590) disconnected
Jun  4 20:17:56 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(58) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2c0320) 'htpc-hp' disconnected
Jun  4 20:19:47 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[1]: TuningFrequency
Jun  4 20:19:47 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[1](10414922): Added 2 devices from 10414922
Jun  4 20:19:47 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[1](10414922): Connected to device(10414922-0)
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for MATCH 2 0 0 - SaveRule test (Manual Record)
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 1 items in 0.0 = 0.01 match + 0.00 check + 0.00 place
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[1]: TuningFrequency
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[1](10414922): Added 2 devices from 10414922
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[1](10414922): Connected to device(10414922-0)
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: E TVRecEvent tv_rec.cpp:3735 (TuningFrequency) TVRec[1]: Failed to set channel to . Reverting to kState_None
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[1]: TuningFrequency
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[1](10414922): Added 2 devices from 10414922
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[1](10414922): Connected to device(10414922-0)
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: E TVRecEvent tv_rec.cpp:3735 (TuningFrequency) TVRec[1]: Failed to set channel to . Reverting to kState_None
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1057 (HandleStateChange) TVRec[1]: Changing from None to RecordingOnly
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[1]: TuningFrequency
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[1](10414922): Added 2 devices from 10414922
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[1](10414922): Connected to device(10414922-0)
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2882 (HandleRecordingStatusChange) Tuning recording: "test (Manual Record)": channel 10401 on cardid [1], sourceid 1
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: C CoreContext programinfo.cpp:257 (ProgramInfo) ProgramInfo(): Failed to find recorded entry for 0.
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for MATCH 0 0 0 2021-06-05T11:30:00Z EITScanner
Jun  4 20:21:39 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 1 items in 0.0 = 0.02 match + 0.00 check + 0.01 place
Jun  4 20:21:40 htpc-HP mythbackend: mythbackend[1097]: I CoreContext scheduler.cpp:706 (UpdateRecStatus) Updating status for "test (Manual Record)" on cardid [1] (Tuning => Recording)
Jun  4 20:21:40 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:4209 (TuningNewRecorder) TVRec[1]: rec->GetPathname(): '/var/lib/mythtv/recordings/10401_20210605002200.ts'
Jun  4 20:21:40 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:4242 (TuningNewRecorder) TVRec[1]: TuningNewRecorder - CreateRecorder()
Jun  4 20:21:40 htpc-HP mythbackend: mythbackend[1097]: E TVRecEvent recorders/recorderbase.cpp:219 (SetStrOption) RecBase[1](10414922): SetStrOption(...recordingtype): Option not in profile.
Jun  4 20:21:40 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1616 (HandlePendingRecordings) TVRec[3]: ASK_RECORDING 3 0 0 0
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for MATCH 3 0 0 - SaveRule test (Manual Record)
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 2 items in 0.0 = 0.01 match + 0.00 check + 0.00 place
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1057 (HandleStateChange) TVRec[2]: Changing from None to RecordingOnly
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[2]: TuningFrequency
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[2](10414922): Added 2 devices from 10414922
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[2](10414922): Connected to device(10414922-1)
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2882 (HandleRecordingStatusChange) Tuning recording: "test (Manual Record)": channel 12601 on cardid [2], sourceid 1
Jun  4 20:22:01 htpc-HP mythbackend: mythbackend[1097]: C CoreContext programinfo.cpp:257 (ProgramInfo) ProgramInfo(): Failed to find recorded entry for 0.
Jun  4 20:22:02 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1616 (HandlePendingRecordings) TVRec[4]: ASK_RECORDING 4 0 0 0
Jun  4 20:22:02 htpc-HP mythbackend: mythbackend[1097]: I CoreContext scheduler.cpp:706 (UpdateRecStatus) Updating status for "test (Manual Record)" on cardid [2] (Tuning => Recording)
Jun  4 20:22:02 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:4209 (TuningNewRecorder) TVRec[2]: rec->GetPathname(): '/var/lib/mythtv/recordings/12601_20210605002200.ts'
Jun  4 20:22:02 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:4242 (TuningNewRecorder) TVRec[2]: TuningNewRecorder - CreateRecorder()
Jun  4 20:22:02 htpc-HP mythbackend: mythbackend[1097]: E TVRecEvent recorders/recorderbase.cpp:219 (SetStrOption) RecBase[2](10414922): SetStrOption(...recordingtype): Option not in profile.
Jun  4 20:22:14 htpc-HP mythbackend: mythbackend[1097]: I SystemManager mythsystemunix.cpp:262 (run) Starting process manager
Jun  4 20:22:14 htpc-HP mythbackend: mythbackend[1097]: I SystemSignalManager mythsystemunix.cpp:488 (run) Starting process signal handler
Jun  4 20:22:14 htpc-HP mythbackend: mythbackend[1097]: I SystemIOHandlerW mythsystemunix.cpp:82 (run) Starting IO manager (write)
Jun  4 20:22:14 htpc-HP mythbackend: mythbackend[1097]: I SystemIOHandlerR mythsystemunix.cpp:82 (run) Starting IO manager (read)
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I Commflag_2 jobqueue.cpp:2311 (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for "test (Manual Record)" recorded from channel 10401 at 2021-06-05T00:22:00Z
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d33cea0) as a client (events: 0)
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2dc740) as a client (events: 1)
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2d2d50) as a client (events: 0)
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:22:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d33c410) as a client (events: 1)
Jun  4 20:22:17 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Playback
Jun  4 20:22:17 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2fe230) as a client (events: 0)
Jun  4 20:22:17 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:22:17 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d33d320) as a client (events: 1)
Jun  4 20:22:17 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(86) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d33cea0) 'htpc-HP' disconnected
Jun  4 20:22:17 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(88) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2dc740) 'htpc-HP' disconnected
Jun  4 20:22:18 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(91) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2d2d50) 'htpc-HP' disconnected
Jun  4 20:22:18 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(93) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d33c410) 'htpc-HP' disconnected
Jun  4 20:22:31 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Playback
Jun  4 20:22:31 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2f3130) as a client (events: 0)
Jun  4 20:22:46 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Playback
Jun  4 20:22:46 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2ba0a0) as a client (events: 0)
Jun  4 20:22:51 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for MATCH 0 1 14 2021-06-05T23:30:00Z EITScanner
Jun  4 20:22:51 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 2 items in 0.0 = 0.03 match + 0.00 check + 0.00 place
Jun  4 20:23:02 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(86) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2ba0a0) 'htpc-HP' disconnected
Jun  4 20:23:05 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Playback
Jun  4 20:23:05 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2e9550) as a client (events: 0)
Jun  4 20:23:16 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(86) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2e9550) 'htpc-HP' disconnected
Jun  4 20:26:16 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for MATCH 4 0 0 - SaveRule test 2 (Manual Record)
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 3 items in 0.0 = 0.01 match + 0.00 check + 0.01 place
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1057 (HandleStateChange) TVRec[4]: Changing from None to RecordingOnly
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[4]: TuningFrequency
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2882 (HandleRecordingStatusChange) Tuning recording: "test 2 (Manual Record)": channel 12605 on cardid [4], sourceid 1
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: C CoreContext programinfo.cpp:257 (ProgramInfo) ProgramInfo(): Failed to find recorded entry for 0.
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I CoreContext scheduler.cpp:706 (UpdateRecStatus) Updating status for "test 2 (Manual Record)" on cardid [4] (Tuning => Recording)
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:4209 (TuningNewRecorder) TVRec[4]: rec->GetPathname(): '/var/lib/mythtv/recordings/12605_20210605002600.ts'
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:4242 (TuningNewRecorder) TVRec[4]: TuningNewRecorder - CreateRecorder()
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: E TVRecEvent recorders/recorderbase.cpp:219 (SetStrOption) RecBase[4](10414922): SetStrOption(...recordingtype): Option not in profile.
Jun  4 20:26:17 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1616 (HandlePendingRecordings) TVRec[2]: ASK_RECORDING 2 0 0 0
Jun  4 20:29:00 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:29:00 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2e9550) as a client (events: 0)
Jun  4 20:29:00 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:29:00 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2f31b0) as a client (events: 1)
Jun  4 20:29:02 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Playback
Jun  4 20:29:02 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2ba0a0) as a client (events: 0)
Jun  4 20:29:02 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(91) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2e9550) 'htpc-HP' disconnected
Jun  4 20:29:02 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(93) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2f31b0) 'htpc-HP' disconnected
Jun  4 20:29:38 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(102) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2ba0a0) 'htpc-HP' disconnected
Jun  4 20:30:00 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1057 (HandleStateChange) TVRec[4]: Changing from RecordingOnly to None
Jun  4 20:30:00 htpc-HP mythbackend: mythbackend[1097]: N RecThread recorders/recorderbase.cpp:490 (FinishRecording) Finished Recording: Container: MPEG2-TS Video Codec: mpeg2video (1280x720 A/R: 3 59.9401fps) Audio Codec: ac3
Jun  4 20:30:00 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:826 (FinishedRecording) TVRec[4]: FinishedRecording(12605_2021-06-05T00:26:00Z) damaged recq:<RecordingQuality overall_score="0.7875" key="12605_2021-06-05T00:26:00Z" continuity_error_count="0" packet_count="724958">#012    <Gap start="2021-06-05T00:26:00Z" end="2021-06-05T00:26:17Z" duration="17" />#012</RecordingQuality>
Jun  4 20:30:00 htpc-HP mythbackend: mythbackend[1097]: E CoreContext mainserver.cpp:1185 (customEvent) MainServer: PREVIEW_SUCCESS but no receivers.
Jun  4 20:30:00 htpc-HP mythbackend: mythbackend[1097]: I CoreContext scheduler.cpp:706 (UpdateRecStatus) Updating status for "test 2 (Manual Record)" on cardid [4] (Recording => Recorder Failed)
Jun  4 20:30:00 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for CHECK -9 4 0 UpdateRecStatus2 | test 2 (Manual Record) |  | test 2 (Manual Record) | 
Jun  4 20:30:01 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 2 items in 0.0 = 0.00 match + 0.00 check + 0.00 place
Jun  4 20:30:02 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:30:02 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2d8f90) as a client (events: 0)
Jun  4 20:30:02 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:30:02 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2f96e0) as a client (events: 1)
Jun  4 20:30:15 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(87) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2d8f90) 'htpc-HP' disconnected
Jun  4 20:30:15 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(89) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2f96e0) 'htpc-HP' disconnected
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1057 (HandleStateChange) TVRec[1]: Changing from RecordingOnly to None
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: N RecThread recorders/recorderbase.cpp:490 (FinishRecording) Finished Recording: Container: MPEG2-TS Video Codec: mpeg2video (1920x1080 A/R: 3 29.97fps) Audio Codec: ac3
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recordinginfo.cpp:1224 (FinishedRecording) Finished recording test (Manual Record): channel 10401
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: E CoreContext mainserver.cpp:1185 (customEvent) MainServer: PREVIEW_SUCCESS but no receivers.
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I CoreContext scheduler.cpp:706 (UpdateRecStatus) Updating status for "test (Manual Record)" on cardid [1] (Recording => Recorded)
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for CHECK -3 2 0 UpdateRecStatus2 | test (Manual Record) |  | test (Manual Record) | 
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest scheduler.cpp:658 (UpdateRecStatus) Updating status for "test (Manual Record)" on cardid [2] (Recording => Recorded)
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2415 (HandleReschedule) Reschedule interrupted, will retry
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for CHECK -3 3 0 UpdateRecStatus1 | test (Manual Record) |  | test (Manual Record) | 
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2310 (HandleReschedule) Reschedule requested for PLACE Interrupted
Jun  4 20:32:16 htpc-HP mythbackend: mythbackend[1097]: I Scheduler scheduler.cpp:2427 (HandleReschedule) Scheduled 2 items in 0.0 = 0.00 match + 0.00 check + 0.00 place
Jun  4 20:32:21 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(80) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2f3130) 'htpc-HP' disconnected
Jun  4 20:32:22 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(96) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2fe230) 'htpc-HP' disconnected
Jun  4 20:32:22 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(98) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d33d320) 'htpc-HP' disconnected
Jun  4 20:32:23 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:32:23 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d2e8d80) as a client (events: 0)
Jun  4 20:32:23 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1768 (HandleAnnounce) MainServer: MainServer::ANN Monitor
Jun  4 20:32:23 htpc-HP mythbackend: mythbackend[1097]: I ProcessRequest mainserver.cpp:1770 (HandleAnnounce) MainServer: adding: htpc-HP(55e21d33cea0) as a client (events: 1)
Jun  4 20:32:25 htpc-HP mythbackend: mythbackend[1097]: N Expire autoexpire.cpp:242 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
Jun  4 20:32:37 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(58) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d2e8d80) 'htpc-HP' disconnected
Jun  4 20:32:37 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(61) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d33cea0) 'htpc-HP' disconnected
Jun  4 20:35:13 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:3662 (TuningFrequency) TVRec[1]: TuningFrequency
Jun  4 20:35:13 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[1](10414922): Added 2 devices from 10414922
Jun  4 20:35:13 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent recorders/hdhrstreamhandler.cpp:402 (Connect) HDHRSH[1](10414922): Connected to device(10414922-0)
Jun  4 20:37:29 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(54) backendcontext.cpp:97 (SetFrontendDisconnected) BackendContext: Frontend 'htpc-HP' disconnected.
Jun  4 20:37:29 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(54) mainserver.cpp:7858 (connectionClosed) Playback sock(55e21d2da0b0) 'htpc-HP' disconnected
Jun  4 20:37:29 htpc-HP mythbackend: mythbackend[1097]: I MythSocketThread(53) mainserver.cpp:7858 (connectionClosed) Monitor sock(55e21d33c940) 'htpc-HP' disconnected
Jun  4 20:37:38 htpc-HP mythbackend: mythbackend[1097]: C CoreContext signalhandling.cpp:299 (handleSignal) Received Terminated: Code 0, PID 1, UID 0, Value 0x00000000
Jun  4 20:37:38 htpc-HP mythbackend: mythbackend[1097]: N CoreContext main_helpers.cpp:745 (run_backend) MythBackend exiting
Jun  4 20:37:38 htpc-HP mythbackend: mythbackend[1097]: I CoreContext bonjourregister.cpp:29 (~BonjourRegister) Bonjour: De-registering service '_mythbackend._tcp.' on 'Mythbackend on htpc-HP'
Jun  4 20:37:42 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:1057 (HandleStateChange) TVRec[2]: Changing from RecordingOnly to None
Jun  4 20:37:42 htpc-HP mythbackend: mythbackend[1097]: N RecThread recorders/recorderbase.cpp:490 (FinishRecording) Finished Recording: Container: MPEG2-TS Video Codec: mpeg2video (1280x720 A/R: 3 59.9401fps) Audio Codec: ac3
Jun  4 20:37:42 htpc-HP mythbackend: mythbackend[1097]: I TVRecEvent tv_rec.cpp:826 (FinishedRecording) TVRec[2]: FinishedRecording(12601_2021-06-05T00:22:00Z) damaged recq:<RecordingQuality overall_score="0" key="12601_2021-06-05T00:22:00Z" continuity_error_count="0" packet_count="3076921">#012    <Gap start="2021-06-05T00:37:40Z" end="2021-06-05T00:50:00Z" duration="739" />#012</RecordingQuality>
Jun  4 20:37:42 htpc-HP mythbackend: mythbackend[1097]: I CoreContext platforms/mythpowerdbus.cpp:72 (~MythPowerDBus) PowerDBus: Closing interfaces
Jun  4 20:37:42 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcontext.cpp:1659 (~MythContext) Waiting for threads to exit.
Jun  4 20:37:48 htpc-HP mythbackend: mythbackend[1097]: I CoreContext mythcontext.cpp:1665 (~MythContext) Exiting

when I went into System Status -> input status it showed Input 1: 2 available and Input 2: 1 available and one locked (tuned?, I don't quite remember).
This is also correct since I had left the active EIT scanning checked when setting up the new backend and set mythtv-setup -> input connections -> (in both) -> Interactions between inputs → Max recordings → set to 2. I would probably disable that since the US OTA EIT guide data is terrible and mythfilldatabase should pull it in if the EIT is enabled.
To run mythtv-setup on another computer I most often use "ssh -X <another computer>" and then start mythtv-setup. This then uses Qt instead of OpenGL apparently because OpenGL cannot be played across the network but for mythtv-setup this is OK. Another possibility is to use VNC which gives you what is called a remote desktop.
I doubt using a VNC would make a difference since it doesn't work on the combined backend/frontend machines themselves. I will have to try setting up ssh and trying that.
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

OK, so ssh (into the old machine) seemed to work, but I forgot to stop the backend so mythtv-setup may have crashed (or I may have hit escape or the left arrow key one too many times). Didn't mythtv-setup use to ask before exiting? Also, it was flashing a white screen when changing the top level menu selection, i.e. 1. General [down arrow key] 2. Capture Cards.

Except that first run, mythtv-setup seems to only respond to the left or right arrow keys once, closing or loading a mostly blank screen and no longer responding to input, respectively.

Code: Select all

ssh -X ip.address
mythfrontend.real
...
QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::setOpacity: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setClipRect: Painter not active

above four lines repeated 13 times

QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::setOpacity: Painter not active
QPainter::setOpacity: Painter not active
QPainter::end: Painter not active, aborted
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRect: Painter not active

same again many times

QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::setOpacity: Painter not active
QPainter::setOpacity: Painter not active
QPainter::end: Painter not active, aborted
2021-06-05 11:00:43.979457 I  XMLTVGrabber::Load: Running 'tv_find_grabbers baseline'.
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRect: Painter not active
QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::setClipRect: Painter not active

Qt is not happy
2021-06-05 11:00:44.029508 E  XMLTVGrabber::Load: Failed to run tv_find_grabbers
Qt is still not happy

QPainter::setClipping: Painter not active, state will be reset by begin
QPainter::setOpacity: Painter not active
QPainter::setOpacity: Painter not active
QPainter::end: Painter not active, aborted
2021-06-05 11:00:50.498609 E  backendrestartmythbackend
2021-06-05 11:00:50.498698 I  Locking input devices
2021-06-05 11:00:50.498705 N  Suspending idle timer
2021-06-05 11:00:55.523166 W  MythPainter: 144 images not yet de-allocated.
2021-06-05 11:00:55.527478 I  PowerDBus: Closing interfaces
2021-06-05 11:00:55.528121 I  Waiting for threads to exit.
2021-06-05 11:00:55.992328 I  Exiting
From man ssh it says: The recommended way to start X11 programs at a remote site is with something like ssh -f host xterm. I'm not sure if it matters.

Other runs:

Code: Select all


htpc@htpc:~$ sudo systemctl stop mythtv-backend
[sudo] password for htpc: 
htpc@htpc:~$ mythtv-setup.real
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
"Display: Requesting EGL for 'Mesa Project, 1.5'"
2021-06-05 11:02:35.958613 I  Setup Interrupt handler
2021-06-05 11:02:35.958650 I  Setup Terminated handler
2021-06-05 11:02:35.958661 I  Setup Segmentation fault handler
2021-06-05 11:02:35.958667 I  Setup Aborted handler
2021-06-05 11:02:35.958676 I  Setup Bus error handler
2021-06-05 11:02:35.958683 I  Setup Floating point exception handler
2021-06-05 11:02:35.958692 I  Setup Illegal instruction handler
2021-06-05 11:02:35.958701 I  Setup Real-time signal 0 handler
2021-06-05 11:02:35.958711 I  Setup Hangup handler
2021-06-05 11:02:35.958814 C  mythtv-setup version: fixes/31 [v31.0+fixes.202105291450.df29c72b4d~ubuntu20.04.1] www.mythtv.org
2021-06-05 11:02:35.958820 C  Qt version: compile: 5.12.8, runtime: 5.12.8
2021-06-05 11:02:35.958856 I  Ubuntu 20.04.2 LTS (x86_64)
2021-06-05 11:02:35.958860 N  Enabled verbose msgs:  general
2021-06-05 11:02:35.958881 N  Setting Log Level to LOG_INFO
2021-06-05 11:02:35.969232 I  Added logging to the console
2021-06-05 11:02:36.121641 N  Using runtime prefix = /usr
2021-06-05 11:02:36.121655 N  Using configuration directory = /home/htpc/.mythtv
2021-06-05 11:02:36.121749 I  Assumed character encoding: en_US.UTF-8
2021-06-05 11:02:36.122566 I  Loading en_us translation for module mythfrontend
2021-06-05 11:02:36.123051 I  Empty LocalHostName. This is typical.
2021-06-05 11:02:36.123074 I  Using a profile name of: 'htpc' (Usually the same as this host's name.)
2021-06-05 11:02:36.123219 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 0
2021-06-05 11:02:36.130462 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-05 11:02:36.130486 I  Display: Using screen 'HDMI-2' (Make: Ancor Communications Inc Model: ASUS VS239-)
2021-06-05 11:02:36.130501 I  Display: Qt screen pixel ratio: 1.00
2021-06-05 11:02:36.130521 I  Display: Geometry: 1920x1080+0+0 Size(Qt): 509mmx286mm
2021-06-05 11:02:36.161037 N  Display: Desktop video mode: 1920x1080 60.000Hz
2021-06-05 11:02:36.161048 N  Display: Display has custom colourspace
2021-06-05 11:02:36.164687 I  ScreenSaverDBus: Created for DBus service: org.freedesktop.ScreenSaver
2021-06-05 11:02:36.173706 I  Starting process signal handler
2021-06-05 11:02:36.173755 I  Starting IO manager (read)
2021-06-05 11:02:36.174887 I  Starting IO manager (write)
2021-06-05 11:02:36.175099 I  Starting process manager
2021-06-05 11:02:36.234611 I  ScreenSaverX11Private: DPMS is disabled.
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
2021-06-05 11:02:36.305488 E  DB Error (StorageGroup::StorageGroup()):
Query was:

Driver error was [1/]:
Driver not loaded
Database error was:
Driver not loaded

2021-06-05 11:02:36.305921 E  LIRC: Failed to read config file '/home/htpc/.lircrc'
2021-06-05 11:02:36.305937 I  No joystick configuration found, not enabling joystick control
2021-06-05 11:02:36.305940 I  UDPListener: Enabling
2021-06-05 11:02:36.306049 I  Binding to UDP 0.0.0.0:0
2021-06-05 11:02:36.306081 I  Binding to UDP [::]:0
2021-06-05 11:02:36.316738 I  Using Frameless Window
2021-06-05 11:02:36.316742 I  Using Full Screen Window
2021-06-05 11:02:36.339170 I  Display: Have main widget
2021-06-05 11:02:36.339176 I  Display: Have main window
2021-06-05 11:02:36.339193 I  Display: Defaulting to primary screen (HDMI-2)
2021-06-05 11:02:36.339277 I  UI Screen Resolution: 1920 x 1080
2021-06-05 11:02:36.398214 W  OpenGL: OpenGL is disabled for Remote X Session
2021-06-05 11:02:36.398227 E  MythMainWindow: Failed to create MythRenderOpenGL
2021-06-05 11:02:36.398421 I  Using the Qt painter. Video playback will not work!
2021-06-05 11:02:36.404117 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-05 11:02:36.405188 I  MythUIHelper: Kept 127 files, deleted 0 files, stat error on 0 files
2021-06-05 11:02:36.405254 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-05 11:02:36.408288 I  MythUIHelper: Kept 339 files, deleted 0 files, stat error on 0 files
2021-06-05 11:02:36.731645 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-05 11:02:36.831730 E  CECAdapter: Failed to find any CEC devices.
qt.qpa.xcb: QXcbConnection: XCB error: 1 (BadRequest), sequence: 406, resource id: 1901, major code: 155 (Unknown), minor code: 1
2021-06-05 11:02:37.332044 I  CECAdapter: Closing down CEC.
2021-06-05 11:02:38.421523 N  Setting QT default locale to en_US
2021-06-05 11:02:38.421539 I  Current locale en_US
2021-06-05 11:02:38.421611 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2021-06-05 11:02:38.430296 I  ScreenSaverDBus: Created for DBus service: org.freedesktop.ScreenSaver
2021-06-05 11:02:38.487714 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-05 11:02:38.524195 I  PowerDBus: Failed to delay sleep,shutdown: Permission denied
2021-06-05 11:02:38.526591 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
2021-06-05 11:02:38.526837 I  Power: On AC power
2021-06-05 11:02:38.527692 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/keyboard_hidpp_battery_1'
2021-06-05 11:02:38.562860 I  Power: Supported actions: None
2021-06-05 11:02:38.564748 I  Loading en_us translation for module mythfrontend
2021-06-05 11:02:38.566412 I  Using Frameless Window
2021-06-05 11:02:38.566416 I  Using Full Screen Window
2021-06-05 11:02:38.566734 I  Display: Have main widget
2021-06-05 11:02:38.566737 I  Display: Have main window
2021-06-05 11:02:38.566974 I  Display: Found screen 'HDMI-2'
2021-06-05 11:02:38.567006 I  Display: Waiting for new screen
2021-06-05 11:02:39.092414 W  Display: Timed out waiting for new screen
2021-06-05 11:02:39.094975 I  UI Screen Resolution: 1920 x 1080
2021-06-05 11:02:39.125123 W  OpenGL: OpenGL is disabled for Remote X Session
2021-06-05 11:02:39.125130 E  MythMainWindow: Failed to create MythRenderOpenGL
2021-06-05 11:02:39.125172 I  Using the Qt painter. Video playback will not work!
2021-06-05 11:02:39.133623 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/remotecache
2021-06-05 11:02:39.134517 I  MythUIHelper: Kept 127 files, deleted 0 files, stat error on 0 files
2021-06-05 11:02:39.134585 I  MythUIHelper: Pruning cache directory: /home/htpc/.mythtv/cache/thumbnails
2021-06-05 11:02:39.136843 I  MythUIHelper: Kept 339 files, deleted 0 files, stat error on 0 files
2021-06-05 11:02:39.411667 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2021-06-05 11:02:39.511886 E  CECAdapter: Failed to find any CEC devices.
2021-06-05 11:02:40.012187 I  CECAdapter: Closing down CEC.
2021-06-05 11:02:40.020168 I  Current MythTV Schema Version (DBSchemaVer): 1361

more Qt unhappiness

2021-06-05 11:02:48.654890 I  XMLTVGrabber::Load: Running 'tv_find_grabbers baseline'.
2021-06-05 11:02:48.699742 E  XMLTVGrabber::Load: Failed to run tv_find_grabbers
^C2021-06-05 11:03:37.998696 C  Received Interrupt: Code 128, PID 0, UID 0, Value 0x00000000
2021-06-05 11:03:38.013832 W  MythPainter: 144 images not yet de-allocated.
2021-06-05 11:03:38.019623 I  PowerDBus: Closing interfaces
2021-06-05 11:03:38.020366 I  Waiting for threads to exit.
2021-06-05 11:03:38.047846 I  Exiting


(same but exited with left arrow key)

2021-06-05 11:07:47.687591 W  MythPainter: 133 images not yet de-allocated.
2021-06-05 11:07:47.691536 I  PowerDBus: Closing interfaces
^[[B2021-06-05 11:07:49.512208 I  Exiting

User avatar
kmdewaal
Developer
Posts: 640
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: mythtv-setup freezes upon launching

Post by kmdewaal »

Doing it remotely via SSH also does not work then. This rules out local display issues.
Reading the attached log file a bit more carefully shows this error a few times:

Code: Select all

Jun  4 19:10:23 htpc-HP mythtv-setup.real: mythtv-setup[7539]: E CoreContext mythuifilebrowser.cpp:604 (updateLocalFileList) MythUIFileBrowser: current directory does not exist!
IIRC this is the code that reads the user interface XML files for the current theme. If this fails then it is somehow logical that there is nothing shown.
I frankly do not have a clue what is happening here; installing a package should just give you a working system.
Maybe that a really extensive log, i.e. with "-v most" or even "-v most --loglevel=debug", gives more clues.
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

I would like to remind you that the fresh install did work, until I made some recordings. Also, the other machine works, except I can’t get into the backend setup.

The mythuifilebrowser error I don’t think is relevant because mythtv-setup was working then. The test recordings were on 2021-06-04 20:15ish to 20:32, so I don’t think any errors in the log before then mean anything. After making the recordings, mythtv-setup freezes when launched.

I was thinking

Code: Select all

Jun  4 17:29:18 htpc-HP mythtv-setup.real: mythtv-setup[3066]: E CoreContext mythdb.cpp:181 (DBError) DB Error (StorageGroup::StorageGroup()):#012Query was:#012#012Driver error was [1/]:#012Driver not loaded#012Database error was:#012Driver not loaded
might have been relevant, but it also shows up when I am sure mythtv-setup was still working.


Maybe that a really extensive log, i.e. with "-v most" or even "-v most --loglevel=debug", gives more clues.

Both runs I got no response to input and it only showed the background.

Code: Select all

mythtv-setup.real -v most

lots of 

I  MythUIHelper: LoadCacheImage(img.png,img.png---1x-1.png)
I  (0x12 digit hex number)::IncrRef() -> 4
I  (same number)::DecrRef() -> 3
I  MythUIHelper: LoadCacheImage(img.png,img.png---1x-1.png)
I  (same number)::IncrRef() -> 4
I  (same number)::IncrRef() -> 5
I  (same number)::DecrRef() -> 4
I  ImageLoader::LoadImage(img.png---1x-1.png) Found in cache, RefCount = 4

18:31:33.65 progressbar, yep saw that
18:31:34.87 the screen closed and reopened

18:31:35.55 libcec not found, ignore

18:31:35.664286
QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined

18:31:49 SSDP Cache adding USN (hadn't seen that before, something with the router)

Ctrl C at 18:31:53.186151
This is strange:

Code: Select all

2021-06-05 18:31:33.604534 I  XMLParseBase: Loading window guistartup from /usr/share/mythtv/themes/Mythbuntu/config-ui.xml
...
2021-06-05 18:31:33.605697 E  XMLParseBase: No theme file /usr/share/mythtv/themes/Mythbuntu/config-ui.xml
2021-06-05 18:31:33.605700 I  XMLParseBase: Loading window guistartup from /usr/share/mythtv/themes/default-wide/config-ui.xml
2021-06-05 18:31:33.606779 E  XMLParseBase: No theme file /usr/share/mythtv/themes/default-wide/config-ui.xml
2021-06-05 18:31:33.606781 I  XMLParseBase: Loading window guistartup from /usr/share/mythtv/themes/default/config-ui.xml

...
2021-06-05 18:31:41.059629 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/Mythbuntu/standardsetting-ui.xml
2021-06-05 18:31:41.059650 E  XMLParseBase: No theme file /usr/share/mythtv/themes/Mythbuntu/standardsetting-ui.xml
2021-06-05 18:31:41.059653 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/default-wide/standardsetting-ui.xml
2021-06-05 18:31:41.059660 E  XMLParseBase: No theme file /usr/share/mythtv/themes/default-wide/standardsetting-ui.xml
2021-06-05 18:31:41.059662 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/default/standardsetting-ui.xml
The config-ui.xml files do actually exist, standardsetting-ui.xml does not exist in either /Mythbuntu or /default-wide

Nothing additional that I saw which I thought was useful with -v most --loglevel=debug.


I think the forum isn't letting me upload any more attachments (Error Sorry, the board attachment quota has been reached.).
User avatar
heyted
Senior
Posts: 301
Joined: Sun Jun 08, 2014 2:14 am
Location: South Florida
Contact:
United States of America

Re: mythtv-setup freezes upon launching

Post by heyted »

I did not read this entire thread, but keep this in mind:

When using the Mythbuntu PPA, the backend will run using the mythtv user. If you are not logged in as the mythtv user and use the Xubuntu menu system to launch mythtv-setup, an attempt to stop the backend will be made and fail. Either use sudo on a command line (sudo systemctl stop mythtv-backend) to stop the backend or use Mythbuntu Control Panel (https://www.mythtv.org/wiki/Mythbuntu_Control_Panel) to stop the backend before launching mythtv-setup.
Ted | My blog
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

When using the Mythbuntu PPA, the backend will run using the mythtv user. If you are not logged in as the mythtv user and use the Xubuntu menu system to launch mythtv-setup, an attempt to stop the backend will be made and fail.
No, the mythtv-setup script that is called does stop the backend. It asks for the sudo password to run systemctl stop mythtv-backend (line 53).

Code: Select all

#!/bin/sh
# Mario Limonciello, March 2007
# Mathieu Laurendeau, January 2016
# Mike Bibbings July 2019

#source our dialog functions
. /usr/share/mythtv/dialog_functions.sh

#get database info
getXmlParam() {
  perl -e '
    use XML::Simple;
    use Data::Dumper;
    $xml = new XML::Simple;
    $data = $xml->XMLin("/etc/mythtv/config.xml");
    print "$data->{Database}->{$ARGV[0]}\n";
  ' -- "$1" 2> /dev/null
}
DBHost="$(getXmlParam Host)" 2> /dev/null
DBUserName="$(getXmlParam UserName)" 2> /dev/null
DBPassword="$(getXmlParam Password)" 2> /dev/null
DBName="$(getXmlParam DatabaseName)" 2> /dev/null

#get mythfilldatabase arguments
mbargs=$(mysql -N \
 --host="$DBHost" \
 --user="$DBUserName" \
 --password="$DBPassword" \
 "$DBName" \
 --execute="SELECT data FROM settings WHERE value = 'MythFillDatabaseArgs';" \
) 2> /dev/null

#find the dialog and su manager we will be using for display
find_dialog
find_su

#check that we are in the mythtv group
check_groups


#if group membership is okay, go ahead and continue
if [ "$IGNORE_NOT" = "0" ]; then
    RUNNING=$(systemctl status mythtv-backend | grep running)
    WAS_FAILED=$(systemctl status mythtv-backend | grep failed)
    if [ -n "$RUNNING" ]; then
        dialog_question "MythTV" "Mythbackend must be closed before continuing.\nIs it OK to close any currently running mythbackend processes?" 2> /dev/null
        CLOSE_NOT=$?
    else
        CLOSE_NOT=0
    fi
    if [ "$CLOSE_NOT" = "0" ]; then
        if [ -n "$RUNNING" ]; then
                run_sudo_command "systemctl stop mythtv-backend"
        fi
        xterm -title "MythTV Setup Terminal" -e taskset -c 0 /usr/bin/mythtv-setup.real --syslog local7 "$@"
         RUNNING=$(systemctl status mythtv-backend | grep running)
        if [ -z "$RUNNING" ]; then
            dialog_question "MythTV" "Would you like to start the mythtv backend?" 2> /dev/null
            START_NOT=$?
        else
            START_NOT=0
        fi

        if [ "$START_NOT" = "0" ]; then
                run_sudo_command "systemctl start mythtv-backend" $WAS_FAILED
        fi

        dialog_question "Fill Database?" "Would you like to run mythfilldatabase?" 2> /dev/null
        DATABASE_NOT=$?

        if [ "$DATABASE_NOT" = "0" ]; then
            xterm -title "Running mythfilldatabase" -e "unset DISPLAY && unset SESSION_MANAGER && mythfilldatabase $mbargs; sleep 3"
        fi
    fi
fi


User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: mythtv-setup freezes upon launching

Post by paulh »

When you run mythtv-setup or the mythfrontend locally it will always try to use opengl for the renderer. When you run over ssh it will always fall back to the Qt renderer which probably explains why you get different behaviour depending how it is run. The Qt renderer is only kept as a last resort fall back and it is known to have several rendering problems like the white flashes and video playback will not work with the Qt renderer.

Since you don't need video playback when using mythtv-setup you could try forcing the use of the Qt renderer like this

Code: Select all

mythtv-setup.real --override-setting ThemePainter=Qt
or later versions of MythTV require

Code: Select all

mythtv-setup.real --override-setting PaintEngine=Qt
If it works OK with the Qt renderer and not the OpenGL renderer then you have a problem with your OpenGL. If you was using an Nvidia card I would say you have had a driver update that requires a reboot (that's happend twice to me recently on Ubuntu) but you're not so don't know. In the past updates to Qt versions have caused problems like this with the various caches getting out of sync which simply required deleteing them so they would get recreated but don't think that's been a problem for a while now.
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

The host htpc is the older machine and htpc-HP is the newer one.

Code: Select all

htpc@htpc:~$ mythtv-setup.real -v most > out.txt 2>&1

2021-06-05 21:44:50.965224 I  XMLParseBase: Loading window guistartup from /home/htpc/.mythtv/themes/Mythbuntu/config-ui.xml
2021-06-05 21:44:50.970636 E  XMLParseBase: No theme file /home/htpc/.mythtv/themes/Mythbuntu/config-ui.xml
2021-06-05 21:44:50.970788 I  XMLParseBase: Loading window guistartup from /usr/share/mythtv/themes/default-wide/config-ui.xml
2021-06-05 21:44:50.975774 E  XMLParseBase: No theme file /usr/share/mythtv/themes/default-wide/config-ui.xml
2021-06-05 21:44:50.975925 I  XMLParseBase: Loading window guistartup from /usr/share/mythtv/themes/default/config-ui.xml
No error about standardsetting-ui.xml. Like on the fresh install, both config-ui.xml files exist and standardsetting-ui.xml does not.

Also tried ssh from my laptop with an Nvidia 960M, but there was no difference.





Uh…
So, you know how you aren’t supposed to run mythtv-setup while the backend is running?



Well, I did it anyways. *shrug*

Via ssh into the older machine (I had already stopped the backend on the new one), nothing new in the log. However, it did freeze with the fully loaded animated pop up, warning you that the backend is running. Exited via left arrow key.

However, when I ran mythtv-setup.real on the machine itself (htpc) with the backend running, it froze very early on in the pop up animation. And did not respond to escape or the left arrow key.

Interestingly, though, the right arrow key worked. … Stranger and stranger.

Well since I was in the backend setup, I ran a channel scan since new subchannels had been added since I last scanned on that machine. And it worked perfectly. I tested by doing live TV in the frontend on one of the new subchannels.

I will note that everything looks properly themed as mythbuntu.

Interesting exerpts from the first 20,000 lines of the 460,000 line log:

Code: Select all

htpc@htpc:~$ mythtv-setup.real -v most > out.txt 2>&1
2021-06-06 11:58:29.485912 first timestamp

2021-06-06 11:59:45.961296 I  Trying to stop backend
2021-06-06 11:59:45.961420 I  Locking input devices
2021-06-06 11:59:45.961429 N  Suspending idle timer
2021-06-06 11:59:45.971230 I  Managed child (PID: 23561) has started! * command=killall mythbackend, timeout=0
2021-06-06 11:59:45.971403 I  (0x7f3b203f7c20)::IncrRef() -> 2
2021-06-06 11:59:45.991674 I  Managed child (PID: 23561) has exited! command=killall mythbackend, status=256, result=1
2021-06-06 11:59:46.030911 I  (0x7f3b203f7c20)::DecrRef() -> 1
2021-06-06 11:59:46.030947 I  (0x7f3b203f7c20)::DecrRef() -> 0
2021-06-06 11:59:46.042945 I  Unlocking input devices
2021-06-06 11:59:46.042957 N  Resuming idle timer



2021-06-06 11:59:46.258060 I  Trying to stop backend
2021-06-06 11:59:46.258117 I  Locking input devices
2021-06-06 11:59:46.258120 N  Suspending idle timer
2021-06-06 11:59:46.264445 I  Managed child (PID: 23564) has started! * command=killall mythbackend, timeout=0
2021-06-06 11:59:46.264531 I  (0x7f3b38008ae0)::IncrRef() -> 2
2021-06-06 11:59:46.284774 I  Managed child (PID: 23564) has exited! command=killall mythbackend, status=256, result=1
2021-06-06 11:59:46.331604 I  (0x7f3b38008ae0)::DecrRef() -> 1
2021-06-06 11:59:46.331707 I  (0x7f3b38008ae0)::DecrRef() -> 0
2021-06-06 11:59:46.331899 I  Trying to stop backend
2021-06-06 11:59:46.332065 I  Locking input devices
2021-06-06 11:59:46.332079 N  Suspending idle timer
2021-06-06 11:59:46.339851 I  Managed child (PID: 23566) has started! * command=killall mythbackend, timeout=0
2021-06-06 11:59:46.339974 I  (0x7f3b203f7c20)::IncrRef() -> 2
2021-06-06 11:59:46.360218 I  Managed child (PID: 23566) has exited! command=killall mythbackend, status=256, result=1
2021-06-06 11:59:46.381809 I  (0x7f3b203f7c20)::DecrRef() -> 1
2021-06-06 11:59:46.381856 I  (0x7f3b203f7c20)::DecrRef() -> 0
2021-06-06 11:59:46.382633 I  Unlocking input devices
2021-06-06 11:59:46.382639 N  Resuming idle timer
2021-06-06 11:59:46.393219 I  Unlocking input devices
2021-06-06 11:59:46.393234 N  Resuming idle timer

Code: Select all

2021-06-06 12:00:03.389422 I  XMLParseBase: Loading window channeloverview from /home/htpc/.mythtv/themes/Mythbuntu/config-ui.xml
What? Now it can find it?

Nope: around line 42000

Code: Select all

2021-06-06 12:01:35.781701 I  XMLParseBase: Loading window channelscanner from /home/htpc/.mythtv/themes/Mythbuntu/config-ui.xml
2021-06-06 12:01:35.784407 E  XMLParseBase: No theme file /home/htpc/.mythtv/themes/Mythbuntu/config-ui.xml
2021-06-06 12:01:35.784423 I  XMLParseBase: Loading window channelscanner from /usr/share/mythtv/themes/default-wide/config-ui.xml
2021-06-06 12:01:35.786996 E  XMLParseBase: No theme file /usr/share/mythtv/themes/default-wide/config-ui.xml
2021-06-06 12:01:35.787006 I  XMLParseBase: Loading window channelscanner from /usr/share/mythtv/themes/default/config-ui.xml
Maybe the theme file is incomplete and does not have an entry for each window?

Code: Select all

2021-06-06 12:00:03.440209 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440242 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440346 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440364 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440441 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440466 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440518 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440536 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440566 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.440654 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440836 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.440846 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440872 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.440888 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440910 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440952 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440968 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.440994 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.441094 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441392 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441403 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.441408 I  (0x7f3b2c2485a0)::DecrRef() -> 0
2021-06-06 12:00:03.441444 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441450 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.441462 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.441469 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441509 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441515 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.441518 I  (0x7f3b203c8b40)::DecrRef() -> 0
2021-06-06 12:00:03.441526 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441553 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.441575 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.441584 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.441618 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441632 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.441634 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441635 I  (0x7f3b2c26bce0)::DecrRef() -> 0
2021-06-06 12:00:03.441688 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441710 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441749 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441764 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441788 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.441827 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.441839 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.441845 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441860 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441895 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.441897 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441899 I  (0x7f3b2c18c2f0)::DecrRef() -> 0
2021-06-06 12:00:03.441918 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441955 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441970 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.441993 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442032 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442045 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.442049 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442065 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442100 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442101 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.442104 I  (0x7f3b2c18c2f0)::DecrRef() -> 0
2021-06-06 12:00:03.442121 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442157 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442172 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442195 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442234 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442246 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.442251 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442266 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442301 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.442303 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442305 I  (0x7f3b2c1bc260)::DecrRef() -> 0
2021-06-06 12:00:03.442324 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442359 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442374 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442397 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442414 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442423 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.442452 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442468 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442475 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.442478 I  (0x7f3b2c2258f0)::DecrRef() -> 0
2021-06-06 12:00:03.442505 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442525 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442561 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442576 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442599 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442616 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442624 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.442670 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442671 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:03.442674 I  (0x7f3b2c00bf50)::DecrRef() -> 0
2021-06-06 12:00:03.442687 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442722 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442737 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442768 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442783 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:03.442806 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442843 I  (0x7f3b200068e0)::IncrRef() -> 45
2021-06-06 12:00:03.442847 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:03.442859 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:03.442921 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed

Code: Select all

2021-06-06 12:00:03.464995 I  OpenGL: Src: API Type: Performance Msg: CPU mapping a busy "bufferobj" BO stalled and took 6.039 ms.

2021-06-06 12:00:03.481097 I  OpenGL: Src: API Type: Performance Msg: CPU mapping a busy "bufferobj" BO stalled and took 9.687 ms.
similar things a few times

slightly different:

Code: Select all

2021-06-06 12:00:07.860509 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.860704 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.860791 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.860877 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.860982 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861025 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861219 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861277 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861380 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861424 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861495 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.861554 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.861657 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861656 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.861714 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861719 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.861834 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861886 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.861907 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.861918 I  (0x7f3b2c2258f0)::DecrRef() -> 0
2021-06-06 12:00:07.861981 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862024 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862089 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.862190 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.862228 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.862240 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862281 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862389 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.862399 I  (0x7f3b2c2258f0)::DecrRef() -> 0
2021-06-06 12:00:07.862426 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862478 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862565 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862608 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862672 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.862722 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.862748 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.862777 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.862828 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862871 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.862923 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.862932 I  (0x7f3b2c1bc260)::DecrRef() -> 0
2021-06-06 12:00:07.863006 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863055 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863147 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863189 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863253 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.863301 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.863352 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.863386 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.863396 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863434 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863546 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.863556 I  (0x7f3b2c18c2f0)::DecrRef() -> 0
2021-06-06 12:00:07.863580 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863631 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863721 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863764 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.863827 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.863875 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.863927 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.863960 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.863970 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864008 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864121 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.864131 I  (0x7f3b2c1bc260)::DecrRef() -> 0
2021-06-06 12:00:07.864176 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864258 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864377 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864423 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864486 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.864534 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.864585 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.864619 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.864630 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864669 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864782 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.864792 I  (0x7f3b2c2258f0)::DecrRef() -> 0
2021-06-06 12:00:07.864804 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864876 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.864986 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865032 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865097 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.865144 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.865196 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.865231 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.865240 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865280 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865396 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.865403 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865407 I  (0x7f3b2c225530)::DecrRef() -> 0
2021-06-06 12:00:07.865456 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865551 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865596 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865661 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.865737 W  Theme Error: Missing buttonlist state: inactive
2021-06-06 12:00:07.865751 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.865769 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.865804 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865831 N  'channum' (config-ui.xml:130): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865864 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed
2021-06-06 12:00:07.865870 I  (0x7f3b2c002b90)::DecrRef() -> 0
2021-06-06 12:00:07.865908 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.865946 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.866010 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.866039 N  'sourcename' (config-ui.xml:137): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 12:00:07.866082 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.866133 I  MythUIHelper: LoadCacheImage(/home/htpc/.mythtv/channels/,-home-htpc-.mythtv-channels---90x37.png)
2021-06-06 12:00:07.866138 I  (0x7f3b200068e0)::IncrRef() -> 45
2021-06-06 12:00:07.866149 I  ImageLoader::LoadImage(-home-htpc-.mythtv-channels---90x37.png) NOT Found in cache. Loading Directly
2021-06-06 12:00:07.866217 I  (0x7f3b200068e0)::DecrRef() -> 44
2021-06-06 12:00:07.866241 W  MythImage::Load(/home/htpc/.mythtv/channels/) failed

Code: Select all

2021-06-06 12:00:28.114584 I  XMLParseBase: Loading window settingssetup from /home/htpc/.mythtv/themes/Mythbuntu/standardsetting-ui.xml
2021-06-06 12:00:28.114628 E  XMLParseBase: No theme file /home/htpc/.mythtv/themes/Mythbuntu/standardsetting-ui.xml
2021-06-06 12:00:28.114634 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/default-wide/standardsetting-ui.xml
2021-06-06 12:00:28.114650 E  XMLParseBase: No theme file /usr/share/mythtv/themes/default-wide/standardsetting-ui.xml
2021-06-06 12:00:28.114654 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/default/standardsetting-ui.xml
Yes, those files actually don’t exist.

Searching for “ E “ yielded the following:
Line 109,840; 111,473; about every 1500 or so lines until 130,000

Code: Select all

2021-06-06 12:02:16.261201 I  PESPacket: Failed CRC check 0x81e0b465 != 0xfb4a33b2 for StreamID = 0xc8
2021-06-06 12:02:16.261214 E  MPEGStream[-1](0x56443a0eb678): Discarding broken PSIP packet
2021-06-06 12:02:16.263661 I  MythCoreContext::dispatch(): MythEvent: SIGNAL 1
Huh? What’s that about? (This is during the channel scan.)

standardsetting-ui.xml again at line 335,672

Code: Select all

2021-06-06 12:04:38.496630 I  XMLParseBase: Loading window settingssetup from /home/htpc/.mythtv/themes/Mythbuntu/standardsetting-ui.xml
2021-06-06 12:04:38.496690 E  XMLParseBase: No theme file /home/htpc/.mythtv/themes/Mythbuntu/standardsetting-ui.xml
2021-06-06 12:04:38.496699 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/default-wide/standardsetting-ui.xml
2021-06-06 12:04:38.496731 E  XMLParseBase: No theme file /usr/share/mythtv/themes/default-wide/standardsetting-ui.xml
2021-06-06 12:04:38.496739 I  XMLParseBase: Loading window settingssetup from /usr/share/mythtv/themes/default/standardsetting-ui.xml
and another six times.

In-between a bunch of ref incs and decs at line 456,960:

Code: Select all

2021-06-06 12:05:56.551057 E  backendrestartmythbackend
2021-06-06 12:05:56.551152 I  Locking input devices
2021-06-06 12:05:56.551158 N  Suspending idle timer
2021-06-06 12:05:56.557770 I  Managed child (PID: 23655) has started! * command=mythbackend, timeout=0

…

2021-06-06 12:06:01.547370 I  Managed child (PID: 23655) has exited! command=mythbackend, status=34560, result=135
2021-06-06 12:06:01.584020 I  (0x564438615d60)::DecrRef() -> 1
2021-06-06 12:06:01.584077 I  (0x564438615d60)::DecrRef() -> 0
2021-06-06 12:06:01.591534 E  backendrestartmythbackend
2021-06-06 12:06:01.591659 I  Locking input devices
2021-06-06 12:06:01.591665 N  Suspending idle timer
2021-06-06 12:06:01.601465 I  Managed child (PID: 23679) has started! * command=mythbackend, timeout=0
2021-06-06 12:06:01.601577 I  (0x5644385e4a10)::IncrRef() -> 2
2021-06-06 12:06:06.409237 I  Managed child (PID: 23679) has exited! command=mythbackend, status=34560, result=135
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

try forcing the use of the Qt renderer
It seems to accept both options but uses OpenGL anyways:

Code: Select all

htpc@htpc-HP:~$ mythtv-setup.real --override-setting PaintEngine=Qt -v most > out2.txt 2>&1
...
2021-06-06 14:13:57.768683 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-06 14:13:57.774128 I  MythUIHelper: MythUI Image Cache size set to 31457280 bytes
2021-06-06 14:13:57.892065 I  Power: On AC power
2021-06-06 14:13:57.892113 I  Power: Supported actions: Suspend,Restart,Shutdown
2021-06-06 14:13:57.892157 N  Setting 'PaintEngine' being forced to 'Qt'
2021-06-06 14:13:57.892246 E  setHttpProxy() - failed to find a network proxy
2021-06-06 14:13:57.895734 I  MythUIHelper: Using theme base resolution of 1920x1080
2021-06-06 14:13:57.900824 I  Loading en_us translation for module mythfrontend
2021-06-06 14:13:57.903462 I  Using Frameless Window
2021-06-06 14:13:57.903472 I  Using Full Screen Window
2021-06-06 14:13:57.904476 I  Display: Have main widget
2021-06-06 14:13:57.904485 I  Display: Have main window
2021-06-06 14:13:57.905485 I  Display: Found screen 'HDMI-2'
2021-06-06 14:13:57.905514 I  Display: Waiting for new screen
2021-06-06 14:13:57.906179 I  (0x7f5be4112d90)::DecrRef() -> 1
2021-06-06 14:13:57.906216 I  (0x7f5bdc1d0050)::DecrRef() -> 1
2021-06-06 14:13:58.431366 W  Display: Timed out waiting for new screen
2021-06-06 14:13:58.431456 I  Display: Screen HDMI-2: 1920x1080 (Make: Ancor Communications Inc Model: ASUS VS239-)
2021-06-06 14:13:58.431464 I  Display: Primary screen: HDMI-2.
2021-06-06 14:13:58.431478 I  Display: Total desktop dim: 1920x1080, over 1 screen[s].
2021-06-06 14:13:58.431512 I  Display: Using screen HDMI-2: 1920x1080 at 0+0
2021-06-06 14:13:58.433898 I  UI Screen Resolution: 1920 x 1080
2021-06-06 14:13:58.465634 I  OpenGL: GPU debug logging started (async)
2021-06-06 14:13:58.473558 I  OpenGL: Initialised MythRenderOpenGL
2021-06-06 14:13:58.473570 I  OpenGL: Using full range output
2021-06-06 14:13:58.473627 I  MythPainter cache sizes: Hardware 64MB, Software 48MB

Code: Select all

mythtv-setup.real --override-setting ThemePainter=Qt
...
2021-06-06 14:47:42.589118 I  ScreenSaverX11Private: DPMS is disabled.
2021-06-06 14:47:42.717487 I  Power: On AC power
2021-06-06 14:47:42.717539 I  Power: Supported actions: Suspend,Restart,Shutdown
2021-06-06 14:47:42.717588 N  Setting 'ThemePainter' being forced to 'Qt'
2021-06-06 14:47:42.726068 I  Loading en_us translation for module mythfrontend
2021-06-06 14:47:42.728471 I  Using Frameless Window
2021-06-06 14:47:42.728481 I  Using Full Screen Window
2021-06-06 14:47:42.729405 I  Display: Have main widget
2021-06-06 14:47:42.729421 I  Display: Have main window
2021-06-06 14:47:42.730274 I  Display: Found screen 'HDMI-2'
2021-06-06 14:47:42.730302 I  Display: Waiting for new screen
2021-06-06 14:47:43.205455 W  Display: Timed out waiting for new screen
2021-06-06 14:47:43.207968 I  UI Screen Resolution: 1920 x 1080
2021-06-06 14:47:43.246672 I  OpenGL: Initialised MythRenderOpenGL
2021-06-06 14:47:43.246681 I  OpenGL: Using full range output
Running with Qt painter on htpc-HP, no change, no response to input; exited with ctrl c.

Code: Select all

htpc@htpc-HP:~$ sudo systemctl stop mythtv-backend.service 
[sudo] password for htpc: 
htpc@htpc-HP:~$ mythtv-setup.real -v most > out4.txt 2>&1
^C
htpc@htpc-HP:~mythtv-setup.real --override-setting PaintEngine=Qt -v most > out5.txt 2>&1
^C
Both times froze on a grayed out menu.

Code: Select all

htpc@htpc-HP:~$ sudo systemctl start mythtv-backend.service 
[sudo] password for htpc: 
htpc@htpc-HP:~$ mythtv-setup.real --override-setting PaintEngine=Qt -v most > out2.txt 2>&1
With the backend running, it only loaded the background. When I hit the right arrow key, it went to the top level menu of mythtv-setup and appeared to work fine.

Code: Select all

htpc@htpc-HP:~$ mythtv-setup.real -v most > out3.txt 2>&1
Identical behavior with OpenGL with the backend running. It only loaded the background, but when I hit the right arrow key, it went to the top level menu of mythtv-setup and appeared to work fine.

The logs show the same config-ui.xml and standardsetting-ui.xml errors. Both have the OpenGL buffer object stalled performance messages. Only the OpenGL log has the theme height overflow notices and theme error warnings, like what was in the log from htpc.

Code: Select all

2021-06-06 14:27:01.501232 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 14:27:01.501333 N  'name' (config-ui.xml:134): height overflow. line height 44 paragraph height 44, area height 36
2021-06-06 14:27:01.501433 W  Theme Error: Missing buttonlist state: inactive
No evidence of the pop up warning that the backend is running. htpc-HP has an Intel i5 6600 (four Skylake cores) and htpc is a Pentium G3258 (2 Haswell cores). Could there be some kind of race condition going on? Admittedly, it is not quite an apples to apples comparison software-wise, since htpc-HP is running Xubuntu 21.04 and htpc is running 20.04.
User avatar
kmdewaal
Developer
Posts: 640
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: mythtv-setup freezes upon launching

Post by kmdewaal »

This is now the issue as I understand it:
- do a clean install
- run mythtv-setup
- mythtv-setup works OK, GUI works OK, channelscan is OK
- run mythbackend and mythfrontend
- do one recording
- stop mythfrontend and mythbackend
- run mythtv-setup
- NOW mythtv-setup fails: GUI freezes
Also:
- mythtv-setup GUI local or remote via ssh does not make a difference
- ubuntu 20 or 21 does not make a difference
Is this description correct?

If it is, then the following logs, all with "-v most,norefcnt --loglelvel=debug¨, would be useful:
- mythtv-setup after the clean install
- mythtbackend doing one recording
- mythtv-setup after the recording done by mythbackend
Please post the full logs somewhere (compressed for size reasons). They will be too big for this forum.

While you are at this it is a good idea to also make a backup of the database after the first run of mythtv-setup, after the first recording of mythbackend and after the second (failing) run of mythtv-setup. This might be useful after looking at the log files.

Which theme do you use? MythCenter-wide is what has been used most for recent development of mythtv-setup so if you are now using another theme then you can try MythCenter-wide to see if that makes a difference.
ulmus-scott
Junior
Posts: 41
Joined: Sat Jun 05, 2021 12:50 am
United States of America

Re: mythtv-setup freezes upon launching

Post by ulmus-scott »

This is now the issue as I understand it
- do a clean install
- run mythtv-setup
- mythtv-setup works OK, GUI works OK, channelscan is OK
- run mythbackend and mythfrontend
- do one recording
- stop mythfrontend and mythbackend
- run mythtv-setup
- NOW mythtv-setup fails: GUI freezes
Also:
- mythtv-setup GUI local or remote via ssh does not make a difference
- ubuntu 20 or 21 does not make a difference
Is this description correct?
Yes, that is also how I understand the issue and how to reproduce it on my setup. I would like to remind you that the issue persisted after an apt purge and reinstall (probably because mythconverg was not dropped).

I shall try reinstalling mythtv and gathering the logs and database backups.
Which theme do you use?
I have been using the mythbuntu theme since I first installed mythtv in 2014. The install on htpc is not that old, since the hard drive died, so I think it is 3-4 years old, having been upgraded in place on the Xubuntu LTS branch. I had installed mythbuntu via the frontend setup originally. When investigating the recent new mysql error code issue [Solved] Scheduled recordings completely disappearing viewtopic.php?f=36&t=4453 , I noticed that were was a mythtv-theme-mythbuntu package, so I installed that on both the old and new machines. I also added the mythbuntu ppa to the old machine at that time to fix the scheduled recordings issue.

This issue has been present on the old machine for much longer than that. I had hoped a fresh install would not have this issue.

I will try the reinstall without installing the mythbuntu theme package, so it should default to MythCenter-wide.
User avatar
paulh
Developer
Posts: 909
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: mythtv-setup freezes upon launching

Post by paulh »

It's always best to install themes using the Theme Chooser if they are available in there then you know you have a compatible and up to date version for your MythTV version.

This problem get stranger by the minute. Hard to understand how those actions would cause mythtv-setup to freeze :?
Post Reply