1

Topic: Can't start teeworlds on debian sid.

Hey guys,

I'm trying to start teeworlds on my debian sid, but all I get is this (error)-message and a black screen.

What's the problem here?

and1@fubox (sid) ~ >> teeworlds 
[4916f611][engine]: running on unix-linux-ia32
[4916f611][engine]: arch is little endian
[4916f611][binds]: bound f1 (258) = toggle_local_console
[4916f611][binds]: bound f2 (259) = toggle_remote_console
[4916f611][binds]: bound tab (293) = +scoreboard
[4916f611][binds]: bound f10 (267) = screenshot
[4916f611][binds]: bound a (65) = +left
[4916f611][binds]: bound d (68) = +right
[4916f611][binds]: bound space (32) = +jump
[4916f611][binds]: bound mouse1 (384) = +fire
[4916f611][binds]: bound mouse2 (385) = +hook
[4916f611][binds]: bound lshift (287) = +emote
[4916f611][binds]: bound 1 (49) = +weapon1
[4916f611][binds]: bound 2 (50) = +weapon2
[4916f611][binds]: bound 3 (51) = +weapon3
[4916f611][binds]: bound 4 (52) = +weapon4
[4916f611][binds]: bound 5 (53) = +weapon5
[4916f611][binds]: bound mousewheelup (383) = +prevweapon
[4916f611][binds]: bound mousewheeldown (382) = +nextweapon
[4916f611][binds]: bound t (84) = chat all
[4916f611][binds]: bound y (89) = chat team
[4916f611][console]: executing '/home/and1/.teeworlds/settings.cfg'
[4916f611][console]: executing '/home/and1/.teeworlds/autoexec.cfg'
[4916f611][gfx]: alphabits = 0
[4916f611][gfx]: depthbits = 24
[4916f611][gfx]: stencilbits = 8
X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  98
  Current serial number in output stream:  98
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7a1c767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb7a1c81e]
#2 /usr/lib/libX11.so.6 [0xb7e09de9]
#3 /usr/lib/libX11.so.6(XUndefineCursor+0x25) [0xb7dffa45]
#4 /usr/lib/games/teeworlds/teeworlds [0x808cb59]
#5 /usr/lib/games/teeworlds/teeworlds [0x808b295]
#6 /usr/lib/games/teeworlds/teeworlds [0x808bc7a]
#7 /usr/lib/games/teeworlds/teeworlds [0x808c3d1]
#8 /usr/lib/games/teeworlds/teeworlds [0x808b4a4]
#9 /lib/libc.so.6(exit+0x89) [0xb7a59379]
#10 /usr/lib/libX11.so.6 [0xb7e026fe]
#11 /usr/lib/libX11.so.6(_XError+0xd9) [0xb7e027d9]
#12 /usr/lib/libX11.so.6 [0xb7e0a798]
#13 /usr/lib/libX11.so.6(_XEventsQueued+0x55) [0xb7e0b135]
#14 /usr/lib/libX11.so.6(_XFlush+0x42) [0xb7e0b1c2]
#15 /usr/lib/libX11.so.6(XFlush+0x31) [0xb7de2d71]
#16 /usr/lib/libGL.so.1 [0xb7d7479a]
#17 /usr/lib/games/teeworlds/teeworlds [0x8077d0d]
#18 /usr/lib/games/teeworlds/teeworlds [0x8073aa3]
#19 /lib/libc.so.6(__libc_start_main+0xe5) [0xb7a42455]

Regards, Andi

2

Re: Can't start teeworlds on debian sid.

You need to have glx enabled on your x server. And you might have to use the restricted drivers from you graphic card vendor to get fast OpenGL acceleration.

Languages shapes the way we think, or don't.

3

Re: Can't start teeworlds on debian sid.

Hey there,

hmm, 'glxgears' works... I'm using the 'nvidia' driver, other games, like Q3 or OpenArena work, they also use OpenGL, so I think OpenGL works too, or am I wrong?

