You are not logged in.
Pages: 1
Recently, I don't know when or what has changed, I lost sound in a few programs.
For example:
Sound working in
speaker-test -c 2
mplayer
mumble
luakit
not working
chromium
firefox
warsow
mpv
So I started reading https://wiki.archlinux.org/index.php/Ad … m_problems and the mpv.conf ao=alsa fixed it for mpv. But there's nothing else there..
And after searching the web for answers I tried figuring out what to put in my ~/.asoundrc or /etc/modprobe.d/alsa-base.conf ( I have never had anything in these files before when it was working but apparently this is what people use )
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ lspci -nn | grep -i audio
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series] [1002:aa58]
What am I supposed to put in my ~/.asoundrc and/or /etc/modprobe.d/alsa-base.conf?
I've tried a lot of combinations tonight but none that resulted in sound in all programs
Last edited by rulex (2014-09-11 16:07:02)
Offline
you should try to figure out why exactly sound isn't working with those applications.
for example try running mpv from command line without 'ao=alsa' and see if you get any errors.
Offline
you should try to figure out why exactly sound isn't working with those applications.
for example try running mpv from command line without 'ao=alsa' and see if you get any errors.
thanks for your reply.
with ao=alsa
...
[ao] Trying preferred audio driver 'alsa'
[ao/alsa] requested format: 44100 Hz, stereo channels, s16
[ao/alsa] using device: default
[ao/alsa] using ALSA version: 1.0.28
[ao/alsa] pcm opened in blocking mode
[ao/alsa] got buffersize=12288 samples
...
without
...
[ao/pulse] requested format: 44100 Hz, stereo channels, s16
[ao/pulse] device buffer: 11025 samples.
[ao/pulse] using soft-buffer of 11025 samples.
[cplayer] AO: [pulse] 44100Hz stereo 2ch s16
[cplayer] AO: Description: PulseAudio audio output
[ad] Building audio filter chain for 44100Hz stereo 2ch s16 -> 44100Hz stereo 2ch s16...
...
I don't know what to make of this? some programs are trying to use pulseaudio?
Offline
I don't know what to make of this? some programs are trying to use pulseaudio?
looks like that's the case with mpv at least. do you have pulseaudio installed/running? and have you set up your system to use pulseaudio or just bare ALSA?
Last edited by ooo (2014-09-10 21:02:30)
Offline
Yes, pulseaudio was installed and running... sound is now back everywhere after pacman -R pulseaudio and rebooting.
Why was it installed though? There were only optional dependencies for it when uninstalling.
$ cat /var/log/pacman.log
.......
[2014-09-09 17:46] [PACMAN] Running 'pacman -Syu'
[2014-09-09 17:46] [PACMAN] synchronizing package lists
[2014-09-09 17:46] [PACMAN] starting full system upgrade
[2014-09-09 17:51] [PACMAN] upgraded aurora (34.0a2+20140907+g8a9db5d-1 -> 34.0a2+20140909+gf816f7e-1)
[2014-09-09 17:52] [PACMAN] upgraded couchdb (1.6.0-1 -> 1.6.1-1)
[2014-09-09 17:52] [PACMAN] upgraded dirmngr (1.1.1-2 -> 1.1.1-3)
[2014-09-09 17:52] [PACMAN] upgraded filezilla (3.9.0.3-1 -> 3.9.0.5-1)
[2014-09-09 17:52] [PACMAN] upgraded glib2 (2.40.0-1 -> 2.40.0-2)
[2014-09-09 17:52] [ALPM-SCRIPTLET] Please make sure JAVA_HOME is set to /usr/lib/jvm/default
[2014-09-09 17:52] [ALPM-SCRIPTLET] If not, you may have to logout and login again to set it according to /etc/profile.d/jre.sh
[2014-09-09 17:52] [PACMAN] upgraded java-common (1-7 -> 1-8)
[2014-09-09 17:52] [PACMAN] upgraded libwbclient (4.1.11-1 -> 4.1.12-1)
[2014-09-09 17:52] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2014-09-09 17:52] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Starting build: 3.16.2-1-ARCH
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [shutdown]
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Starting build: 3.16.2-1-ARCH
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2014-09-09 17:52] [ALPM-SCRIPTLET] -> Running build hook: [shutdown]
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2014-09-09 17:52] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-09-09 17:52] [PACMAN] upgraded linux (3.16.1-1 -> 3.16.2-1)
[2014-09-09 17:52] [PACMAN] upgraded linux-headers (3.16.1-1 -> 3.16.2-1)
[2014-09-09 17:52] [PACMAN] upgraded llvm-libs (3.4.2-1 -> 3.5.0-1)
[2014-09-09 17:52] [PACMAN] upgraded llvm (3.4.2-1 -> 3.5.0-1)
[2014-09-09 17:52] [PACMAN] upgraded mesa (10.2.7-1 -> 10.2.7-2)
[2014-09-09 17:52] [PACMAN] installed gst-plugins-base (1.4.1-1)
[2014-09-09 17:52] [PACMAN] installed sbc (1.2-1)
[2014-09-09 17:52] [PACMAN] installed pulseaudio (5.0-1)
[2014-09-09 17:52] [PACMAN] upgraded phonon-qt4-gstreamer (4.7.2-1 -> 4.8.0-1)
[2014-09-09 17:52] [PACMAN] upgraded phonon-qt4-vlc (0.7.2-1 -> 0.8.0-1)
[2014-09-09 17:52] [PACMAN] upgraded phonon-qt4 (4.7.2-1 -> 4.8.0-1)
[2014-09-09 17:52] [PACMAN] upgraded phonon-qt5-gstreamer (4.7.2-1 -> 4.8.0-1)
[2014-09-09 17:52] [PACMAN] upgraded smbclient (4.1.11-1 -> 4.1.12-1)
[2014-09-09 17:52] [PACMAN] upgraded samba (4.1.11-1 -> 4.1.12-1)
[2014-09-09 17:52] [ALPM-SCRIPTLET] To start and/or enable syncthing execute the following,
[2014-09-09 17:52] [ALPM-SCRIPTLET] replacing 'user' with your username.
[2014-09-09 17:52] [ALPM-SCRIPTLET].
[2014-09-09 17:52] [ALPM-SCRIPTLET] systemctl start syncthing@user
[2014-09-09 17:52] [ALPM-SCRIPTLET] systemctl enable syncthing@user
[2014-09-09 17:52] [PACMAN] upgraded syncthing (0.9.11-1 -> 0.9.13-1)
[2014-09-09 17:52] [PACMAN] upgraded tzdata (2014f-1 -> 2014g-1)
[2014-09-09 17:52] [PACMAN] upgraded upower (0.99.0-2 -> 0.99.0-3)
...............
Offline
The package phonon-qt4-gstreamer had pulseaudio as a dependency for a short period of time. Please mark the thread as solved.
Edit:
https://bbs.archlinux.org/viewtopic.php?pid=1454967
https://bbs.archlinux.org/viewtopic.php?pid=1454958
https://bbs.archlinux.org/viewtopic.php?pid=1455213
Last edited by emeres (2014-09-11 15:16:41)
Offline
The package phonon-qt4-gstreamer had pulseaudio as a dependency for a short period of time
thank you
Offline
You are welcome.
Offline
Pages: 1