Skip to content

getGPUInfo('basic') always reports softwareRendering false #17447

@robatwilliams

Description

@robatwilliams
  • Electron Version:
    • 4.0.4, 4.0.7
  • Operating System:
    • Windows 10
  • Last Known Working Electron version::
    • n/a

Expected Behavior

auxAttributes.softwareRendering returned by getGPUInfo('basic') correctly reflects whether or not software rendering is active, i.e. are we using hardware acceleration. It already does so in complete mode.

Alternatively if it cannot be determined in this mode, it should be omitted as is done with the other auxAttributes.

Actual Behavior

auxAttributes.softwareRendering is reported as false despite software rendering being active.

To Reproduce

  1. download electron-quick-start
  2. add app.getGPUInfo('basic').then(console.log); in main.js:createWindow
  3. npm start -- --disable-gpu
  4. observe the output in the console

Screenshots

n/a

Additional Information

The same happens on a virtual machine where hardware acceleration is not available (no need to disable it via a flag).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions