Dharma an gt220 (nvidia) audio
#1
So I installed dharma and then tried to setup XBMC. audio did not work out of the box, but thats to be expected as in the past. This time however, something, I think, is broke.

After fiddling with XBMC for a bit I dropped back out to gnome and tested a few things:

aplay -L
pulse
Playback/recording through the PulseAudio sound server
hdmi:CARD=NVidia
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
thebard@XBMCLive:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0


alsamixer shows all 4 devices as being unmuted. It shows the nvidia as the one and only sound card (I have the built in analog sound turned off in BIOS)

if I run:

speaker-test -Dhdmi -c6 -r48000 -FS16_LE

I hear absolutely nothing. Zilch. No matter what I do I cant get anything out of the speakers even in gnome. gnome speaker utility is showing that the audio device is the hdmi stereo audio.

Is something funky going on with pulse audio on the live cd? Help, as I've pretty much run out of options Sad
Reply
#2
I met the same problem. It was GF216.

I run Smplayer and it list all 4 devices of the HDMI audio. Only alsa(1.7-HDA Nvidia) works.

In XBMC, and in any other programs, even with the desktop sound configuration, if you can not see all four devices, you can not select the right one.
Reply
#3
http://forum.xbmc.org/showthread.php?tid=69601
Reply
#4
adding options snd-hda-intel enable_msi=0

and using custom plughw:0,7

works in xbmc.

The weird part though is I still get no sound in gnome under terminal if i so speaker test -d plughw:0,7 -c2

Its very odd.
Reply
#5
if you have pulse audio installed its probably your problem OR if pulse audio was uninstalled you might have lost all sounds outside of xbmc...


happened to me, but now I run the LIVE version so I only need it working for xbmc and thats all

-=Jason=-
Reply
#6
Hey wmilas,

Here are my notes for how I get my GT220 working w/ Lucid Full Version 32bit. It requires updating ALSA and modifying a couple of things but you should be able to follow ok

# Update Alsa to v1.0.23 (Required for HDMI audio w/ Nvidia GT220)
Code:
sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev
sudo mkdir -p /usr/src/alsa && cd /usr/src/alsa
sudo wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
sudo wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
sudo wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2
sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*
cd alsa-driver*
sudo ./configure
sudo make
sudo make install
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install

# Reboot (required after upgrading ALSA)
Code:
sudo reboot -n

# Run the ALSA configuration tool
Code:
sudo alsaconf
- when prompted and asked, "Do you want to modify /etc/modprobe.d/sound (and /etc/modprobe.conf if present)?", select "<Yes>"



# Add the audio hardware line to pulse config (Required for HDMI audio w/ Nvidia GT220)
Code:
sudo nano /etc/pulse/default.pa
- add this line to the bottom of the config file:
Code:
load-module module-alsa-sink device=hw:1,7



# Add user to the audio group
Code:
sudo adduser [i]username[/i] audio

# Reboot (required after ALSA configuration)
Code:
sudo reboot -n

# Unmute the Nvidia HDMI device
Code:
alsamixer
- Press F6 to change the audio device, select the Nvidia HDMI device and unmute all available audio ports



# Test Nvidia HDMI audio output (This should play a short static sound if the Nvidia HDMI audio is properly configured)
Code:
aplay -D plughw:1,7 /usr/share/sounds/alsa/Noise.wav


Good luck!
Reply

Logout Mark Read Team Forum Stats Members Help
Dharma an gt220 (nvidia) audio0