linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

No sound on laptop #3012

Closed srdjanpavlovic closed 2 years ago

srdjanpavlovic commented 2 years ago

SUMMARY | 问题概要

No sound, no sound output device, no sound input devices are recognized.

STEPS TO REPRODUCE | 复现步骤

  1. ...
  2. ...
  3. ...

OBSERVED RESULT | 观察到的结果

EXPECTED RESULT | 期望的结果

SOFTWARE/OS VERSIONS | 软件/系统版本信息

ADDITIONAL INFORMATION | 额外补充

dmesg.txt lsmod.txt lspci.txt uname.txt

srdjanpavlovic commented 2 years ago

Screenshot_20220404170500

Screen shot of no oudio output shown

sudo modprobe -r snd_rn_pci_acp3x systemctl --user restart pulseaudio

fixes output, but still no input... probably something with new Kernel and / or pulseaudio / sinks...

srdjanpavlovic commented 2 years ago

I saw this bug on some other places, needs to be fixed soon, a lot of laptops are with those chips and those users will be without audio when they install 20.5 or when they update to new kernel...

titobundy commented 2 years ago

I've the same problem after update to 20.5, laptop's sound not working, only works when I connect my bluetooth headphones.

Pavilion 15-eh0011la AMD Ryzen 7 (Realtek Audio)

image

srdjanpavlovic commented 2 years ago

If there is any other output other then I already attached in first post, that I can post to help solve this issue, just ask and I will post.

titobundy commented 2 years ago

I use sudo modprobe snd_rn_pci_acp3xto enable mic again, but when i restart the laptop, the changes are lost, and I've to run commands again;

sudo modprobe -r snd_rn_pci_acp3x
systemctl --user restart pulseaudio
sudo modprobe snd_rn_pci_acp3x
BLumia commented 2 years ago

Related: https://bbs.deepin.org/zh/post/234086 (Chinese language)

Page summary: they were working on a fix and the fix is in the unstable testing repo.

deb [trusted=yes] https://proposed-packages.deepin.com/dde-apricot unstable main contrib non-free
SuperEffie commented 2 years ago

Thanks for you feedback.Did it work after using the method in the upper post?

titobundy commented 2 years ago

Related: https://bbs.deepin.org/zh/post/234086 (Chinese language)

Page summary: they were working on a fix and the fix is in the unstable testing repo.

deb [trusted=yes] https://proposed-packages.deepin.com/dde-apricot unstable main contrib non-free

This works for me. Thanks...

> sudo sh -c 'echo "deb [trusted=yes] https://proposed-packages.deepin.com/dde-apricot unstable main contrib non-free" > /etc/apt/sources.list.d/deepin-unstable.list'
> sudo apt update && sudo apt upgrade
srdjanpavlovic commented 2 years ago

When this will be pushed from testing to main branch?

BLumia commented 2 years ago

When this will be pushed from testing to main branch?

Not sure right now, the latest time could be in the next release cycle (20.6) I guess.

srdjanpavlovic commented 2 years ago

I think this should be fixed as soon as possible and pushed trough regular updates. Lot of people has this chip on newer laptop, and if choose to try Deepin, will be left disappointed if there is no audio working...

Not a problem for us technical users to deal with it with 2 lines in terminal, but for regular non-technical people this needs to be fixed ASAP and pushed trough update...

snjvm commented 2 years ago

Tried running the script given by @titobundy and no change on system. Still no System devices. HP ProBook g440 image image

titobundy commented 2 years ago

@snjvm Can you show us the the updates details in your screen (with red alert) ?, after add the unstable repository you should run apt updates, then install the update packages with apt upgrades or by control center.

snjvm commented 2 years ago

image image

titobundy commented 2 years ago

Can you check details not upgraded packages with apt list --upgradable?, and maybe try to dowload and install from control center . When I run apt updated and after check with apt list --upgradable, pulse audio packages appear available to upgrade

snjvm commented 2 years ago

Yes i have installed all the updates. Now i don't see the Face Recognition on the Control Center. Still no devices under Sound. image image After 20.5 upgrade multiple other issues have started.

  1. Shutdown is not happening.
  2. Auto start applications take around 4 ~ 5 minutes to start after booting.
  3. Device Manager hangs after launch.
