puppateer on webgpu
georgegally
PROOP

2 years ago

have a very specific problem related to puppateer trying to capture a webgpu page.

on a normal page it works fine. the code works on local dev server. but not on railway. so the only way to test is tweak->depoly->wait->wait->repeat

getting this error:

WebGPU on Linux requires GLES compat, or command-line flag --enable-features=Vulkan, or command-line flag --enable-features=SkiaGraphite (and skia_use_dawn = true GN arg).

my args look like this (and various iterations of this):

const browser = await puppeteer.launch({

headless: true,

args: [

'--no-sandbox',

'--disable-setuid-sandbox',

'--headless=new',

'--enable-unsafe-webgpu',

'--ignore-gpu-blocklist',

'--enable-features=Vulkan',

'--disable-vulkan-surface',

'--disable-dev-shm-usage',

'--window-size=800,800',

],

protocolTimeout: 60000,

});

and help would be much appreciated

1 Replies

2 years ago

Railway doesn't support GPUs, so I assume that is where your problem is.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...