Bug#435468: warsow: segfaults when starting (amd64 bug ?)

Gonéri Le Bouder goneri at rulezlan.org
Fri Aug 3 23:50:18 UTC 2007


On Tue, Jul 31, 2007 at 11:44:45PM +0200, Pierre Habouzit wrote:
> Package: warsow
> Version: 0.31.dfsg-4
> Severity: grave
> Justification: renders package unusable
> 
>   when I launch warsow I get:
> 
> ********************
> ERROR: R_Upload32_3D: texture is too large (resizing is not supported)
> ********************
> Error: Error during initialization
> ********************
> ERROR: Received signal 11
> 
> ********************
> Recursive Sys_Error: Received signal 11
Hello Pierre,

I don't think it's a bug but probably a limitation of your OpenGL
driver.

Which graphic card/driver do you use and how much memory do you have on
it?
Can you try: glxinfo -l|grep GL_MAX_TEXTURE_SIZE

Maybe we should add a check in the wrapper.

if ! glxinfo | grep "direct rendering: No"; then
  zenity --error "missing direct rendering" --text "You're OpenGL installation doesn't support direct rendering. If you have an NVIDIA or an ATI card you'll probably need to install the propritary driver."
fi

WARSOW_MIN_TEXTURE_SIZE=2048 
if [ "`glxinfo -l|grep GL_MAX_TEXTURE_SIZE| sed 's/.*= //'`" -lt "$WARSOW_MIN_TEXTURE_SIZE" ]; then
  zenity --error "texture is too large" --text "You're graphic card doesn't doesn't have enough memory to launch Warsow."
fi

This add two new dependency (mesa-utils and zenity) and we need to deal with i18n stuff.


Cheers,

        Gonéri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070804/b97581d1/attachment-0002.pgp 


More information about the Pkg-games-devel mailing list