| View previous topic :: View next topic |
| Author |
Message |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Sun Sep 21, 2003 1:31 am Post subject: Frozen-Bubble Illegal Instruction |
|
|
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 |
|
 |
Decibels Veteran


Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
Posted: Sun Sep 21, 2003 2:02 am Post subject: |
|
|
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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Sun Sep 21, 2003 2:23 am Post subject: |
|
|
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 |
|
 |
Decibels Veteran


Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
Posted: Sun Sep 21, 2003 12:11 pm Post subject: |
|
|
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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Sun Sep 21, 2003 10:12 pm Post subject: |
|
|
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.
Any ideas? |
|
| Back to top |
|
 |
ruben Guru

Joined: 04 Jul 2003 Posts: 462
|
Posted: Sun Sep 21, 2003 10:23 pm Post subject: |
|
|
| 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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Sun Sep 21, 2003 10:30 pm Post subject: |
|
|
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 |
|
 |
Decibels Veteran


Joined: 16 Aug 2002 Posts: 1623 Location: U.S.A.
|
Posted: Mon Sep 22, 2003 1:22 pm Post subject: |
|
|
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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Mon Sep 22, 2003 2:34 pm Post subject: |
|
|
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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Tue Sep 23, 2003 2:57 am Post subject: |
|
|
Still no joy.
Even tried to Install the current version from source. Same result. |
|
| Back to top |
|
 |
Jerle n00b

Joined: 27 Feb 2003 Posts: 16
|
Posted: Sun Oct 05, 2003 8:34 pm Post subject: |
|
|
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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Sun Oct 05, 2003 11:28 pm Post subject: |
|
|
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 |
|
 |
DoktorSeven Apprentice


Joined: 21 Feb 2003 Posts: 194 Location: Here, somewhere
|
Posted: Mon Oct 06, 2003 12:54 am Post subject: |
|
|
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 |
|
 |
d3vlin Tux's lil' helper


Joined: 02 Apr 2003 Posts: 134
|
Posted: Wed Oct 08, 2003 4:19 pm Post subject: |
|
|
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. 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. 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 |
|
 |
LektroN n00b


Joined: 05 Oct 2003 Posts: 1
|
Posted: Tue Oct 28, 2003 9:19 pm Post subject: |
|
|
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 |
|
 |
feardapenguin Guru


Joined: 23 Jul 2003 Posts: 414 Location: Texas
|
Posted: Tue Nov 11, 2003 5:17 am Post subject: |
|
|
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 |
|
 |
|