Unable to capture .skp file while launching with --no-sandbox and --enable-gpu-benchmarking

27 views
Skip to first unread message

Ovidio Ruiz-Henríquez

unread,
Jun 10, 2025, 3:49:02 PM (8 days ago) Jun 10
to Chromium-dev
Hi Chromium Dev,


I installed Chrome Canary and Chrome Unstable in my Ubuntu-based device, and launched both of these with these flags set. However, when I visit the page that I want to get the .skp file for and type chrome.gpuBenchmarking.printToSkPicture('/tmp'), I get:

VM62:1 Uncaught TypeError: Cannot read properties of undefined (reading 'printToSkPicture')
    at <anonymous>:1:24


I tried just directly running google-chrome-canary --enable-gpu-benchmarking --no-sandbox, modifying the file at /usr/share/applications/google-chrome-canary.desktop, and modifying the file at /opt/google/chrome-canary/google-chrome to set these flags. Only the first method actually had the flags when I checked chrome://version.

Here's a screenshot of chrome://version for Chrome Unstable
Screenshot from 2025-06-10 09-40-30.png


Would anyone be able to help me figure out why these flags are not enabling the gpuBenchmarking API in DevTools?

Thank you,

Ovidio Ruiz-Henriquez

Ovidio Ruiz-Henríquez

unread,
Jun 10, 2025, 5:29:30 PM (8 days ago) Jun 10
to Chromium-dev, Ovidio Ruiz-Henríquez

Update:

I tried on a Windows 11 device, and the API was available there when launching it with these flags. So it seems like the Linux build of Canary has this disabled or it's not working for some reason.
Reply all
Reply to author
Forward
0 new messages