You are not logged in.

#1 2011-01-31 10:38:50

commonmanthemes
Member
Registered: 2010-09-27
Posts: 59

No Sound in VLC and Virtualbox

I have a workstation with two sound outputs - my ESI Juli@ and the HDMI out on my FirePro V5800.  I have an issue where some applications cannot produce sound.  That said, alsamixer and the OS itself do see the card, and it works just fine for sound from Firefox.

Originally, my issue was ALSA defaulting to the HDMI out and not giving me any audio.  I first solved this by blacklisting the module for snd-hda-intel (the HDMI out).  This "hack" allowed the OS to automatically choose the Juli@ as the default sound card and got sound working in the OS itself and Firefox.  But then, I realized VLC and Virtualbox weren't working with the card and figured I should find a more proper solution.  I got the following message from VLC:


"VLC failed to initialize your sound output device (if any).
Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue."


Looking at the ALSA page on the Arch wiki, I decided that manually reordering the modules was necessary.  The documentation there was poor, though, and I couldn't figure it out.  Eventually, I found a forum post about the above error message and someone put things in more simple language.  As such, I've modified my modprobe.conf to look like this:


#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#
options snd-ice1724 index=0
options snd-hda-intel index=1


I must've done something right, because the OS and Firefox get sound just fine with the Juli@ as the default sound card without me blacklisting the HDMI out's module.  However, my issue in VLC and Virtualbox remains with the same errror message, so I figure I'm missing something.

Here is the output of aplay -l:


**** List of PLAYBACK Hardware Devices ****
card 0: Juli [ESI Juli@], device 0: ICE1724 [ICE1724]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Juli [ESI Juli@], device 1: ICE1724 IEC958 [ICE1724 IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


The relevant entries from lspci -v:


01:01.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
        Subsystem: Device 3031:4553
        Flags: bus master, medium devsel, latency 64, IRQ 23
        I/O ports at a000 [size=32]
        I/O ports at 9800 [size=128]
        Capabilities: <access denied>
        Kernel driver in use: ICE1724
        Kernel modules: snd-ice1724

06:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
        Subsystem: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel


And the output given by VLC when run from command line and given a file to play:


VLC media player 1.1.6 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0x7f2a8f203ab0, 0x7f2a8f203b50)
Warning: call to signal(13, 0x1)
Warning: call to signal(13, 0x1)
Warning: call to srand(1296590680)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:5985): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
Warning: call to signal(13, 0x1)
Blocked: call to sigaction(11, 0x7f2a8f203370, (nil))
Blocked: call to sigaction(6, 0x7f2a8f203370, (nil))
Blocked: call to sigaction(5, 0x7f2a8f203370, (nil))
Blocked: call to sigaction(8, 0x7f2a8f203370, (nil))
Blocked: call to setlocale(1, "C")
Blocked: call to setlocale(1, "en_US.utf8")
Blocked: call to setlocale(1, "C")
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
[0x26a0d60] oss audio output error: cannot reset OSS audio device
[0x26a0d60] jack audio output error: failed to connect to JACK server
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
Warning: call to sigaction(14, 0x7f2a85830850, (nil))
SNDCTL_DSP_GETFMTS: Device or resource busy
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()


I'm thinking the system seeing the Juli@ as two devices means I need to add another line to modprobe.conf, but I'm not really sure at this point.  It'd be awesome if someone a little more expert regarding ALSA and maybe this audio chipset could please give a guy some help.

Offline

#2 2011-02-22 09:39:01

commonmanthemes
Member
Registered: 2010-09-27
Posts: 59

Re: No Sound in VLC and Virtualbox

BUMP for this one.

I've updated packages since then, as well as manually selecting ALSA as playback for these two programs with no luck.  I've tried using the instructions here:

http://www.alsa-project.org/main/index. … le-ice1724

But it seems like most of it isn't relevant...  My Arch install has soundcore.ko.gz, snd-cmipci.ko.gz, and snd-ice1724.ko.gz just by proxy.  The part about /etc/conf.modules is deprecated in Arch as well.

I'm dying to have sound in VLC and my VMs on my desktop.  Please help!

Offline

Board footer

Powered by FluxBB