[mythtv-users] mythfrontend on host segfaults when kvm guest plays sound

Eyal Lebedinsky eyal at eyal.emu.id.au
Mon Jul 12 00:24:06 UTC 2021


[Changed subject to better describe the problem]

Also, what is the recommended mythtv audio (on host) setup these days?
vlc, for example, uses Audio Device "Built-in Audio Digital Stereo [HDMI 3]".

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

TIA

On 11/07/2021 20.40, Eyal Lebedinsky wrote:
> Thunderbird is running in a kvm/libvirt guest.
> mythfrontend runs on the host.
> Both are up-to-date f34.
> 
> When mail arrives (at the guest) it pings, and mythfrontend (on the host) segfaults.
> This is consistent.
> 
> later: even vlc playing in the guest crashes mythfrontend . vlc on the host is fine.
> So this is a general audio issue.
> 
> If it matters: mythfrontend setup "Audio Device" is "JACK:". Other devices have issues:
>      PulseAudio:default              has volume control     sync a bit off
>      ALSA:default                    no  volume control     sync good
>      ALSA:pipewire                   no  volume control     sync good
>      ALSA:sysdefault:CARD=PCH        no sound
>      ALSA:iec958:CARD=PCH,DEV=0      no sound
>      ALSA:hdmi:CARD=PCH,DEV=0        no sound
>      ALSA:hdmi:CARD=PCH,DEV=3        no sound
>      JACK                            have volume control     sync good
> 
> "has volume control" means vol up/down/mute works.
> Sound is through HDMI to the screen.
> 
> ALSA:default  does not crash
> ALSA:pipewire does not crash
> 
> Looks like interaction with JACK so am now using ALSA:default.

-- 
Eyal Lebedinsky (eyal at eyal.emu.id.au)


More information about the mythtv-users mailing list