Black screen on Mint Linux 6.0

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
Black screen on Mint Linux 6.0themacmeister02/23/2009 - 20:54

I got the infamous black screen of death recently using Linux build 1.4. Here is the log - not very useful...

[t=0.00] Loading persistent data...
[t=0.00] Locale en_AU.UTF-8 matched to language en.
[t=0.00] Primary language: en
[t=0.00] Created 1024x768 (32 bpp) graphics surface.
[t=0.00] Created virtual viewport of size 800(+0)x600(+0)
[t=0.00] Using audio driver: alsa
[t=0.00] resized from 800x600 to 800x600
[t=0.00] loading game (version 1.40linux)...
[t=0.37] could not load image "res/images/flags/xx"
[t=1.05] Game paused...
[t=1.05] FileOpen("res/levels/MapWorldView/newmail.anim.binltl", 17, 0xb3424f54) failed!
[t=1.05] FileOpen("res/levels/MapWorldView/MapWorldView/rot_1rps.anim.binltl", 17, 0xb3424f54) failed!
[t=1.05] Game resumed after 0.424 seconds
[t=1.41] FileOpen("res/movie/2dboyLogo/2dboyLogo.movie.binltl", 17, 0xb34251ac) failed!
[t=4.26] loading game complete.
[t=4.26] FileOpen("res/levels/IslandUi/newmail.anim.binltl", 17, 0xbfb0c234) failed!
[t=4.26] FileOpen("res/movie/2dboyLogo/2dboyLogo.movie.binltl", 17, 0xbfb0c32c) failed!
[t=4.29] STATE TRANSITION: INIT --> WORLD (after 4 sec)
[t=4.29] Game paused...
[t=4.29] FileOpen("res/movie/2dboyLogo/2dboyLogo.movie.binltl", 17, 0xbfb0c2ec) failed!
[t=4.29] Game resumed after 0.000 seconds
[t=4.29] InhibitGnomeScreensaver destructor: killing child process 7131...



You will notice that I have the 2dBoy animation disabled at startup. Apart from that, a pristine install. I am surprised by the amount of other failures, but if they are like the 2dBoy logo, it shouldn't matter?!?!

I have also edited the prefs to run at 1024x768, and yet it appears to be scaling 800x600 to that size? This does not happen on Windows?


Last modified Tue, 02/24/2009 - 02:21 by themacmeister
Re: Black screen on Mint Linux 6.0Soultaker02/24/2009 - 06:47

This seems similar to this guy's problem. Are you also used the ATI drivers?

You can ignore the errors about files not being opened; those message are there to diagnose possible problems, but it is totally expected that the game attempts to open a couple of files that don't actually exist. Similarly, the resize message is correct; you should look at the earlier "Created WxH graphics surface" message to see what kind of window the game attempts to create. So in other words: your log file looks perfectly normal.

hmmthemacmeister02/24/2009 - 19:51

I believe this was a temporary aberration with the nvidia driver/OpenGL. After a restart, all has worked fine, and WoG has been fine. I am still interested in why it is using scaled 800x600 graphics, instead of true 1024x768 (this may be a bug-fix for linux only).

I am using Envy-nvidia-new drivers (not updated for a month or more). I had a similar problem running another game, and dgen from the repositories would not work. I replaced dgen with a copy I had from Crunch Bang! Linux, and it works perfectly.

This may be a problem with Ubuntu (and derivatives) 8.10.02 being rushed out, with little testing of included software.

I have also disabled Pulse-Audio, as I do not understand it, and have reverted to ALSA, which I do understand. This has worked fine for me so far, but I believe I will find a hardwired executable that was compiled without ALSA shortly (dgen could be an example).

Anyways, this is not an important problem to solve at the moment (although it is a complete lockup - which required a hard reset) as it has only happened once.

Re: hmmSoultaker02/24/2009 - 21:22

[quote author=themacmeister link=topic=1540.msg10270#msg10270 date=1235523112]
I am still interested in why it is using scaled 800x600 graphics, instead of true 1024x768 (this may be a bug-fix for linux only).
As I said, you should look at the earlier line, 800x600 is just the viewport size, but the game really renders to a 1024x768 surface.

[SOLVED] Black screen on Mint Linux 6.0themacmeister02/25/2009 - 18:12

Even a cursory glance at the loading text lets you know that it really is 800x600.

It appears that my problems were entirely OpenGL related, which is wierd, because normally the sound still works when OpenGL goes screwy. I have since rebuilt the nvidia kernel driver twice, and it now appears to be "sticking".

Re: [SOLVED] Black screen on Mint Linux 6.0Soultaker02/26/2009 - 20:07

[quote author=themacmeister link=topic=1540.msg10291#msg10291 date=1235603533]
Even a cursory glance at the loading text lets you know that it really is 800x600.
I'm a bit surprised that you don't believe me even though I implemented the Linux graphics code myself. I still say the game renders in higher resolutions (if you configure it to do so) although you may notice some pixelation as all rendering is done by stretching bitmaps which were designed to look good at 800x600 only (and text is rendered through bitmaps too). Personally, I think the game looks much nicer on higher resolutions.

At any rate, I'm glad to hear you were able to resolve the issue on your own. :) If you ever happen to figure out what was wrong and whether the game was at fault, I'd like to hear it.