Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Nintendo Handhelds > Visualboy Advance Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old May 13th, 2006, 12:45   #1
_numlock_
Registered User
 
Join Date: May 2006
Location: Switzerland
Posts: 3
VisualBoyAdvance - linux: games either too fast, or robotic sound

Hi,

I've tried VisualBoyAdvance 1.7.2 (gtk) and a self-compiled VisualBoyAdvance CVS 2006-05-13 (SDL).

At default parameters, the speed is very high (~300%) with fast sound too. This happens with both GBA and GB ROMS.

Ok, so I tried the "--throttle=100" parameter:
- runs at correct, but very irregular game speed
- sound is totally awful with this option

Even with a less demanding game (Super Mario Land 1 on GameBoy) the problem happens. I have no issues with Super Mario Land 1 in gnuboy emulator.

Is there something else I should try ? Patches and/or alternate code is welcome, as I can try to compile it :-)

By the way: platform is gentoo, 32-bit, on 2 GHz AMD Turion64.

Thanks !

Last edited by _numlock_; May 14th, 2006 at 11:23..
_numlock_ is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old May 16th, 2006, 02:12   #2
Forgotten
Emu author
 
Forgotten's Avatar
 
Join Date: Oct 2001
Posts: 483
Maybe the sound syncornization is disabled? VBA synchronizes speed by watching the sound buffer. There might have been a patch on the SDL version that could have caused this, but I don't know. You could try the previous version of SDL.cpp to see if this was the problem.
Forgotten is offline   Reply With Quote
Old May 19th, 2006, 23:26   #3
_numlock_
Registered User
 
Join Date: May 2006
Location: Switzerland
Posts: 3
I have just tried version 1.7 (SDL build) taken from there:
https://sourceforge.net/project/show...group_id=63889

The file is named " VisualBoyAdvance-1.7-SDL-linux-glibc22.tar.gz" and the problem is the same :-(

Does the SDL Windows version work well ?

PS: By the way, my SDL library uses ALSA sound. I'm building an OSS-only SDL version, to see if it helps. I'd really love to make it work ! What else should I try ?

Last edited by _numlock_; May 19th, 2006 at 23:33..
_numlock_ is offline   Reply With Quote
Old May 19th, 2006, 23:37   #4
darth sephiroth
.!. (^.^) .!.
 
darth sephiroth's Avatar
 
Join Date: Jan 2006
Location: You're looking at it right now.
Posts: 2,017
check if "frame-skip" is on... when frames are skipped i think sound gets skipped as well in vba.
darth sephiroth is offline   Reply With Quote
Old May 20th, 2006, 00:35   #5
_numlock_
Registered User
 
Join Date: May 2006
Location: Switzerland
Posts: 3
With "--no-auto-frameskip" the graphics and scrolling seem smoother. But I don't think many frames are dropped: everything is always *way* too fast, including the sound...

To stay simple, I'm testing on the gameboy game "Duck Tales", which runs at normal speed (and with fine sound) with gnuboy...

PS: I just noticed, when I hold the spacebar, VisualBoyAdvance runs extremely (~20 times) fast. Is that expected ?

By default (ie: with no command-line arguments), is VisualBoyAdvance supposed to run at max speed, or rather at normal (100%) speed ?

Last edited by _numlock_; May 20th, 2006 at 00:43..
_numlock_ is offline   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

All times are GMT +1. The time now is 23:22.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.