• Journey's End on PC - Find info here and here. Please report bugs and issues for PC 1.4 and 1.4.1 to Re-Logic here.
  • Journey's End on Mobile - Find info here. Report bugs for Mobile 1.4 to DR Studios at this link and give as much detail as possible.
  • 1.4 will bring many changes to the PC version. We strongly advise making plans to back up your worlds and players prior to updating your game. More details here.
  • Console and Switch - The latest news can be found here. To report a bug, please use this link.

Linux [Released] Play on Linux: docker-wine-steam

webanck

Terrarian
Hello folks, I am new on the forums but not on Terraria!

I recently developped a tool for you to play Terraria (and other windows games) on Linux the easy way using Docker to contain a wine installation of steam and Terraria.
If you are interested, please give it a go, the sources and procedure are on my GitHub repository: docker-wine-steam.
Let me know what you think!
 

juicetin

Terrarian
Hi webanck,

Thanks for making this tool available. Unfortunately I got the following terminal output when I tried running Terraria after installing it:

Code:
[0714/064552:ERROR:network_change_notifier_win.cc(173)] WSALookupServiceBegin failed with: 8
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
IPC client is in my process, could/should be using an in-process pipe.[0714/064602:ERROR:renderer_main.cc(212)] Running without renderer sandbox
IPC client is in my process, could/should be using an in-process pipe.Setting breakpad minidump AppID = 105600
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198020330290 [API loaded no]
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
[0714/064703:ERROR:renderer_main.cc(212)] Running without renderer sandbox
[0714/064703:WARNING:cache_util.cc(86)] Unable to delete cache folder.

The actual graphical error message I got was:
Code:
No suitable graphics card found.

Could not find a Direct3D device that supports the XNA Framework Reach profile.

Verify that a suitable grahpics device is installed.

Make sure the desktop is not locked, and that no other application is running in full screen mode.

Avoid running under Remote Desktop or as a Windows service.

Check the display properties to make sure hardware acceleration is set to Full.

Would you have any clues on how to fix this? Cheers.
 

webanck

Terrarian
Hello juicetin!
First, thanks for trying my tool :)
Now, looking at your error, I need to know your hardware configuration please.
Do you have multiple GPUs or a chipset onboard?
Finally, it would be awesome if we could continue on the GitHub repository using the issue system for all future user who may encounter the same problem:
https://github.com/webanck/docker-wine-steam/issues
 

Spotopolis

Terrarian
I have an UNRAID server that has the abilities to run Docker templates. Right now I am running a Windows 7 VirtualMachine inside my UNRAID server just to run a dedicated Terraria Server. Its a bit heavy on the resources. I figured a Docker would be less so. The only issue I have is that I cant run a git command. So I cant just add "
https://github.com/webanck/docker-wine-steam.git" to the Template Repos list. It doesnt show up in my Templates after adding it. Is there a way for me to do this that you know of? I would like to give this a try.
 

juicetin

Terrarian
Thanks for the reply! I have opened an issue on github with more information:

VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Sony Corporation Device 90b6
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f6400000 (64-bit, non-prefetchable) [size=4M]

Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

and the link, for anyone who may come across this:
https://github.com/webanck/docker-wine-steam/issues/2
 

webanck

Terrarian
@juicetin Thanks, I will continue on the GitHub issue now.

@Spotopolis Interesting, I didn't know about unRaid and Docker templates before your message, so I can't really help as a specialist but you doesn't have to use git to acquire the files, you can download it on the repository as a zip archive:
https://github.com/webanck/docker-wine-steam/archive/master.zip
And about hosting a dedicated Terraria server on Linux, you might be more interested by the Tshock server (which I use to host a private server since Terraria 1.1 and has been quickly updated for the last 1.3.x versions) :
https://tshock.co/xf/index.php
Let me know if it revealed useful ;)
 

Spotopolis

Terrarian
I posted the same question on the UNRAID forums as well and it looks like its not possible at this time because of the way its implemented (inability to run 32bit applications at this time). So I may go another route.

Im looking into TShock right now, but it looks like it will take some work trying to take my existing vanilla servers and moving them to TShock setups. On top of that, TShock is not wanting to play nice with my W7 VirtualMachine. So I ended up building a new VM from scratch last night to try and get them to play nice togeather.

I only have 6GB of memory on my server so taking 2GB and dedicating it to just running a Terraria server is not ideal. The server as a whole is used as a NAS/Plex Media Server, so Id like to leave as much CPU and RAM working for PLEX. Thats why I was hoping I could find a way to get a Docker version of the Terraria Server running with maybe a WebGUI to use less resources than having to run a whole VM OS.

Ongoing project I guess.
 

webanck

Terrarian
@Spotopolis: yeah, I wish you good luck but fortunately the Mac/Linux version is coming soon and even already available as a beta stage, I am happy that my tool is becoming pointless for Terraria . A dedicated version is always better and easier to use. And my tool can still be used with some other windows only games.
:)
 
Top Bottom