Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Issue 2814793007: Fix --no-sandbox and --disable-gpu-sandbox on Mali. (Closed)

Created:
3 years, 8 months ago by Jorge Lucangeli Obes
Modified:
3 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix --no-sandbox and --disable-gpu-sandbox on Mali. On Mali GPUs we try to start the sandbox early, before the driver spawns threads. Because of --no-sandbox, we don't actually start the sandbox. |gpu_info.sandboxed| will then be false, so at the bottom of the InitializeAndStartSandbox function we'll try to start the sandbox again, but at this time the Mali driver will have already started threads and we'll LOG(FATAL). Fix by not attempting the second sandbox start when the early one was attempted. BUG=707461 TEST=Build for Kevin, add --no-sandbox to the cmdline, UI starts. TEST=Add --disable-gpu-sandbox to the cmdline, UI starts. 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 Review-Url: https://codereview.chromium.org/2814793007 Cr-Commit-Position: refs/heads/master@{#466212} Committed: https://chromium.googlesource.com/chromium/src/+/754f1ec2c538c710a8a5bf304643acd89f106db0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M gpu/ipc/service/gpu_init.cc View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Jorge Lucangeli Obes
3 years, 8 months ago (2017-04-14 17:34:59 UTC) #3
Jorge Lucangeli Obes
Ping? We should probably fix this.
3 years, 8 months ago (2017-04-20 18:12:52 UTC) #8
marcheu
lgtm
3 years, 8 months ago (2017-04-20 19:10:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2814793007/1
3 years, 8 months ago (2017-04-20 19:19:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/416741)
3 years, 8 months ago (2017-04-20 19:28:09 UTC) #13
Jorge Lucangeli Obes
Ken for GPU owners.
3 years, 8 months ago (2017-04-20 19:33:03 UTC) #15
Ken Russell (switch to Gerrit)
lgtm
3 years, 8 months ago (2017-04-20 22:15:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2814793007/1
3 years, 8 months ago (2017-04-21 01:23:53 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 01:27:18 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/754f1ec2c538c710a8a5bf304643...

Powered by Google App Engine
This is Rietveld 408576698