You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I realize that all computing is done on the CPU, and it is extremely resource-consuming.
My code runs well without xvfb-run by using the X server on a virtual display, which should give GPU access to all node packages.
Is there anything to do to put the computing on GPU, not CPU? Or is it supported, but my system configuration is somehow blocking it from accessing GPU?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I currently use
const { createCanvas } = require('node-canvas-webgl/lib')
to create a PNG screenshot image of whatever drawing on the canvas, using:However, I realize that all computing is done on the CPU, and it is extremely resource-consuming.
My code runs well without
xvfb-run
by using the X server on a virtual display, which should give GPU access to all node packages.Is there anything to do to put the computing on GPU, not CPU? Or is it supported, but my system configuration is somehow blocking it from accessing GPU?
Thanks!
The text was updated successfully, but these errors were encountered: