LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2008, 09:42 AM   #1
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Sound corruption in DOSBox


I experience this problem on different Fedora 7/8/9 installations, on different computers, on different games. Sound plays fine for a few minutes, then I get audio static. After a while, the audio might correct, but it generally requires a game restart. It typically seems to happen with sound effects, more than the games' music.

Any thoughts?
 
Old 12-16-2008, 02:48 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I could be many different things. In dosbox I usually do get some sound distortion if the 'blocksize' is too small. Increasing it will usually stop this in most cases. Also, whatever game it is, make sure to use souldblaster 16 emulation instead of gravis ultrasound, this also helps in some cases. Another thing it might be is your HDD I/O scheduler, but that would cause stuttering when playing videos as well.
 
Old 12-16-2008, 03:32 AM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by SlowCoder View Post
I experience this problem on different Fedora 7/8/9 installations, on different computers, on different games. Sound plays fine for a few minutes, then I get audio static.
You get static noise instead of sound or "noisy" audio (with crackling, etc)?
static noise would mean bug. crackling normally appear when dosbox don't have enough cpu power to process audio - i.e. if cpucycles is set too high(depends on game. With one game you'll get away with 100000 cpucycles, with other you'll get noisy audio much sooner), or if something suddenly starts "stealing" cpu, or if you are using software resize for very large resolutions. This problem frequently appears in protected mode games - if you have dos4gw.exe with the game, then it is almost certainly protected mode. I think There was alternative dos4gw implementation, called dos32a (http://dos32a.sourceforge.net/) I heard that it was faster, so you could try it instead of standard dos4gw.

Last edited by ErV; 12-16-2008 at 03:33 AM.
 
Old 12-18-2008, 08:28 AM   #4
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Original Poster
Rep: Reputation: 164Reputation: 164
I boosted the cycles from the default 3000 to 10000, and that helped quite a bit (at least for the particular game I'm currently playing). I'll continue to tweak the sound values also to see if I can get the problem to disappear altogether.

Thanks, guys!
 
  


Reply



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
Dosbox (ADOM) Chronothread Linux - Software 2 09-03-2008 06:15 PM
Dosbox - trapped focus in dosbox window. hamster Linux - Software 7 11-11-2007 05:56 PM
DOSbox Help Chargh Linux - Software 2 03-20-2007 09:29 PM
DOSBox Troubles Saythein Linux - Games 2 09-10-2005 09:27 AM
No Sound from Dosbox - Can You Help mac57 Mandriva 0 02-03-2005 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 AM.

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
Open Source Consulting | Domain Registration