Dedicated Server for Linux

Discussion in 'Multiplayer Meeting Room' started by Nils Schasse, Mar 23, 2017.

  1. Nils Schasse

    Nils Schasse Ensign

    Joined:
    Dec 29, 2015
    Messages:
    23
    Likes Received:
    6
    Whats the status on the "comming soon" headless Linux Dedicated Server? Comming soon was 2015(?).

    Did this ambition die?
     
    #1
    Merkurs and ArthurDent like this.
  2. piddlefoot

    piddlefoot Rear Admiral

    Joined:
    Mar 4, 2015
    Messages:
    4,824
    Likes Received:
    3,825
    No it didn't die, they have just been really busy doing a lot of other core features champ.

    So they do still plan to do a Linux version for servers, they haven't updated us on when to expect that, at this stage my guess, unfortunately for you would be next year, they still have quite a lot of core features to put into the game, they are progressing really well though and a lot more features are now on the done and to do list than what hey had in 2015.

    So in the long run, the more of the core of the game they get in and done and swapped out from placeholder to there final models etc, the easier it will be for them to control bugs on any other platform.
    Because they have taken a step back and broadened there scope of the entire game, it will end up with more features than a lot of triple A games, and given time will function like one also even though it plays pretty good now considering how much isn't optimized yet.

    It will be worth the wait I believe, it gives them more time to focus on getting the code for ported Operating Systems a lot better with less bugs from the start.

    Try to look on the bright side of it champ.
     
    #2
    SilvRav likes this.
  3. Nils Schasse

    Nils Schasse Ensign

    Joined:
    Dec 29, 2015
    Messages:
    23
    Likes Received:
    6
    It's a pitty we need still some more years (internally fearing that nothing will ever come out) for a relativly low demand for a headless linux server.

    Don't get me wrong, I love empyrion and I dont regret any cent I paid for this early access, but I really would love this feature to be seen this year.
     
    #3
  4. Dracknar

    Dracknar Ensign

    Joined:
    Jan 12, 2016
    Messages:
    4
    Likes Received:
    0
    I too would love to see the linux version.
    I just finished setting up my ubuntu server, getting other game servers up and running, ready to roll.. I left Empyrion to the last, assuming it would be fine.
    Now left wondering what options I have... (I'm new to linux).

    A colleague had tole me about WINE? but I am not sure what I'd have to do to get that working (sounds a bit more complex for a linux newbie like me).
     
    #4
  5. Midas

    Midas Ensign

    Joined:
    Jun 7, 2017
    Messages:
    29
    Likes Received:
    17
    Wine is easier than you would think, it is really quite streamlined these days. Havent tried it with server hosting though, right now i have no plans of doing it, but one day soon I might. :)
     
    #5
  6. Nils Schasse

    Nils Schasse Ensign

    Joined:
    Dec 29, 2015
    Messages:
    23
    Likes Received:
    6
    Servers are unsually headless... using WINE (even IF it works and the capitals are by choice!) requires X (for non-linuxers something like windows-desktop). Servers do not have X. So you would need to install X or VNC (something like X emulation for those who need some explanation).

    What Server owners like us need is a "headless" Server (again: this is a command line only server).
     
    #6
  7. Polnoch

    Polnoch Lieutenant

    Joined:
    Sep 26, 2017
    Messages:
    97
    Likes Received:
    43
    It's possible to use fake X(for example, Xvfb) with the wine. I never tryed to run EmperionGalacticSurvival client or server under wine, but I always run Emperion Galactic Survival in the Windows Virtual Machine with the pci passhrough second video card from the host system. It's solved my problems to play in this game.

    But get a Linux server a good idea for a lot of people, I think. I have my own hardware server with a several of VMs. And I want to setup new VM for the EmperionGalacticSurvival. But I don't want to pay MS additional license for new VM. So, when EmperionGalacticSurvival server will avaible under Linux, then l setup new one hardcore PvP server, I think :)
     
    #7
  8. Toei Rei

    Toei Rei Ensign

    Joined:
    Oct 27, 2017
    Messages:
    10
    Likes Received:
    1
    Wish there was. I mean, it got promised back in 2014...

    Update 1:
    So far I will give steamcmd a try and it is currently downloaded something. Maybe I can convince my debian box to do something with it. Maybe there's something worth hacking on behind that AppID.

    Update 2:
    As this is some windows stuff, let's use wine:
    Code:
    dpkg --add-architecture i386 && apt-get update && apt-get install wine32 wine
    
    Looking at the startup scripts, the only one that's interesting is EmpyrionDedicated_NoGraphics.cmd which we'll get the startup from.

    Update 3:
    Too bad, it's a DOT NET binary - so it won't run standalone in wine. But hey, we have mono! So let's give it a shot:

    Code:
    apt-get install mono-vbnc
    
    Update 4:
    Okay, that one didn't went as well as expected:

    Code:
    [email protected]:~/servers/empyrion$ mono EmpyrionLauncher.exe -startDedi
    
    Unhandled Exception:
    System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
    Parameter name: Display
      at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
       --- End of inner exception stack trace ---
      at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at EmpyrionLauncher.Program.Main () [0x00000] in <d3dc0aac6d5a407b863c192ccb3f9a6d>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
    Parameter name: Display
      at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
       --- End of inner exception stack trace ---
      at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
      at EmpyrionLauncher.Program.Main () [0x00000] in <d3dc0aac6d5a407b863c192ccb3f9a6d>:0
    
    Trying to throw Xorg at the package as this server thingy seems to require it...

    Update 5:
    Looks like mono alone won't cut it - so I'll start some other experiments. But on the other hand, it's not a big deal to get the windows binary to run on linux/mono keeping in mind that the path stuff is a bit different. (developers' point of view. Yes, I code.)

    Trying to continue with wine now.

    Update 6:
    Trying to use wine using the .net engine. This is a bit overkill, but worth it for as I do not accept defeat. Not. By. A. Simple. Binary.

    Update 7:
    Heureka.
    But to be honest, it's not worth the effort as there's such a performance overhead by using a vm in a wine environment (.NET via wine) in a virtual machine.

    Update 8:
    Stability is also not that great. Forget about it.
     
    #8
    Last edited: Oct 27, 2017
    Spirit_OK likes this.
  9. SylenThunder

    SylenThunder Captain

    Joined:
    Jul 30, 2016
    Messages:
    449
    Likes Received:
    278
    The idea is to run it without wasting resources via an emulator. Sadly it looks like we're going to have to wait until they decide to make one. There was another thread more recently on this.
     
    #9
  10. jamesct

    jamesct Ensign

    Joined:
    Oct 29, 2017
    Messages:
    1
    Likes Received:
    0
    Think I'm going to wait to buy until the Linux support is at least in beta. Wine for a dedi is a pain and playing on official servers usually means you spend the entire time running from other players already at level 100 :/ Looks like a fun game though, at least in theory.
     
    #10
  11. Toei Rei

    Toei Rei Ensign

    Joined:
    Oct 27, 2017
    Messages:
    10
    Likes Received:
    1
    I completely agree with you SylenThunder - but I just couldn't take defeated by a stupid binary ;)
     
    #11
  12. Jᴧgᴧ

    Jᴧgᴧ Rear Admiral

    Joined:
    Sep 6, 2017
    Messages:
    1,115
    Likes Received:
    2,112
    1. There's no such thing as level 100. Level only determines what stuff you can craft.
    2. #1 is irrelevant, since almost all servers have PvE starter planets, where you can begin and level up in peace before setting out.
    Low-pop servers can be rented cheap, if you can't dedicate a PC to run it. And yes - it is a terribly fun game.
     
    #12
  13. zztong

    zztong Rear Admiral

    Joined:
    Apr 12, 2016
    Messages:
    1,470
    Likes Received:
    1,582
    Sorry for nitpicking, but "headless" usually means no monitor, keyboard, and mouse so that you have to remotely administer the computer. Nevertheless, a command line (GUI-less) interface can save some (potentially significant) RAM and CPU.
     
    #13
  14. Nils Schasse

    Nils Schasse Ensign

    Joined:
    Dec 29, 2015
    Messages:
    23
    Likes Received:
    6
    Still nothing from the DEVs on this?
     
    #14
  15. piddlefoot

    piddlefoot Rear Admiral

    Joined:
    Mar 4, 2015
    Messages:
    4,824
    Likes Received:
    3,825
    The devs mentioned in a post not long ago, that they were converting stuff in Unity FROM Linux to Windows, now this is where I take a guess and say, maybe there working on a Linux version already afterall.

    Fingers crossed !
     
    #15
  16. Nils Schasse

    Nils Schasse Ensign

    Joined:
    Dec 29, 2015
    Messages:
    23
    Likes Received:
    6
    3 months later... any news?
     
    #16
    Polnoch likes this.
  17. Polnoch

    Polnoch Lieutenant

    Joined:
    Sep 26, 2017
    Messages:
    97
    Likes Received:
    43
    yes, please tell us any updates
     
    #17
  18. Izzin

    Izzin Lieutenant

    Joined:
    Feb 26, 2017
    Messages:
    57
    Likes Received:
    68
    I would hope this would evolve sooner than later, with the larger planet sizes for 8.0 having resources back by not having to manage a GUI within Windows certainly has its appeal.

    --Izz
     
    #18
  19. Sarimoko

    Sarimoko Ensign

    Joined:
    Mar 16, 2018
    Messages:
    2
    Likes Received:
    0
    I would also love to see this for Ubuntu. I know with Rust the steamcmd uses wine for the download but sh instead of bat to launch the actually C based server directly.

    I also prefer Linux over Windows due to SWAP memory with SSD is way fast and takes load off ram and paired with preload (an advanced cacheing system) I've gotten away running game and git servers on web-servers with 1/2 the min requirements using swap and preload. I feel like this game has most of its db in large yalm/sqlite files which for static db info is perfect for cache'ing.

    There a team that supports a lot of games for linux called LinusGSM. Thats what I use for installing Rust on Ubuntu but they dont yet support empyrion. Maybe the two teams could meet in the middle?
     
    #19
  20. Nils Schasse

    Nils Schasse Ensign

    Joined:
    Dec 29, 2015
    Messages:
    23
    Likes Received:
    6
    And another four month with no progress on the topic.

    And yes, I use LGSM a lot. Support for this project would be lovely.
     
    #20

Share This Page