Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Terrible sound latency with some programs.

  1. #1
    Join Date
    May 2010
    Beans
    14

    Sound problem that has nothing to do with recording/studio.

    I've got terrible sound latency (about one second between actions and sound) in some programs.

    Flash in both firefox and chrome (including youtube videos) and ZSNES (SNES emulator) are two offenders, as is Audacity.
    Videos played in the default "movie player" and VLC play with no delay, though.

    It's an eMachines T2899 desktop, FIC AU31 motherboard, nForce2 chipset, AC97 sound (integrated), running Xubuntu 10.04 (fresh wubi install as of a few days ago), 2.6.32-22.

    I've been told it could be an issue with the ALSA buffer size, or pulseaudio introducing latency... but I've no clue how to go about fixing it.

    (LSPCI output)
    (LSPCI verbose output)
    (Aplay output)

    As a note, I'm not very familiar with linux yet, but I will try to gather any information you need.


    EDIT: Upon using the SNES9X emulator (which allows for choice of sound system)...
    Portaudio causes laggy emulation and bad sound latency.
    Open Sound System plays fine.
    SDL causes laggy emulation and bad sound latency.
    ALSA plays fine.
    Pulse Audio plays fine.


    EDIT2: Changed the title. The original was "Terrible sound latency with some programs.", which probably lead people to think this had to do with using ubuntu as a recording studio, and to skip over it. ^^;


    EDIT3: "sudo apt-get remove --purge pulseaudio" did nothing, so I reinstalled it just in case.


    EDIT4: Upon running the following commands, the issue seems partially fixed.

    Code:
    sudo apt-get purge libcanberra-pulse pulseaudio pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-gconf pulseaudio-module-udev   pulseaudio-module-x11 gstreamer0.10-pulseaudio pulseaudio-utils pavucontrol 
    
    sudo apt-get install gnome-alsamixer alsa-oss python-alsaaudio
    I can now play stepmania and youtube videos with only a slight amount of latency (a tolerable amount for now).

    Furthermore upon testing ZSNES, it has zero latency... until I fast-forward, then the latency returns. Going into and then out of the GUI returns the latency to 0.

    Upon trying SNES9X...
    Portaudio now plays fine.
    Open Sound System still plays fine.
    SDL now causes intermittent emulation lag, though it's not totally unusable like before.
    ALSA no longer plays fine, there's intermittent stuttering.
    Pulse Audio plays no sound at all, of course.

    There's also annoying/random popping in audio I'd like fixed as well.
    Last edited by Rydian Morrison; May 16th, 2010 at 07:15 AM. Reason: Adding a bit more info.

  2. #2
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    This thread is multiple pages back, so... bump?

  3. #3
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump again.

  4. #4
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Again, bump.
    Last edited by Rydian Morrison; May 16th, 2010 at 05:45 AM. Reason: Secondary problem fixed.

  5. #5
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump.

  6. #6
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump.

  7. #7
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump.

  8. #8
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump.

  9. #9
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump. T_T

  10. #10
    Join Date
    May 2010
    Beans
    14

    Re: Terrible sound latency with some programs.

    Bump.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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