Jump to content

Latest(ish) revision doesn't start, Linux x86_64


FLHerne
 Share

Recommended Posts

I compiled the latest revision on Linux Mint 13, x86_64, using gcc 4.6.3. No compile errors.

When run, it opens a window in which I can (very briefly) see the main menu, then crashes.

Alpha 10 as installed from the PPA works fine.

CPU is a Pentium D, graphics is a Radeon 7770 using the proprietary drivers.

Output to the console, when run on its own and using gdb:

[username]$ ./pyrogenesis

Cache: 500 (total: 3954) MiB

TIMER| InitVfs: 105.048 ms

AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up

Sound: AlcInit success, using PulseAudio Default

TIMER| InitScripting: 382.64 ms

TIMER| CONFIG_Init: 163.607 ms

TIMER| RunHardwareDetection: 299.75 ms

TIMER| write_sys_info: 55.9676 ms

TIMER| InitRenderer: 206.247 ms

TIMER| ps_console: 142.597 ms

TIMER| ps_lang_hotkeys: 1.95219 ms

TIMER| common/setup.xml: 82.5211 ms

TIMER| common/styles.xml: 33.25 ms

TIMER| common/sprite1.xml: 5.99055 ms

TIMER| common/init.xml: 69.2084 ms

TIMER| common/common_sprites.xml: 43.342 ms

TIMER| common/common_styles.xml: 3.27125 ms

TIMER| pregame/sprites.xml: 17.7944 ms

TIMER| pregame/styles.xml: 380.317 us

TIMER| pregame/mainmenu.xml: 73.1337 ms

TIMER| common/global.xml: 2.38862 ms

Using Xcursor to sys_cursor_create 32 x 32 cursor

Illegal instruction

[username]$ gdb ./pyrogenesis

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04

Copyright © 2012 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-linux-gnu".

For bug reporting instructions, please see:

<http://bugs.launchpad.net/gdb-linaro/>...

Reading symbols from /home/francis/Projects/0adgit/0ad/binaries/system/pyrogenesis...done.

(gdb) run

Starting program: /home/francis/Projects/0adgit/0ad/binaries/system/pyrogenesis

[Thread debugging using libthread_db enabled]

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Cache: 500 (total: 3954) MiB

TIMER| InitVfs: 954.397 us

[New Thread 0x7fffcc983700 (LWP 4689)]

[Thread 0x7fffcc983700 (LWP 4689) exited]

[New Thread 0x7fffcc983700 (LWP 4690)]

AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up

[New Thread 0x7fffc3fff700 (LWP 4691)]

Sound: AlcInit success, using PulseAudio Default

[New Thread 0x7fffc37fe700 (LWP 4692)]

TIMER| InitScripting: 18.284 ms

TIMER| CONFIG_Init: 19.64 ms

[New Thread 0x7fffc29ff700 (LWP 4693)]

[New Thread 0x7fffc21fe700 (LWP 4694)]

TIMER| RunHardwareDetection: 28.9302 ms

TIMER| write_sys_info: 17.4639 ms

[New Thread 0x7fffc0f93700 (LWP 4695)]

TIMER| InitRenderer: 10.6816 ms

TIMER| ps_console: 17.9633 ms

TIMER| ps_lang_hotkeys: 1.89157 ms

TIMER| common/setup.xml: 2.56158 ms

TIMER| common/styles.xml: 215.158 us

TIMER| common/sprite1.xml: 5.30918 ms

TIMER| common/init.xml: 3.24704 ms

TIMER| common/common_sprites.xml: 5.86495 ms

TIMER| common/common_styles.xml: 1.07546 ms

TIMER| pregame/sprites.xml: 1.52365 ms

TIMER| pregame/styles.xml: 142.23 us

TIMER| pregame/mainmenu.xml: 19.6841 ms

TIMER| common/global.xml: 1.09722 ms

Using Xcursor to sys_cursor_create 32 x 32 cursor

Program received signal SIGILL, Illegal instruction.

0x00007ffff6326e77 in nvtt::InputOptions::setTextureLayout(nvtt::TextureType, int, int, int) () from /home/francis/Projects/0adgit/0ad/binaries/system/libnvtt.so

Link to comment
Share on other sites

We use SSE is some places for optimisation, but that can't be the problem because your CPU supports it.

Something must be calling a function pointer that is either NULL or undefined. If that error is accurate, this probably takes place inside Nvidia's texture conversion library.

A function pointer could be undefined if the linker fails... so my advice for now is to clear-workspaces, update-workspaces and then try running "make; make", to check if any errors come up. (basically, have you tried turning it off and on again ;) )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...