-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to run on headless server #81
Comments
Sorry, I should've mentioned somewhere that at least one x11 display is needed. It's a GLFW limitation. Even in headless mode danser still needs an OpenGL capable hardware to be present in the system. I have plans to switch to EGL from GLFW for linux GPU server support though. Still would love to see the crash log. |
got it running with if you get output with but cpu is barely being utilized by danser 😔 |
Yes because it's using GPU, it's not osr2mp4 |
Also I'm thinking about adding a pre-launch step on linux that would query monitors and add a virtual one like @McKensy did if none were detected |
@McKensy your method worked for me however im getting the opposite where no gpu is being used at all. Ffmpeg comes precompiled on my "server" with h264_nvenc available. However only 1% of the gpu is being used. Can you share a snippet of your danser args? |
@kpei to use nvenc you have to set danser to use it: https://github.com/Wieku/danser-go/wiki/Recommended-encoding-settings |
Ive already tried those recommended settings unfortunately 😔. Will post my settings here when im back on the pc. Another thing I will try is to recompile the ffmpeg binary using nvidia instructions and run danser again. |
@kpei Feel free to join danser's discord to discuss it later, I don't especially like github for that |
Mesa has an environment variable I also plan to start recording on my server to offload the encoding work, so I'll try it soon and edit this comment if I see any success. |
Mate, thank you so much!! As a last ditch resort I thought i'd check here and this works flawlessly on Linode non-gpu on Ubuntu! Given, it's super slow, but that is what I expected as there's no GPU 😬 but it's something!! |
danser-go fails to start on a headless server, I don't see why this should be a requirement given the program operates headlessly. Even with SSH X11 forwarding (use client GPU) it fails.
The text was updated successfully, but these errors were encountered: