New issue
Advanced search Search tips

Issue 793845 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug

Blocked on:
issue 744658



Sign in to add a comment

SwiftShader on AMD HD GPUs

Reported by kdmitre...@gmail.com, Dec 11 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5

Steps to reproduce the problem:
1. Try to create a WebGL context with failIfMajorPerformanceCaveat: true

What is the expected behavior?

What went wrong?
Since for some reason users with AMD HD GPUs get SwitfShader instead of hardware acceleration. However I wasn't able to find a blacklist entry for such GPUs. Have I missed it or it's a regression?

Attached some info from out users. User 1 has Win7 and Yandex Browser 17.10, which corresponds to Chromium 61.0.3163.100. Interestingly, hw acceleration workd for him on Opera 49 (which is Cr 62 IIUC).

about:gpu from another user's Chrome:

Note: To properly save this page, select the "Webpage, Complete" option in the Save File dialog.
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
CheckerImaging: Disabled
Flash: Software only, hardware acceleration unavailable
Flash Stage3D: Software only, hardware acceleration unavailable
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable
Compositing: Software only, hardware acceleration unavailable
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only, hardware acceleration unavailable
Video Decode: Software only, hardware acceleration unavailable
Video Encode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated but at reduced performance
WebGL2: Unavailable
Problems Detected
GPU rasterization should only be enabled on NVIDIA and Intel DX11+, and AMD RX-R2 GPUs for now.:
(http://crbug.com/643850) 643850
Disabled Features: gpu_rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
Version Information
Data exported 05.12.2017, 18:47:18
Chrome version Chrome/62.0.3202.94
Operating system Windows NT 6.2.9200
Software rendering list version 13.13
Driver bug list version 10.30
ANGLE commit id 842c43ae67ba
2D graphics backend Skia/62 e74b41c6c84638d5a9ee6d254a715bcd9e17c603-
Command Line "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin
--flag-switches-end
Driver Information
Initialization time 0
In-process GPU true
Passthrough Command Decoder false
Supports overlays false
Sandboxed false
GPU0 VENDOR = 0x1002, DEVICE= 0x6759
Optimus false
Optimus false
AMD switchable false
Desktop compositing Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1 18.9"
Driver vendor Google Inc.
Driver version 3.3.0.2
Driver date 2017/04/07
Pixel shader version 3.0
Vertex shader version 3.0
Max. MSAA samples 4
Machine model name
Machine model version
GL_VENDOR Google Inc.
GL_RENDERER Google SwiftShader
GL_VERSION OpenGL ES 2.0 SwiftShader
GL_EXTENSIONS
Disabled Extensions
Window system binding vendor
Window system binding version
Window system binding extensions
Direct rendering Yes
Reset notification strategy 0x0000
GPU process crash count 0
Compositor Information
Tile Update Mode One-copy
Partial Raster Enabled
GpuMemoryBuffers Status
ATC Software only
ATCIA Software only
DXT1 Software only
DXT5 Software only
ETC1 Software only
R_8 Software only
R_16 Software only
RG_88 Software only
BGR_565 Software only
RGBA_4444 Software only
RGBX_8888 Software only
RGBA_8888 Software only
BGRX_8888 Software only
BGRA_8888 Software only
RGBA_F16 Software only
YVU_420 Software only
YUV_420_BIPLANAR Software only
UYVY_422 Software only
Diagnostics... loading ...
Log Messages
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 62.0.3202.94, 61.0.3163.100  Channel: stable
OS Version: 7, 8
Flash Version:
 
user1_about_gpu_Ya_Bro.pdf
153 KB Download
user1_dxdiag.png
234 KB View Download

Comment 1 by zmo@chromium.org, Dec 11 2017

Blockedon: 744658
Owner: zmo@chromium.org
Status: Assigned (was: Unconfirmed)
This is likely due to browser process side and GPU process side decision difference.

This should be fixed soon with my refactoring.
JFYI, just heard back from the second guy: turned out for some reason he had HW acceleration checkbox turned off for some reason.
Project Member

Comment 3 by bugdroid1@chromium.org, Dec 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/16d39b876bdf2560e499afe4625d02da76d3cd44

commit 16d39b876bdf2560e499afe4625d02da76d3cd44
Author: Zhenyao Mo <zmo@chromium.org>
Date: Fri Dec 15 22:48:04 2017

Get rid of GL string cache on non-Android platform

and no longer blacklist GPU access if preliminary GPU feature decisions differ
from full info decisions.

The reason we can do this now, is because the only GPU feature check that's not
from GPU process is kDisableAcceleratedVideoDecode on Android. There is no
decision difference on Android between preliminary and full info.

This should get quite a few Windows machines putting to SwiftShader back to
GPU acceleration.

BUG= 744658 , 764290 ,766190, 774000 , 793845 
TEST=bots
R=piman@chromium.org,kbr@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I3fae7ff326a9cf2ea5b23c56261cb3139416a38f
Reviewed-on: https://chromium-review.googlesource.com/828040
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524497}
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/BUILD.gn
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/browser_process.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/browser_process_impl.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/browser_process_impl.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/chrome_browser_main.cc
[delete] https://crrev.com/c0e53b734bb3b198e7fece89b477467d84102aa2/chrome/browser/gpu/gl_string_manager.cc
[delete] https://crrev.com/c0e53b734bb3b198e7fece89b477467d84102aa2/chrome/browser/gpu/gl_string_manager.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/gpu/gpu_driver_info_manager_android.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/gpu/gpu_driver_info_manager_android.h
[delete] https://crrev.com/c0e53b734bb3b198e7fece89b477467d84102aa2/chrome/browser/gpu/gpu_profile_cache.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/browser/prefs/browser_prefs.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/test/base/testing_browser_process.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/chrome/test/base/testing_browser_process.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/browser/gpu/gpu_data_manager_impl.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/browser/gpu/gpu_data_manager_impl.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/browser/gpu/gpu_data_manager_impl_private.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/browser/gpu/gpu_data_manager_impl_private.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/browser/gpu/gpu_data_manager_impl_private_unittest.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/public/browser/gpu_data_manager.h
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/renderer/render_thread_impl.cc
[modify] https://crrev.com/16d39b876bdf2560e499afe4625d02da76d3cd44/content/test/gpu/gpu_tests/gpu_process_expectations.py

Comment 4 by zmo@chromium.org, Dec 15 2017

Status: Fixed (was: Assigned)

Sign in to add a comment