Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#306 closed defect (wontfix)

"Call stack" when starting the game

Reported by: fabio Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords: Call stack
Cc: Patch:

Description

Whenever I start the game I get the following "Call stack":

test@test-desktop:~/0ad/trunk/binaries/system$ ./pyrogenesis_dbg 
TIMER| InitVfs: 1.50002 ms
TIMER| InitScripting: 4.83857 ms
TIMER| CONFIG_Init: 9.17923 ms
TIMER| write_sys_info: 1.14488 ms
ogl_tex.cpp(699): Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.
udbg_bfd_init: loading symbols from /home/test/0ad/trunk/binaries/system/pyrogenesis_dbg.
Performance warning: your graphics card does not support compressed textures. The game will try to continue anyway, but may be slower than expected. Please try updating your graphics drivers; if that doesn't help, please try upgrading your hardware.
Location: ogl_tex.cpp:699 (detect_gl_upload_caps)

Call stack:

(0x0848cf8f) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0846237c) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x084626fc) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x0847c7bd) ogl_tex.cpp:700 detect_gl_upload_caps
(0x0847ca93) ogl_tex.cpp:824 ogl_tex_upload(long long, unsigned int, int, int)
(0x08478afe) unifont.cpp:167 UniFont_reload
(0x0847440e) h_mgr.cpp:506 call_init_and_reload
(0x084745b8) h_mgr.cpp:545 alloc_new_handle
(0x084746ec) h_mgr.cpp:580 h_alloc(H_VTbl*, boost::filesystem::basic_path<std::string, VfsPathTraits> const&, unsigned int, ...)
(0x08478e5c) unifont.cpp:210 unifont_load(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, unsigned int)
(0x0832b29e) Font.cpp:46 CFont
(0x0828b29d) GameSetup.cpp:593 InitPs
(0x0828c2fd) GameSetup.cpp:991 Init(CmdLineArgs const&, int)
(0x081f4ede) main.cpp:395 RunGameOrAtlas
(0x081f4f6c) main.cpp:412 main
(0xb7664b56) /lib/tls/i686/cmov/libc.so.6:0 __libc_start_main

errno = 0 (?)
OS error = ?


(C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit?
c
TIMER| ps_console: 5.90886 s
TIMER| ps_lang_hotkeys: 78.3303 ms
TIMER| ps_gui_init: 28.764 us
TIMER| ps_gui_setup_xml: 49.5266 ms
TIMER| ps_gui_styles_xml: 3.53965 ms
TIMER| ps_gui_sprite1_xml: 140.085 ms
TIMER| ps_gui_1: 285.18 ms
TIMER| ps_gui_2: 197.208 ms
TIMER| ps_gui_3: 19.1116 ms
TIMER| ps_gui_4: 89.5402 ms
TIMER| ps_gui_6: 6.90189 ms
TIMER| ps_gui_6_1: 6.51875 ms
TIMER| ps_gui_6_2: 3.16295 ms
TIMER| ps_gui_7: 4.9403 ms
TIMER| ps_gui_9: 18.0156 ms
TIMER| InitRenderer: 233.514 ms
TIMER| SimulationInit: 76.6375 ms
TIMER| Init_miscgamesection: 489.637 ms
TIMER| Init_guiload: 270.561 ms
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
TIMER| shutdown Scheduler: 5.764 us
TIMER| shutdown mouse stuff: 43.42 us
TIMER| shutdown Pathfinder: 140.929 us
TIMER| shutdown game scripting stuff: 1.47416 ms
TIMER| shutdown actor stuff: 3.02 us
TIMER| shutdown TexMan: 3.624 us
TIMER| shutdown Renderer: 54.107 us
TIMER| shutdown ScriptingHost: 9.21426 ms
TIMER| shutdown ConfigDB: 2.547 us
TIMER| shutdown CSocketBase: 3.6605 ms
TIMER| shutdown CNetLogManager: 6.614 us
TIMER| shutdown I18N: 8.153 us
TIMER| resource modules: 45.8587 ms
TIMER TOTALS (5 clients)
-----------------------------------------------------
  tc_2: 0 c (0x)
  tc_1: 0 c (0x)
  tc_transform: 1333.43 Mc (49x)
  tc_plain_transform: 4312.04 kc (12x)
  tc_png_decode: 0 c (0x)
-----------------------------------------------------
TIMER| shutdown misc: 1.77964 ms
test@test-desktop:~/0ad/trunk/binaries/system$

Pressing 'C' let however the game start.

I am using r7139 on a Ubuntu karmic. Let me know if I should provide more infos.

Change History (6)

comment:1 by Jan Wassenberg, 15 years ago

Resolution: wontfix
Status: newclosed

Greetings! Looks like it's just warning that your graphics card is a bit old. If possible, we strongly recommend running on at least GF3-class hardware.

comment:2 by Philip Taylor, 15 years ago

Alternatively, it might be that your graphics card is fast enough but you don't have S3TC support enabled - you should be able to run driconf and enable the "enable S3TC texture compression" option, or install libtxc_dxtn.

comment:3 by fabio, 15 years ago

I have an Intel i945G/GZ card. The driconf trick worked, thanks.

But what's the mean of the "Call stack"? What limitations the game will have without S3TC support? Why not letting the game start without the "Call stack" or simply make the game quit? Or is the call stack only printed in debug mode?

(sorry for the late reply, but I though that having defined a mail address I would have get notification of reply but that didn't work)

comment:4 by Philip Taylor, 15 years ago

Without S3TC support, the game will uncompress all of its textures before using them, which causes it to use between 4 and 8 times as much memory (and video memory) and will probably slow it down a lot.

We definitely should handle this situation more gracefully - I've filed #313 for that. At the moment it's just using the standard error reporting system, which does all the irrelevant call stack stuff.

(Hmm, email notifications really ought to work - I got one for your comment. Do you see one for this comment? (Might it get marked as spam or something?))

comment:5 by fabio, 15 years ago

Thanks for the reply.

(and yes, I got the notification for this reply)

comment:6 by (none), 14 years ago

Milestone: Open Source Release

Milestone Open Source Release deleted

Note: See TracTickets for help on using tickets.