Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Use curv in a headless server #131

Answered by doug-moen
A-G-D asked this question in Q&A
Discussion options

You must be logged in to vote

I know you can run Curv on Linux without a GPU if you use the LLVMPIPE software gpu driver, but you still need an X server (or a Wayland server). It's ultimately an issue with the GLFW library that I use. Other GLFW users want this feature, but it isn't available. Eg, see glfw/glfw#1882

Maybe you can configure a dummy X server to run on your headless server? I have no experience with this, but there are some mentions on this on the web. Eg, https://techoverflow.net/2019/02/23/how-to-run-x-server-using-xserver-xorg-video-dummy-driver-on-ubuntu/

Background Info

Curv uses the GPU to render a PNG. It accesses the GPU via OpenGL. To create the OpenGL context, it uses the GLFW library. Specific…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@A-G-D
Comment options

Answer selected by A-G-D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants