Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Frozen-Bubble Illegal Instruction
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sun Sep 21, 2003 1:31 am    Post subject: Frozen-Bubble Illegal Instruction Reply with quote

Anyone else seen this problem with frozen-bubble? Selecting the 1-player option (from the menu) returns an illegal instruction.

Code:
[20:28:06][~]$ frozen-bubble3
-bash: frozen-bubble3: command not found
[20:28:10][~]$ frozen-bubble
        [[ Frozen-Bubble-1.0.0 ]]
 
  http://www.frozen-bubble.org/
 
  Copyright (c) 2000, 2001, 2002, 2003 Guillaume Cottenceau.
  Artwork: Alexis Younes <73lab at free.fr>
           Amaury Amblard-Ladurantie <amaury at linuxfr.org>
  Soundtrack: Matthias Le Bidan <matthias.le_bidan at caramail.com>
  Design & Programming: Guillaume Cottenceau <guillaume.cottenceau at free.fr>
  Level Editor: Kim and David Joham <[k|d]joham at yahoo.com>
 
  Sponsored by MandrakeSoft <http://www.mandrakesoft.com/>
 
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.
 
[SDL Init] [Graphics...] [Levels] [Sound Init]
Ready.
Illegal instruction
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sun Sep 21, 2003 2:02 am    Post subject: Reply with quote

Same version here. Have you tried reemerging, mine is working fine.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sun Sep 21, 2003 2:23 am    Post subject: Reply with quote

Yeah, I've reemerged but no joy.

I'm wondering if it is due to some playing around I've been doing today with a Radeon 9200. I've switched back and forth several times between "opengl-update ati" and "opengl-update xfree". I stupidly emerged several ebuilds (including frozen-bubble) while I was fooling around with the vid card. Never could get the #$@% Radeon to give me direct rendering.

I may have hosed my libs.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Sun Sep 21, 2003 12:11 pm    Post subject: Reply with quote

Hmm, I wouldn't think using the switcher to switch between the opengl's would effect that. But always possible.
I am using the nvidia opengl and works. Guess you tried remerging frozen-bubble with it switched to the ati opengl. Not sure if the same, ati seems to have crappy linux support.
Frozen-Bubble does seem to rely heavily on Perl-SDL, maybe remerging that will help. emerge -s dev-perl/sdl-perl

Others it depends on:
DEPEND="virtual/glibc
>=sys-apps/sed-4
>=dev-lang/perl-5.6.1
>=media-libs/sdl-mixer-1.2.3
>=dev-perl/sdl-perl-1.19.0"

As far as the Direct Rendering, is it enabled in the kernel under Character Devices? Here is the url for Direct Rendering, has the mailing list. Might get some help there on this particular problem:
http://dri.sourceforge.net/
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sun Sep 21, 2003 10:12 pm    Post subject: Reply with quote

Dang! I've re-emerge all of the dependencies and the game itself and still get the same "Illegal Instruction" when trying to play.

Gotta get this working, its the only Linux game my wife likes! If I can't get it working then I gotta either find a new game or a new wife. :lol:

Any ideas?
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Sun Sep 21, 2003 10:23 pm    Post subject: Reply with quote

Are you sure you are using good CFLAGS in your /etc/make.conf ? "Illegal instruction" can be caused by for example compiling your program for a pentium4 and then trying to run it on a pentium3...
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sun Sep 21, 2003 10:30 pm    Post subject: Reply with quote

Hmm... as far as I know.

Here are the relevant snippets:

USE="emacs gtk2 mysql radeon -kde -qt"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~arch"
ACCEPT_KEYWORDS="~x86"

Nothing wildly radical here. I'm running an Pentium4. I've installed and run two gentoo different systems this way over the last 6-8 months. The same version of frozen-bubble worked on both.

I did discover that when I select full-screen from the main menu, then launch the 1-player it exits and leaves my screen about 4 times its normal size. I can slide the visible part of the window around with the mouse (from one "quadrant" of the screen to another) but I've got to restart X to get back to normal.

(Did that make any sense?)
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Mon Sep 22, 2003 1:22 pm    Post subject: Reply with quote

Okay, I said I was running the same version based on the first post. With the ~x86 setting you are probably running 1.0.0-r2 and not 1.0.0-r1 like I thought.

I did a little test and uncommented my ~x86 flag and checked with --deep option in emerge. There is a whole list of things it will upgrade if I go to that one. It could be any one of them, wasn't going to go thru the whole list to see if there are any bugs listed.

If you have the same exact stuff on two other systems and it is running then I don't know, but chances are it is another package and which is going to be hard to find. Sometime xfree needs to remerged and it was one of them that was going to be upgraded, so was sdl-image. Just a couple guesses.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Mon Sep 22, 2003 2:34 pm    Post subject: Reply with quote

