Help with Game boy Advance emulator VBA

So i got Visiual boy advance form the AUR. Had to gat some dependencies so I got. I makepkg VBA then install it. WHen I try to run I get this
[generic@ArchLinux ~]$ gvbam
Failed to open audio: Fragment size must be a power of two
Segmentation fault
Which I really don't understand what that means at all. My audio works fine too. I was listening to a song while doing this. So help please? Thanks.
Last edited by generic_ (2009-01-10 13:14:48)

Wait I still need help! For some reason After I booted up this moring it would'nt work. I got the same problem I tried reinstalling and nothing happened. I dug deeper and found the problem.
(gdb) run
Starting program: /usr/bin/gvbam
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6bc0710 (LWP 6927)]
[New Thread 0xb6af7b90 (LWP 6930)]
Failed to open audio: Fragment size must be a power of two
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6bc0710 (LWP 6927)]
0xb72264f0 in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0 0xb72264f0 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0xb72925a1 in SDL_mutexP () from /usr/lib/libSDL-1.2.so.0
#2 0x080a233c in SoundSDL::~SoundSDL ()
#3 0x08149808 in soundShutdown ()
#4 0x080903e2 in VBA::Window::~Window ()
#5 0x08073317 in main ()
(gdb)
So i guess The problem is hear  "from /usr/lib/libSDL-1.2.so.0" or here from "/lib/libpthread.so.0" whats SDL? Whats libpthread? What do i do?
EDIT: I did some research and I dont think its sdl i tried to reinstall it anyway and no luck and Libpthread seems knod of important. Im pretty sure that this is the problem
#0 0xb72264f0 in pthread_mutex_lock () from /lib/libpthread.so.0
Last edited by generic_ (2009-01-10 13:29:50)

Similar Messages

  • Game Boy Advance AU

    Hi all,
    Just wondering if anybody knows of a good plugin (or plugins) that will allow me to use instruments/effects heard in the GBA. I'm currently working on an indie job writing music for a game which is going to be on the PC, but is meant to look and sound like a Game Boy Advance game; I have good arrangements for a few songs already but when I submitted them to the developer they told me they liked them but the songs don't sound enough like GBA tunes.
    If there's no plugin (that works in GarageBand) out there for that, then could someone explain or direct me to a good tutorial that explains how I might go about emulating Game Boy Advance music?
    Any help or advice is greatly appreciated.

    Well if you want something that works you may need to pay for it
    /discussions/board/message?board.id=smartphones&message.id=64414
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • Game boy advance on nokia phones

    does anyone know where to pick up a free working game boy advance emulater i have tried a couple but they either dont
    work or you have to pay for them ........
    i tried a trial version of VGBA but it came up withan error
    saying time out not enough memory ( hmmmmm )
    i'm using a NOKIA N95 8GB to run the prog
    is anyone running any emulaters on the N95 8gb

    Well if you want something that works you may need to pay for it
    /discussions/board/message?board.id=smartphones&message.id=64414
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • Can anyone help with game center I cannot accept or request friends

    Hi can anyone help with sorting this problem out, I cannot accept or request friends via game center, Any help would be much appreciated. I get request and when I click on accept friends, nothing happens, when I go to game center it says no friends.

    Thanks Martin. I'm waiting to hear back but I believe he has the Vixia HF S10 or S11. It's a flash-drive HD camcorder. I have heard that the lousy software that comes with the Canon's for windows forced the clips to downsample. I'm going to try to Log and Capture directly from him camcorder. The (canon) device only has a USB port and I didn't think USB worked on macs for video.
    My video clips are 1920x1080 AIC, @29.97 fps.
    His clips are 720x404 mpeg2 muxed. It doesn't tell me anything else.
    In MPEG Streamclip, I can export to the same specs but in FCE it still makes me re-render the clips for some reason. very time consuming...

  • I need help with my Dolby Advanced Audio

    After I upgraded my Windows 7 to Windows 8.
    I am  trying  to open my Dolby Advanced Audio and something prompts me
    "Cannot find .startup file!."
    Can anyone help me with this issue?
    Or can anyone provide a download link so I can reinstall or repair it?
    This question was solved.
    View Solution.

    Hello, Foxseiz.
    I see that you're having an issue with the Dolby Advanced Audio.
    I wouldn't doubt the upgrade to windows 8 is causing this issue.
    I would suggest going to your C Drive> SWsetup> Drivers/Audio> Right click setup.exe -- Application (not bit mat)> Select troubleshoot compatibility
    Let it run through the process and then a box will pop up > Select troubleshoot program> then another box will pop up, you will need to select the option that says" The program worked in earlier versions of windows but won't install or run now"> Click next> Choose windows 7> Text the program. 
    Then the installer will pop up just click yes. After that is should begin the installation of the original program. 
    Let me know if any other issues come out during this process.
    If you have any more questions let me know.
    THX

  • Help with Sunny Boy inverter

    I must talk with a SMA Sunny Boy Controller (that controls three Sunny Boy inverters) with a Rs485 interface. I'm using Labview 7.1 with Visa, trying to send it the command for turning the inverters on and off and for the set up of the required level of power. The instrument manuals are very complex and don't give any clear example.
    Each inverter should answer to my request with a well defined Hex string but sometimes this string is not complete (in the central part...) and sometimes one of them doesn't answer at all. 
    It's not the first time I use Visa, but now I really don't know what to do and I'm in a hurry! Is there anyone who can help me? Have you something ready for talking with those inverters?
    thank you in advance to everyone can help me.
    Bye Carmen

    Dear Carmen, Dear Andrea, Dear Everyone
    I'm working on the same problem as you do. I want to communicate with a sunny boy via the RS232 port by using the Yasdi libraries. I tried to implement the Yasdi functions by using the "Call Library Function Node".  I think the yasdiMasterInitialize worked but I couldn't get any response from the inverter. It’s the first time I use the "Call Library Function Node" so I'm not sure whether all the settings and connections are OK. I would be very pleased if someone could give me some advices how to communicate with the SMA sunny boy. Thanks in advance.
    Regards
    Bastian

  • Ipod nano help with games!

    hello, i have the new nano. and i was wondering if it is possible to put games on it. are there games on itunes i can download and put onto my new ipod nano (i dont know what generation it is, it is the one that has the motion sensitivity and genius feature) i saw in the comercial that a car game was being used with the motion sensor. thanks.

    do you know what that game was? (the one that uses the motion sensor feature) because though that post was very helpful, i was wondering if there are games that use the motion sensor feature.

  • Help with Game Display structure and adding independant objects

    I'd like to do two things and I'm not sure how to set up the code.
    1) Add 1 to n enemies that think and move on their own. Basically their own threaded life I think.
    2) Add 1 to n weapons fire that when the thread is finished apply the damage.
    Currently I'm only using Graphics2d to draw everything to an off screen image. The issue I have is that most of the individual object stuff is wrapped up in the main game loop rather than added to the object itself.
    Here is my current working pseudo code: I have this working but seems like I need to make it more flexible. Just not sure how.
    public class combatDisplay extends JPanel{
    @Override
    protected void paintComponent(Graphics g){
         creates Graphics2d offScreenImage
         wipeClean offScreenImage
         drawPlayers 0 to n
         drawSpaceShip 0 to n --> drawMe(offScreenImage);
         drawWeaponShots 0 to n
         drawExplosions 0 to n
         draw offScreenImage to panel
    public void setPlayers (ArrayList al) {}
    public void setObjects (ArrayList al) {}
    public void setSpaceShips (ArrayList al) {}
    public void setWeaponShots (ArrayList al) {}
    public void setExplosions (ArrayList al) {}
    class Spaceship{
         Point location
         Polygon shape
    public void drawMe (BufferedImage bf){
         draw Polygon
    class WeaponShot{
         Point location
         Polygon shape
    public void drawMe (BufferedImage bf){
         draw Polygon
    class GameLogicLoop {
         movePlayer
         moveEnemies
         fireWeapons
            applyDamage
    }It seems like I should just spawn an enemy thread that checks its own ranges and does its own movements. But I'm not sure how to get that to display the offscreen image. Can an arraylist hold a thread?
    Likewise, with the weapons fire.... it should be self contained to check hit, display itself, display explosion or hit, then apply damage to its target when animation is completed. These two seem like a similar code structure I'm just not sure how to set it up yet.
    Any psuedocode would be helpful.

    Morgalr,
    Awesome responses thanks. Normally I don't code so it is an interesting (read hard) learning curve for me. Usually I just design and hire someone smarter than me to code.
    If you don't mind taking a look, I tried reworking everything toward the approach we have been discussing. If you see anything glaring and troublesome, please yell.
    Ship Class is its own thread that can paint itself. Basically it is a sitting ship.
    DisplayPane is the image painting class.
    loopGame tells the objects when to paint and passes the image reference around.
    package controller;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Point;
    import java.awt.Polygon;
    import java.awt.image.BufferedImage;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class Controller extends JFrame {
        DisplayPane pane;
        Ship satallite;
       public Controller(){
            setTitle("Controller");
            setBounds(0,0, 400, 400);
            setLayout(null);  //absolute position
            setResizable(false);
            pane = new DisplayPane(getBounds().width, getBounds().height);       
            add(pane);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setLocationRelativeTo(null);
            setVisible(true);
       class DisplayPane extends JPanel{
           BufferedImage offImage;
           public DisplayPane(int width, int height){
               offImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
               setBounds(0, 0, width, height);
           @Override
           protected void paintComponent(Graphics g){
                g.drawImage(offImage,0,0,this);
           public BufferedImage getImage(){
               return offImage;
           public void setImage(BufferedImage tempImage){
               offImage = tempImage;
           public void wipeImage(){
                Graphics2D big = offImage.createGraphics();
                big.setColor(Color.BLACK);
                big.fillRect(0, 0, getBounds().width, getBounds().height);
       class Ship implements Runnable{
           Thread thread;
           int speedStep;
           boolean bAlive = true;
           Point point = new Point(0,0);
           public Ship(String shipName, int speed){
               thread = new Thread(this, shipName);
               speedStep = speed;
               point.x = (int) ((int) 300 * Math.random());
               point.y = (int) ((int) 300 * Math.random());
           public void start(){
               thread.start();
           public void kill(){
               bAlive = false;
           public void drawShip(BufferedImage tempImage){
                Graphics2D big = tempImage.createGraphics();
                int[] pXfrigate = {point.x, point.x-4, point.x-4, point.x+4, point.x+4};
                int[] pYfrigate = {point.y, point.y+7, point.y+17, point.y+17, point.y+7};
                Polygon frigateShape = new Polygon(pXfrigate, pYfrigate, 5);
                Polygon currentShip = frigateShape;
                big.setColor(Color.GRAY);
                big.fillPolygon(currentShip);
                big.setColor(Color.RED);
                big.drawPolygon(currentShip);
           public void run() {
               int delay = 500;
               while (bAlive){
                   try{
                       System.out.println(thread.getName()+" x: "+point.x+" y: "+point.y);
                       Thread.currentThread().sleep(delay);
                   }catch (Exception e){}
       public void loopGame(){
            satallite = new Ship("Dot", 0);
            satallite.start();
            while (isVisible()){
                pane.wipeImage();           
                satallite.drawShip(pane.getImage());
                pane.repaint();
                try{
                    Thread.sleep(0);
                }catch (Exception e){}
                satallite.kill();           
            System.exit(0);
       public static void main(String[] args) {
            Controller control = new Controller();
            control.loopGame();
    }

  • Need help with game program in java

    Ok this is my first post and I have no idea what I'm doing for this assignment. Basically I have to construct a game with two subclasses for the player class. These two subclasses have to be able to perform different methods and act from what i understand opposite of each other. If I can get help on how to start it and how I should go about this would be great.
    The actual directions and code that I have so far is on the links below.
    Thanks again.
    directions
    Assignment

    Create a class caller Player. Then create two different classes that inherit from player. One called Team1Player and the other called Team2Player. To the Player class, add firstName and lastName varaibles. Add setFirstName,setLastName, getFirstName,getLastName (both team1 and team2 players have first and last names, therefore it goes into the base class 'Player'). Any other functions common to both player1 and player1 goes also into the Player class so they are inherited. Functions unique to player 1 or player 2 goes into those classes respectfully. The rest of your assignment is up to you to code. If you don't understand something, try to skip over it and come back to it later. Developers often rewrite their code over and over as they realize more requirements (better developers beat the requirements out of the customer first ;)

  • New mac mini user needs help with games!!!!

    We have a mac mini with osx 10.4.5 we have some older games that are compatible with Mac and say for 7.5 or higher but when we try to play them it says not supported on this system. Can any one help us out?
    Thanks!!!!

    Is it an Intel Mini, or a G4 ??
    Mac OS X is completely different from OS 9 and the previous versions of the Mac OS. While OS 9 can run OS 7 apps, OS X will not. However, you can install a copy of OS 9 on your drive, and although you cannot boot directly in OS 9, you can run OS 9 apps from within OS X through an application called Classic. That is, assuming your have a PowerPC Mini, as new Macintels don't support Classic anymore.

  • I need some help with Game Center and saving games to it

    I was playing the new app called clumsy ninja on my iPad. I had gotten pretty far an decided it would also be fun to be able to play from my iPhone. My I phone was already logged on to Game Center, but my iPad wasn't. So when I logged no to Game Center from my iPad, it had saved my level one game from my iPhone, I was all the way on level twenty four on my iPad. I tried to undo it but every time I opened up the app it was my level one game from my iPhone. I really need help. What should I do?

    That's weird I just noticed that if I change the Screen Saver selection, that I have to check then uncheck the (Main screen only) box to reset the preference before it works. Even weirder I also noticed that for some screen saver selections the iMac display and TV show different photos that both change an the same time.

  • Help with games

    I want to play a windows game o my macbook. is there any way to do this??

    yeah try using it on windows with paralels its a free download by the way but you need the windows CD as far as I know

  • Help with pen tool (advanced)

    Okay, so here's the deal. I am creating a vector but I can get the pen tool to work the way I want it to.
    I will post an image of what I want it to look like, and what it is turning out like.
    This is what I want the vector to look like in the end (notice the highlights):
    And this is what the vector currently looks like (notice the highlights):
    How can I acheive my desired look? I am using Adobe Illustrator CS5.
    Thanks in advance
    -Jordan

    OK, so have you checked the miter setting in the stroke panel? So maybe play with the numbers there or whatever? OK so that may be the deal. Or maybe not.

  • Help with games and graphics

    AMD athlon 64 X2 Dual-core processor 3600+
    RAM-512mb
    Operating system-win xp
    motherboard-msi-k9ngm
    Nvidia geforce 6100
    have directx 9.0 c .Have all the latest drivers.
    Games like RTCW-behind enemy lines,FIFA-2005,Empire Earth-2,HALO etc cant be run...
    The images i get when i run these games are absolutely scrambled..Nothing can be
    made out..I have tried all kinds of drivers and also changing settings but nothing has worked..Games like aoe-2 and diablo-2 did run tho...cs works in software mode but not in opengl...
    Can somebody out there plez help me...

    hello, welcome to forum.
    onboard VGA provide basic/limited gameplay. if you want to game install external PCI-E VGA.
    install chipset drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/NV61xx-Chipset_8.26_2kxp_WHQL.zip
    reboot
    install latest DirectX: https://forum-en.msi.com/index.php?topic=105196.0
    install VGA Drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/C51_WinXP2K2003_8205.zip
    reboot
    install Dual Core HotFix V4 --> https://forum-en.msi.com/index.php?topic=103843.0
    reboot
    install Dual Core Optimizer --> http://www.amd.com/us-en/assets/content_type/utilities/Setup.exe
    reboot
    re-test

  • Help with game

    hi, im trying to make my first complex program involving applets, which is to be some take on pong. What ive been doing so far is messing with different types of input and movement in a test program called "RectRun"
    i decided that im going to use the mouse wheel as the input for the moving of the paddle up and down. what im attempting to do is have the paddle "drift" almost as if it is moving on ice, which i have accomplished, but the problem is that further input from the mouse wheel will not be executed until the loop that makes it drift has completed (i hope that makes sense). so basically what i need to do is break out of the loop when a new input is received from the mouse wheel being turned, but i dont know how to tell when a new input is recieved. here is my code for RectRun so you can run it yourselves and see how the rectangle behaves because it is hard to describe :p
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.event.MouseWheelEvent;
    import java.awt.event.MouseWheelListener;
    import java.applet.*;
    public class RectApp extends Applet implements MouseWheelListener
         private int x, y, prevy, pause, changeFactor;
         public final int WIDTH = 10, HEIGHT = 45;
         Graphics g;
        public void init()
            x = 10;
            y = 50;
            prevy = 0;
            changeFactor = 0;
            wait = new Thread();
            wait.start();
            addMouseWheelListener(this);
            setBackground(Color.BLACK);
            g = getGraphics();
         public void mouseWheelMoved(MouseWheelEvent e)
             int notches = e.getWheelRotation();
             if(notches < 0)
                  for(pause = 0; pause < 100; pause += 10)
                            try{ wait.sleep(pause);} catch( InterruptedException i ){}
                            prevy = y;
                            y -= 3;
                            paint(g);
             else
                  for(pause = 0; pause < 100; pause += 10)
                            try{ wait.sleep(pause);} catch( InterruptedException i ){}
                            prevy = y;
                            y += 3;
                            paint(g);
        public void paint(Graphics g)
            g.setColor(Color.GREEN);
            g.clearRect(x,prevy,WIDTH+1,HEIGHT+1);
             g.drawRect(x,y,WIDTH, HEIGHT);
             g.drawRect(0,0,499,299);
                g.drawRect(1,1,497,297);
                g.drawLine(250,0,250,300);
           public boolean isFocusTraversable() {return true;}
    }Edited by: adg12012 on May 8, 2008 1:20 PM

    adg12012 wrote:
    the reason i had to do the paint(g) as opposed to repaint is because inside the loop, repaint() wouldn't execute.[http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Component.html#repaint()]
    As this documentation states, repaint() simply tries to call paint() at the next possible opportunity. I believe this comes in adding an event to AWT's event queue to trigger the repaint.
    The trouble is, you are looping on the same thread as the event queue processing thread. Which means, the thread will only get back to processing events after your time-intensive loop has finished. In other words, the repaint event can't be processed until you give control back to the event queue processor, i.e. finish your actionListener code.
    If you ever want to do time-intensive operations in a GUI application, you pretty much always want to do them on a separate thread, or your GUI will not respond until the operation is complete. Take, for example, Windows' File Explorer window. You know how frustrating it is when you click on a Network share, or a Floppy drive, when the destination doesn't exist? How the window freezes for like 2 minutes trying to establish the connection? That's because that particular application tries to find the target (a time-intensive operation) on the same thread that is driving the GUI.

Maybe you are looking for

  • Deploying a web application on Sun One app server 7

    Hi, I am not able to deploy a web application on sun one server using Sun java studio. I have created Jsp, Servlet, Session bean and entity bean. When I am creating a web_module in the directory where JSP are kept, it is giving me error "directory is

  • I can no longer access facebook, yahoo, even firefox support from the webbrowser!

    I do not have any problem connecting to these websites from IE. What is going on with firefox? YAHOO - "This Connection is Untrusted - You have asked Firefox to connect securely to www.yahoo.com, but we can't confirm that your connection is secure. N

  • MSI PVS Iinstall Problems

    hey folks this is my first post and i hope it will be a sucsessful one. i recently bought a MSI TV @nywhere card and well....   i cant seem to run the PVS program. i think i got all the drivers installed but when i run the program i get "InterVideo?W

  • Query Performance Issue (help)

    I'm having issues w/ huge performance issues on the following. The sub intersect query lists duplicates in table1 and table2...and deletes those results from table2. But, the dups criteria is not looking at all fields, only those in the subquery....

  • Song won't play in iTunes

    I downloaded an album, and iTunes won't play one of the songs, saying my computer isn't authorized to play this song. It asks for my apple ID and password, but still won't play it after entering the info. Any ideas how to get the song to play?