[SOLVED]No audio device in v31

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

Moderator: Forum Moderators

Post Reply
peteh
Junior
Posts: 27
Joined: Tue Jun 05, 2018 5:10 pm
Location: West Yorkshire
Great Britain

[SOLVED]No audio device in v31

Post by peteh » Tue Mar 09, 2021 3:51 pm

I have compiled and installed v31 in opensuse tumbleweed but it does not detect any audio device. Tumblweed is up to date with kernel-5.12-rc2 and has the latest nvidia graphics driver. Sound is properly configured and works on everything but myth.
I can watch live tv, recordings, video files and dvds but there is no sound in any.
If I watch a myth recording in vlc I get sound so obviously myth can record video and audio but the frontend fails to play the sound.
I can't find anything similar here on the forum but has anyone any ideas?
By the way, in setup the audio device shows up as NULL and live display shows "audio disabled: device unusable/invalid".
Last edited by peteh on Wed Mar 10, 2021 10:09 pm, edited 1 time in total.
Pete

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

Re: No audio device in v31

Post by kmdewaal » Tue Mar 09, 2021 5:38 pm

Just in case you have not done this yet.
In mythfrontend main menu, select Setup / Audio, and then the second option is "Rescan".
This then adds devices that can be selected on the first option, "Audio Output Device".
On my system this gives huge list of ALSA devices, e.g. "ALSA:default", "ALSA:hdmi:CARD=PCH,DEV=0" and many more.

peteh
Junior
Posts: 27
Joined: Tue Jun 05, 2018 5:10 pm
Location: West Yorkshire
Great Britain

Re: No audio device in v31

Post by peteh » Tue Mar 09, 2021 10:16 pm

Thanks but I have done that and it finds nothing.
Pete

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

Re: No audio device in v31

Post by kmdewaal » Tue Mar 09, 2021 10:59 pm

Maybe one or more dependencies are missing. You build from source as I understand it. Check the output of the "./configure" script.
Here it shows the following:

Code: Select all

# Sound Output Support
PulseAudio support        yes
OSS support               yes
ALSA support              yes
JACK support              default
libfftw3 support          yes
If you miss one or more of these then you need to install more libraries.
For Fedora and Ubuntu there is the Ansible procedure that does install them all, but for Suse you will need to do that all manually.
The dependencies are listed in https://www.mythtv.org/wiki/Build_from_Source

peteh
Junior
Posts: 27
Joined: Tue Jun 05, 2018 5:10 pm
Location: West Yorkshire
Great Britain

Re: No audio device in v31

Post by peteh » Wed Mar 10, 2021 1:31 pm

Thanks for that. I'll give it a try later and let you know.
Pete

peteh
Junior
Posts: 27
Joined: Tue Jun 05, 2018 5:10 pm
Location: West Yorkshire
Great Britain

Re: No audio device in v31

Post by peteh » Wed Mar 10, 2021 2:49 pm

Thanks for the pointer, kmdewaal. I backed up all the mythtv folders and redid configure, make and make install. It all works as it should now and I can get rid of the backed up folders.
I did install a couple of extra alsa packages.
Pete

User avatar
Steve Goodey
Moderator
Posts: 159
Joined: Fri Feb 07, 2014 6:30 pm
Location: Colchester, England
Great Britain

Re: No audio device in v31

Post by Steve Goodey » Wed Mar 10, 2021 3:02 pm

If you're happy with the fix could you possibly added [Solved] to the subject line in the first post?

Ta.
Don't forget the Wiki.

Post Reply