Recommended Sound Card? (Linux)

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Tue Mar 28, 2006 4:52 am

  • Hello
    I have been experiencing problems with sound (delayed by about half a second) on a few games over 3 distros. This means that my sound card is likely to be at fault. I want to buy a new one.

    What sound cards are you people using that work fine with games on Linux? What exactly is it that is killing the response time?

    I currently have a Soundblaster Audigy LS.
    CSniper
    Newbie
     
    Posts: 7
    Joined: Tue Mar 28, 2006 4:49 am

Tue Mar 28, 2006 5:13 am

  • It's possible that alsa or hardware acceleration is misconfigured. I know that bzflag in particular will get very laggy, even in the menu, without acceleration. Also, I had delay problems when I tried combining sample rate conversion, stereo spreading across six channels, and dmix.

    I'm not sure how much of that is particular to bzflag.
    User avatar
    Workaphobia
    Advanced member
     
    Posts: 59
    Joined: Tue Feb 28, 2006 11:08 pm
    Location: Troy, NY

Tue Mar 28, 2006 10:34 am

Tue Mar 28, 2006 4:12 pm

  • I don't understand what the first one means, It is not possible to create a file with a "/" in it's name?

    -sndstereo is the switch that I have to use to get any sound at all, and it seems fine apart from the irritating delay. -sndspeed 4800 makes the sound stutter horribly.

    It's a shame, because I really love this game. The delay puts me off, I rely on sound a lot.
    CSniper
    Newbie
     
    Posts: 7
    Joined: Tue Mar 28, 2006 4:49 am

Tue Mar 28, 2006 4:23 pm

  • CSniper wrote:I don't understand what the first one means, It is not possible to create a file with a "/" in it's name?

    No, of course it is not possible to create files with '/' in their name, because '/' is the directory seperator on linux/unix systems. '~' is replaced with the path to your home directory by the linux shell, so '~/.asoundrc' actually means: create a file called '.asoundrc' in your home directory.

    And i agree with esteel: the problem is most certainly not your soundcard. Soundblaster cards should be well supported by linux, it's more likely a software/driver problem.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Tue Mar 28, 2006 4:36 pm

Tue Mar 28, 2006 5:03 pm

  • KadaverJack wrote:
    CSniper wrote:I don't understand what the first one means, It is not possible to create a file with a "/" in it's name?

    No, of course it is not possible to create files with '/' in their name, because '/' is the directory seperator on linux/unix systems. '~' is replaced with the path to your home directory by the linux shell, so '~/.asoundrc' actually means: create a file called '.asoundrc' in your home directory.

    And i agree with esteel: the problem is most certainly not your soundcard. Soundblaster cards should be well supported by linux, it's more likely a software/driver problem.

    Sorry, I'm new to Linux.
    Create a file named ".asoundrc" in my home directory, with the contents you specified. It doesn't seem to make a difference, other than making my sound card no longer show in the "Device" section of the sound settings for the OS.
    I am using Ubuntu, by the way, not Fedora.

    I can't get into my ALSA config, or find anything relating to sound hardware. I am asking about this on the Ubuntu forums.
    CSniper
    Newbie
     
    Posts: 7
    Joined: Tue Mar 28, 2006 4:49 am

Tue Mar 28, 2006 8:48 pm

Wed Mar 29, 2006 1:55 am

  • I have onboard sound, but it should be disabled in the BIOS.

    EDIT typing one of the "export SDL_AUDIO=oss" or dma commands means that I get no sound at all in the game. I have to type "export SDL_AUDIO=alsa" to get anything out of it.

    I am still having problems getting into the alsa configuration. "alsaconf" doesn't work - command not found.
    CSniper
    Newbie
     
    Posts: 7
    Joined: Tue Mar 28, 2006 4:49 am