BLumia commented 2 years ago

multiple other issues have started.

Please create separated issues for those bugs you mentioned, let's focus on the sound problem in this issue. Thanks!

snjvm commented 2 years ago

i could see this issue is not present in UbuntuDDE. LiveBoot UbuntuDDE and checked. image image

Zeno-sole commented 2 years ago

Can you export your configuration information in the device manager, we are looking for similar devices to debug this problem

snjvm commented 2 years ago

Device Manager hangs after launch and stays like this forever.

image

Zeno-sole commented 2 years ago

lshw -C sound Confirm whether the value of driver= exists, if so, execute lsmod | grep "snd_hda_intel" to check whether the driver is loaded

snjvm commented 2 years ago

image image

srdjanpavlovic commented 2 years ago

Device Manager hangs after launch and stays like this forever.

image

You can start it from terminal, and see if there is any useful output for debugging.

snjvm commented 2 years ago

Still the same old GUI. Device Manager hangs. image

srdjanpavlovic commented 2 years ago

Maybe you could start gdb in B terminal after you start device-manager in A terminal, and then try attaching gdb to the process (devicemanager) using its PID...

Zeno-sole commented 2 years ago

@snjvm Did you have no sound before updating to 20.5?

snjvm commented 2 years ago

Before upgrading to 20.5 i had Output Devices. No Input Devices. I thought problem with Input Devices would be resolved in 20.5

Zeno-sole commented 2 years ago

Before upgrading to 20.5 i had Output Devices. No Input Devices. I thought problem with Input Devices would be resolved in 20.5

apt policy pulseaudio , Execute this under the terminal to see the version of pulseaudio

snjvm commented 2 years ago

image

Zeno-sole commented 2 years ago

https://cdimage.deepin.com/releases/23/ Can you try this version of the mirror to see if the sound is normal? @snjvm

snjvm commented 2 years ago

couldn't live boot that release. I'm using Ubuntu Live Boot temporarily. Will reinstall deepin again. Will update the status.

Zeno-sole commented 2 years ago

https://drive.google.com/file/d/1JjaH-iplOmQhNF4JYUOztEdKbTeJcwsX/view?usp=sharing @snjvm
I updated pulseaudio to version 15.99, but I'm not sure if this works because I don't have device verification, you can install it on version 20.5

snjvm commented 2 years ago

image

Zeno-sole commented 2 years ago

You need to install libpulse0. Before installing these packages, pay attention to backup data. It is easy to cause dependency errors and cause system problems.

snjvm commented 2 years ago

After installing fresh deepin 20.5, the sound issue was still present. I have installed Ubuntu 22.04 LTS which has solved the issue. Thanks to all people who supported me in the troubleshooting.

srdjanpavlovic commented 2 years ago

Still present, still not fixed, this is a major bug....

BLumia commented 2 years ago

Still present, still not fixed

Your feedback is posted during v20.5 and we will push v20.6 today (not released yet, still during the last part of the release cycle), how do you expect a fix if we didn't push any fix...

Zeno-sole commented 2 years ago

Still present, still not fixed, this is a major bug....

I repackaged pulseaudio, you can add my repository, update pulseaudio and try, execute the following command to add the repository curl -L https://github.com/Zeno-sole/Zeno-sole.github.io/raw/main/repos/gpg-pbuilc.key | sudo apt-key add - && sudo sh -c 'echo "deb https://zeno-sole.github.io/repos unstable main" > /etc/apt/sources.list.d/zeno-repo.list' && sudo apt update && sudo apt dist-upgrade

srdjanpavlovic commented 2 years ago

I mean not fixed through updates on installed 20.5 version, sorry. I downloaded 20.6 ISO today and will try if audio is all OK on 20.6.

Zeno-sole commented 2 years ago

If there is a problem with 20.6, you can try adding the repository I sent to update pulseaudio

Zeno-sole commented 2 years ago

Due to no reply for a long time and lack of necessary information, closing this issue for now. If the problem still exists, please consider prvoide the necessary information to reopen the issue, or creating another issue