Open lanceschi opened 2 years ago
Hi @lanceschi. Thanks for the question – it taught me about a few tools / commands that I didn't know about. That being said, your guess is as good as mine as to what may not be working here.
A few questions:
gl.readPixels
preserveDrawingBuffer
to true
? what about trying false
?gl.flush
at the end of each expected step help?gl.getError
after certain draw steps help or result?glxinfo
? (this should also be run in the context of Xfvb)Hello @dhritzkiv,
and thanks for the prompt answer!
are you able to produce a visual output with headless-gl and Xvfb (without xwud)
Yes, it operates successfully and as expected with gl.readPixels
can you inspect the frame buffer in any other means?
Yes, with the help of x11vnc and VNC Viewer. Same results as with xwud
though
are you setting
preserveDrawingBuffer
totrue
? what about tryingfalse
?
No noticeable difference
does calling
gl.flush
at the end of each expected step help?
Tried but it didn't influence the rendering
can you post the output of
glxinfo
? (this should also be run in the context of Xfvb)
Sure, glxinfo
issued on Xvfb
: glxinfo.txt
Hello,
and thanks :100: for the awesome lib!
Is is possible to catch a glimpse of the headless-gl rendering activities happening on the Xvfb virtual frame buffer?
I'm launching
Xvfb
this way (script extract for simplicity sake):and I'm picking out correctly the output video feed with xwud:
The only issue is that the video feed remains pitch black even during headless-gl rendering activities. Here's a screenshot:
The xwud video feed capture is working since if I start
Xvfb
with the-retro
flag:The video feed changes accordingly:
Any help appreciated. Thanks!