Whats required?
by Dreamer · in Torque Game Builder · 10/11/2006 (9:35 am) · 17 replies
Ok before we go about the business of fixing up TGB to actually work under Linux.
There was at one time an effort to do this.
Is anyone around who can clue me in on what has been done and what needs done to get it to compile and function, as well as what bugs there are/were?
Thanx in advance!
Regards,
Dreamer
There was at one time an effort to do this.
Is anyone around who can clue me in on what has been done and what needs done to get it to compile and function, as well as what bugs there are/were?
Thanx in advance!
Regards,
Dreamer
#2
10/11/2006 (9:57 am)
Compiling it wasn't so much of an issue for me. I took the 1.1.2 Windows version & did compile it under Linux. As was mentioned in the other thread, the New Project & Open Project in TGB is broken.
#3
10/11/2006 (9:59 am)
To add to this, I just remembered that the Packaging Utility was never working on the Linux version either.
#4
10/11/2006 (10:01 am)
Yeah the packaging doesn't work as expected. I just built a quick perl script to do that. Let me clean it up and post it if I can find time tonight.
#5
10/11/2006 (10:07 am)
Well, ideally, it should work the same in Linux & as it would for Windows/Mac.
#6
10/11/2006 (10:11 am)
Well I guess technically, but I automate this anyway for build and release managment, even on windows to follow a more core release methodology. I dont think packaging should be included in any version because for a polished app its only going to take you 80% of the way anyway(But thats just my bias)...
#7
I'll grab the latest windows version of TGB and do a source diff against the latest Linux TGB and see what I can come up with. That should patch the Linux TGB to the latest windows sources.
Anyone know if I'ld be allowed to post a diff in here?
10/11/2006 (10:49 am)
Ok so lets try this one step at a time then...I'll grab the latest windows version of TGB and do a source diff against the latest Linux TGB and see what I can come up with. That should patch the Linux TGB to the latest windows sources.
Anyone know if I'ld be allowed to post a diff in here?
#8
10/11/2006 (10:55 am)
Should be ok since the forum is only open to TGB owners. It might be big though...
#9
10/11/2006 (11:12 am)
Well I'm not too concerned with size, what I'm worried about is, does this forum allow us to post source i.e. is it open to non-source TGB owners?
#10
Release candidates could be created, branched, and testers could get their hands on test versions. The repository then becomes the defacto source instead of one persons branch. This would allow GG to support the restriction of logins and access to non anonymous, merging into the head could then be managed with minimal support from GG to support this endeavor thus making it a win / win for them and us.
10/11/2006 (11:35 am)
What is needed is a cvs project like they have for TGE in my opinion. Then one could diff at their own delight.Release candidates could be created, branched, and testers could get their hands on test versions. The repository then becomes the defacto source instead of one persons branch. This would allow GG to support the restriction of logins and access to non anonymous, merging into the head could then be managed with minimal support from GG to support this endeavor thus making it a win / win for them and us.
#11
10/11/2006 (7:59 pm)
Ask for a CVS or SVN repository. It will save a lot of headache trying to patch/diff and offer it to other source code users. It would be a great start for the Linux community with source code to begin supporting itself.
#12
10/12/2006 (12:53 pm)
Is there a CVS for TGB already? I can't seem to get the windows sources extracted under wine to even do a .diff
#13
I grabbed the 1.1.2 source from the OSX version and tried a version built from that (a bit suprisingly, the compile process was completely painless), and the results were better, but still pretty bad. The framerate was a bit quicker (roughly guessing it to be six-to-eight frames per second) both in the editor and in-game, but not smoothly so - it seemed to 'freeze up' for a split second every few moments. The other issues (the CPU-hogging and the broken dialogs) are the same as with 1.1.1.
10/12/2006 (3:18 pm)
The single biggest problem I noticed with the currently downloadable Linux version (1.1.1) was an amazingly slow speed: it literally was running at no more than a couple frames per second. Also, and no doubt related, the CPU % usage of the program was almost maxed out when I checked. This happened both with the precompiled binary in the archive, and in any version I built myself from the source. Before I'm asked, yes, I -do- have 3D hardware acceleration set up properly, and the console log from TGB shows it properly picking up the nvidia drivers. This same system is capable of running games (both native and via Cedega) just fine, and even TGE runs fine, so the problem appears to be specific to TGB. I grabbed the 1.1.2 source from the OSX version and tried a version built from that (a bit suprisingly, the compile process was completely painless), and the results were better, but still pretty bad. The framerate was a bit quicker (roughly guessing it to be six-to-eight frames per second) both in the editor and in-game, but not smoothly so - it seemed to 'freeze up' for a split second every few moments. The other issues (the CPU-hogging and the broken dialogs) are the same as with 1.1.1.
#14
Gary (-;
10/12/2006 (3:27 pm)
Has anyone actually broken open a profiler on their linux TGB build yet and tried to find out what's wrong?Gary (-;
#15
I'ld profile, but my framerate is in the high 70s considering my TGE framerate barely breaks 10, (this is a laptop), I'm willing to accept framerate as not an issue here.
10/12/2006 (3:33 pm)
Am I the only one NOT having a problem with the Linux build? At least for 1.1.1?I'ld profile, but my framerate is in the high 70s considering my TGE framerate barely breaks 10, (this is a laptop), I'm willing to accept framerate as not an issue here.
#16
Gary (-;
10/12/2006 (3:40 pm)
I just downloaded 1.1.1. It's linked against libstdc++ version six, which I don't have. Currently rebuilding.Gary (-;
#17
10/18/2006 (7:32 am)
Dreamer: what video hardware/driver are you using that's giving you that high framerate for TGB? I'm more than a little tempted to install mesa on my system and see if it works better with that! :)
Torque Owner Jerry Shaw
Roaming Gamer LLC
t2dlinux.net/pipermail/t2d-dev_t2dlinux.net
Regarding bugs:
With v1.1.1, the menus do not work 100%. Examples: Selecting New Project does nothing, trying to add resources does nothing. Someone had a fix but did not post it to the mailing list.