[mythtv-users] Change on Raspberry PI OS to kernel 5.4.51 causing issues with Mythtv??

James Abernathy jfabernathy at gmail.com
Wed Jul 22 22:33:05 UTC 2020


I was helping someone on the forum with a mythtv light problem and
discovered I now had it also.

I just installed a fresh Raspberry Pi OS with Desktop and did a full update
and discovered that the kernel is now 5.4.51.
I use MikeB's pi-utils that install v31 mythtv-light and setup the
raspberry Pi for mythfrontend.  Always works until today.

I've attached the console output, but the key difference now is that
mythfrontend never starts and it seems to loop with the error message below
until you kill it from ssh.

Could not queue DRM page flip on screen HDMI1 (Invalid argument)

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200722/94d8c678/attachment.htm>
-------------- next part --------------
Starting MythTV Frontend -- this may take a few seconds -- Please wait
performance
Setting screen to 1360x768 at 60
2020-07-22 18:18:31.688200 I  Setup Interrupt handler
2020-07-22 18:18:31.688265 I  Setup Terminated handler
2020-07-22 18:18:31.688282 I  Setup Segmentation fault handler
2020-07-22 18:18:31.688298 I  Setup Aborted handler
2020-07-22 18:18:31.688313 I  Setup Bus error handler
2020-07-22 18:18:31.688330 I  Setup Floating point exception handler
2020-07-22 18:18:31.688345 I  Setup Illegal instruction handler
2020-07-22 18:18:31.688363 I  Setup Real-time signal 0 handler
2020-07-22 18:18:31.688384 I  Setup User defined signal 1 handler
2020-07-22 18:18:31.688399 I  Setup User defined signal 2 handler
2020-07-22 18:18:31.688414 I  Setup Hangup handler
2020-07-22 18:18:31.688682 C  mythfrontend version: fixes/31 [v31.0-54-g445cf1fe6b] www.mythtv.org
2020-07-22 18:18:31.688702 C  Qt version: compile: 5.11.3, runtime: 5.11.3
2020-07-22 18:18:31.688819 I  Raspbian GNU/Linux 10 (buster) (arm)
2020-07-22 18:18:31.688828 N  Enabled verbose msgs:  general
2020-07-22 18:18:31.689116 N  Setting Log Level to LOG_INFO
2020-07-22 18:18:31.699842 I  Added logging to the console
2020-07-22 18:18:31.699927 N  Using runtime prefix = /usr
2020-07-22 18:18:31.699938 N  Using configuration directory = /home/pi/.mythtv
2020-07-22 18:18:31.700026 I  Assumed character encoding: en_US.UTF-8
2020-07-22 18:18:31.701628 I  Loading en_us translation for module mythfrontend
2020-07-22 18:18:31.702605 I  Empty LocalHostName. This is typical.
2020-07-22 18:18:31.702629 I  Using a profile name of: 'raspberrypi' (Usually the same as this host's name.)
2020-07-22 18:18:31.702866 I  Start up testing connections. DB 192.168.0.250, BE , attempt 0, status dbAwake, Delay: 2000
2020-07-22 18:18:31.703640 I  Added logging to /tmp/mythfrontend.20200722221831.805.log
2020-07-22 18:18:33.228049 N  Setting QT default locale to en_US
2020-07-22 18:18:33.228090 I  Current locale en_US
2020-07-22 18:18:33.228212 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2020-07-22 18:18:33.244229 I  Display: Found screen 'HDMI1'
2020-07-22 18:18:33.244280 I  Display: Using screen 'HDMI1' (Make: Priva Hortimation BV Model: BBY LCD TV)
2020-07-22 18:18:33.244324 I  Display: Qt screen pixel ratio: 1.00
2020-07-22 18:18:33.244364 I  Display: Geometry: 1360x768+0+0 Size(Qt): 700mmx390mm
2020-07-22 18:18:33.245265 I  DisplayRPI: Connected to display 'HDMI1'
2020-07-22 18:18:33.274148 I  EDID: Version:1.3 Size:256 Exensions:1
2020-07-22 18:18:33.274171 I  EDID: Gamma:2.2 sRGB:0
2020-07-22 18:18:33.274187 I  EDID: Display chromaticity:-
2020-07-22 18:18:33.274202 I  EDID: Red:	0.6396,	0.3291
2020-07-22 18:18:33.274216 I  EDID: Green:	0.2998,	0.5996
2020-07-22 18:18:33.274229 I  EDID: Blue:	0.1494,	0.0596
2020-07-22 18:18:33.274241 I  EDID: White:	0.2715,	0.2773
2020-07-22 18:18:33.274255 I  EDID: Physical address: 1.0.0.0
2020-07-22 18:18:33.275461 N  Display: Desktop video mode: 1360x768 60.000Hz
2020-07-22 18:18:33.275476 N  Display: Display has custom colourspace
2020-07-22 18:18:33.358522 E  PowerDBus: No UPower interface. Unable to monitor battery state
2020-07-22 18:18:33.380049 I  Power: On AC power
2020-07-22 18:18:33.380101 I  Power: Supported actions: Restart,Shutdown
2020-07-22 18:18:33.395760 I  Listening on TCP 0.0.0.0:6547
2020-07-22 18:18:33.397569 I  Listening on TCP [::]:6547
2020-07-22 18:18:36.467227 I  Loading en_us translation for module mythfrontend
2020-07-22 18:18:36.468098 W  MythUIHelper: No theme dir: '/usr/share/mythtv/themes/Mythbuntu'
2020-07-22 18:18:36.468127 E  MythUIHelper: Could not find theme: Mythbuntu - Switching to MythCenter
2020-07-22 18:18:36.476500 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
			eno: No such file or directory (2)
2020-07-22 18:18:36.476590 I  No joystick configuration found, not enabling joystick control
2020-07-22 18:18:36.476600 I  UDPListener: Enabling
2020-07-22 18:18:36.477775 I  Binding to UDP 0.0.0.0:6948
2020-07-22 18:18:36.477898 I  Binding to UDP [::]:6948
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
2020-07-22 18:18:36.539416 I  Using Frameless Window
2020-07-22 18:18:36.539426 I  Using Full Screen Window
2020-07-22 18:18:36.547508 I  Display: Have main widget
2020-07-22 18:18:36.547520 I  Display: Have main window
2020-07-22 18:18:36.548311 I  Display: Found screen 'HDMI1'
2020-07-22 18:18:36.549822 I  UI Screen Resolution: 1360 x 768
2020-07-22 18:18:36.604372 E  Failed to create framebuffer object
2020-07-22 18:18:36.604565 I  OpenGL: OpenGL vendor        : Broadcom
2020-07-22 18:18:36.604578 I  OpenGL: OpenGL renderer      : V3D 4.2
2020-07-22 18:18:36.604590 I  OpenGL: OpenGL version       : OpenGL ES 3.1 Mesa 19.3.2
2020-07-22 18:18:36.604609 I  OpenGL: Qt platform          : eglfs
2020-07-22 18:18:36.604706 I  OpenGL: EGL display          : Yes
2020-07-22 18:18:36.604716 I  OpenGL: EGL images           : Yes
2020-07-22 18:18:36.604724 I  OpenGL: Qt OpenGL format     : OpenGLES 3.1
2020-07-22 18:18:36.604734 I  OpenGL: Qt OpenGL surface    : RGBA: 8880 Depth: 0 Stencil: 0
2020-07-22 18:18:36.604745 I  OpenGL: Max texture size     : 4096
2020-07-22 18:18:36.604755 I  OpenGL: Max texture units    : 48
2020-07-22 18:18:36.604764 I  OpenGL: Shaders              : Yes
2020-07-22 18:18:36.604773 I  OpenGL: NPOT textures        : Yes
2020-07-22 18:18:36.604782 I  OpenGL: Multitexturing       : Yes
2020-07-22 18:18:36.604793 I  OpenGL: Rectangular textures : No
2020-07-22 18:18:36.604801 I  OpenGL: Buffer mapping       : Yes
2020-07-22 18:18:36.604810 I  OpenGL: Framebuffer objects  : Yes
2020-07-22 18:18:36.604819 I  OpenGL: 16bit framebuffers   : No
2020-07-22 18:18:36.604828 I  OpenGL: Unpack Subimage      : Yes
2020-07-22 18:18:36.604837 I  OpenGL: GL_RED/GL_R8         : Yes
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
2020-07-22 18:18:36.652602 I  OpenGL: Initialised MythRenderOpenGL
2020-07-22 18:18:36.652619 I  OpenGL: Using full range output
2020-07-22 18:18:36.674897 I  MythUIHelper: Pruning cache directory: /home/pi/.mythtv/cache/remotecache
2020-07-22 18:18:36.675071 I  MythUIHelper: Kept 0 files, deleted 0 files, stat error on 0 files
2020-07-22 18:18:36.675096 I  MythUIHelper: Pruning cache directory: /home/pi/.mythtv/cache/thumbnails
2020-07-22 18:18:36.675164 I  MythUIHelper: Kept 0 files, deleted 0 files, stat error on 0 files
2020-07-22 18:18:36.814374 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.0.250:6543 (try 1 of 1)
2020-07-22 18:18:36.817034 I  MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
2020-07-22 18:18:36.932651 I  CECAdapter: Using physical address 1.0.0.0 from EDID
2020-07-22 18:18:37.199372 I  CECAdapter: Found 1 CEC devices(s).
2020-07-22 18:18:37.199495 I  CECAdapter: Device 1: path 'Raspberry Pi' com port 'RPI' SELECTED
2020-07-22 18:18:37.199507 I  CECAdapter: Trying to open device Raspberry Pi (RPI).
2020-07-22 18:18:37.200257 I  CECAdapter: connection opened
2020-07-22 18:18:37.381327 I  CECAdapter: registering new CEC client - v4.0.4
2020-07-22 18:18:37.923124 I  CECAdapter: >> source activated: Playback 1 (4)
2020-07-22 18:18:37.923147 I  CECAdapter: Source 4 Activated
2020-07-22 18:18:37.923198 I  CECAdapter: CEC client registered: libCEC version = 4.0.4, client version = 4.0.4, firmware version = 1, logical address(es) = Playback 1 (4) , physical address: 1.0.0.0, compiled on Linux-4.15.0-48-generic ... , features: P8_USB, DRM, P8_detect, randr, RPi, Exynos, AOCEC
2020-07-22 18:18:38.283660 I  CECAdapter: Opened CEC device.
2020-07-22 18:18:38.464041 I  CECAdapter: << powering on 'TV' (0)
2020-07-22 18:18:38.644309 E  CECAdapter: Failed to turn TV on.
2020-07-22 18:18:38.644421 I  CECAdapter: >> source activated: Playback 1 (4)
2020-07-22 18:18:38.644445 I  CECAdapter: Source 4 Activated
2020-07-22 18:18:38.824800 I  CECAdapter: << Playback 1 (4) -> broadcast (F): active source (1000)
2020-07-22 18:18:38.944888 I  CECAdapter: Asked TV to switch to this input.
2020-07-22 18:18:38.946557 E  RAOP Device: Aborting startup - no key found.
2020-07-22 18:18:38.948078 I  AirPlay: Created airplay objects.
2020-07-22 18:18:38.948385 I  Listening on TCP 0.0.0.0:5100
2020-07-22 18:18:38.948501 I  Listening on TCP [::]:5100
2020-07-22 18:18:38.955188 I  Current MythTV Schema Version (DBSchemaVer): 1361
2020-07-22 18:18:38.965953 I  V4L2_M2M: Supported/available V4L2 decoders:
2020-07-22 18:18:38.965972 I  V4L2_M2M: H264
2020-07-22 18:18:39.019350 I  MMAL: Supported/available MMAL decoders:
2020-07-22 18:18:39.019366 I  MMAL: H264
2020-07-22 18:18:39.019491 W  MMALInterop: Interop requires the closed source/Broadcom driver - not 'V3D 4.2'
2020-07-22 18:18:39.019584 W  OpenGLInterop: No render support for frame type 'MMAL'
2020-07-22 18:18:39.642433 N  Registering Internal as a media playback plugin.
2020-07-22 18:18:39.645704 A  MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files
2020-07-22 18:18:39.871059 I  Bonjour: Service registration complete: name 'MythTV on raspberrypi' type '_airplay._tcp.' domain: 'local.'
2020-07-22 18:18:41.096500 W  MMUnix:UDisks2 service found. Media Monitor does not support this yet!
2020-07-22 18:18:41.102512 W  No plugins directory /usr/lib/mythtv/plugins
2020-07-22 18:18:41.107536 I  Listening on TCP 0.0.0.0:6546
2020-07-22 18:18:41.108844 I  Listening on TCP [::]:6546
2020-07-22 18:18:41.229974 N  Found mainmenu.xml for theme 'MythCenter'
2020-07-22 18:18:41.238769 I  Checking for theme updates every hour
2020-07-22 18:18:41.239348 I  Registering HouseKeeperTask 'HardwareProfiler'.
2020-07-22 18:18:41.241999 I  Queueing HouseKeeperTask 'HardwareProfiler'.
2020-07-22 18:18:41.242014 I  Starting HouseKeeper.
2020-07-22 18:18:41.242617 I  Starting IO manager (read)
2020-07-22 18:18:41.242672 I  Starting IO manager (write)
2020-07-22 18:18:41.250016 I  Starting process manager
2020-07-22 18:18:41.250239 I  Starting process signal handler
libpng warning: iCCP: known incorrect sRGB profile
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
2020-07-22 18:18:41.544854 I  Bonjour: Service registration complete: name 'Mythfrontend on raspberrypi' type '_mythfrontend._tcp.' domain: 'local.'
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
Could not queue DRM page flip on screen HDMI1 (Invalid argument)
2020-07-22 18:19:07.948271 W  CECAdapter: CEC device can't poll TV: TV does not respond to CEC polls
2020-07-22 18:19:37.951273 W  CECAdapter: CEC device can't poll TV: TV does not respond to CEC polls
2020-07-22 18:19:41.085238 I  Running HouseKeeperTask 'HardwareProfiler'.
2020-07-22 18:19:41.089358 I  HouseKeeperTask 'HardwareProfiler' Failed.
2020-07-22 18:19:44.560977 C  Received Terminated: Code 0, PID 888, UID 1000, Value 0x00000000
2020-07-22 18:19:44.583430 I  MythUIHelper: Pruning cache directory: /home/pi/.mythtv/cache/remotecache
2020-07-22 18:19:44.583554 I  MythUIHelper: Kept 0 files, deleted 0 files, stat error on 0 files
2020-07-22 18:19:44.583583 I  MythUIHelper: Pruning cache directory: /home/pi/.mythtv/cache/thumbnails
2020-07-22 18:19:44.583658 I  MythUIHelper: Kept 0 files, deleted 0 files, stat error on 0 files
2020-07-22 18:19:44.586491 I  Bonjour: De-registering service '_mythfrontend._tcp.' on 'Mythfrontend on raspberrypi'
2020-07-22 18:19:44.785655 I  CECAdapter: << putting 'TV' (0) in standby mode
2020-07-22 18:19:44.965908 E  CECAdapter: Failed to turn TV off.
2020-07-22 18:19:44.965987 I  CECAdapter: unregistering client: libCEC version = 4.0.4, client version = 4.0.4, firmware version = 1, logical address(es) = Playback 1 (4) , physical address: 1.0.0.0, compiled on Linux-4.15.0-48-generic ... , features: P8_USB, DRM, P8_detect, randr, RPi, Exynos, AOCEC
2020-07-22 18:19:45.726205 I  CECAdapter: Closing down CEC.
2020-07-22 18:19:45.726460 W  MythPainter: 58 images not yet de-allocated.
2020-07-22 18:19:45.726510 I  Clearing OpenGL painter cache.
2020-07-22 18:19:45.728405 I  OpenGL: MythRenderOpenGL closing
2020-07-22 18:19:45.731928 I  Display: Deleting
2020-07-22 18:19:45.734628 I  RAOP Device: Cleaning up.
2020-07-22 18:19:45.734658 I  AirPlay: Cleaning up.
2020-07-22 18:19:45.734953 I  Bonjour: De-registering service '_airplay._tcp.' on 'MythTV on raspberrypi'
2020-07-22 18:19:45.736315 I  Shutting down UPnP client...
2020-07-22 18:19:47.924993 I  PowerDBus: Closing interfaces
2020-07-22 18:19:47.925451 I  Waiting for threads to exit.
2020-07-22 18:19:50.809307 I  Exiting
2020-07-22 18:19:50.899977 I  Removed logging to /tmp/mythfrontend.20200722221831.805.log
./run_mythfrontend.sh: line 103:   805 Segmentation fault      QT_QPA_PLATFORM=eglfs QT_QPA_EGLFS_KMS_CONFIG=/home/pi/pi_mythfrontend.json mythfrontend $ARGUMENTS
[?25h[?0c


More information about the mythtv-users mailing list