Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2007-07-29 Thread Cyril Brulebois
Greg Wooledge [EMAIL PROTECTED] (10/08/2005):
 The game seems to be highly unstable on my machine.

Hi,

a new upstream version is available: 1.1.0-1, maybe it improves your
situation?

Cheers,

-- 
Cyril Brulebois


pgpWi2ap3pXwh.pgp
Description: PGP signature


Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2005-08-16 Thread Moritz Muehlenhoff
Greg Wooledge wrote:
  Do you have AGP support enabled/is your graphics adapter AGP capable?
 (II) RADEON(0): AGP card detected
 (II) RADEON(0): CP in BM mode
 (II) RADEON(0): Using 8 MB GART aperture
 (II) RADEON(0): Using 1 MB for the ring buffer
 (II) RADEON(0): Using 2 MB for vertex/indirect buffers
 (II) RADEON(0): Using 5 MB for GART textures
 
 Not sure what all of that means

I guess these values are too small, but I'll forward this upstream next
week, as I'll be away for a week now.
I'll keep you informed and forward you further information.  In the
mean time have fun with the SDL GUI :-)

Cheers,
Moritz


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



Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2005-08-12 Thread Moritz Muehlenhoff
Greg Wooledge wrote:
  * It's *very* slow.  Even slower than SDL mode.  The placement diamond
lags behind the mouse pointer by a couple seconds and only jumps to
a new position every second or two.

That's due to the fact, because you didn't had installed xlibmesa-dri yet.
The DRI is the hardware accelleration part of the X11 3D architecture.
 
  * It still crashes regularly.  For example,
 
  griffon:~$ lincity-ng -g -w
  Starting lincity-ng (version 1.0.1)...
  [/home/greg/.lincity] is in the search path.
  [/usr/share/lincity-ng] is in the search path.
  LINCITY_HOME: /usr/share/lincity-ng
  OpenGL Mode 1024x768
  GameView::readImage# Could not load image images/tiles/farm15.png
  Couldn't open HelpWindow: Error while parsing component 'Document': 
 Couldn't create texture: out of memory
  Unexpected exception: Couldn't create texture: out of memory
  crashed

(..)

 GameView::readImage# Could not load image images/tiles/farm15.png
 Unexpected exception: Couldn't create texture: out of memory
 Vertex3f: 1
 crashed

 So that wasn't helpful.  But at least SDL works.

This seem to be similar symptons as described in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321898

Do you have AGP support enabled/is your graphics adapter AGP capable?

Cheers,
Moritz


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



Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2005-08-12 Thread Greg Wooledge
Moritz Muehlenhoff ([EMAIL PROTECTED]) wrote:

  GameView::readImage# Could not load image images/tiles/farm15.png
  Unexpected exception: Couldn't create texture: out of memory
  Vertex3f: 1
  crashed
 
  So that wasn't helpful.  But at least SDL works.
 
 This seem to be similar symptons as described in 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321898
 
 Do you have AGP support enabled/is your graphics adapter AGP capable?

(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: ATI Radeon 9000/PRO If (AGP/PCI) (ChipID = 0x4966)
(--) RADEON(0): Linear framebuffer at 0xd000
(--) RADEON(0): VideoRAM: 131072 kByte (128 bit DDR SDRAM)
(II) RADEON(0): AGP card detected

[[ snip ]]

(II) RADEON(0): [drm] DRM interface version 1.0
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0ac5000
(II) RADEON(0): [drm] mapped SAREA 0xe0ac5000 to 0x40018000
(II) RADEON(0): [drm] framebuffer handle = 0xd000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x1106/0x3189; Card 0x1002/0x4966]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0xe8b05000
(II) RADEON(0): [agp] ring handle = 0xc000
(II) RADEON(0): [agp] Ring mapped at 0x48284000
(II) RADEON(0): [agp] ring read ptr handle = 0xc0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x4001a000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xc0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x48385000
(II) RADEON(0): [agp] GART texture map handle = 0xc0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x48585000
(II) RADEON(0): [drm] register handle = 0xe002
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1280,8191)
(II) RADEON(0): Reserved area from (0,1024) to (1280,1026)
(II) RADEON(0): Largest offscreen area available: 1280 x 7165
(II) RADEON(0): Will use back buffer at offset 0x140
(II) RADEON(0): Will use depth buffer at offset 0x190
(II) RADEON(0): Will use 100352 kb for textures at offset 0x1e0
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)


Not sure what all of that means

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |


signature.asc
Description: Digital signature


Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2005-08-11 Thread Moritz Muehlenhoff
Greg Wooledge wrote:
 Package: lincity-ng
 Version: 1.0.1-1
 Severity: normal
 
 The game seems to be highly unstable on my machine.
 
 CRASH #1:
 
   OpenGL Mode 1024x768
 
 CRASH #2:

   OpenGL Mode 1024x768
 
 CRASH #3:
 
   OpenGL Mode 1024x768
 
 SYSTEM CONFIGURATION:
 
   :01:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon 
 9000] (Secondary) (rev 01)
   :01:00.1 0380: 1002:496e (rev 01)
   (--) RADEON(0): Chipset: ATI Radeon 9000/PRO If (AGP/PCI) (ChipID = 
 0x4966)
   (--) RADEON(0): VideoRAM: 131072 kByte (128 bit DDR SDRAM)

 ii  libx11-66.8.2.dfsg.1-2   X Window System protocol client 
 li
 ii  xlibmesa-gl [li 4.3.0.dfsg.1-10  Mesa 3D graphics library 
 [XFree86]

This is either caused by a bug in the ati DRI driver or the fact that you only
partially upgraded to X.org. Could you please upgrade xlibmesa-gl (this will
forcibly remove packages that are not yet compiled against the new X.org) and
test whether lincity-ng works w/o problems in SDL mode (lincity-ng -s)?

Cheers,
Moritz


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



Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2005-08-11 Thread Greg Wooledge
Moritz Muehlenhoff ([EMAIL PROTECTED]) wrote:

  ii  libx11-66.8.2.dfsg.1-2   X Window System protocol 
  client li
  ii  xlibmesa-gl [li 4.3.0.dfsg.1-10  Mesa 3D graphics library 
  [XFree86]
 
 This is either caused by a bug in the ati DRI driver or the fact that you only
 partially upgraded to X.org. Could you please upgrade xlibmesa-gl (this will
 forcibly remove packages that are not yet compiled against the new X.org) and
 test whether lincity-ng works w/o problems in SDL mode (lincity-ng -s)?

If I run in SDL mode, I haven't managed to crash it yet.  So that's very
good news.  (Only played for 10-20 minutes though.)

Upgrading xlibmesa-gl (which also upgraded xlibmesa-gl-dev but made no
other changes to the package list) might have helped a bit, because the
game can sometimes last a minute or two before crashing.  But it's still
very unstable, to the point of not being playable in any meaningful way:

 * It's *very* slow.  Even slower than SDL mode.  The placement diamond
   lags behind the mouse pointer by a couple seconds and only jumps to
   a new position every second or two.

 * It still crashes regularly.  For example,

 griffon:~$ lincity-ng -g -w
 Starting lincity-ng (version 1.0.1)...
 [/home/greg/.lincity] is in the search path.
 [/usr/share/lincity-ng] is in the search path.
 LINCITY_HOME: /usr/share/lincity-ng
 OpenGL Mode 1024x768
 GameView::readImage# Could not load image images/tiles/farm15.png
 Couldn't open HelpWindow: Error while parsing component 'Document': 
Couldn't create texture: out of memory
 Unexpected exception: Couldn't create texture: out of memory
 crashed

   And as you may guess from the messages above, there was no text in the
   help window.  I tried running it a couple times, but it would always
   crash after a few seconds or minutes.

I know very little about 3D gaming under Linux in general, so I'm probably
doing something stupid (or not doing something I should).  Reading the
package description for xlibmesa-gl suggested to me that perhaps I should
install xlibmesa-dri as well.  I did that, then restarted lincity again:

griffon:~$ lincity-ng -g -w
Starting lincity-ng (version 1.0.1)...
[/home/greg/.lincity] is in the search path.
[/usr/share/lincity-ng] is in the search path.
LINCITY_HOME: /usr/share/lincity-ng
OpenGL Mode 1024x768
GameView::readImage# Could not load image images/tiles/industryhl1.png
GameView::readImage# Could not load image images/tiles/industryhl2.png
GameView::readImage# Could not load image images/tiles/industryhl3.png
GameView::readImage# Could not load image images/tiles/industryhl4.png
GameView::readImage# Could not load image images/tiles/industryhl5.png
GameView::readImage# Could not load image images/tiles/industryhl6.png
GameView::readImage# Could not load image images/tiles/industryhl7.png
GameView::readImage# Could not load image images/tiles/industryhl8.png
GameView::readImage# Could not load image images/tiles/industryhm1.png
GameView::readImage# Could not load image images/tiles/industryhm2.png
GameView::readImage# Could not load image images/tiles/industryhm3.png
GameView::readImage# Could not load image images/tiles/industryhm4.png
GameView::readImage# Could not load image images/tiles/industryhm5.png
GameView::readImage# Could not load image images/tiles/industryhm6.png
GameView::readImage# Could not load image images/tiles/industryhm7.png
GameView::readImage# Could not load image images/tiles/industryhm8.png
GameView::readImage# Could not load image images/tiles/industryhh1.png
GameView::readImage# Could not load image images/tiles/industryhh2.png
GameView::readImage# Could not load image images/tiles/industryhh3.png
GameView::readImage# Could not load image images/tiles/industryhh4.png
GameView::readImage# Could not load image images/tiles/industryhh5.png
GameView::readImage# Could not load image images/tiles/industryhh6.png
GameView::readImage# Could not load image images/tiles/industryhh7.png
GameView::readImage# Could not load image images/tiles/industryhh8.png
GameView::readImage# Could not load image images/tiles/industrylq1.png
GameView::readImage# Could not load image images/tiles/industrylq2.png
GameView::readImage# Could not load image images/tiles/industrylq3.png
GameView::readImage# Could not load image images/tiles/industrylq4.png
GameView::readImage# Could not load image images/tiles/industryll1.png
GameView::readImage# Could not load image images/tiles/industryll2.png
GameView::readImage# Could not load image images/tiles/industryll3.png
GameView::readImage# Could not load image images/tiles/industryll4.png
GameView::readImage# Could not load image images/tiles/industrylm1.png
GameView::readImage# Could not load image images/tiles/industrylm2.png
GameView::readImage# Could not load 

Bug#322501: lincity-ng: crashes, segmentation faults, etc.

2005-08-10 Thread Greg Wooledge
Package: lincity-ng
Version: 1.0.1-1
Severity: normal


The game seems to be highly unstable on my machine.

CRASH #1:

  The first time I ran it without any options.  It started in full screen
  mode.  I looked at Options, then clicked Continue since it was the
  first button.  The day timer in the lower left was running rather quickly,
  so I tried desperately to pause the game so I could figure out what to do!
  (I've played the original lincity but it's been a while.)  I rolled the
  mouse over some icons but couldn't figure out what they meant, and there
  were no tooltips visible.  I pressed the space bar too, hoping that might
  pause it.

  Some time during all that, the game froze up.  The sound kept playing, but
  clicking anywhere or pressing any keys had no effect.  I had to Ctrl-Alt-F2
  to a text console, kill the game with -9 (normal kill didn't work), and
  then use xrandr to put my X display back to the correct size.

  The tty showed:

  griffon:~$ lincity-ng 
  Starting lincity-ng (version 1.0.1)...
  [/home/greg/.lincity] is in the search path.
  [/usr/share/lincity-ng] is in the search path.
  LINCITY_HOME: /usr/share/lincity-ng
  OpenGL Mode 1024x768
  Killed

CRASH #2:

  griffon:~$ lincity-ng -w
  Starting lincity-ng (version 1.0.1)...
  [/home/greg/.lincity] is in the search path.
  [/usr/share/lincity-ng] is in the search path.
  LINCITY_HOME: /usr/share/lincity-ng
  OpenGL Mode 1024x768
  GameView::readImage# Could not load image images/tiles/industryhl7.png
  GameView::readImage# Could not load image images/tiles/industryhl8.png
  GameView::readImage# Could not load image images/tiles/industryhm1.png
  GameView::readImage# Could not load image images/tiles/industryhm2.png
  GameView::readImage# Could not load image images/tiles/industryhm3.png
  GameView::readImage# Could not load image images/tiles/industryhm4.png
  GameView::readImage# Could not load image images/tiles/industryhm5.png
  GameView::readImage# Could not load image images/tiles/industryhm6.png
  GameView::readImage# Could not load image images/tiles/industryhm7.png
  GameView::readImage# Could not load image images/tiles/industryhm8.png
  GameView::readImage# Could not load image images/tiles/industryhh1.png
  GameView::readImage# Could not load image images/tiles/industryhh2.png
  GameView::readImage# Could not load image images/tiles/industryhh3.png
  GameView::readImage# Could not load image images/tiles/industryhh4.png
  GameView::readImage# Could not load image images/tiles/industryhh5.png
  GameView::readImage# Could not load image images/tiles/industryhh6.png
  GameView::readImage# Could not load image images/tiles/industryhh7.png
  GameView::readImage# Could not load image images/tiles/industryhh8.png
  GameView::readImage# Could not load image images/tiles/industrylq1.png
  GameView::readImage# Could not load image images/tiles/industrylq2.png
  GameView::readImage# Could not load image images/tiles/industrylq3.png
  GameView::readImage# Could not load image images/tiles/industrylq4.png
  GameView::readImage# Could not load image images/tiles/industryll1.png
  GameView::readImage# Could not load image images/tiles/industryll2.png
  GameView::readImage# Could not load image images/tiles/industryll3.png
  GameView::readImage# Could not load image images/tiles/industryll4.png
  GameView::readImage# Could not load image images/tiles/industrylm1.png
  GameView::readImage# Could not load image images/tiles/industrylm2.png
  GameView::readImage# Could not load image images/tiles/industrylm3.png
  GameView::readImage# Could not load image images/tiles/industrylm4.png
  GameView::readImage# Could not load image images/tiles/industrylh1.png
  GameView::readImage# Could not load image images/tiles/industrylh2.png
  GameView::readImage# Could not load image images/tiles/industrylh3.png
  GameView::readImage# Could not load image images/tiles/industrylh4.png
  GameView::readImage# Could not load image images/tiles/farm0.png
  GameView::readImage# Could not load image images/tiles/farm3.png
  GameView::readImage# Could not load image images/tiles/farm7.png
  GameView::readImage# Could not load image images/tiles/farm11.png
  GameView::readImage# Could not load image images/tiles/farm15.png
  Unexpected exception: Couldn't create texture: out of memory

  The PNG files are present and readable with a standalone viewer program
  (at least the first one is).

CRASH #3:

  griffon:~$ lincity-ng -w
  Starting lincity-ng (version 1.0.1)...
  [/home/greg/.lincity] is in the search path.
  [/usr/share/lincity-ng] is in the search path.
  LINCITY_HOME: /usr/share/lincity-ng
  OpenGL Mode 1024x768
  GameView::readImage# Could not load image images/tiles/industryhl7.png
  GameView::readImage# Could not load image images/tiles/industryhl8.png
  GameView::readImage# Could not load image images/tiles/industryhm1.png
  GameView::readImage# Could not load image images/tiles/industryhm2.png
  GameView::readImage# Could not load image