- Electron Version:
- Operating System:
- Last Known Working Electron version::
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
- download electron-quick-start
- add
app.getGPUInfo('basic').then(console.log); in main.js:createWindow
npm start -- --disable-gpu
- 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).
Expected Behavior
auxAttributes.softwareRenderingreturned bygetGPUInfo('basic')correctly reflects whether or not software rendering is active, i.e. are we using hardware acceleration. It already does so incompletemode.Alternatively if it cannot be determined in this mode, it should be omitted as is done with the other
auxAttributes.Actual Behavior
auxAttributes.softwareRenderingis reported asfalsedespite software rendering being active.To Reproduce
app.getGPUInfo('basic').then(console.log);inmain.js:createWindownpm start -- --disable-gpuScreenshots
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).