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

Attachment: signature.asc
Description: Digital signature

Reply via email to