GithubHelp home page GithubHelp logo

Comments (10)

MarkL4YG avatar MarkL4YG commented on September 26, 2024 2

Hey there,
I ran into the same issue. I worked around this by using the WSL2 Ubuntu 18.04 machine on Windows. After the image was built, it can be pushed to a registry and then used by the actual host server.
(The image is currently available as markl4yg/se-docker:base)

from space-engineers-dedicated-ubuntu-docker-server.

MarkL4YG avatar MarkL4YG commented on September 26, 2024 2

@Lazalatin You're welcome 🙂 Thanks for your work compiling this in the first place 😸

Sounds great! 👍

from space-engineers-dedicated-ubuntu-docker-server.

MrDj200 avatar MrDj200 commented on September 26, 2024

I've got the same issue.
Seems to be somehow resolved in #10, but no concrete solution was ever given...

My exact error is:

Executing cd /
Using native,builtin override for following DLLs: atl120 msvcp120 msvcr120 vcomp120
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing wine64 regedit /S C:\windows\Temp\override-dll.reg
Executing cd /root/.cache/winetricks/vcrun2013
Executing wine vcredist_x86.exe /q
0055:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0055:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0054:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
------------------------------------------------------
Note: command wine vcredist_x86.exe /q returned status 120. Aborting.
------------------------------------------------------
ERROR: Service 'space' failed to build: The command '/bin/sh -c dpkg --add-architecture i386 &&     wget -nc https://dl.winehq.org/wine-builds/winehq.key &&     apt-key add winehq.key && rm winehq.key &&     add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/ &&     add-apt-repository ppa:cybermax-dexter/sdl2-backport &&     apt-get -q update &&     apt-get --no-install-recommends --no-install-suggests -y install         winehq-devel wine-devel wine-devel-i386 wine-devel-amd64         &&     rm -rf /root/.wine &&     env WINEDLLOVERRIDES="mscoree,mshtml=" wineboot --init &&     xvfb-run winetricks --unattended vcrun2013 vcrun2017 &&     wineboot --init &&     winetricks --unattended dotnet472 corefonts dxvk &&     apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/' returned a non-zero code: 1

Docker version: 19.03.6, build 369ce74a3c
Docker Compose Version: 1.25.4, build 8d51620a

from space-engineers-dedicated-ubuntu-docker-server.

barskern avatar barskern commented on September 26, 2024

Same error her aswell:

Executing wine vcredist_x86.exe /q
0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0054:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0053:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0053:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
------------------------------------------------------
Note: command wine vcredist_x86.exe /q returned status 120. Aborting.
------------------------------------------------------
ERROR: Service 'space' failed to build: The command '/bin/sh -c dpkg --add-architecture i386 &&     wget -nc https://dl.winehq.org/wine-builds/winehq.key &&     apt-key add winehq.key && rm winehq.key &&     add-apt-repository https://dl.winehq.org/wine-builds/ubuntu/ &&     add-apt-repository ppa:cybermax-dexter/sdl2-backport &&     apt-get -q update &&     apt-get --no-install-recommends --no-install-suggests -y install         winehq-devel wine-devel wine-devel-i386 wine-devel-amd64         &&     rm -rf /root/.wine &&     env WINEDLLOVERRIDES="mscoree,mshtml=" wineboot --init &&     xvfb-run winetricks --unattended vcrun2013 vcrun2017 &&     wineboot --init &&     winetricks --unattended dotnet472 corefonts dxvk &&     apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/' returned a non-zero code: 1

Docker Compose: docker-compose version 1.25.4, build unknown
Docker: Docker version 19.03.8-ce, build afacb8b7f0

from space-engineers-dedicated-ubuntu-docker-server.

wandt0n avatar wandt0n commented on September 26, 2024

@MarkL4YG's solution does not work for me, but I am new to docker so this could totally be my fault. The following steps terminate with the SteamAPI trying to install SE but failing with "Invalid Platform".

  1. I pulled markl4yg/se-docker:base on ubuntu 20.04 LTS (sudo docker pull ...)
  2. cloned this repo to some user folder (git clone ...)
  3. changed value "image" in docker-compose.yml to "markl4yg/se-docker:base" (probably of no use, since this image is already built? Thought I'd do it anyway)
  4. copyied the World-Save from Windows to the correct path within my server
  5. started the container with sudo docker run markl4yg/se-docker:base

I'll go with nitrado for now, but will try to create my own image and troubleshoot eventually

from space-engineers-dedicated-ubuntu-docker-server.

MarkL4YG avatar MarkL4YG commented on September 26, 2024

started the container with sudo docker run markl4yg/se-docker:base

Using the native docker run will run the container without any of your configuration in the docker-compose.yml.
You will have to use docker-compose up in the directory of the YAML-file to run SE with that configuration.
To make it a little easier, here's a sanitized version of my configuration so you can compare the two: https://gist.github.com/MarkL4YG/7ae672573e867f8e94a17292b099c9fa

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on September 26, 2024

Hi,
Thanks @MarkL4YG for providing a solution using another build setup for this issue! ❤️
As stated in #18 I will try to fix some of the issues that have been risen. This one here is on the list as well. I will inform this thread as soon as I come to a working solution 👍🏻

from space-engineers-dedicated-ubuntu-docker-server.

miathedev avatar miathedev commented on September 26, 2024
2020-10-14 16:21:58 (39.7 MB/s) - 'vcredist_x86.exe' saved [6510544/6510544]

Executing cd /
Using native,builtin override for following DLLs: atl120 msvcp120 msvcr120 vcomp120
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing wine64 regedit /S C:\windows\Temp\override-dll.reg
Executing cd /root/.cache/winetricks/vcrun2013
Executing wine vcredist_x86.exe /q
0180:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0180:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0184:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0184:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
------------------------------------------------------
warning: Note: command wine vcredist_x86.exe /q returned status 120. Aborting.

I got the same problem while building under Unix

docker-compose build

from space-engineers-dedicated-ubuntu-docker-server.

rcdailey avatar rcdailey commented on September 26, 2024

Why doesn't someone push the container image to Docker Hub so folks don't have to build it from scratch? That would be the best way to get around this issue. I'm still hitting this today and the Windows workaround should be unnecessary. What workaround do we have for getting this to build on Linux?

from space-engineers-dedicated-ubuntu-docker-server.

Lazalatin avatar Lazalatin commented on September 26, 2024

As of now this build is not what I wanted it to be, there are too many pitfalls and the performance is still poor.
As I gave up on doing this myself and stumbled over better solutions, this repository is going to be archived.
You may continue by forking this project or by going with one of the following projects:

from space-engineers-dedicated-ubuntu-docker-server.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.