Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-28-2012, 09:40 AM   #1
Registered: Mar 2006
Posts: 622

Rep: Reputation: 42
SDL sound delay

Hi all
I'm working on some opengl demo stuff (ubuntu opengl sdl), and have had a couple of concerns and am unsure if it's drivers or a RAM issue. I know it's not my sw as it runs on my Nvidia laptop OK and my friends Nvidia PC.
The PC I'm testing on is a ATI Fusion using catalysis drivers. The board has 2GB of RAM, I've split the RAM via the bios to have 1.5GB RAM and 512MB of video RAM, going more that 512 stops ubuntu working correctly.
Basically what happens is when I'm running my software the sound(SDL_Mixer) is always about 1/3 of a second behind on ATI (not nvidia), so I shoot and the soound happens a split second after the event.
Also the frame rate is good, however every so often for what seems no reason ( ie not high poly model or not lots of shaders ) the frame rate seems to drop right down, this lasts 3-10 seconds then goes up to full speed.

Could this be a result of only having 2GB of RAM? If I go up to 4 will it help? Has anyone else had these issues?

Thanks in advance!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting SDL up (sound in games) Janusz11 Linux - Games 1 07-15-2007 10:32 AM
SDL 0.5sec Sound Delay Megatog615 Linux - Software 0 10-15-2006 11:47 AM
SDL sound is very jerky Belegdol Linux - Software 0 07-01-2005 01:55 PM
Sound delay. xbennyboy Linux - Newbie 1 07-25-2004 01:36 AM
Reinstalled SDL, no sound hydro Linux - Newbie 0 08-02-2003 12:45 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration