|
|
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. |
DescriptionFix --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 #
Messages
Total messages: 21 (12 generated)
Description was changed from ========== 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. ========== to ========== 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 ==========
jorgelo@chromium.org changed reviewers: + marcheu@chromium.org
The CQ bit was checked by jorgelo@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Ping? We should probably fix this.
lgtm
The CQ bit was checked by jorgelo@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_presub...)
jorgelo@chromium.org changed reviewers: + kbr@chromium.org
Ken for GPU owners.
lgtm
The CQ bit was checked by jorgelo@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 1, "attempt_start_ts": 1492737814442240, "parent_rev": "480f457f6939eade256dc987fd740452ef5912de", "commit_rev": "754f1ec2c538c710a8a5bf304643acd89f106db0"}
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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/+/754f1ec2c538c710a8a5bf304643... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/754f1ec2c538c710a8a5bf304643... |