View previous topic :: View next topic |
Author |
Message |
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Sat Feb 17, 2018 10:56 pm Post subject: Audio device randomly not available |
|
|
Dear Community,
Randomly (~every fourth boot of my notebook) my audio device is not available (only dummy output shown in Gnome). A reboot fixes it and I can play audio again.
Any idea how I can fix it?
Code: | lspci -k
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Lenovo Sunrise Point-LP HD Audio
Kernel driver in use: snd_hda_intel
|
Many thanks. _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sun Feb 18, 2018 3:16 am Post subject: |
|
|
When it is not available, is it still recognized by the kernel? Visible in alsamixer?
Seeing that you use Gnome, my guess is that it is probably pulseaudio messing up... _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Wed Feb 21, 2018 9:35 pm Post subject: |
|
|
Jaglover wrote: |
I usually start with troubleshooting in case there is some trouble. Right now, considering all the information you have provided, I'd conclude something is wrong. |
Very philosophic!
I am now booted with "dummy output" as the only audio device. As a normal user alsamixer only shows one master and as a device pulseaudio, nothing else. As root alsamixer shows my HDA Intel PCH. Speaker is 100/100, PCM 100/100
Code: |
lenovo-yoga ~ # dmesg | grep audio
[ 1.632507] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC298: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 1.632509] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1.632510] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 1.632511] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 1.632512] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 1.632514] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
[ 1.632515] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
|
How do I check if pulseaudio messed it up? _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Last edited by Spargeltarzan on Mon Feb 26, 2018 9:28 am; edited 1 time in total |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Sun Feb 25, 2018 11:40 pm Post subject: |
|
|
I have realised that simply killing (pulseaudio -k) and starting (pulseaudio --start) pulseaudio fixes the issue, if the device is not available since boot.
Nothing blocks pulseaudio (recommendation from the Wiki to check):
Code: |
lenovo-yoga ~ # fuser -v /dev/snd/*
BEN. PID ZUGR. BEFEHL
/dev/snd/controlC0: gdm 2553 F.... pulseaudio
|
After restarting pulseaudio, fuser also reports controlc0 as a user:
Code: |
username@lenovo-yoga ~ $ fuser -v /dev/snd/*
BEN. PID ZUGR. BEFEHL
/dev/snd/controlC0: username 22261 F.... pulseaudio
|
Any idea how to fix this? _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Sat Mar 03, 2018 10:48 am Post subject: |
|
|
I have compiled pulseaudio with those flags:
11.1{tbz2}(03:43:26 27.02.2018)(X alsa alsa-plugin asyncns bluetooth caps dbus gdbm glib gnome gtk ipv6 orc ssl tcpd udev webrtc-aec -doc -equalizer -jack -libressl -libsamplerate -lirc -native-headset -neon -ofono-headset -oss -qt4 -realtime -selinux -sox -system-wide -systemd -test -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
If there is more information what I can provide you for your appreciated support, please let me know. _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|