You are not logged in.

#1 2022-05-28 08:41:51

jlumme
Member
Registered: 2019-04-06
Posts: 9

[SOLVED] Built-in line out audio not working unless toggled in Gnome

Strange problem has started happening with audio not working after boot unless I go to Gnome preferences > sound > output and change output once to "HDMI / DisplayPort - Built-in Audio" and then back to "Line Out - Built-in Audio".
After this audio works as long as I don't close the preferences window. If I do, again the sound will disappear.

Not sure if its related, but when sound is not working also browser videos (ie. youtube) don't work. Once I do the "preferences toggle" once, videos start playing properly.

I don't really know much about how audio works so I'm not sure what config or logs to paste. This is quite annoying to do every time, and would appreciate any advice.
Thank you.

Last edited by jlumme (2022-05-31 23:16:57)

Offline

#2 2022-05-30 15:10:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,940

Re: [SOLVED] Built-in line out audio not working unless toggled in Gnome

Offline

#3 2022-05-31 10:23:36

r0r
Member
Registered: 2018-05-26
Posts: 6

Re: [SOLVED] Built-in line out audio not working unless toggled in Gnome

Hi,

Bumping this one as I have the exact same issue but on KDE, I need to switch my sound profile with pavucontrol-qt to have my sound working.
I have done what was advised on here https://archlinux.org/news/undone-repla … replumber/ and did a reboot of course, so this issue is happening after and this doesn't resolve it.

If anyone knows where I should start to look at?
Many thanks.

Offline

#4 2022-05-31 10:34:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,940

Re: [SOLVED] Built-in line out audio not working unless toggled in Gnome

Sometimes there's a general detection issue with the initial HW states. Check post the outputs of

pactl list cards
pactl list sinks

before and after doing the explicit switch.

Offline

#5 2022-05-31 13:29:46

r0r
Member
Registered: 2018-05-26
Posts: 6

Re: [SOLVED] Built-in line out audio not working unless toggled in Gnome

Thanks a lot for your help.

I could only see a difference when listing the sinks before and after the switch.

Before:

Destination #2
        State : SUSPENDED
        [...]
        Mute : yes

After:

Destination #2
        State: IDLE
        [...]
        Mute : no

So for some reasons it ends up being suspended?

Offline

#6 2022-05-31 13:38:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,940

Re: [SOLVED] Built-in line out audio not working unless toggled in Gnome

Suspension is normal, the mute state not necessarily.  Normally the states should get restored, if that's the only difference then potentially the initial state is not properly declared, after "fixing" the issue try running an explicit

sudo alsactl store

if that doesn't stick on a reboot, you could adjust /etc/pulse/default.pa and add a

set-sink-mute $insertsinknamehere$ off

(or do the logical toggling steps with

pacmd set-card-profile $hdmi$
pacmd set-card-profile $analog$

also quite important, if you have a parallel Windows installation, make sure fast boot is disabled

if you need help in knowing which values you need to insert where, post the full outputs of the commands I asked for in "code" rather than "quote" tags.

Offline

#7 2022-05-31 23:15:44

jlumme
Member
Registered: 2019-04-06
Posts: 9

Re: [SOLVED] Built-in line out audio not working unless toggled in Gnome

Thank you, this solved the problem immediately

Offline

Board footer

Powered by FluxBB