Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] No audio with 1.5.1 and kernel 5.7.9-1 #2302

Closed
Enerccio opened this issue Jul 20, 2020 · 14 comments
Closed

[BUG] No audio with 1.5.1 and kernel 5.7.9-1 #2302

Enerccio opened this issue Jul 20, 2020 · 14 comments
Labels
bug Something isn't working Community end-user or distro-reported issues

Comments

@Enerccio
Copy link

After updating to a new kernel, sof audio no longer outputs anything. I think I managed to get my output from my thunderbolt 3 dock with jack working, but without dock no audio from speakers or built in jack.
dmesg.txt

@plbossart plbossart transferred this issue from thesofproject/sof Jul 20, 2020
@plbossart
Copy link
Member

can you share the result of alsa-info?

@Enerccio
Copy link
Author

@plbossart
Copy link
Member

Nothing really suspicious @Enerccio
Can you try speaker-test -Dhw:0,0 -c2 -r48000 and see if the streaming progresses? if it does then it's a codec configuration issue, maybe a wrong set of mixer settings or the codec pins themselves not well configured.

I am assuming you can hear audio playing when you use blacklist snd-sof-pci and force the snd-hda-intel driver to be used with a kernel parameter.

@Enerccio
Copy link
Author

No sound input from speaker-test.

I tried older kernel, 1.4.1 sof, forcing snd-hda-intel, no sound. I had big update this morning so something might have fucked it up.

@Enerccio
Copy link
Author

However, this is not a hardware problem. If I disable all drivers and boot to qemu running windows, sound is working 100%

@Enerccio
Copy link
Author

https://pastebin.com/FGae8gPz this is what I upgraded this morning

@plbossart
Copy link
Member

Alsa-lib and alsa-ucm-conf could be the problem, but that wouldn't explain why you can't hear anything with the legacy snd-hda-intel driver. You really need to get to a point where the legacy audio driver plays audible audio, at which point we can look into SOF-related issues.

@Enerccio
Copy link
Author

Enerccio commented Jul 20, 2020

I set it up with https://wiki.archlinux.org/index.php/Lenovo_Yoga_c940#Linux_5.5_and_later so I am not sure if legacy audio driver should even work after 5.5 though

When I block sof and unblock other drivers, I get only dummy output

@Enerccio
Copy link
Author

When I boot with legacy intel drivers:

http://alsa-project.org/db/?f=e06737b31090a5bc2549a032c0aa0449c917f9ce

dmesg-no-sof.txt

speaker-test -Dhw:0,0 -c2 -r48000

speaker-test 1.2.3

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
Playback open error: -2,No such file or directory

@Enerccio
Copy link
Author

Enerccio commented Jul 20, 2020

Ok you were right, it was alsa,

warning: downgrading package alsa-lib (1.2.3.2-1 => 1.2.2-1)
warning: downgrading package lib32-alsa-lib (1.2.3.2-1 => 1.2.2-1)
warning: downgrading package alsa-topology-conf (1.2.3-1 => 1.2.2-1)
warning: downgrading package alsa-ucm-conf (1.2.3-2 => 1.2.2-1)

and I have sound back. Why would alsa cause this though?

@plbossart
Copy link
Member

@perexg can you help here? which versions of alsa-lib and friends are currently recommended, or are you aware of potential issues with 1.2.3.2? I know there's been a lot of changes recently but haven't tracked version numbers. Thanks for your help!

@mengdonglin mengdonglin added the bug Something isn't working label Jul 23, 2020
@plbossart plbossart added the Community end-user or distro-reported issues label Aug 11, 2020
@perexg
Copy link

perexg commented Sep 3, 2020

Please, show the pulseaudio debug log for the latest alsa packages.

@kv2019i
Copy link
Collaborator

kv2019i commented Sep 22, 2020

@Enerccio any update?

@kv2019i
Copy link
Collaborator

kv2019i commented Oct 19, 2020

No update for a month and missing input, so closing. Reporter, please reopen if this issue is still valid.

@kv2019i kv2019i closed this as completed Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Community end-user or distro-reported issues
Projects
None yet
Development

No branches or pull requests

5 participants