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

2007-07-31 Thread Pierre Habouzit
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



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages warsow depends on:
ii  libc6   2.6-5GNU C Library: Shared libraries
ii  libcurl3-gnutls 7.16.4-1 Multi-protocol file transfer libra
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG 
ii  libkrb531.6.dfsg.1-6 MIT Kerberos runtime libraries
ii  libsdl1.2debian 1.2.11-9 Simple DirectMedia Layer
ii  libvorbisfile3  1.2.0.dfsg-1 The Vorbis General Audio Compressi
ii  libx11-62:1.0.3-7X11 client-side library
ii  libxext61:1.0.3-2X11 miscellaneous extension librar
ii  libxinerama11:1.0.2-1X11 Xinerama extension library
ii  libxxf86dga12:1.0.1-2X11 Direct Graphics Access extensi
ii  libxxf86vm1 1:1.0.1-2X11 XFree86 video mode extension l
ii  warsow-data 0.31-1   Game data for the ego-shooter Wars
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

warsow recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-08-03 Thread Gonéri Le Bouder
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


signature.asc
Description: Digital signature


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

2007-08-04 Thread Pierre Habouzit
On Sat, Aug 04, 2007 at 01:50:18AM +0200, Gonéri Le Bouder wrote:
> 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.

  Yes, I happened to lack DRI, and then it begun to work when I fixed
it. Though I think the error messages would be of use. Also note that
s/you're/your/ in your texts :)



-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgpT8vxRZuHmn.pgp
Description: PGP signature


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

2007-08-06 Thread Eddy Petrișor
Gonéri Le Bouder wrote:
> 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

May I suggest using "grep -q" here instead of plain "grep"?
It makes it more obvious that you don't use the result.

-- 
Regards,
EddyP
=
"Imagination is more important than knowledge" A.Einstein



signature.asc
Description: OpenPGP digital signature


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

2007-08-06 Thread Gonéri Le Bouder
On Mon, Aug 06, 2007 at 11:42:13AM +0300, Eddy Petrișor wrote:
> Gonéri Le Bouder wrote:
> > 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
> 
> May I suggest using "grep -q" here instead of plain "grep"?
> It makes it more obvious that you don't use the result.
Well why not

Gonéri


signature.asc
Description: Digital signature