Skip to content

Commit

Permalink
chore: cherry-pick 6265ef99615 from chromium (#35185)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Aug 3, 2022
1 parent fe5b3d2 commit 0068195
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions patches/chromium/.patches
Expand Up @@ -124,3 +124,4 @@ remove_default_window_title.patch
keep_handling_scroll_update_if_you_can.patch
chore_add_electron_deps_to_gitignores.patch
chore_allow_chromium_to_handle_synthetic_mouse_events_for_touch.patch
disable_gpu_acceleration_on_vmware_on_linux.patch
40 changes: 40 additions & 0 deletions 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 <zmo@chromium.org>
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 <zmo@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Commit-Queue: Maggie Chen <magchen@chromium.org>
Reviewed-by: Maggie Chen <magchen@chromium.org>
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"
+ ]
}
]
}

0 comments on commit 0068195

Please sign in to comment.