Hi~
I have a headless server which is working in linux system to take screenshot. It always work very very low, and often throw GPU stall error. Like converting .hdr to .env, it cost 2-5 seconds in my PC, but 200-300 seconds in headless server.
Does anyone have idea to fix this question.
Hi Moriy,
The following setup has proven to work for me (assuming you’re using puppeteer):
args: [
'--no-sandbox',
"--proxy-server='direct://'",
'--proxy-bypass-list=*',
'--incognito',
'--disable-setuid-sandbox',
'--no-first-run',
'--no-zygote',
'--disable-dev-shm-usage',
'--enable-gpu-rasterization',
'--ignore-gpu-blocklist',
'--use-gl=angle'
],
ignoreDefaultArgs: true,
I’ve also personally noticed a lot of performance improvement from adding a GPU to my setup (this might prove to be a bit difficult, but is definitely possible)
2 Likes
Thank you for your help! I will have a try
1 Like