View Issue Details

IDProjectCategoryView StatusLast Update
0003461Spring engineGfx driver issuespublic2013-11-05 21:26
Reporteruser744Assigned Toabma  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version92.0 
Fixed in Version95.0 
Summary0003461: Some games crash during loading or when units get spawned (1334-g799e0c7) with Radeon X1300/X1550 Series
DescriptionThe Cursed 1.241
http://pastebin.com/qMbTBCj6
gets ingame, can scroll around map, crashes once pressing ctrl+f to forcestart or using /cheat /give to spawn anything.

SpringTutorialGame r1
same as The Cursed 1.241

XTA 9.725 [patch 1.8]
http://pastebin.com/jjBJL2ji
crashes during "Loading LuaRules" in loadscreen

Zero-K v1.0.12.3
http://pastebin.com/7ArSPnJT
crash after chosing a commander

Void 2.0
http://pastebin.com/up5k5usL
crashes during "Loading LuaRules" in loadscreen

games that work:
Balanced Annihilation V7.72
tutomod36
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2013-02-12 22:01

administrator   ~0009766

all stacktraces contain the lines

"[f=0000000] Error: This stack trace indicates a problem with your graphic card driver. Please try upgrading or downgrading it. Specifically recommended is the latest driver, and one that is as old as your graphic card. Make sure to use a driver removal utility, before installing other drivers."

abma

2013-02-12 22:02

administrator   ~0009767

as in older releases: try to reduce decals / disable gfx related stuff... check if --safemode works stable for example

abma

2013-02-13 02:14

administrator   ~0009769

does it help to set AtiHacks=0 ?

user744

2013-02-13 03:04

  ~0009772

with --safemode all mods seem to work (at least for few minutes of testing)

AtiHacks=0/1 makes no difference

disable gfx related stuff: makes no difference (also tried the .conf file that works in 91.0) but idk what settings are worth trying.
i tried:
AdvMapShading = 0
AdvUnitShading = 0
GroundDecals = 0
Shadows = 0
AdvSky = 0

abma

2013-02-13 03:09

administrator   ~0009773

--safemode sets 3DTrees=0: http://springrts.com/wiki/Springrc

is 3DTrees=0 enough?

if not, search on the springrc wiki page for "safemodeValue"

CompressTextures=1 is an other possibility...

user744

2013-02-13 03:36

  ~0009774

3DTrees=0 helps only vs the disappearing units, interface etc as described in
http://springrts.com/mantis/view.php?id=3456
But that is only for BA and tutomod which can actually spawn units, in other mods it does not even get that far. (see OP)

CompressTextures=1 makes no difference.

Will trysafemodeValue values tomorrow.

abma

2013-02-22 12:49

administrator   ~0009880

does the current release or develop branch still crash?

user744

2013-02-22 14:04

  ~0009881

http://springrts.com/dl/buildbot/default/develop/92.0.1-62-gc96d6b0/win32/
still crashes.

XTA 9.725 [patch 1.8] still crashs while loading:
http://pastebin.com/sCUy8jVB

with safemode it at first seems to be normal, but every 2nd start or so this happens: when pointing mouse over a unit, almost whole screen goes teal. (i guess unit highlight widget)
could not get in on screenshot but looks like this: http://www.abload.de/img/sosiehtsaus6pp76.jpg (shopped)
While this happens FPS drop to 0 but if I move mouse away fast enough, it recovers. If I keep it pointing, spring hangs and must be closed via taskmanager. (with previous versions that did not happen)
http://pastebin.com/VpKFJQyZ

silentwings

2013-02-22 19:11

reporter   ~0009884

Last edited: 2013-02-22 19:11

The bug with the screen changing colour on mouse over unit is caused by a combination of ATI issues and the highlight unit widget - it's been around for a while (I would fix it if I knew how) and I don't think its related to any recent spring changes.

We've disabled that widget by default for the next BA version.

user744

2013-02-22 19:31

  ~0009885

yes, i know. its also on help/faq. but highlight widget always worked for me, so thought to mention it. also afaik only screen goes blue, it does not hang.

abma

2013-04-03 03:36

administrator   ~0010376

Last edited: 2013-04-03 03:42

@silentwings: i guess thats the ATI + glPointSize bug

see for example:
http://springrts.com/phpbb/viewtopic.php?f=44&t=27363&start=20
http://springrts.com/phpbb/viewtopic.php?f=11&t=24036
http://code.google.com/p/zero-k/issues/detail?id=393

afaik only solution seems to not use glPointSize in widgets.

abma

2013-04-03 20:29

administrator   ~0010378

does 94.1 still crash?

user744

2013-04-04 01:29

  ~0010380

94.1:
BA works (as before)

XTA still crashes but works normal with --safemode.
As it was crashing during "Loading LuaRules" I deleted gadgets folder and then it loads.

abma

2013-04-04 22:48

administrator   ~0010392

Last edited: 2013-04-04 22:49

can you add infolog.txt from the crash of xta please? also, where to download this specific xta version?

user744

2013-04-05 03:30

  ~0010393

The XTA crash after "Loading LuaRules" is only on older versions it seems
XTA 9.725 [patch 1.8]:
http://pastebin.com/0rkkFtXN
http://springrts.com/phpbb/viewtopic.php?f=48&t=21739

---

XTA 9.726
http://pastebin.com/XtZMxt3T
http://kloot.darkstars.co.uk/XTAPEv9726.sdz

crashes after countdown: http://pastebin.com/73aWDire

BUT: If I do not "press ctrl+f to force start" I can spawn units, and that will NOT make it crash. example: /give arm_commander /give arm_peewee
After forcestart, it then crashs: http://pastebin.com/7csEn0Dn

BUT: /give core_commander makes it crash instantly:
http://pastebin.com/GVKrmzBz


---

springtutorial game:
http://springfiles.com/spring/other/springtutorialgame-sdz-download
crashes after countdown: http://pastebin.com/6jTGPqZr

spawn gadget removed: crash after spawning a unit.
for example /give simplehover
if no unit is spawned, can look around the map etc without problem.
when spawning a unit in "press alt+f to force start stage" -> crash.
http://pastebin.com/9encQbzC
(this is different to XTA, but maybe it is just random luck with the models or something)

jK

2013-04-05 10:38

developer   ~0010398

Last edited: 2013-04-05 10:39

try to run spring in gdb (to get a more saying backtrace)

user744

2013-04-26 14:48

  ~0010560

http://www.gnu.org/software/gdb/ this?
I did not understand it at all.
So I used different debugger, its in all the "remove winrar notice" tutorials and generally pretty pro.

SpringTutorialGame, crash after countdown reached 0.
http://pastebin.com/9XzLhxMJ (useless infolog)

Call stack of main thread
Address Stack Procedure / arguments Called from Frame
0022F398 691CA3B9 atioglxx.691CA730 atioglxx.691CA3B4 0022F394
0022F3AC 006532AD Includes atioglxx.691CA3B9 spring.006532AB

http://pastebin.com/HGdbiQtH
http://pastebin.com/GftxLd6t

not sure what else is worth posting

user744

2013-04-26 16:41

  ~0010562

Last edited: 2013-04-26 16:48

XTA which crashes during loadscreen looks like this

http://pastebin.com/zHQEYuCF

abma

2013-04-30 11:11

administrator   ~0010589

"translated"


http://paste.springfiles.com/view/b938e2a3

abma

2013-04-30 11:13

administrator   ~0010590

rts/System/SpringApp.cpp:965 is SDL_GL_SwapBuffers()

user744

2013-05-03 01:40

  ~0010605

After much loling around I found:
it does not crash when UseVBO = 0

user744

2013-05-03 02:12

  ~0010606

...on the other hand with UseVBO = 0 units are now invisible (except teamcolor?)
http://www.abload.de/img/screen0017005alr.jpg
but that goes away with /shadows 0
shadows never worked anyway on this computer (simply did not show) so thats ok for me.

abma

2013-05-04 01:31

administrator   ~0010608

Last edited: 2013-05-04 01:32

already many thanks! this maybe makes it already possible to workaround it, not sure.

can you please also download / extract gdb:
http://sourceforge.net/projects/tdm-gcc/files/GDB/gdb-7.5-tdm64-2.zip/download

start cmd.exe, cd next into the directory where gdb was extracted.
"cd bin"
then type "gdb.exe C:\path\to\spring.exe"
type "run -w"

let spring crash

then type "bt"

copy & paste the output to us...

abma

2013-05-04 01:43

administrator   ~0010610

(-w is for windowed mode...)

user744

2013-05-04 12:23

  ~0010614

will try that later...
btw what jK said in chat: (deleted some lines)

<[LCC]jK> it reports it supports VBOs and crashes
<[LCC]jK> and GLSL shaders are broken too
<[LCC]jK> likely ati hates VBOs in DisplayLists
<[LCC]jK> but your gpu is such old, they dropped support for it already agggggggges ago
<[LCC]jK> no idea what to do regarding that, cause it reports something it doesn't support
<[LCC]jK> and it hardcrashes
<[LCC]jK> so I got no possiblity to workaround it
<[LCC]jK> seems you have to live with it tilllyou bought a new gpu
<[2up]knorke> maybe as workaround if gfx-card name contains "Radeon X1300/X1550 Series" turn useVBO off
<[2up]knorke> iam too lazy to buy computer stuff anymore
<[LCC]jK> and I am to lazy to write such a hack

abma

2013-05-04 18:45

administrator   ~0010615

at least we know whats going on with...

knorke: are you on linux? did you try to run it? current FOSS drivers become quiet stable :)

user744

2013-05-04 23:31

  ~0010623

32 bit win vista.
http://pastebin.com/V8DwEHDH
then i typed "next" until spring exited:
http://pastebin.com/RT7APxwS

note:
i installed this: http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/GDB-7.5/gdb-7.5-1-mingw32-bin.tar.lzma/download
then was missing a dll so http://sourceforge.net/projects/mingw/files/MinGW/Extension/expat/expat-2.0.1-1/libexpat-2.0.1-1-mingw32-dll-1.tar.gz/download
 too
Then was missing more .dll so I copied bunch of .dll from mingw/codeblocks install, then it started. hope its correct versions and such?

user744

2013-05-05 05:02

  ~0010625

Last edited: 2013-05-05 05:06

*** this is with test version 5. May 2013 (94.1.1-413-g7b0d1a7) ***
infolog: http://pastebin.com/u7nnU651
gdb log thing: http://pastebin.com/QqyaR7Gx

infolog was incomplete because forgot logflush=1, here is another from different run:
http://pastebin.com/qetwyr6q

--
the strange unit graphics from
http://springrts.com/mantis/view.php?id=3461#c10606
that were fixable with /shadows 0 are now not fixeable anymore

Kloot

2013-05-05 11:26

developer   ~0010628

Last edited: 2013-05-05 11:56

Previously, issuing /shadows 0 would always switch to the ARB model shader regardless of reported hardware capability, now the GLSL shaders are used if the hardware says it can run them (yours does, but generates a "Fragment Shader not supported by HW" warning without any specific information which probably means some hardware limit was exceeded).

I don't think allowing those few users with such crappy GPU's to force-disable shaders is worth it, plus /advmodelshading and /advmapshading already exist for that purpose.

abma

2013-05-06 04:01

administrator   ~0010655

Last edited: 2013-05-06 04:07

hmm, maybe add a "crashed" or "cleanshutdown" config variable?

at start, crashed=1 is written to config, at shutdown crashed=0 is written

if crashed=1 is read, safemode is activated and safemode values are written to config?

an alternative would be, to let lobby activate safemode if it detected a crash...

Jools

2013-05-06 10:59

reporter   ~0010659

I'm curious why XTA 9.725 p1.8 crashes after loading luarules, but 9.726 crashes after countdown. Do they both work with empty gadgets folder? Do you think it would be possible to isolate the offending gadget?

abma

2013-11-05 21:26

administrator   ~0011982

possible fixed in 95.0, if not please create a new bug report.

