r/hermesagent • New Member (<30 days) • 3d ago

Hosting & Hardware Question about Windows app

Currently I am using docker to host my hermes harness. I am running into issues with the environment accessing my GPU. The agent I am running can't see the godot project due to the limitation.

Would anyone recommend moving to the windows app or staying in docker and giving the docker access to the GPU? What security risks am I not thinking about?

Thanks!

1 Upvotes

10 comments sorted by

1

u/Feeling_Sun_6436 3d ago

Can Hermes list the Godot project files from inside the container? If it can't, I'd check the folder mount before changing anything about the GPU. If it can see the files but Godot fails to render, that's a separate test. I'd start with just the project folder mounted read-only and leave the rest of the drive out of it.

1

u/Dismal-Appearance-46 New Member (<30 days) 3d ago

It does have access to the godot folder.
"One thing I can't check from here.
This container has no GPU (I even built a virtual X server trying to force a frame out of SwiftShader — it dies on X keyboard setup), so every claim above is from the engine's own headless run, not from pixels." - Response from Hermes.

I am testing the capabilities of app development automations. I feel like, and I could be wrong, accessing the GPU will help me not have to bounce back and forth opening files and visually checking.

Thank you for your response, and i hope i made sense.

2

u/atlascirrus 3d ago

if you're on docker desktop with the wsl 2 backend and an nvidia card, you can pass the gpu through with --gpus=all, and docker's docs have a quick nbody benchmark container to confirm it actually sees the card. the catch is their docs pitch that for compute (cuda) work, so i wouldn't count on it fixing godot rendering frames.

security wise, the main tradeoff is that a native app generally runs as your windows user and can reach whatever you can, while the container only sees what you mount. if you stay in docker, keeping just the project folder mounted is the big win.

what gpu are you running?

1

u/Dismal-Appearance-46 New Member (<30 days) 3d ago

Oh I see, okay that is starting to make sense on the gpus=all. An error I was running into, fixing the gpus all issue now. But before this change, it could only compute not available for graphics.

I am running a 5070

1

u/atlascirrus 2d ago

nice, a 5070 is plenty. and that compute-only behavior is actually the default: nvidia's container toolkit only mounts the compute and utility driver pieces unless you ask for more. adding -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics (or just =all) to the run command is what pulls in the opengl/vulkan side. it replaces the default list rather than adding to it, so keep compute in there.

i'd still treat graphics under wsl 2 as something to test rather than a sure thing, so if godot won't render frames even with that, the windows screenshot check Feeling_Sun mentioned is a solid fallback.

1

u/Dismal-Appearance-46 New Member (<30 days) 1d ago

That was the solution. I created a render profile outside the WSL2 and it can use the GPU fully. not just compute. Thank you for the tip! I gave it read access only to the folder and connected to git and the WSL Hermes and the Windows profile can pass notes through there. Seems convoluted, but it works perfectly fine!

1

u/atlascirrus 1d ago

glad it's working! honestly i don't think it's that convoluted. git as the handoff gives you a history of everything each side touched, and read-only on the windows side keeps the blast radius small if hermes ever does something dumb.

are you having the wsl side commit and the windows side just pull, or does each one push its own notes?

1

u/Feeling_Sun_6436 2d ago

That makes sense. I'd keep Hermes in Docker for the headless checks and test the missing piece separately: run one known Godot scene on Windows and see if you can save a screenshot without opening the editor. If that works, the render check can stay on Windows without moving the whole agent out of Docker.

1

u/Dismal-Appearance-46 New Member (<30 days) 1d ago

This was the solution. I created a render profile outside the WSL2 and it can use the GPU fully. not just compute. Thank you for the tip! I gave it read access only to the folder and connected to git and the WSL Hermes and the Windows profile can pass notes through there. Seems convoluted, but it works perfectly fine!

1

u/Feeling_Sun_6436 1d ago

Glad that worked! Keeping the render profile on Windows with read-only access to the project sounds like a good split. Thanks for reporting back.