14abe Sound lags when using console. - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Multimedia

Multimedia Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

Reply
 
Thread Tools Display Modes
  #1  
Old May 26th, 2010, 06:37
copypaiste's Avatar
copypaiste copypaiste is offline
Junior Member
 
Join Date: Apr 2009
Location: Arreat Summit
Posts: 82
Thanks: 19
Thanked 7 Times in 5 Posts
Default Sound lags when using console.

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?
Reply With Quote
  #2  
Old May 29th, 2010, 01:30
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Member
 
Join Date: Nov 2008
Location: Eindhoven, Netherlands
Posts: 794
Thanks: 19
Thanked 123 Times in 93 Posts
Default

As a workaround, you can try using screen or tmux. This will probably "fix" the problem.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3  
Old May 29th, 2010, 19:52
copypaiste's Avatar
copypaiste copypaiste is offline
Junior Member
 
Join Date: Apr 2009
Location: Arreat Summit
Posts: 82
Thanks: 19
Thanked 7 Times in 5 Posts
Default

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.
Reply With Quote
  #4  
Old May 31st, 2010, 05:55
Vagner Vagner is offline
Junior Member
 
Join Date: May 2010
Location: Russia, SPb
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The same problem on most vidcontrol modes of text and graphics pls help. Screen & tmux - similar behavior
Reply With Quote
  #5  
Old May 31st, 2010, 08:50
ckester's Avatar
ckester ckester is offline
Member
 
Join Date: Nov 2008
Location: near Seattle, WA (USA)
Posts: 288
Thanks: 28
Thanked 36 Times in 31 Posts
Default

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.
Reply With Quote
  #6  
Old May 31st, 2010, 13:43
copypaiste's Avatar
copypaiste copypaiste is offline
Junior Member
 
Join Date: Apr 2009
Location: Arreat Summit
Posts: 82
Thanks: 19
Thanked 7 Times in 5 Posts
Default

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.
Reply With Quote
  #7  
Old March 18th, 2011, 11:56
Vagner Vagner is offline
Junior Member
 
Join Date: May 2010
Location: Russia, SPb
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by copypaiste View Post
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.
How to fix it?
Reply With Quote
  #8  
Old March 21st, 2011, 23:30
flyweight flyweight is offline
Junior Member
 
Join Date: May 2010
Posts: 19
Thanks: 1
Thanked 4 Times in 4 Posts
Default

I have the same problem. The sound is really laggy.

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

Last edited by DutchDaemon; March 22nd, 2011 at 01:57. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #9  
Old March 22nd, 2011, 01:20
ckester's Avatar
ckester ckester is offline
Member
 
Join Date: Nov 2008
Location: near Seattle, WA (USA)
Posts: 288
Thanks: 28
Thanked 36 Times in 31 Posts
Default

Has anyone confirmed that the problem does not occur when the vesa modes of sc are NOT used?
Reply With Quote
  #10  
Old March 22nd, 2011, 09:30
copypaiste's Avatar
copypaiste copypaiste is offline
Junior Member
 
Join Date: Apr 2009
Location: Arreat Summit
Posts: 82
Thanks: 19
Thanked 7 Times in 5 Posts
Default

Quote:
Originally Posted by ckester View Post
Has anyone confirmed that the problem does not occur when the vesa modes of sc are NOT used?
I have never noticed any problems with default (text) sc mode.
__________________
Make three correct guesses consecutively and you will
establish yourself as an expert.
fortune(6)
Reply With Quote
  #11  
Old March 22nd, 2011, 20:47
Vagner Vagner is offline
Junior Member
 
Join Date: May 2010
Location: Russia, SPb
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I too. But it's not real to use text mode on my notebook... So, remains the choice - use console or listen music
Reply With Quote
  #12  
Old March 22nd, 2011, 21:23
ckester's Avatar
ckester ckester is offline
Member
 
Join Date: Nov 2008
Location: near Seattle, WA (USA)
Posts: 288
Thanks: 28
Thanked 36 Times in 31 Posts
Default

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.)
Reply With Quote
  #13  
Old April 12th, 2011, 03:13
whiskthecat whiskthecat is offline
Junior Member
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default tty1

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[PC-BSD 8.0] sound driver doesn't make sound card Intel ICH5 (82801EB) work Detective System Hardware 1 March 15th, 2010 00:24
[Solved] Serial console via CU z662 General 14 December 23rd, 2009 01:44
[Solved] Sound card detected, but no sound on freebsd 7.2 sasha-fbsd System Hardware 6 September 12th, 2009 04:04
[Solved] Can't see files from console jimheard General 18 May 18th, 2009 21:14
Did you knew..... in console graudeejs Off-Topic 1 April 6th, 2009 10:17


All times are GMT +1. The time now is 13:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0