Closed Nomad1 closed 4 months ago
@Nomad1 I don't have time to look into it today, but there are a few references in the ModernGL docs which may be helpful to look at in your case: https://moderngl.readthedocs.io/en/latest/install/using-moderngl-in-ci.html https://moderngl.readthedocs.io/en/latest/techniques/headless_ubuntu_18_server.html
So the fix is relatively easy: a headless machine has to run Xvfb before the second stage. The easiest way is to install xvfb and run it as shown in the articles linked by @iffyloop:
sudo apt-get install xvfb
export DISPLAY=:99.0
Xvfb :99 -screen 0 640x480x24 &
Great, glad to hear that worked for you and thanks for sharing here on the issue tracker. Also, I see you posted another issue with a bugfix - really appreciate you contributing back to the project! If you're using this tool heavily and don't mind sharing about your use case then I'd be really interested to hear from you, also may have some advice on how to improve output quality/postprocess (am planning to wrap everything up in a nice one-click GUI app sometime but haven't gotten to it yet). Here is a link to a Discord server for another of my products, if you join this you should be able to DM me (tinydaw) directly: https://discord.com/invite/phPnkQQ37s
Hi Thanks for the interesting fork of the TripSR project! I just tested it and can't finish the texture generation since it uses some OpenGL features that are rarely available on servers. Here is the log:
I haven't looked at the code yet, so it might be an easy fix or a key showstopper. Will post there if anything changes.