Issue History

Date Modified Username Field Change
2013-02-12 19:35 user744 New Issue
2013-02-12 22:01 abma Note Added: 0009766
2013-02-12 22:02 abma Note Added: 0009767
2013-02-13 02:14 abma Note Added: 0009769
2013-02-13 02:19 abma Product Version 91.0 => 92.0
2013-02-13 03:04 user744 Note Added: 0009772
2013-02-13 03:09 abma Note Added: 0009773
2013-02-13 03:36 user744 Note Added: 0009774
2013-02-22 12:48 abma Status new => feedback
2013-02-22 12:49 abma Note Added: 0009880
2013-02-22 14:04 user744 Note Added: 0009881
2013-02-22 14:04 user744 Status feedback => new
2013-02-22 19:11 silentwings Note Added: 0009884
2013-02-22 19:11 silentwings Note Edited: 0009884
2013-02-22 19:31 user744 Note Added: 0009885
2013-04-03 03:36 abma Note Added: 0010376
2013-04-03 03:38 abma Note Edited: 0010376
2013-04-03 03:40 abma Note Edited: 0010376
2013-04-03 03:42 abma Note Edited: 0010376
2013-04-03 20:29 abma Note Added: 0010378
2013-04-03 20:29 abma Target Version => 95.0
2013-04-04 01:29 user744 Note Added: 0010380
2013-04-04 22:48 abma Note Added: 0010392
2013-04-04 22:49 abma Note Edited: 0010392
2013-04-04 23:48 abma Assigned To => abma
2013-04-04 23:48 abma Status new => feedback
2013-04-05 03:30 user744 Note Added: 0010393
2013-04-05 03:30 user744 Status feedback => assigned
2013-04-05 03:51 abma Assigned To abma =>
2013-04-05 03:52 abma Status assigned => new
2013-04-05 10:38 jK Note Added: 0010398
2013-04-05 10:39 jK Note Edited: 0010398
2013-04-26 14:40 abma Summary Some mods crash during loading or when units get spawned (1334-g799e0c7) => Some games crash during loading or when units get spawned (1334-g799e0c7)
2013-04-26 14:48 user744 Note Added: 0010560
2013-04-26 16:41 user744 Note Added: 0010562
2013-04-26 16:48 user744 Note Edited: 0010562
2013-04-30 11:11 abma Note Added: 0010589
2013-04-30 11:13 abma Note Added: 0010590
2013-05-03 01:40 user744 Note Added: 0010605
2013-05-03 02:12 user744 Note Added: 0010606
2013-05-04 01:31 abma Note Added: 0010608
2013-05-04 01:32 abma Note Edited: 0010608
2013-05-04 01:43 abma Note Added: 0010610
2013-05-04 12:23 user744 Note Added: 0010614
2013-05-04 18:45 abma Note Added: 0010615
2013-05-04 20:56 abma Category General => Gfx driver issues
2013-05-04 20:56 abma Summary Some games crash during loading or when units get spawned (1334-g799e0c7) => Some games crash during loading or when units get spawned (1334-g799e0c7) with Radeon X1300/X1550 Series
2013-05-04 20:57 abma Target Version 95.0 =>
2013-05-04 23:31 user744 Note Added: 0010623
2013-05-05 05:02 user744 Note Added: 0010625
2013-05-05 05:06 user744 Note Edited: 0010625
2013-05-05 11:26 Kloot Note Added: 0010628
2013-05-05 11:31 Kloot Note Edited: 0010628
2013-05-05 11:56 Kloot Note Edited: 0010628
2013-05-06 04:01 abma Note Added: 0010655
2013-05-06 04:02 abma Note Edited: 0010655
2013-05-06 04:07 abma Note Edited: 0010655
2013-05-06 10:59 Jools Note Added: 0010659
2013-11-05 21:26 abma Note Added: 0011982
2013-11-05 21:26 abma Status new => resolved
2013-11-05 21:26 abma Fixed in Version => 95.0
2013-11-05 21:26 abma Resolution open => fixed
2013-11-05 21:26 abma Assigned To => abma