You're probably right about r2. I do recall that it emerged about 10 other dependencies before emerging the game.

I can't say whether my previous installs ran r1 or r2 but I'll check that once I get home. Both previous installs were on another architecture (an old P3 box).

I'll try unmerging this version and the dependencies that came with it then emerge the r1 version this evening.

Thanks
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Tue Sep 23, 2003 2:57 am    Post subject: Reply with quote

Still no joy.

Even tried to Install the current version from source. Same result.
Back to top
View user's profile Send private message
Jerle
n00b
n00b


Joined: 27 Feb 2003
Posts: 16

PostPosted: Sun Oct 05, 2003 8:34 pm    Post subject: Reply with quote

I've also just encountered the same problem with the 'Illegal Instruction'

It was working on my old system, but I just recently wiped the hard drive and re-installed Gentoo from the ground up. I'm currently using

CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sun Oct 05, 2003 11:28 pm    Post subject: Reply with quote

I've seen several post that are kinda related (from earlier this year). They suggest running frozen-bubble as follows:

Code:
artsdsp /usr/games/bin/frozen-bubble --nosound

Maybe that will work for you. It didn't for me, but then again the threads I read seemed to address problems with nvidia and sdl. I have a Radeon.

I also tried re-installing frozen-bubble with a different CFLAG. I usually run i686 since I'm on a Pentium4.

Code:
CFLAGS="-march=pentium3 -O3 -pipe" emerge frozen-bubble

This didn't help either.

This game worked for me on another system running Gentoo. I've since replaced my motherboard/CPU and reinstalled gentoo with pure gnome2. The game has never worked on this system.

Please let me know if you get anywhere. My wife really misses this game. I'd hate to have to install a RedHat partition just to get a runnable fb.
Back to top
View user's profile Send private message
DoktorSeven
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 194
Location: Here, somewhere

PostPosted: Mon Oct 06, 2003 12:54 am    Post subject: Reply with quote

I wouldn't think that CFLAGS would matter with frozen-bubble itself, since it's written in Perl? Anyway, maybe re-emerging Perl or one of its dependencies (like SDL-perl) would help?

Perl applications seem to act up on me a lot, for some reason...
Back to top
View user's profile Send private message
d3vlin
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2003
Posts: 134

PostPosted: Wed Oct 08, 2003 4:19 pm    Post subject: Reply with quote

I filed a bug for this problem; please consider bugreport 30643

I compiled frozen-bubble on my 2 gentoo systems;

on the first (P4 - 2.8Ghz, ACCEPT_KEYWORDS="~x86", -march=pentium3 -O3) frozen-bubble 1.0.0-r3 compiled straight away (GCC 3.3.1-r4, perl 5.8.1, sdl-gfx 2.0.8) but I run into this 'illiegal instruction' when trying to run the game.

on the second (AMD XP1800+, ACCEPT_KEYWORDS="~x86", -march=athlon-xp -O3) frozen-bubble 1.0.0-r3 wouldn't compile before I symlinked /usr/lib/libSDL_gfx.so.8.0.0 to /usr/lib/libSDL_gfx.so.8.0.0 (GCC 3.3.1-r4, perl 5.8.1, sdl-gfx 2.0.8) but the game runs flawless.

i.e. the bug stated in bugreport 30599 seems solved for my P4 system, but not for the AMD box; while this particular problem (the illegal instruction) seems to occur only on the P4 system.
Back to top
View user's profile Send private message
LektroN
n00b
n00b


Joined: 05 Oct 2003
Posts: 1

PostPosted: Tue Oct 28, 2003 9:19 pm    Post subject: Reply with quote

The problem here has to be with the 1.2.6 version of libsdl, so an easy way to fix it (the other solutions didn't work for me) is:

cd usr/portage/media-libs/libsdl
emerge libsdl-1.2.5-r2.ebuild.

This library seems to create problems on pentium4 (which i have) and some athlons, and also affects scummvm and some other games, as you can see in post:
https://forums.gentoo.org/viewtopic.php?t=84757

happy playing!
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Tue Nov 11, 2003 5:17 am    Post subject: Reply with quote

I guess the most recent perl update (5.8.2) solved the issue. No more "illegal instruction" barfs. I had to re-emerge sdl-perl-1.20.0 then re-emerge frozen-bubble-1.0.0-r3. My libsdl version is 1.2.6-r2.

The game works now, but I can't get full-screen mode. The window goes to full screen but the viewable game area stays at the original size.

Hey, at least it runs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum