Cap Naes
Registered:1475092720 Posts: 60
Posted 1736217489
Reply with quote
#1
I've seen a few references to people able to get Cosmos running on Linux using WINE, and I'm just looking for a bit more information before trying to make that plunge myself. I have not yet used cosmos, and I've not used linux for several years, but with old computer hardware piling up and microsoft getting more controlling about what they allow you to install windows on, I'm looking for ideas to continue repurposing old hardware for a new bridge setup- I was previously running windows-XP machines on my old bridge with a lot of success (they are never connected to the internet of course, or anything but a dedicated offline artemis router). Before I dive in, just wondering if anyone has feedback on what worked best for them to get this working and any other dependencies needed to get cosmos working on a linux machine. Cheers.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1736224941
Reply with quote
#2
Quote:
Originally Posted by Cap Naes Before I dive in, just wondering if anyone has feedback on what worked best for them to get this working and any other dependencies needed to get cosmos working on a linux machine.
Hi Cap Naes! My https://noseynick.net/artemis/nebula/ automates the process of running an Artemis (2.x or Cosmos up to 1.0.1) server on WINE (recent Wine64 9.0 - Cosmos is 64-bit) on Linux (up-to-date Ubuntu 24.04 LTS) on AWS cloud. Artemis (or Cosmos) in the Cloud, Nebula, get it? AWS doesn't provide real gfx cards unless you want to pay quite a lot more for them, but Linux/WINE's D3DX software emulation does fine if you give it enough CPUs - 8vCPU instances like AWS's c6a.2xlarge or c5.2xlarge seem to be plenty (and much cheaper than instances with real gfx cards), with Cosmos/WINE using about 5 to 7 cores depending on how much is going on. lf you have a real gfx card on real hardware, recognised by WINE, you might be fine with less CPU. Nebula installs https://aka.ms/vs/17/release/vc_redist.x64.exe first, via wine vc_redist.x64.exe /passive it runs winetricks arch=64 win7 sound=pulse d3dx9 d3dcompiler_47 ... but it occurs to me "win7" is probably not clever in a world where win10 is about to become obsolete. I'll test with win11 ASAP. ... and "sound=pulse" may not help you. It helps ME cos pulse lets me send audio into a blackhole - nobody is going to be listening to Cosmos's cool music somewhere in an AWS datacentre. "winetricks arch=64 d3dx9 d3dcompiler_47" definitely all make sense for the right d3d libraries though "wine Artemis3-x64-release.exe" then runs fine. Only issue I've noticed is no textures on the planets (no clouds or land, presumably some missing bit of d3d emulation) but everything else looks and works great. I also run a very similar setup on Linux laptops and play fine among Win10 / Win11 users on the same network. Take a look at the Nebula URL above, especialyl if you understand Linux scripting, or feel free to ask here (or by email) if you have any other Qs Cheers NoseyNick
LawsonThompson
Registered:1375038367 Posts: 827
Posted 1736284220
Reply with quote
#3
Quote:
Originally Posted by Cap Naes I'm looking for ideas to continue repurposing old hardware for a new bridge setup- I was previously running windows-XP machines on my old bridge with a lot of success (they are never connected to the internet of course, or anything but a dedicated offline artemis router).
Artemis 2.x requires DirectX 9. That was released in 2002 and supported Windows 98 thru Windows XP. Cosmos requires DirectX 11, which released with Windows 7 in 2009 . If your machines are solidly in the Windows XP realm, you might be in for some very poor performance, if it'll run at all. If they're old enough to drive , there's a small chance it'll work! If they're old enough to sign a mortgage , you may want to hit your local thrift store for some Windows 7 gear!All that said... I'm going to try out a Linux distro on a few pieces of 5th-gen Intel gear I have kicking around from the Windows 7 era and see what Cosmos does.
__________________ ----https://LTEBridge.com
Cap Naes
Registered:1475092720 Posts: 60
Posted 1736299609
Reply with quote
#4
That's encouraging news, thanks! Admittedly I am not very experienced with Linux, but I'm a relatively fast learner and I have used it's console's before. I might still find myself in a pickle setting it up, but nice to know it's possible and there's someone to ask. Maybe I'll start trying out your nebula. And yes Lawson, I'm not realistically expecting the old XP machines to run cosmos. I believe I do have some old Win 7 ones that will have better luck. But it was nice to have something for the old ones to do while it lasted. And I could emulate more than one Win xp instance in VM's for artemis previously too, although properly assigning all the peripherals was hardly worth the effort. Happy to hear how the tests go for you guys.
LawsonThompson
Registered:1375038367 Posts: 827
Posted 1736480307
· Edited
Reply with quote
#5
So, I tried out Lubuntu 24 desktop minimal install on a very low-powered "barely sufficient" system: Dell Inspiron 3521: this machine shipped with Windows 8 in December 2013 . 12 years old! Intel Celeron 1017U @ 1.60Ghz Intel HD 3rd gen graphics... if you want to call it graphics! 12GB RAM SATA SSD 120GB 15.6" display native 1366x768 (ugly) After startup, Lubuntu was using less than 1GB RAM. I tried many variations of Wine and PlayOnLinux with little success. FINALLY, I found Lutris , and got it working. My proposed recipe: I think this is what you need starting from the Ubuntu desktop install: sudo apt install wine sudo apt install wine64 sudo apt install lutris Then launch Lutris, install Artemis Cosmos and configure it as follows:Game options: For the main executable, I had to manually select the main Artemis3-x64-release.exe because the Lutris configuration steps couldn't quite figure out how to create a shortcut to it.Runner options: defaults seem fine in Lutris, except on very old hardware where I made some discoveries as follows:Wine version: I had similar results with Wine 8.0 and Wine version 9.0: I think 8.0 might be more reliable with the exterior 3D views. Graphics Enable DXVK: If Cosmos crashes at launch, try toggle off . This affected a very old machine of mine, but was fine at default on an 8th gen i5. Enable AMD Fidelity FX (FSR): off if you don't have a strong GPU, though I suspect Lutris is smart enough maybe? Anti-cheat: there are a few, I toggled these off in hopes it would reduce CPU. Probably unnecessary. And with that, it works, mostly . The 3D external views (Mainscreen, Cinematic, Flight Hangar) do not always render on the first try; I sometimes have to switch to another console temporarily, then switch back. This seemed to happen more with Wine 9.0; version 8.0 (which Lutris seems to install itself?) didn't have as much trouble here. I think Cosmos on Linux on trailing-edge gear is certainly viable for clients , but you'll want something with a lot more GPU power for main screens.
__________________ ----https://LTEBridge.com
Cap Naes
Registered:1475092720 Posts: 60
Posted 1736588778
Reply with quote
#6
Thanks, that’s great to know. I’m probably a ways away from setting up my own bridge again, but good to know there is a way to still use some of the slightly older hardware. I’ll refer back to your tips then too I imagine.
Blipside
Registered:1565499833 Posts: 9
Posted 1737869044
Reply with quote
#7
Thanks for sharing this. Hopefully I'll get some time to try this out. I have been using only Linux for 12 years now and hate the idea of having to install Window to play a game.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1737917716
Reply with quote
#8
No prob. If you have any issues, just ask