Ubuntu + Blending = Crash

NOTE: this is an informal bug post place ONLY. Real bugs should be posted on GitHub
Post Reply
alezakos
Private First Class
Private First Class
Posts: 82
Joined: Thu Sep 16, 2010 1:24 pm

Ubuntu + Blending = Crash

Post by alezakos »

I recently installed BZFlag 2.0.13 on Ubuntu 10.04 (Linux 2.6.32-24), however if I turn on the "Blending" option, after some seconds the game crashes. This doesn't happen if I turn the setting off.
Last edited by alezakos on Sat Sep 25, 2010 2:43 pm, edited 1 time in total.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Ubuntu + Blending = Crash

Post by joevano »

Sounds like it is probably a video driver issue
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu + Blending = Crash

Post by blast »

Did you compile from source? Or is this the version from PlayDeb.net?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
alezakos
Private First Class
Private First Class
Posts: 82
Joined: Thu Sep 16, 2010 1:24 pm

Re: Ubuntu + Blending = Crash

Post by alezakos »

user@user-desktop:~$ bzflag -d
*********************************WARN_ONCE*********************************
File radeon_swtcl.c function r100_swtcl_flush line 323
Rendering was 1 commands larger than predicted size. We might overflow command buffer.
***************************************************************************
BZFlag version: 2.0.13.20090909-DEVEL-linux-gnu-SDL
BZFlag protocol: 0026
OpenGL vendor: Tungsten Graphics, Inc.
OpenGL version: 1.3 Mesa 7.7.1
OpenGL renderer: Mesa DRI R100 (RV100 5159) 20090101 x86/MMX+/3DNow!+/SSE NO-TCL DRI2
Depth Buffer: 24 bitplanes
LIBCURL version: libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
Scaling texture from 128x125 to 128x128
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu + Blending = Crash

Post by blast »

Okay, so it isn't 2.0.16 then? And that certainly looks like an issue with your video driver. Does dmesg have more information?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
alezakos
Private First Class
Private First Class
Posts: 82
Joined: Thu Sep 16, 2010 1:24 pm

Re: Ubuntu + Blending = Crash

Post by alezakos »

blast wrote:Okay, so it isn't 2.0.16 then?
mistake...
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu + Blending = Crash

Post by blast »

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563257
This is kernel bug and is fixed with kernel commits in 2.6.34-rc1:
7a9f0dd9c49425e2b0e39ada4757bc7a38c84873 drm: Add generic multipart buffer.
b4fe945405e477cded91772b4fec854705443dd5 drm/radeon: Fix memory
allocation failures in the preKMS command stream checking.
55a5cb5d594c18b3147a2288b00ea359c1a38cf8 drm/radeon: Fix printf type
warning in 64bit system.
So maybe see if there's a newer kernel version?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Ubuntu + Blending = Crash

Post by Cobra_Fast »

Ubuntu ships with a decent update tool, so you should use it in case you were not compiling the driver from original source. Then you should do both: Updating the kernel and recompile the latest driver version to be 100% suitable for your new kernel.

Additionally:
alezakos wrote:OpenGL vendor: Tungsten Graphics, Inc.
OpenGL version: 1.3 Mesa 7.7.1
OpenGL renderer: Mesa DRI R100 (RV100 5159) 20090101 x86/MMX+/3DNow!+/SSE NO-TCL DRI2
This indicates that you are not running on full 3D accelleration, you may need to edit your x.org configuration by hand to get it to pick the correct driver.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu + Blending = Crash

Post by blast »

What part of that indicates they are not using 3D acceleration? Looks like it's using the DRI driver for their ATI card to me.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Ubuntu + Blending = Crash

Post by Cobra_Fast »

From my experience Mesa isn't the optimate solution for an ATi card. If the proprietary ATi driver loaded fine it shows something like "ATi Radeon ..." but my memories might be false, it's been too long when I had those problems. All I remember was that certain things didn't work with Mesa on my Radeon card.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu + Blending = Crash

Post by blast »

Well, R100 refers to older ATI cards. ATI does not provide Linux drivers for it's older graphics cards. Seems like their site only shows a Linux driver when you pick the Radeon 8500 series or higher.

Also..
http://en.wikipedia.org/wiki/Radeon#Linux
The proprietary Linux drivers could support R200 (Radeon 8500-9200, 9250) chips.
...
In 2009, the Catalyst driver officially dropped support for R500 and older chips, the FOSS driver being deemed stable and complete enough. The last driver release supporting older architectures is Catalyst 9.3.
and
http://dri.freedesktop.org/wiki/Radeon# ... 4e1001a0d9

Edit: Here's a bug reports that relate to this issue. Seems like the one I linked to initially might be a different issue:
https://bugs.launchpad.net/ubuntu/+sour ... bug/557266
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
alezakos
Private First Class
Private First Class
Posts: 82
Joined: Thu Sep 16, 2010 1:24 pm

Re: Ubuntu + Blending = Crash

Post by alezakos »

With Ubuntu 10.10 and the new kernel, BZFlag crashes just when I minimize it and I reopen it again. IT ALSO crashes with blending on and when I resize the bzflag window. Crazybot players, no more bots.

In debug x2 mode, this is standard output:
bzdebug.txt
Standard output
(1.49 KiB) Downloaded 154 times
and this is standard error:
bzdebug_errors.txt
Standard error
(398 Bytes) Downloaded 133 times
alezakos
Private First Class
Private First Class
Posts: 82
Joined: Thu Sep 16, 2010 1:24 pm

Re: Ubuntu + Blending = Crash

Post by alezakos »

UPDATE! For some reason, BZFlag is OK with older kernel.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Ubuntu + Blending = Crash

Post by joevano »

alezakos wrote:UPDATE! For some reason, BZFlag is OK with older kernel.
Kernel bug? Seems to be the issue that was identified...
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
alezakos
Private First Class
Private First Class
Posts: 82
Joined: Thu Sep 16, 2010 1:24 pm

Re: Ubuntu + Blending = Crash

Post by alezakos »

Solution?
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: Ubuntu + Blending = Crash

Post by joevano »

Fix the kernel bug? This is not an issue with BZFlag.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: Ubuntu + Blending = Crash

Post by Cobra_Fast »

Or use a working kernel.
Or wait for an update.
Or play with crashes but the current kernel.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Ubuntu + Blending = Crash

Post by blast »

"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply