LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-28-2012, 08:40 AM   #1
knobby67
Member
 
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!
 
  


Reply


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 09:32 AM
SDL 0.5sec Sound Delay Megatog615 Linux - Software 0 10-15-2006 10:47 AM
SDL sound is very jerky Belegdol Linux - Software 0 07-01-2005 12:55 PM
Sound delay. xbennyboy Linux - Newbie 1 07-25-2004 12:36 AM
Reinstalled SDL, no sound hydro Linux - Newbie 0 08-01-2003 11:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:55 PM.

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