Regards, Andi

4

Re: Can't start teeworlds on debian sid.

does it happen always, or just sometimes? especially does it happen when you switch focus out of teeworlds? Than this is a bug everyone on linux experiences...

5

Re: Can't start teeworlds on debian sid.

No,

it happens everytime, right after typing 'teeworlds' and hitting <enter>.

Regards, Andi

6

Re: Can't start teeworlds on debian sid.

It might be a version mismatch between the libs that teeworld where compiled against. Did you get the binaries from the site or from the debian repository?

Languages shapes the way we think, or don't.

7

Re: Can't start teeworlds on debian sid.

Hey void,

I installed teeworlds from the debian (sid) repository...

Regards, Andi

8

Re: Can't start teeworlds on debian sid.

IMHO a library mismatch would look quite different.

9

Re: Can't start teeworlds on debian sid.

So what could be the problem? Maybe, that I'm trying to run the game in a chroot?

I opened it with 'schroot -p', so there's display support... all my other games work too.

Regards, Andi

10 (edited by Lappi 2008-11-10 20:57:40)

Re: Can't start teeworlds on debian sid.

I got some problems on ubuntu while calling teeworlds not from the teeworlds directory. e.g. /opt/teeworlds/teeworlds resulted in a gfx error, though

cd /opt/teeworlds
./teeworlds

works fine.

(PS.: I am absolute beginner in that debian/ubuntu thingy - just want to help ^^)

Question? search function
Short movies? Lappi's link loft
Teeworlds info'n'tuts on gfx? Landil's sketchbook

11 (edited by catpaw 2008-11-10 22:51:16)

Re: Can't start teeworlds on debian sid.

why the heaven would you want to use chroot in this case?

12

Re: Can't start teeworlds on debian sid.

catpaw,

teeworlds is not in Etch... and I play all my games in my chroot, there I have newer version... but I want a stable system, so I don't want to use sid for that.

Lappi, well I installed it via package manager, not the binary version... though, it doesn't help to start './teeworlds' in /usr/games/...

Regards, Andi

13

Re: Can't start teeworlds on debian sid.

I'd try the linux binary @ http://www.teeworlds.com/?page=downloads

It often works better than the packages in repos, for some reason.. :S

Official Teeworlds map developer and community moderator
Administrator for the Teeworlds community Teesites

14

Re: Can't start teeworlds on debian sid.

I'll try that, and I'll post if it worked or not... thanks. smile

15

Re: Can't start teeworlds on debian sid.

Mh,

that works, yes, but now I have the problem, Lappi described... how to fix that?

16 (edited by catpaw 2008-11-11 18:54:01)

Re: Can't start teeworlds on debian sid.

I'd recommend compiling for your system, then most things will likely work.

lappi and fooness 2. You *must* execute teeworlds from its directory. This is teeworlds. It cannot (yet) do otherwise, as their is AFAIK no deeply worked out ressource location system. Especially that would allow a unix (System V) like setup, where the ressources are on another place than the binary.

The debian packages contain modifications to do that, but the "main line" of teeworlds does AFAIK not.

17

Re: Can't start teeworlds on debian sid.

Ah ok, I see... thanks catpaw. smile

18

Re: Can't start teeworlds on debian sid.

Just a little note. This has been worked out for 0.5.0 so it will search common paths for data.

19

Re: Can't start teeworlds on debian sid.

/cheer

great. I'm looking forward to the release of Duke Teeworlds Forever 0.5! Keep up the good work! cool

Question? search function
Short movies? Lappi's link loft
Teeworlds info'n'tuts on gfx? Landil's sketchbook

20

Re: Can't start teeworlds on debian sid.

matricks wrote:

Just a little note. This has been worked out for 0.5.0 so it will search common paths for data.

Normally this is a "configure" option, and gets compiled into the package. So no search needed.

21

Re: Can't start teeworlds on debian sid.

We got that as well, but we did the search just for comfort smile

22

Re: Can't start teeworlds on debian sid.

Any release date for 0.5 or just "when it's done"? wink

23 (edited by Sushi Tee 2008-11-12 13:19:50)

Re: Can't start teeworlds on debian sid.

when its done ^^

i guess if there were a release date u would find it here anywhere wink

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

24

Re: Can't start teeworlds on debian sid.

I have the similar problem. Click on teeworlds or in termian cd /to/game/path/and/then/ ./teeworlds I just get a black screen and monitor shows "No signal" sign.

./teeworlds > tee.txt:

[4a479390][engine]: running on unix-linux-amd64
[4a479390][engine]: arch is little endian
[4a479390][binds]: bound f1 (282) = toggle_local_console
[4a479390][binds]: bound f2 (283) = toggle_remote_console
[4a479390][binds]: bound tab (9) = +scoreboard
[4a479390][binds]: bound f10 (291) = screenshot
[4a479390][binds]: bound a (97) = +left
[4a479390][binds]: bound d (100) = +right
[4a479390][binds]: bound space (32) = +jump
[4a479390][binds]: bound mouse1 (323) = +fire
[4a479390][binds]: bound mouse2 (324) = +hook
[4a479390][binds]: bound lshift (304) = +emote
[4a479390][binds]: bound 1 (49) = +weapon1
[4a479390][binds]: bound 2 (50) = +weapon2
[4a479390][binds]: bound 3 (51) = +weapon3
[4a479390][binds]: bound 4 (52) = +weapon4
[4a479390][binds]: bound 5 (53) = +weapon5
[4a479390][binds]: bound mousewheelup (331) = +prevweapon
[4a479390][binds]: bound mousewheeldown (332) = +nextweapon
[4a479390][binds]: bound t (116) = chat all
[4a479390][binds]: bound y (121) = chat team
[4a479390][binds]: bound f3 (284) = vote yes
[4a479390][binds]: bound f4 (285) = vote no
[4a479390][engine/datadir]: paths used:
[4a479390][engine/datadir]:     .
[4a479390][engine/datadir]:     /home/aleksey/.teeworlds
[4a479390][engine/datadir]:     data
[4a479390][engine/datadir]: saving files to: /home/aleksey/.teeworlds
[4a479390][console]: failed to open 'autoexec.cfg'
[4a479390][console]: failed to open 'settings.cfg'
[4a479390][engine/mastersrv]: refreshing master server addresses
[4a479391][client/sound]: sound init successful
[4a479391][font]: gfx memory used for font textures: 3058288
[4a479391][game]: load skin redstripe
[4a479391][game]: load skin coala
[4a479391][game]: load skin pinky
[4a479391][game]: load skin bluestripe
[4a479391][game]: load skin limekitty
[4a479391][game]: load skin brownbear
[4a479391][game]: load skin toptri
[4a479391][game]: load skin bluekitty
[4a479391][game]: load skin twinbop
[4a479391][game]: load skin saddo
[4a479391][game]: load skin twintri
[4a479391][game]: load skin x_ninja
[4a479391][game]: load skin default
[4a479391][game]: load skin redbopp
[4a479391][game]: load skin cammostripes
[4a479391][game]: load skin cammo
[4a479391][game]: load skin warpaint
[4a479392][]: 1626.846924.2ms
[4a479392][client]: version 0.5 b67d1f1a1eea234e
[4a479392][engine/mastersrv]: saving addresses
[4a479393][client/version]: version does match (0.5.1)

Using http://teeworlds.com/files/teeworlds-0. … _64.tar.gz binary.
System: Debian Lenny 5.0.1, nvidia drivers installed, glxgears works fine with 7000+ fps (not fullscreen).

$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: GeForce 6600 GT/PCI/SSE2
    GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,

25

Re: Can't start teeworlds on debian sid.

Edit the config in ~/.teeworlds to set a screen mode your monitor supports smile

Languages shapes the way we think, or don't.