Wed Mar 29, 2006 3:08 am

  • CSniper wrote:I am still having problems getting into the alsa configuration. "alsaconf" doesn't work - command not found.

    On debian "alsaconf" is in the package "alsa-utils" (i guess it's the same name on ubuntu).
    Make sure you have that package installed and run alsaconf as root.

    But i don't think that will solve your problem... To my knowlegde the problem is caused by the alsa plugin "dmix", alsaconf will only set up your hardware afaik, which obviously is already working.
    That .asoundrc i posted should disable dmix (at least that is working here (on debian) and at my universities workstations (fedora)). I don't know why it doesn't work for you (perhaps your onboard soundcard is still detected even though it's disabled) so the only advice i can give you is to read up on .asoundrc and multiple soundcards here: http://alsa.opensrc.org/ or ask in some alsa/ubuntu forums.
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Wed Mar 29, 2006 3:35 am

  • If you are using KDE, you should try making arts' the sound buffer smaller or completly desactivating arts (any way, arts is a software sound mixer, but with a card like that, you have plenty hardware mixed voices). To make the sound buffer smaller or to turn off arts, go in your K menu->Settings->Sound & Multimedia->Sound System. You will have a slider for the length of the sound buffer and a check box "Enable sound system". This check box will not make your computer silent, it will just disable arts and you will use the hardware sound mixer on your card instead (wish I personnaly recommand).
    If you choose to disable arts and you are using system notification sounds in KDE, you will have to go in your K menu->Settings->Sound & Multimedia->System Notifications and then click on the "Player settings" button. Choose "Use an external player" and type the command name of your favorite sound player. "playsound" should work fine. If you play music trough amaroK, make sure your sound engine is not arts, or you either won't hear your music, have an error message or arts will start automatically when you play music.
    Image
    "I reject your reality and substitute my own!" – Adam Savage, Myth Busters
    User avatar
    dominic
    Member
     
    Posts: 28
    Joined: Mon Mar 06, 2006 1:53 pm

Thu Mar 30, 2006 12:43 am

  • Well, I have tried changing the values inside .asoundrc to different values, no joy there.
    I have tried this with the onboard sound enabled, it lags just the same through the sound card or the onboard.
    I have posted this forum thread:
    http://ubuntuforums.org/showthread.php?t=152097
    Which has revealed nothing, and I can find no ALSA forums.

    Is it possible that this is a hardware compatability problem, not with the soundcard but with the motherboard? It is a P4S800D, I heard that there were some problems with it.
    CSniper
    Newbie
     
    Posts: 7
    Joined: Tue Mar 28, 2006 4:49 am

Thu Mar 30, 2006 2:17 am

  • If the games you experience a slight delay in are Quake-engine based games, i.e. q1-engine, then this is completely normal. All Quake mainly 1 and 3 have slight delay in sound. Quake 3 is not so bad, maybe about 0.25 second delay after input is normal, but Quake 1 it's just the design and very noticable with the shotgun [in original iD Q1].

    FYI there is no sound acceleration in Linux. There is only mixing done in hardware, but not all cards support that with ALSA (i.e. multiple sounds/channels/streams simultaneously routed at hardware level).

    According to the ALSA homepage, not all Creative soundcards support this; although "Audigy LS" is not even listed - "SoundBlaster LS" is listed though as not supporting hardware mixing.

    It shouldn't be too noticable playing games unless there are 16 or more channels, but there is something you can do to ease the issue. Make sure ESD is not running, and you can also try recompiling libSDL without support for it (ESound). If you run KDE at all make sure ARTSD is disabled, and see if that helps.

    I read your post on Ubuntu forums and that shared IRQ could be a problem (is it the only one?). You may want to try manually assigning the PCI slot a different IRQ for the sound card if you feel you're up to that. I'd also just leave the onboard sound disabled if you can. You could also check the ALSA soundcard list for features like hardware mixing if contemplating getting a new sound card.

    Overriding libSDL's sound output is not really advisable, and BTW "dma" option for SDL sound output is only actually usable for 'real' OSS drivers...
    User avatar
    ds01
    Member
     
    Posts: 47
    Joined: Wed Mar 29, 2006 5:54 am
    Location: Lvl 7

Thu Mar 30, 2006 4:50 am

  • Sound Cards that are listed as supporting hardware mixing are proving hard to find :( Nowhere sells Soundblaster Live series cards, or the very specific models of Audigy that are listed. I am unsure if any of the varients support hardware mixing.

    The best I can get (especially considering the price) is this:
    http://www.soundblaster.com/products/pr ... duct=14257
    I don't suppose that's any good, is it? Audigy SE. Availible both online and at a local shop.
    CSniper
    Newbie
     
    Posts: 7
    Joined: Tue Mar 28, 2006 4:49 am

Thu Mar 30, 2006 6:04 am

  • You can still get SB Live and Audigy 1 / Audigy 2 cards used if that doesn't matter to you. They are in that price range since cost is a factor for you - there are absolutely tons of them on places like EBay. Some shops have Audigy 2 Value 7.1 cards which ALSA says do h/w mixing, and new ones of those cost a little less than twice that SE you pointed to. The Audigy 2 Value can't do 24/96 if that matters to you (that support is sort of weak in Linux anyhow IMO).

    Don't get the SE, do NOT! The drivers are still under development and don't even do what you want the card to do :-\

    I realized your motherboard uses SIS chipsets. You may be able to reduce the PCI latency timings, but to be honest it may not be worth it to you if you don't have cracks and pops in your audio output. If you want to try, there are some good information at these places:
    http://www.sabi.co.uk/Notes/linuxSoundLatency.html
    http://www-128.ibm.com/developerworks/library/l-hw2.html

    Typically people usually lower their video card latency and raise their sound card latency. This helps with NVidia drivers on Linux especially. That's normally done for better FPS and to try to remove sound distortion [from sound card].
    User avatar
    ds01
    Member
     
    Posts: 47
    Joined: Wed Mar 29, 2006 5:54 am
    Location: Lvl 7

Thu Mar 30, 2006 12:02 pm

Fri Mar 31, 2006 3:51 am

  • CSniper! Are things more expensive in the UK, or is it just me?

    The Live 24 isn't listed as supporting h/w mixing, and the NON-pro Audigy 4 is listed as "may not work" so be warned. Probably something to do with the million different revisions Creative does to their cards with that A4 being a luck-of-the-draw sort of thing. The Audigy 2 plat EX may be different from the A2 plat Non-EX, likely best to research that. The Audigy 2 ZS platinum link says Audigy 2 EX when you go there, but the Audigy 2 Platinum eX link has both when you get there. AFAIK the platinum pro is different [newer] than the platinum non-pro, but maybe it's just rebranded.

    I know it's hard to find the right model of a Creative card that you're looking for as had this same problem getting an SB-AWE that worked with OS/2 back in the day :)
    User avatar
    ds01
    Member
     
    Posts: 47
    Joined: Wed Mar 29, 2006 5:54 am
    Location: Lvl 7



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest