Mailing List Archive

Re: mythfrontend crashes under KVM [RESOLVED]
On 2020-07-30 20:08, Eyal Lebedinsky wrote:
> I recently shifted my workstation from a physical machine into a virtual machine (KVM).
> Most things work now, but playing a recording causes a crash.
> The same recording plays fine using vlc and mplayer.
> The GUI shows OK until I try to play a recording.
> Interestingly the audio starts playing for a few seconds before the abort, with a black screen.
>
> I tried different display methods in the KVM settings (Display Spice, Video QXL).
> I now get a process abort rather than the crash I saw earlier.
>
> The display is set to 4k resolution, but the myth canvas is set to just HD (1920x1080).
> Also: Setup - Video - Playback
>     "Current Video Playback Profile" is "High Quality"
> I tested other profiles with similar failure.
>
> I am on fedora 32 KVM host and guest.
>
> A few examples of messages when attempting to play a recording. The first caused a crash, the others just aborted.
> =====================
> Jul 30 12:48:58 e4 mythfrontend[10839]: "Display: Requesting EGL for 'Mesa Project, 1.4'"
> Jul 30 12:49:07 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:07 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:17 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:17 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:17 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:18 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:18 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:18 e4 mythfrontend[10839]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 12:49:21 e4 mythfrontend[10839]: The X11 connection broke (error 4). Did the X11 server die?
> Jul 30 12:49:22 e4 mythfrontend[10839]: QMutex: destroying locked mutex
> Jul 30 12:49:22 e4 mythfrontend[10839]: QWaitCondition::wait(): mutex lock failure (Invalid argument)
> Jul 30 12:49:22 e4 mythfrontend[10839]: QWaitCondition::wait(): mutex unlock failure (Invalid argument)
> Jul 30 12:49:22 e4 mythfrontend[10839]: QWaitCondition::wait(): cv wait failure (Invalid argument)
> Jul 30 12:49:23 e4 mythfrontend[10839]: ASSERT: "!isEmpty()" in file /usr/include/qt5/QtCore/qlist.h, line 369
> Jul 30 12:50:21 e4 audit[10908]: ANOM_ABEND auid=500 uid=500 gid=500 ses=1 pid=10908 comm="Logger" exe="/usr/bin/mythfrontend" sig=6 res=1
> Jul 30 12:50:21 e4 kernel: audit: type=1701 audit(1596077421.245:355): auid=500 uid=500 gid=500 ses=1 pid=10908 comm="Logger" exe="/usr/bin/mythfrontend" sig=6 res=1
> Jul 30 12:51:10 e4 systemd-coredump[10969]: Process 10908 (mythfrontend) of user 500 dumped core.#012#012Stack trace of thread 10917:#012#0  0x00007f3df0ba59e5 n/a (n/a + 0x0)
> Jul 30 12:53:06 e4 audit[11015]: ANOM_ABEND auid=500 uid=500 gid=500 ses=1 pid=11015 comm="PlaybackBoxHelp" exe="/usr/bin/mythfrontend" sig=11 res=1
> Jul 30 12:53:06 e4 kernel: audit: type=1701 audit(1596077586.572:364): auid=500 uid=500 gid=500 ses=1 pid=11015 comm="PlaybackBoxHelp" exe="/usr/bin/mythfrontend" sig=11 res=1
> Jul 30 12:53:54 e4 systemd-coredump[11080]: Process 11015 (mythfrontend) of user 500 dumped core.#012#012Stack trace of thread 11067:#012#0  0x00007f0e8aaf64b0 n/a (n/a + 0x0)
> =====================
> Jul 30 19:38:20 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:20 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:31 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:31 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:31 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:32 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:32 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:32 e4 mythfrontend[3614]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:38:33 e4 mythfrontend[3614]: The X11 connection broke (error 4). Did the X11 server die?
> Jul 30 19:38:33 e4 mythfrontend[3614]: QWaitCondition: mutex destroy failure (Device or resource busy)
> Jul 30 19:38:33 e4 mythfrontend[3614]: ASSERT: "!isEmpty()" in file /usr/include/qt5/QtCore/qlist.h, line 369
> =====================
> Jul 30 19:41:02 e4 mythfrontend[3705]: "Display: Requesting EGL for 'Mesa Project, 1.4'"
> Jul 30 19:41:10 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:10 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:41:14 e4 mythfrontend[3705]: The X11 connection broke (error 4). Did the X11 server die?
> Jul 30 19:41:16 e4 mythfrontend[3705]: ASSERT: "!isEmpty()" in file /usr/include/qt5/QtCore/qlist.h, line 369
> =====================
> Jul 30 19:43:45 e4 mythfrontend[3786]: "Display: Requesting EGL for 'Mesa Project, 1.4'"
> Jul 30 19:43:53 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:53 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:57 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:57 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:57 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:57 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:57 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:57 e4 mythfrontend[3786]: libpng warning: iCCP: known incorrect sRGB profile
> Jul 30 19:43:58 e4 mythfrontend[3786]: The X11 connection broke (error 4). Did the X11 server die?
> Jul 30 19:44:02 e4 mythfrontend[3786]: QMutex: destroying locked mutex
> Jul 30 19:44:02 e4 mythfrontend[3786]: QWaitCondition::wait(): mutex lock failure (Invalid argument)
> Jul 30 19:44:02 e4 mythfrontend[3786]: QWaitCondition::wait(): mutex unlock failure (Invalid argument)
> Jul 30 19:44:02 e4 mythfrontend[3786]: QWaitCondition::wait(): cv wait failure (Invalid argument)
> Jul 30 19:44:02 e4 mythfrontend[3786]: ASSERT: "!isEmpty()" in file /usr/include/qt5/QtCore/qlist.h, line 369
> =====================
>
> TIA

Well, sort of resolved. After trying many settings I found that setting the FE:
Setup - Appearance
Separate Video Modes select
makes it work. I chose 1920x1080 for both and it plays the video inside a window (this is a 4k screen).
Selecting a higher res for the video switches the screen mode (*1) and plays in full screen
with black bars or some trimming.

(*1) the actual screen mode changes for everything so it may be difficult if not impossible to use other
applications in the new mode. Other modes are OK for watching the FE full screen and do nothing else on
the computer.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au)
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org