AVS Forum banner
1 - 20 of 30 Posts

· Registered
Joined
·
1,361 Posts
Discussion Starter · #1 ·
Looks like there is a patch to get ALSA working.

http://www.nvnews.net/vbulletin/show...9&postcount=11


I have not tested and probably won't have time for 2-3 days. No mention of which level nvidia driver is needed (looks like the last step was up to ALSA, not nvidia)


EDIT: re-read more closely.. looks like any 190+ driver is ok. GT240 support is flaky. Wording is such that its not clear whether G210 and GT220 are solid.
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #2 ·
I've got some pieces of audio working on my GT240 now:

http://www.nvnews.net/vbulletin/show...59#post2250559


(start reading as of post #10)


Flash (inside Firefox) and smplayer are working (have not tried, but assume I can get mplayer and VLC as well)


working: speaker-test, smplayer, Flash via Firefox, xbmc

not working: Songbird, Rhythmbox, system sounds


EDIT: XBMC working. Set a custom audio output device, and set it as plughw:1,7

EDIT2: changed gstreamer-properties to point at the new HDMI output, but still no luck on gstreamer apps, nor system sounds.
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #3 ·
As of post #33 (see thread link in above post) in the nvnews thread, I think I have everything working.


requirements: alsa 1.0.23 .. important safety tip : (I proved this point multiple times)
Quote:
Note for Ubuntu users make sure to remove linux-backports-modules-alsa-`uname -r` or your newly compiled alsa drivers will be ignored.

edit your files as below:
Quote:
>more /etc/modprobe.d/sound.conf

alias snd-card-0 snd-hda-intel

alias sound-slot-0 snd-hda-intel

options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2


> more ~/.asoundrc

pcm.!default hdmi:NVidia

pcm:iec958 hdmi:NVidia

Reboot (altho tux might insist its not needed
) (btw, I was wondering the same thing, and asked in the alsa thread. I got this answer: http://ubuntuforums.org/showpost.php...&postcount=803 .. above my expertise level...


At this point (after reboot, or a successful alsa restart), run
Quote:
sudo alsaconf

and then
Quote:
alsamixer

switch to card 1 (with F6) and un-mute (m) your nvidia hdmi port, after which
Quote:
speaker-test -c6 -twav -Dplughw:1,3

should work.


All credit to the guides I followed at http://wiki.xbmc.org/index.php?title...T220,_or_GT240


as a side note, I think I found a #$#[email protected] bug in Pulseaudio, where the pulse audio volume control and the sound pref panel refused to launch.. see the nvnews thread if you run across that.


EDIT: as a side note, along the long way it took to get it working, I also ran gstreamer-properties and pointed that to the HDMI output. can't say for sure if that is/not needed. Ditto for running the PulseAudio volume control (under Applications/sound menu)
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #5 ·

Quote:
Originally Posted by erod20 /forum/post/18695972


zim2dive


How much did you pay for the GT240 and is it quiet?

~$45 (after rebate) (above that, I didn't feel it was a good value)


For me it is quiet enough (and they have 1-2 passive models out now too). I recently got a larger ATX case (for my uATX mobo) with multiple low-rpm 120mm cooling fans. Everything seems to be staying mice and cool (and quiet).


My Dish DVR could make anything else seem quiet by comparison tho. If it wasn't for that #$^#@ warranty sticker, I'd open it up and give it the thorough dust blow-out I'm sure it needs.
 

· Registered
Joined
·
1,591 Posts
After insalling a g210 my onboard sound stopped working. I took it out an my onboard did work. for some reason my onboard doesn't work with the g210 installed, so I took the plunge, installed ALSA 1.0.23 (I'm running 10.04 ubuntu) and followed the instructions above to get my HDMI audio working. It worked after the first reboot, but never again (I've tweaked my alsa-base.conf options the various ways in the xbmc wiki) but no dice. I even tried disabling my onboard sound - no dice. I'm in the audio group, and made sure all 4 spdif are umuted in alsamixer... Not sure where to go from here. Any ideas? I get no errors when running speaker test, but no sound either... Wonder why it worked once and not ever again...

Code:
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/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
card 1: Intel [HDA Intel], device 0: CMI9880 [CMI9880]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: CMI9880 Digital [CMI9880 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
.asoundrc
Code:
Code:
pcm.!default hdmi:NVidia
pcm:iec958 hdmi:NVidia
Code:
Code:
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jun  5 2010 for kernel 2.6.32-22-generic (SMP).
 

· Registered
Joined
·
1,591 Posts

Quote:
Originally Posted by zim2dive /forum/post/18734575


See post #2 in this thread for a link to the thread at nvnews (you can mostly skim thru to post #33)

I looked through that thread before I upgraded alsa. A lot of the things I tried came from that thread and the xbmc wiki. I got it working again, but I'm scared to reboot
. Even though I have it so it consistently uses the same card number everytime, sometimes it doesn't work. aplay, dmesg, syslog, alsamixer, even the speaker test output all look the same whether it works or not. Just sometimes I have sound, sometimes I don't. This last time, I cycled through various speaker test and plug card/devices and although I got no errors I had no sound until I got to hwplug0,8 then I had sound. Then when I ran all the other speaker-test and mplayer sample files I have that didn't work before (same session), they worked - just seemed I needed to run through hwplug0,8 first. after that 0,3 0,5 and 0,9 worked, where they previously didn't (no errors - just no sound). Sounds a little buggy.
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #9 ·

Quote:
Originally Posted by newlinux /forum/post/18736175


I looked through that thread before I upgraded alsa. A lot of the things I tried came from that thread and the xbmc wiki. I got it working again, but I'm scared to reboot
. Even though I have it so it consistently uses the same card number everytime, sometimes it doesn't work. aplay, dmesg, syslog, alsamixer, even the speaker test output all look the same whether it works or not. Just sometimes I have sound, sometimes I don't. This last time, I cycled through various speaker test and plug card/devices and although I got no errors I had no sound until I got to hwplug0,8 then I had sound. Then when I ran all the other speaker-test and mplayer sample files I have that didn't work before (same session), they worked - just seemed I needed to run through hwplug0,8 first. after that 0,3 0,5 and 0,9 worked, where they previously didn't (no errors - just no sound). Sounds a little buggy.

you need to edit your /etc/modprobe.d/sound.conf so that aplay only reports 1 HDMI.. that's the magic step (or it was for me)
 

· Registered
Joined
·
1,591 Posts

Quote:
Originally Posted by zim2dive /forum/post/18737067


you need to edit your /etc/modprobe.d/sound.conf so that aplay only reports 1 HDMI.. that's the magic step (or it was for me)

I had it reporting only one HDMI device and it didn't work. But then I've played with so many things maybe it was the particular combination of things I was trying then that didn't work. If it stops working again I go look into that some more and get it working that way and then hopefully it will be more consistent.


Thanks!
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #11 ·
yeah , I played with 3-5 different sound panels at different points in the process.. just crazy that so many even exist, much less get out of sync from each other.


Check gstreamer-properties, and there is a pusleaudio panel as well.


I see 4 HDMI devices listed in your aplay -l output... ? 1 card, but 4 devices... when I was at that point I had sound for 80% of things.. I only got back to 100% when aplay -l reported only 1 HDMI card/device.
 

· Registered
Joined
·
1,591 Posts

Quote:
Originally Posted by zim2dive /forum/post/18738065


yeah , I played with 3-5 different sound panels at different points in the process.. just crazy that so many even exist, much less get out of sync from each other.


Check gstreamer-properties, and there is a pusleaudio panel as well.


I see 4 HDMI devices listed in your aplay -l output... ? 1 card, but 4 devices... when I was at that point I had sound for 80% of things.. I only got back to 100% when aplay -l reported only 1 HDMI card/device.

yeah, that aplay is just where I'm at now with it working. i changed module options before to get it to one device and at that time I had no sound - but I'm guessing that may have been due to some other things I was trying at the time. Right now it works for everything I've tried, but if after the next reboot it doesn't, I'll change it back to one device and try to get it working that way and then see if it sticks across reboots.
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #13 ·

Quote:
Originally Posted by newlinux /forum/post/18739020


yeah, that aplay is just where I'm at now with it working. i changed module options before to get it to one device and at that time I had no sound - but I'm guessing that may have been due to some other things I was trying at the time. Right now it works for everything I've tried, but if after the next reboot it doesn't, I'll change it back to one device and try to get it working that way and then see if it sticks across reboots.

when you get down to a single device, does speaker-test still work?


When I had 4 devices, I got sound using 1,7.. but when I got down to a single device, it was 1,3 for plughw (or it is hwplug?
)


Then you go and get the pieces that aren;t working to work. And in things like SMplayer, and VLC, you can set the device manually anyway, so to ask the question differently.. when you get down to only 1 HDMI, what didn't work that you cared about?


edit: XBMC lets you pick Audio video ports as well.
 

· Registered
Joined
·
1,591 Posts

Quote:
Originally Posted by zim2dive /forum/post/18739511


when you get down to a single device, does speaker-test still work?


When I had 4 devices, I got sound using 1,7.. but when I got down to a single device, it was 1,3 for plughw (or it is hwplug?
)


Then you go and get the pieces that aren;t working to work. And in things like SMplayer, and VLC, you can set the device manually anyway, so to ask the question differently.. when you get down to only 1 HDMI, what didn't work that you cared about?


edit: XBMC lets you pick Audio video ports as well.

When I had 1 HDMI device, nothing worked. I got no sound from anything (myth, mplayer, speaker-test, etc.) Now I get sound from all 4 plughws, but only after I did a speaker test on 0,8. Before the speaker test on 0,8 I did not get any sound from anything, but after the speaker test on 0,8 all 4 plugs and on all apps that I need. Everything works set to ALSA:default for now.
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #15 ·

Quote:
Originally Posted by newlinux /forum/post/18740341


When I had 1 HDMI device, nothing worked. I got no sound from anything (myth, mplayer, speaker-test, etc.) Now I get sound from all 4 plughws, but only after I did a speaker test on 0,8. Before the speaker test on 0,8 I did not get any sound from anything, but after the speaker test on 0,8 all 4 plugs and on all apps that I need. Everything works set to ALSA:default for now.

heh, wierd. I don't think I ever had audio from 1,3 1,8 1,9 when I had 4 .. only 1,7. That moved to 1,3 when I only had 1.


Ok, one thing I remember.. when I had 1,7 working.. and then editted modprobe to get down to 1,3.. some of the sound panels got "stuck" expecting 1,8 to be there.. and when it "disappeared" on them, they got stupidly confused, to the point of crashing instead of gracefully opening and saying "oh gee, the sound card we were using doesn't appear to be here anymore....."


So before switching to 4 to 1, I'd set your sound to something that will still be there.
 

· Registered
Joined
·
1,591 Posts

Quote:
Originally Posted by zim2dive /forum/post/18741105


heh, wierd. I don't think I ever had audio from 1,3 1,8 1,9 when I had 4 .. only 1,7. That moved to 1,3 when I only had 1.


Ok, one thing I remember.. when I had 1,7 working.. and then editted modprobe to get down to 1,3.. some of the sound panels got "stuck" expecting 1,8 to be there.. and when it "disappeared" on them, they got stupidly confused, to the point of crashing instead of gracefully opening and saying "oh gee, the sound card we were using doesn't appear to be here anymore....."


So before switching to 4 to 1, I'd set your sound to something that will still be there.

There are probably some differences between how your gt240 behaves and my g210 that may contribute to us seeing different behaviors. When I went down to one, nothing was missing, no errors. I just didn't get any sound from anything (and I checked the muting then too). what I still think is weird is how none of the plugs worked until I tried a speaker-test on 0,8 then all worked. This reminds me of an old alsa bug where my spdif would stop working from time to time unless I ran a speaker-test (I would have to create an .asoundrc file with pcm.!default spdif in it, run a speaker-test, then remove the .asoundrc file, and sound would magically work through spdif again).
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #17 ·
Well linux continues to astound me as the most stubbornly stupid OS for audio... somewhere in one of the Ubuntu upgrades, I got backgraded to alsa 1.0.21 again.. and thus lost audio. ARGH.


but this time I cannot get
Code:
Code:
>sudo apt-get remove linux-backports-modules-alsa-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-backports-modules-alsa-2.6.32-26-generic is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libparted0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.
to find the offending item and remove it... but
Code:
Code:
>cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
shows me stuck.. how do I rid myself of this old version this time.. what I found before was despite all other indications showing the upgrade a success, I would be stuck at .21.. Synaptic, etc, all show me at .23.. but no such luck.
 

· Registered
Joined
·
1,515 Posts

Quote:
Originally Posted by zim2dive /forum/post/19675833


Well linux continues to astound me as the most stubbornly stupid OS for audio... somewhere in one of the Ubuntu upgrades, I got backgraded to alsa 1.0.21 again.. and thus lost audio. ARGH.

Please don't slag off Linux because of distro specific idiosyncrasies...


There are plenty alternative distros to choose from!


I'm actually seriously thinking of building my own AV apps repository based on Redhat/Centos6, since Redhat/Centos comes with next to no AV stuff included, it would be an ideal base to build a great stable no-nonsense AV distro on top.


Centos6 is not out yet, but Redhat6 is and I have been playing with it recently.


I might start a new thread about this in a bit, if anyone is interested let me know.
 

· Registered
Joined
·
1,280 Posts

Quote:
Originally Posted by tux99 /forum/post/19675914


Please don't slag off Linux because of distro specific idiosyncrasies...


There are plenty alternative distros to choose from!


I'm actually seriously thinking of building my own AV apps repository based on Redhat/Centos6, since Redhat/Centos comes with next to no AV stuff included, it would be an ideal base to build a great stable no-nonsense AV distro on top.


Centos6 is not out yet, but Redhat6 is and I have been playing with it recently.


I might start a new thread about this in a bit, if anyone is interested let me know.

I might be interested. I want to dump Ubuntu and return to Fedora. I once tried a Centos5/MythTV setup. But the ancient kernel that it used made it very difficult. I gave up.
 

· Registered
Joined
·
1,361 Posts
Discussion Starter · #20 ·

Quote:
Originally Posted by tux99 /forum/post/19675914


Please don't slag off Linux because of distro specific idiosyncrasies...


There are plenty alternative distros to choose from!

Someone will have to find a quality survey, but I'm going to guess its (by far) the most widely used distro.. and yet it manages to remove my audio every 2-3 months.. yes, I eventually get it back.. but its more than a tad annoying, not to mention that the most obvious ways of asking the OS "which version do I have installed?" come back with the incorrect answer. 2 strikes against the $GRANDMA factor.
 
1 - 20 of 30 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top