Visual Boy Advance is a very popular Game Boy Advance emulator. It supports Game Boy, Super Game Boy, Game Boy Color, and Game Boy Advance games. These games are come in the forms of ROMS. There are then loaded and played. It uses 3 rendering engines in the linux version, They are OpenGL,Cairo and Xvideo. It includes some useful features including fullscreen, image filters, save, load, screen capture, key mapping, frame throttling, and some extra sound and video configurations.
There are a couple known issues during installation When trying to run VBA after an install you may get this after typing in gvbam.
~$ Failed to open audio: Fragment size must be a power of two Segmentation fault
VBA has been updated to fix this but if you still get this error it may be fixed by editing /src/vbam/src/common/SoundSDL.cpp and editing this part of the file.
bool SoundSDL::init(long sampleRate)
SDL_AudioSpec audio; audio.freq = sampleRate; audio.format = AUDIO_S16SYS; audio.channels = 2; audio.samples = 1024; audio.callback = soundCallback; audio.userdata = this;
Editing the audio sample had help me before. If you feel this is too technical for you should contact the developers at the vba fourms anyway because for the most part this problem should has been dealt with.
If you are getting errors about OpenGL and video output the problem is most likely that the video output choice is wrong. To fix this edit the configuration file. In the directory /home/<USER>/.config/gvbam
In the Display Section of the config file changing the line from
Has been known to fix the problem.
Also the Directories for which VBA will search for the game saves and ROMs can sometime revert back to the default setting. If prefer to keep you saves and ROMs in a specific directory you may want to edit the config file in /home/<USER>/.config/gvbam. In the Directories section simply enter in your preferred directory like this.
[Directories] gb_roms=/home/generic/Documents/VBA/ROMs gba_roms=/home/generic/Documents/VBA/ROMs batteries=/home/generic/.config/gvbam saves=/home/generic/Documents/VBA/SAVES captures=/home/generic/Documents/VBA
Also make sure your new config file is saved as "config" and not "config~".