Veka
Running moderngl (and glcontext) python library
Ahh nvm, I'm an idiot. I had a typo
env DISPLAY:=1
instead of env DISPLAY=:1
So the solution to installing and running moderngl (and glcontext) python library in termux is:
Install necessary packages
Install python library
Install companion app APK from https://github.com/termux/termux-x11
Launch X11 server
Launch python script with a DISPLAY=:1
prefix
14 replies
Running moderngl (and glcontext) python library
Ok, got it working again, when I ran it with
termux-x11 :1 -xstartup "command goes here"
. Is there a way to fix it so that the server can run in the background while I can interactively run command directly in the shell? So basically the method that I've used in previous message.14 replies
Running moderngl (and glcontext) python library
Alright, so I had it for a second there, but then I cleared termux data to try & do it again, to make an exact step by step instructions, and now it no longer works. I've installed the following packages
mesa xorgproto libx11 x11-repo termux-x11-nightly
, installed latest apk, launched the server via termux-x11 :1 &
and then run the python tool with env DISPLAY=:1
command prefix.14 replies