From 784237248a95efa93452d03e4947411600996620 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Wed, 3 Aug 2022 00:38:55 +0900 Subject: [PATCH] chore: cherry-pick 6265ef99615 from chromium Backports https://chromium-review.googlesource.com/c/chromium/src/+/3661941 --- patches/chromium/.patches | 1 + ..._gpu_acceleration_on_vmware_on_linux.patch | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 patches/chromium/disable_gpu_acceleration_on_vmware_on_linux.patch diff --git a/patches/chromium/.patches b/patches/chromium/.patches index 3d8a8fd1c9229..edb9351a2670e 100644 --- a/patches/chromium/.patches +++ b/patches/chromium/.patches @@ -122,3 +122,4 @@ posix_replace_doubleforkandexec_with_forkandspawn.patch cherry-pick-22c61cfae5d1.patch remove_default_window_title.patch keep_handling_scroll_update_if_you_can.patch +disable_gpu_acceleration_on_vmware_on_linux.patch diff --git a/patches/chromium/disable_gpu_acceleration_on_vmware_on_linux.patch b/patches/chromium/disable_gpu_acceleration_on_vmware_on_linux.patch new file mode 100644 index 0000000000000..33b232ef95748 --- /dev/null +++ b/patches/chromium/disable_gpu_acceleration_on_vmware_on_linux.patch @@ -0,0 +1,40 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Zhenyao Mo +Date: Mon, 23 May 2022 21:43:16 +0000 +Subject: Disable GPU acceleration on VMware on Linux + +TEST=manual +R=sunnyps@chromium.org + +Bug: 1327939 +Change-Id: Ib09b6623665ffecf0af1f9f8bc3ebef1ac042b2f +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3661941 +Auto-Submit: Zhenyao Mo +Commit-Queue: Zhenyao Mo +Commit-Queue: Maggie Chen +Reviewed-by: Maggie Chen +Cr-Commit-Position: refs/heads/main@{#1006613} + +diff --git a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json +index 8ed8faf0a0733568a81d955a5546d864d24f78b5..73b6e998f753cee5d77e6bd5983ed46702f13580 100644 +--- a/gpu/config/software_rendering_list.json ++++ b/gpu/config/software_rendering_list.json +@@ -1699,6 +1699,18 @@ + "features": [ + "accelerated_video_encode" + ] ++ }, ++ { ++ "id": 176, ++ "description": "VMware is buggy on Linux", ++ "cr_bugs": [1327939], ++ "os": { ++ "type": "linux" ++ }, ++ "vendor_id": "0x15ad", ++ "features": [ ++ "all" ++ ] + } + ] + }