Blackscreen on Gentoo linux x64

Moderator: Moderator

Post Reply
Message
Author
skoffer
Posts: 4
Joined: Wed Oct 24, 2012 8:02 am

Blackscreen on Gentoo linux x64

#1 Post by skoffer »

Hello everyone!
Last week I was trying to run ToME 4 [b42] with no success. First of all, I've tried to do everything as it was written in wiki and I got error identical to the one in http://forums.te4.org/viewtopic.php?f=44&t=34853. In the same manner game hung after error "Lua Error: /engine/Module.lua:391: attempt to index local 'bkgs' (a nil value)"

Then I've tried to install game from the source. In this case everything was even worser.

Code: Select all

[CPU] Detected 4 CPUs
OpenAL device available: OpenAL Soft (default OpenAL Soft)
Available video driver: x11
Available video driver: dummy
NO SELFEXE: bootstrapping from CWD
WARNING: No bootstrap code found, defaulting to working directory for engine code!
Creating particles thread 0
Creating particles thread 1
Creating particles thread 2
[DO RESIZE] 800x600 (0)
OpenGL max texture size: 16384
OpenGL max texture size: 16384
===fbo 1
Running lua loader code...
^CThanks for having fun!
After some investigation I was able to determine, that this sort of error somehow connected with PhysFS library. At least, when in main.c I change
-846: if (!luaL_loadfile(L, "/bootstrap/boot.lua"))
+846 if (!luaL_loadfile(L, "bootstrap/boot.lua"))

i can get rid of "WARNING: No bootstrap code found, defaulting to working directory for engine code!" (but game stops a little bit later). It looks like physfs is able to add search path in command "PHYSFS_mount("bootstrap", "/bootstrap", 1);", but for some reason can't mount it (or whatever it should do with it).

Well, can anyone help me? I think it should be something very simple, like wrong option in premake or may be one of the make files or even may be in linux kernel (wild guess :-) ).

leycec
Wayist
Posts: 20
Joined: Sun Feb 20, 2011 7:30 am

Re: Blackscreen on Gentoo linux x64

#2 Post by leycec »

Hi, skoffer. Thanks for cheerfully uncovering the issue in the other thread. I... I'm sorry. It's all my guilt-ridden fault! I've patched the b41 Gentoo ebuild on raiagent with the updated libpng dependency.

Incidentally, did you say you tried the b42 Gentoo ebuild? I should probably just brutally remove that ebuild. It's been hard-masked and really shouldn't be unmasked. If you wouldn't mind giving b41 a try next time you get around to an "emerge world," I'd be appreciative.

Glad to see growing interest from the Gentoo gaming community, in any case. :D

Post Reply