![]() '-user-data-dir=/tmp/puppeteer_dev_profile-GhEAXZ', '-disable-client-side-phishing-detection', ![]() These are the arguments puppeteer passes to Chrome: [ catch(err => console.error('Failed', err)) All I'm doing is opening a page, waiting a second, and then closing it again: puppeteer It's worth noting the WebGL render works fine in Chrome 63 on a Macbook. I'm using Pixi.js for rendering, if I use canvas renderer then everything works on the server It's WebGL rendering thats not working. ![]() To export the image I render the image into a canvas, export data via canvas.toDataURL('image/jpeg') and then post the data to the server. I was hoping for some help figuring out why this is happening. ![]() To do this I'm using headless Chrome however the exported image is black ( example exported image, taking a screenshot of page shows its just canvas that is black). I'm trying to export an image rendered with WebGL on a linux server without a GPU. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |