escapingnetwork / core-keeper-dedicated

Dockerfile for automated build of a Core Keeper Dedicated Server
https://hub.docker.com/r/escaping/core-keeper-dedicated
MIT License
118 stars 33 forks source link

Integrated GPU supported? #52

Closed martijnende closed 1 month ago

martijnende commented 2 months ago

Hi. Many thanks for creating and maintaining this Docker image. Setting-up a dedicated server is a breeze, thanks to your work.

I have something that is more of a question than an issue (I think). I set-up the server on a system with an Intel Celeron J3455, which comes with a Intel HD Graphics 500 integrated GPU. But when I connect with a client and monitor the GPU load with intel_gpu_top, I can see that the GPU is not engaged. As far as I can tell, this does not affect gameplay, but I worry that this poor little CPU gets overloaded when more than one player connects. When I check the Docker log, I see a message related to X11 (excerpt below), though I'm not sure if this is at all relevant.

Are integrated graphics supported for dedicated servers? Is there something I should do to enable it?

...
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '1007' already up to date.
Success! App '1963720' already up to date.
xvinfo:  Unable to open display :99
Failed to start Xvfb, retry: 1
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X-Video Extension version 2.2
arguser commented 1 month ago

AFAIK GPU is only engaged to procedurally generate the map on initialization and nothing else, I might be wrong...

martijnende commented 1 month ago

Ah, I see. I read several reports (dating 2 years back) of people getting "stuck" when they play on a host with an integrated GPU, but what you say makes sense (GPU only used for initialisation).

That's too bad. My poor Celeron J3455 is screaming with 3 players online. I'll need to find an upgrade then.