Results 1 to 13 of 13

Thread: Linux Sound

  1. #1
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts

    Linux Sound

    The short version: I can't get more than one application to use sound at a time on Debian.

    I thought it was about time I moved from OSS to ALSA, so I downloaded the ALSA packages, and they installed fine. I then disabled the OSS sound in /etc/discover.conf.

    Now, according to lsmod | grep soundcore, I only have snd running (which, hopefully, means just ALSA is running)

    So far, so good. However, I can't get sounds to play simultaneously - either it is just the one sound playing, or an application complains that there isn't an audio output available.

    This is on Debian Sarge/Etch/Sid. Sort of a mix between the three.

    I've tried using the following .asoundrc, to no avail:

    pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 8192
    rate 44100
    }

    bindings {
    0 0
    1 1
    }
    }

    pcm.dsp0 {
    type plug
    slave.pcm "dmixer"
    }

    pcm.!default {
    type plug
    slave.pcm "dmixer"
    }

    pcm.default {
    type plug
    slave.pcm "dmixer"
    }

    ctl.mixer0 {
    type hw
    card 0
    }

    Any help is appreciated.

    Thanks,

    Mike.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    use this one: http://img.hexus.net/v2/features/fos...es/asound.conf

    the easiest solution is to buy an audigy, tho

  3. #3
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Hmm, still doesn't work.

    As for buying things... that costs money, and I'm tight. I'm not really bothered enough to pay money just to play more than one sound at once... but I am bothered enough to put some time into it!

    Thanks anyway!
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    are all your apps alsa apps? the best test to see whether it's working is something like 2 instances of aplay. configuring the individual apps is further work.

  5. #5
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Hmm, two instances of AlsaPlayer are playing at the same time happily (a bit Back mixed with Nina Simone)

    So, how on earth do I configure individual applications? I was trying things like Realplayer, Totem and Flash with Firefox.

    Thanks for the help! At least I know that something is working properly!
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  6. #6
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    totem can use two back-ends - gstreamer or xine. gstreamer is configured with gstreamer-properties (alsa output sink). totem is configured with ~/.xine/config (audio.driver:alsa). others to try and configure are sdl (install the libsdl1.2debian-alsa package), and libao ("default_driver=alsa09" in /etc/libao.conf). if you use mplayer for things, tell it to use ao=sdl:alsa

    realplayer is OSS-only, but behaves cleanly with the aoss alsafication wrapper (alsa-oss package, then "alsa-oss realplay"). flash is oss and esd-only, and a bugger to get working - i hear flash 8.5 will work with alsa though.

    generally, "modern" apps are fine with dmix, it's older apps that are a right git & use a hundred different confusing & conflicting protocols.

  7. #7
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Hmm, still can't get Totem with a xine backend to play nice. Nevermind!

    I've already done the other things you mentioned by taking a look at that guide you did all that time ago, so most things are working nicely.

    Thanks,

    Mike.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  8. #8
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    the "catch all" configuration-free solution is to get an audigy1/2/4 or sblive, but that costs money.

    glad you got somewhere though

  9. #9
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Quote Originally Posted by directhex
    glad you got somewhere though
    Well, I have ALSA working as it should be, so that'll do me! Now I just have to try kernel 2.6.15 again - last time I tried, it decided I didn't have any sound. The kernel I have at the moment is accelerating the time. Apparently, it's 8:10.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  10. #10
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    You'll need to change your kernel's clock frequency settings, I get that when I'm playing around with VMware.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  11. #11
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    i've heard of clock skew on ati boards, but not nforce2

  12. #12
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    It only happens on with 2.6.12, not with 2.6.8, or whatever 2.4 kernel it was that comes with Sarge. I remember reading that other people had the same problem, and it was only with kernels later than about 2.6.8. I also remember, I think, reading that it's fixed in later kernels.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  13. #13
    Senior Member
    Join Date
    Dec 2005
    Location
    south of heaven
    Posts
    519
    Thanks
    0
    Thanked
    2 times in 2 posts
    Upgrade to a recent alsa/linux kernel

    and make sure you've got a soundcard which is actualy half decent
    SmoothNuts!~yaman_an@*.dsl.pipex.com > change my rating to exceptional tbh

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Run Windows software on Linspire desktop Linux
    By Bob Crabtree in forum HEXUS News
    Replies: 0
    Last Post: 09-02-2006, 01:16 AM
  2. ST20G5 no sound in Linux?
    By msull in forum PC Hardware and Components
    Replies: 5
    Last Post: 15-09-2005, 08:59 PM
  3. Yamaha YSP-1 Digital Sound Projector - My thoughts
    By Howard in forum Consumer Electronics
    Replies: 8
    Last Post: 08-08-2005, 04:30 PM
  4. We heard your feedback on Newegg....
    By DR in forum General Discussion
    Replies: 33
    Last Post: 05-03-2005, 08:13 PM
  5. Linux Nforce sound problem
    By Spud1 in forum Software
    Replies: 6
    Last Post: 01-10-2004, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •