The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
February 11, 2025, 02:52:09 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Compiling TW-Light from git (and JACK)
« previous next »
Pages: [1] Print
Author Topic: Compiling TW-Light from git (and JACK)  (Read 1947 times)
daedalus
Zebranky food
*
Offline Offline

Posts: 11



View Profile
Compiling TW-Light from git (and JACK)
« on: December 19, 2012, 12:38:45 pm »

So, I am trying to compile and run TW-light from git repositories on Linux Mint 12 (based on Ubuntu Precise)
All goes well, I can run autogen.sh, I set allegro_CFLAGS and allegro_LIBS according to my allegro-config outputs, then I do make, make install...

When I run TW-light, I have the splash screen then the program quits.
I have the following in my terminal:
Code:
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started

Then I tried to make uninstall, make clean, remove the Allegro JACK plugin from synaptic package manager. Recompiling... and I get same behaviour when running the game, this time only with an "aborted" string on my terminal.

Is there a way to resolve this? I mean, to tell Allegro or TW-light to use something different than JACK? Really I have to set up JACK and a low-latency kernel to run TW-light?

Thank you!
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compiling TW-Light from git (and JACK)
« Reply #1 on: December 19, 2012, 01:23:41 pm »

I don't know whether any of the TW-Light developers attend this forum.
That said, it does seem that you can configure Allegro to use a different back-end, by editing a config file.
See http://alleg.sourceforge.net/stabledocs/en/readme.html#Configuration. Allegro itself does also appear to have a configuration program to create such a config file (at least on Windows).
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
daedalus
Zebranky food
*
Offline Offline

Posts: 11



View Profile
Re: Compiling TW-Light from git (and JACK)
« Reply #2 on: December 20, 2012, 12:51:23 pm »

Thank you,
I searched for a configuration file but I hadn't, so I took the one as example (in usr/share/docs/(something), renamed as /etc/allegrorc and started editing.
That file is considered, because if I use as display the Linux Console instead of XWindows, when I launch TW-light I have the message it's not possible to create a window (if I delete the config file I return with the JACK error).
So I put some values where I was sure of (didn't filled the entire config file) and at the part of sound I wrote ALSA.

Still, though, I have the JACK error message.
Any other ideas? In the meanwhile I'm going to have some tries with the allegro config file.
Logged
daedalus
Zebranky food
*
Offline Offline

Posts: 11



View Profile
Re: Compiling TW-Light from git (and JACK)
« Reply #3 on: December 21, 2012, 12:45:10 pm »

Here's some news:

tinkering with allegro config file (which I moved from /etc/allegrorc to ~/allegro.cfg, dunno if it means something), I left all blank apart:

system = XWIN (that was already default)

digi_card = ALSA
midi_card = AMID

(quite strange: if I don't set midi_card I have the JACK message, even if midi_card does not consider a JACK option!)

this way, I still have the message about JACK but game runs.

On a side note, I have a lot of slowdowns and some visual glitches , like an image to be splitted 2 or 4 times, but I'm confident it's about my old videocard (ATI RV515, abandoned by official fglrx drivers and not completely supported by open drivers). I deactivated all of the rendering options (antialiasing, interpolating, 3d planet...), and I don't have anymore glitches, just a slowdown when a ship enters in the battlefield or explodes.
Eventually I can do something better I'll let you know Smiley
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!