1 (edited by null7elf 2009-07-12 11:25:55)

Topic: [SOLVED] v0.5.0 starts up with black screen!

i am NOT able to play teeworlds!

the game starts up, does not show any errors, i can join a game, i can hear sounds, but i never see anything, the screen just stays black!

in my other thread i first thought the game did not start up, but my investigations (hours of trying to get it to work) showed that it is just the graphics that are not working, everything else seems to work as expected (as far as a blind one can tell).


things i did (which did NOT help)
> read FAQ, documentation and the forums...
> deleting settings.conf
> playing around with 'gfx_' settings (especially gfx_fullscreen and  gfx_clear)
> changing resolutions (of display and of game)
> different gpu drivers
> compiling teeworlds myself
> running debug release (self compiled)


facts that may help to help me
> i run gentoo (linux distribution) + gnome
> linux kernel 2.6.24
> latest open source x11-drm gpu drivers
> i have installed libsdl-1.2.13
> i am able to play quake3 smoothly (no high end resolution, but it's still fun)
> opengl is working (dri is active)
> another game (galcon) which heavily uses sdl is working without problems.


has anybody else experienced these problems?
is there anybody out there, who can help?

2

Re: [SOLVED] v0.5.0 starts up with black screen!

well, a bit frustrating to not even get attention...

either way, i am somehow interested to solve this problem, i just need a tip where to look at. i probably will have a look for myself, but it would just be easier if somebody with enough development experience in this game, could tell me which classes are responsable for showing graphics. and how one is able to spit out as much debug information as possible.

thanks in advance...

ps: i would also want to know, which platform this game is targeted for? (which OS do the devs use?) which IDE are they using?

3

Re: [SOLVED] v0.5.0 starts up with black screen!

I use xubuntu 8.04 x86_64, running geany as IDE. Others use windows, osx and other os:es.

The ec_gfx.c handles all the gfx rendering. Could be an OpenGL state that needs to be set or something like that. You never say what gfxchip you are running.

4

Re: [SOLVED] v0.5.0 starts up with black screen!

Try to disable Compiz if you're using it.
Teeworlds 0.5 won't run on Compiz.

5

Re: [SOLVED] v0.5.0 starts up with black screen!

@matricks:
i have a "ATI Technologies Inc Radeon Mobility M6 LY" card, only useable with the open source driver "radeon" (fglrx is not working). to my knowledge this is the first radeon mobility ever -- it makes use of 16 million amazing bytes of ram! ;-)

@tacone: i am not using compiz or any other composite manager.

i will play around a bit with the 'ec_gfx.c' to put out more debug stuff... thanks so far!

6

Re: [SOLVED] v0.5.0 starts up with black screen!

Sorry for the obvious question but.. did 0.4.3 work on your system ?

7

Re: [SOLVED] v0.5.0 starts up with black screen!

yes, i was able to play 0.4.3 -- it just wasn't as pleasing (performance) as i expected it to be, so i wanted to try the new sdl version... and here i am!

maybe i should try to replace the external libraries (wavpack, png and zlib) with system ones, like it was done before (in ebuilds for the 0.4.* releases)... is it worth a try?

PS: i also tried the trunk (rev 1859) today...

8

Re: [SOLVED] v0.5.0 starts up with black screen!

I had that problem too. 4.3 works perfectly,yet 5.0 is just a black screen

mmMmmmMMmmmmmmmm...........tasty tee burger ^^
BLAM...BLAM....BLAM!!!! ----- you have been teestroyed
Classic Tee Burger  since 08' and 4.3

9

Re: [SOLVED] v0.5.0 starts up with black screen!

I just got the tw to start with a black screen as well. Dunno why but if I switched between tw and another windows, after a while I got the loading to appear, and after a few more clicks, the server browser. Can't say what it was because it disappeared as fast as it appeared. But from the looks of it, it looked like it was locked down in the opengl driver.

10 (edited by mikki43306 2009-02-08 16:28:08)

Re: [SOLVED] v0.5.0 starts up with black screen!

Hi, i have a looks like bug.
Then I start teeworlds in my amd64 Gentoo the screen just stays.
I tryed run game 0.5.1 from bin and compiling from ebuild.
I tryed run in box and fullscreen.(with change gfx settings).
I have game - tuxracer(3D) - this game fly on my laptop.
Plz help me.
--------
Sorry, my english is'nt cool.)
http://pic.ipicture.ru/uploads/090208/thumbs/d12FdyherV.png
--------
v 4.3 works on my system too.
--------
And if I first run 4.3 and after that run 5.1 i see this:
http://pic.ipicture.ru/uploads/090208/thumbs/8UU1LVvDXy.png

11

Re: [SOLVED] v0.5.0 starts up with black screen!

That is very strange. Try to compile it from source yourself. I haven't heard of any good ebuilds for 0.5.1 yet.

Used to be very active waay back

12

Re: [SOLVED] v0.5.0 starts up with black screen!

Having the same problem (black screen) For the time being I will just have to play 4.3. Hope it gets solved smile

13

Re: [SOLVED] v0.5.0 starts up with black screen!

Hallo!
Now, teeworlds 0.5.1-r2 work on my gentoo.
My /etc/portage/package.keywords:

games-puzzle/world-of-goo-demo
 =x11-drivers/xf86-video-ati-6.11.0
 =media-libs/mesa-7.3
  =x11-libs/libdrm-2.4.5
  =x11-proto/dri2proto-1.99.3
  =x11-proto/xf86driproto-2.0.4

$ emerge -avuD world
and rebuilding xorg-server (emerge -a1 xorg-server) to link against mesa's new API.
I take info from
http://2dboy.com/forum/index.php?topic=1534.0

14

Re: [SOLVED] v0.5.0 starts up with black screen!

Don't know, runing gentoo i686 and fglrx... maybe sudo eselect opengl set... but don't think problem in it. try check sdl use flags too.
Have no idea =/

Icq 356259771
JID:wixur@jabber.ru

15 (edited by null7elf 2009-07-12 11:25:03)

Re: [SOLVED] v0.5.0 starts up with black screen!

thanks to information by mikki43306 (via), i was able to track down the problem and start teeworlds successfully!

there are still problems, but this special problem is gone! thanks for any help...