Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: DF dedicated distro?  (Read 3793 times)

Biopass

  • Bay Watcher
  • Human
    • View Profile
DF dedicated distro?
« on: May 26, 2011, 10:46:10 am »

I know there are a few linux threads kicking around, but has anyone ever tried optimizing a lightweight linux distro for DF? In leu of my hard drive dying, I'm loading Puppy Linux on an old thumb drive, installing WINE (because dwarf fortress running on booze gets a faster framerate than running natively linux), and being unproductive for the next few days. Puppy linux doesn't use much in the way of resources, so I'm hoping for good speed.

But. Has anyone actually messed with linux for optimal DF speed? If not, we need someone who can do this now, because Dwarf Linux (Dwarf Distro?) is just something the world needs.
Logged
500 fps vanilla 4x4 embark. intel master race.

freeformschooler

  • Bay Watcher
    • View Profile
Re: DF dedicated distro?
« Reply #1 on: May 26, 2011, 01:17:16 pm »

Only thing I know is to turn off weather and maybe even temperature, and change your display setting to possibly standard? (I think 2D might be the default for linux but i could be wrong)
Logged

Biopass

  • Bay Watcher
  • Human
    • View Profile
Re: DF dedicated distro?
« Reply #2 on: May 26, 2011, 05:03:03 pm »

Haha, no, not quite what I meant. I'm talking about a linux distro made solely for running DF.
Logged
500 fps vanilla 4x4 embark. intel master race.

Cyntrox

  • Bay Watcher
    • View Profile
Re: DF dedicated distro?
« Reply #3 on: May 26, 2011, 05:55:21 pm »

Well, you'd probably want a linux distro made for Wine since that's the only way you'll get DT working. Not that it's impossible to play without - hell, that's what I'm doing now on my Mac - but I figure most people would want it.
Logged
"[...] begin to seek immortality, the secrets of which they can receive directly from any available death god [...]" -Toady

_DivideByZero_

  • Bay Watcher
  • Not to be confused with infinity
    • View Profile
Re: DF dedicated distro?
« Reply #4 on: May 26, 2011, 06:25:28 pm »

That's incorrect. Dwarf Therapist and DFHack both run on linux with no problems. On the other hand, DF running on booze is about as unreliable as a dwarf. Always cashes and on my machine it runs slower than it does natively.
Logged
Have I now become your enemy by telling you the truth? (Gal 4:16)

Biopass

  • Bay Watcher
  • Human
    • View Profile
Re: DF dedicated distro?
« Reply #5 on: May 26, 2011, 08:21:42 pm »

Well. DF on booze in Ubuntu worked beautifully, I got better speeds than both windows and linux native versions. I'm in Puppy Linux now though, and although I have wine, it's giving me errors. I worked out a openGL error, but it won't read anything from the directory (won't read init.txt so it goes to default settings, then dies when it can't find the curses file even though it's there). I've played with permissions, I'm stuck.

As for a distro intended for booze, I've not had much luck finding one. Granted, most of my time has gone towards using my all-too-small technical knowledge to make the puppy work (sounds dwarfy).
Logged
500 fps vanilla 4x4 embark. intel master race.

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: DF dedicated distro?
« Reply #6 on: May 26, 2011, 10:24:59 pm »

I'm on Mint 10 (fairly Ubuntu-based), and although DF works fine on Wine, it seems to perform worse for me than the native version. It's rather late now, but I'll see if I can do some benchmarking at some point soon to make sure of that.
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: DF dedicated distro?
« Reply #7 on: April 24, 2014, 11:06:31 am »

Jawohl!! I've done this. Currently, I dislike running DF on Booze. I just run it straight on my Slacko Puppy and it works fine. By fiddling with boot manager and running it in "TEXT" mode with nox, I got a pretty reliable "DF dedicated" build. There are a few issues, however. For example, if Dwarf Fortress hangs or overloads the memory while you're running from the raw commandline, you're screwed. The game will crash and the computer will too most likely. If you run it inside of the X, you can always drop out of X with Ctrl+Alt+backspace making it more reliable to do so. Another thing is, with 5.5 you have to custom configure the sound drivers and libraries or play without.

rmblr

  • Bay Watcher
    • View Profile
Re: DF dedicated distro?
« Reply #8 on: April 29, 2014, 09:48:39 am »

A dedicated distro really isn't necessary except for novelty's sake.

Just run the Linux DF LNP installer on any modern distro and you're good to go. Running natively is definitely faster than through wine.

Dwarf Therapist, dfhack, soundsense, stonesense, and friends all work fine.
Logged

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: DF dedicated distro?
« Reply #9 on: April 29, 2014, 09:57:41 am »

Yeah, true. Still, it's a fun thing to do, and theoretically it'll get better FPS.

puke

  • Bay Watcher
    • View Profile
Re: DF dedicated distro?
« Reply #10 on: May 04, 2014, 06:03:15 pm »

Running natively is definitely faster than through wine.

Dwarf Therapist, dfhack, soundsense, stonesense, and friends all work fine.

Really?  How does that work?  Are those not memory hacking programs, and does not Linux fully sandbox the memory used by different applications?
Logged

catpaw

  • Bay Watcher
    • View Profile
Re: DF dedicated distro?
« Reply #11 on: May 05, 2014, 12:48:48 am »

Really?  How does that work?  Are those not memory hacking programs, and does not Linux fully sandbox the memory used by different applications?

Its no big difference to how the Windows NT ( a.k.a 7 and 8 ) kernel runs. Both sandbox applications, and in both another process given the appropriate rights can hijack the memory.

These mechanisms have been developed on both kernels originally for debugging purposes.
« Last Edit: May 05, 2014, 12:52:51 am by catpaw »
Logged

Maul_Junior

  • Bay Watcher
    • View Profile
Re: DF dedicated distro?
« Reply #12 on: May 05, 2014, 01:08:13 am »

Jawohl!! I've done this. Currently, I dislike running DF on Booze. I just run it straight on my Slacko Puppy and it works fine. By fiddling with boot manager and running it in "TEXT" mode with nox, I got a pretty reliable "DF dedicated" build. There are a few issues, however. For example, if Dwarf Fortress hangs or overloads the memory while you're running from the raw commandline, you're screwed. The game will crash and the computer will too most likely. If you run it inside of the X, you can always drop out of X with Ctrl+Alt+backspace making it more reliable to do so. Another thing is, with 5.5 you have to custom configure the sound drivers and libraries or play without.


As someone who knows nothing about Linux it's amusing to read all these names.

For example, here I pictured a drunk puppy that likes to lounge around the house.

D'awwww.......


And of course it must run on Booze! DF needs alcohol to get through the working processor (Disclaimer: See above)
Logged
Quote from: Meph
I didn't actually say this.

Quote from: smurfingtonthethird
there is nothing funnier than watching a goblin army get assaulted by hundreds of war chickens.

Any new discovery, sufficiently weaponize, is indistinguishable from !!FUN!!

Flarp

  • Bay Watcher
  • and tearing apart the self-esteem!
    • View Profile
Re: DF dedicated distro?
« Reply #13 on: May 23, 2014, 01:26:07 am »

A dedicated distro really isn't necessary except for novelty's sake.

This. And while this community would be nothing if it weren't for doing stupid crap for novelty's sake, I suspect any FPS boost you would get would be pretty infinitesimal compared to the effort involved.
Logged
He views any show of emotion as offensive, sees introspection as important, values self-control, and strongly believes that a peaceful and ordered society without dissent would be best. He believes that mastery of a skill is one of the highest pursuits, values nature, and finds romance distasteful. He holds well-laid plans and shrewd deceptions in the highest regard.

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: DF dedicated distro?
« Reply #14 on: May 23, 2014, 02:43:28 am »

A dedicated distro really isn't necessary except for novelty's sake.

This. And while this community would be nothing if it weren't for doing stupid crap for novelty's sake, I suspect any FPS boost you would get would be pretty infinitesimal compared to the effort involved.
You say that like it's a lot of work. My method takes roughly 30 minutes to set up. However, you're pretty much right. My personal benchmarking has shown an increase of maybe 2 FPS on average. With a few exceptions where for whatever reason I got like... a 15 FPS gain for a little while. * shrugs * Most notably though, using a DF-dedicated distro allowed me to escape from an FPS Blackhole whereas using Windows would not. ( Mind you, it still took about an hour. There were twenty lairs all right beside one another and for no apparent reason at all, they all started spawning pieces of leather everywhere. To this day I can't go to East Spicyparched. )
Pages: [1] 2