suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

server using GPU #2394

Closed hiraku1994 closed 4 months ago

hiraku1994 commented 5 months ago

I don't know if this should be like that, but because when I open the server it starts using my GPU, with the server open my GPU is always at 60% usage, and another strange thing is that if I open the game and reduce the graphics , and then I open the server again, it seems to consume much less GPU, it seems that the server also handles graphics processing

insthync commented 5 months ago

Did you build it as a server build?

hiraku1994 commented 5 months ago

Yes, even when building with the server, the server remains open while consuming the GPU

The way I found to improve it is by opening the exe client, and reducing all the graphics, then I close and restart the server, then it consumes less, as I said it seems that the server is dealing with graphics processing

shubhank008 commented 5 months ago

Yes, even when building with the server, the server remains open while consuming the GPU

The way I found to improve it is by opening the exe client, and reducing all the graphics, then I close and restart the server, then it consumes less, as I said it seems that the server is dealing with graphics processing

Are you using the -batchmode and -nographics flags ? The server build should not render any graphics and thus not use GPU at all (other than perhaps a minor %)

temelkirci commented 4 months ago

any news or update ?

insthync commented 4 months ago

From me?

insthync commented 4 months ago

You guys actually should ask Unity, if you built it as server build, run it in batchmode/no graphics but the result is not as you expected. I cannot do anything with this part, I don't have you Unity source codes to find out why, okay?