frontend crashes when QT_QPA_PLATFORM=wayland

For discussion of topics specific to MythTV on linux
Post Reply
weff
Junior
Posts: 18
Joined: Sun Nov 26, 2017 5:46 am
Australia

frontend crashes when QT_QPA_PLATFORM=wayland

Post by weff » Thu Feb 13, 2020 10:16 am

Is mythtv ready for wayland anyway? google doesn't seem to know.

So I have fedora-31 running mythtv-30.0-15.20191226gita27754ae7f.fc31

When running on gnome under wayland it seems to run fine.

When I use swaywm, I get a crash when trying to watch a recording:

2020-02-13 18:44:19.630796 I avformatdecoder.cpp:2219:ScanStreams AFD: codec MP2 has 2 channels
2020-02-13 18:44:19.631784 I avformatdecoder.cpp:2767:OpenAVCodec AFD: Opened codec 0x45ffe80, id(MP2) type(Audio)
2020-02-13 18:44:19.678293 I avformatdecoder.cpp:2667:ScanStreams AFD: Using ffmpeg for video decoding
2020-02-13 18:44:19.678316 I avformatdecoder.cpp:2767:OpenAVCodec AFD: Opened codec 0x4603680, id(MPEG2VIDEO) type(Video)
2020-02-13 18:44:19.695185 I audio/audiooutputbase.cpp:825:Reconfigure AOBase: Opening audio device 'default' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2020-02-13 18:44:19.736602 E audio/audiooutputalsa.cpp:953:OpenMixer ALSA: no playback control PCM found on mixer device default
2020-02-13 18:44:19.736609 E audio/audiooutputalsa.cpp:497:OpenDevice ALSA: Unable to open audio mixer. Volume control disabled
2020-02-13 18:44:20.265473 E mythxdisplay.cpp:257:CheckErrors
XError type: 0
serial no: 8
err code: 9 (BadDrawable (invalid Pixmap or Window parameter))
req code: 55
minor code: 0
resource id: 1

Handling Segmentation fault
Segmentation fault (core dumped)

If I 'unset QT_QPA_PLATFORM' (which is 'wayland' in swaywm and not set when running GNOME) then it works fine.

Is there some deep juju involved when running on wayland?

Post Reply