Skip to content

Commit

Permalink
mention that --disable-gpu is still required in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ZekeLu committed Aug 26, 2021
1 parent 298087b commit 3f81ff8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions allocate.go
Expand Up @@ -473,11 +473,13 @@ func Headless(a *ExecAllocator) {

// DisableGPU is the command line option to disable the GPU process.
//
// The --disable-gpu option is a temporary work around for a few bugs
// in headless mode. But now it's not longer required. References:
// The --disable-gpu option is a temporary workaround for a few bugs
// in headless mode. According to the references below, it's no longer required:
// - https://bugs.chromium.org/p/chromium/issues/detail?id=737678
// - https://github.com/puppeteer/puppeteer/pull/2908
// - https://github.com/puppeteer/puppeteer/pull/4523
// But according to this reported issue, it's still required in some cases:
// - https://github.com/chromedp/chromedp/issues/904
func DisableGPU(a *ExecAllocator) {
Flag("disable-gpu", true)(a)
}
Expand Down

0 comments on commit 3f81ff8

Please sign in to comment.