Skip to content

add escape hatch to disable hardware acceleration when launching - #4411

Merged
iAmWillShepherd merged 2 commits into
masterfrom
disable-hardware-acceleration
Apr 12, 2018
Merged

iAmWillShepherd merged 2 commits into
masterfrom
disable-hardware-acceleration

Conversation

@shiftkey

@shiftkey shiftkey commented Apr 9, 2018 •

Copy link
Copy Markdown
Member

Fixes #3921

  • on launch, if environment variable set run the workaround
  • document this workaround
  • test it on Windows, confirm it emits a message to the log

@shiftkey

shiftkey commented Apr 9, 2018

Copy link
Copy Markdown
Member Author

For reference, this is the "default" GPU settings on one of my Windows VMs:

And with this flag, the app launches and now has these GPU settings:

screen shot 2018-04-09 at 11 42 29 am

This definitely affects the snappiness (that's the non-technical term) of our virtualized lists in the app, but I feel it's a decent workaround to let users who encounter this issue run the app.

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 9, 2018
@j-f1

j-f1 commented Apr 9, 2018

Copy link
Copy Markdown
Contributor

2d_canvas: "unavailable_software"

Does that mean we can’t use <canvas> without hardware acceleration, or does it mean that the canvas is implemented in software rather than hardware?

@shiftkey

shiftkey commented Apr 9, 2018

Copy link
Copy Markdown
Member Author

@j-f1 I'm pretty sure this flag means it's implemented in software. From the relevant Chromium source:

    } else if (gpu_feature_data.status == gpu::kGpuFeatureStatusSoftware) {
      status = "unavailable_software";
    } else {

@shiftkey shiftkey mentioned this pull request Apr 9, 2018
1 task done
@iAmWillShepherd

Copy link
Copy Markdown
Contributor

@shiftkey, I'm 👍 on shipping the GPU deceleration (?) as a part of the next beta. Are there any gotchas we should be concerned about? Does this mean integrated graphics won't take care of the heavy lifting?

@shiftkey

Copy link
Copy Markdown
Member Author

@iAmWillShepherd

Are there any gotchas we should be concerned about?

At the moment it's behind an environment variable, so it's opt-in and low-risk to revert later. The biggest issue I saw was that our virtualized lists feel slower to scroll, but that seems fine to live with.

Does this mean integrated graphics won't take care of the heavy lifting?

Correct. But for these users the application doesn't work - either at launch or during some usage scenarios, so I'd like to see us have something usable for them at the moment and deal with performance things later.

@iAmWillShepherd iAmWillShepherd self-assigned this Apr 10, 2018
@iAmWillShepherd
iAmWillShepherd merged commit dec9e62 into master Apr 12, 2018
@iAmWillShepherd
iAmWillShepherd deleted the disable-hardware-acceleration branch April 12, 2018 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants