1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sound lags when using console.

Discussion in 'Multimedia' started by copypaiste, May 26, 2010.

  1. copypaiste

    copypaiste New Member

    Messages:
    82
    Likes Received:
    0
    Hello,

    there's a lingering issue with music playback when using console. The sound gaps occuring whenever I switch between ttys. The lags exacerbates if I set up SC in hi-res VESA modes and there's a lot of text output in ttyv (i.e. make is running).
    I tried various players on various hardware, the problem seems to be rather old.

    Any advices?
     
  2. Carpetsmoker

    Carpetsmoker Member

    Messages:
    931
    Likes Received:
    4
    As a workaround, you can try using screen or tmux. This will probably "fix" the problem.
     
  3. copypaiste

    copypaiste New Member

    Messages:
    82
    Likes Received:
    0
    The screen didn't help. :\
    Btw a friend of mine experienced the same troubles on his hardware, so I think it's not just me. I couldn't google out any complains on this trouble.
     
  4. Vagner

    Vagner New Member

    Messages:
    20
    Likes Received:
    0
    The same problem on most vidcontrol modes of text and graphics:( pls help. Screen & tmux - similar behavior
     
  5. ckester

    ckester New Member

    Messages:
    288
    Likes Received:
    0
    I've had the same problem. The audio is OK as long as the active tty is the one with the player, otherwise it's interrupted by screen output to the other tty.

    No similar problem when switching between different desktops in X. But if I remember correctly, switching to a console will also cause interference with audio playing in an X app.

    This is on an Intel Atom D510MO, using the Atom's built-in audio and the USB audio driver for output. I've seen the problem with both FreeBSD 7.x and 8.0.
     
  6. copypaiste

    copypaiste New Member

    Messages:
    82
    Likes Received:
    0
    Also it looks like slow/legacy hardware tends to behave worse regarding this problem, while the newer one (i.e. my laptop with celeron 1.6GHz CPU ) shows no sound lags in text modes, but alas, VESA modes of SC cause sound problems.
     
  7. Vagner

    Vagner New Member

    Messages:
    20
    Likes Received:
    0
    How to fix it?:(
     
  8. flyweight

    flyweight New Member

    Messages:
    19
    Likes Received:
    0
    I have the same problem. The sound is really laggy.

    Even with kernel hz on 1000 it's still laggy.
     
  9. ckester

    ckester New Member

    Messages:
    288
    Likes Received:
    0
    Has anyone confirmed that the problem does not occur when the vesa modes of sc are NOT used?
     
  10. copypaiste

    copypaiste New Member

    Messages:
    82
    Likes Received:
    0
    I have never noticed any problems with default (text) sc mode.
     
  11. Vagner

    Vagner New Member

    Messages:
    20
    Likes Received:
    0
    I too. But it's not real to use text mode on my notebook... So, remains the choice - use console or listen music:(
     
  12. ckester

    ckester New Member

    Messages:
    288
    Likes Received:
    0
    Yeah, I find sc without vesa totally unworkable, since vesa is apparently required to get a higher-resolution font that doesn't waste so much screen real estate. (If I'm wrong about that, I'd love to hear it.)
     
  13. whiskthecat

    whiskthecat New Member

    Messages:
    1
    Likes Received:
    0
    tty1

    I have found using tty1 solves this problem. Any other tty will have the audio glitch when switching.