Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gui/webdisplay/src/RWebDisplayHandle.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -665,10 +665,10 @@ RWebDisplayHandle::ChromeCreator::ChromeCreator(bool _edge) : BrowserCreator(tru
TString extra_arg;
// in starting from version 151 one have to allow use of unsafe swiftshader
if (fChromeVersion > 150)
extra_arg = "--enable-unsafe-swiftshader";
extra_arg = "--enable-unsafe-swiftshader --use-gl=swiftshader";
// in docker disable shared memory usage because of limited resources
if (!gSystem->AccessPathName("/.dockerenv", kFileExists))
extra_arg.Append(" --disable-dev-shm-usage");
extra_arg.Append(" --disable-dev-shm-usage --force-color-profile=srgb --disable-accelerated-2d-canvas");
// old or newest browser with standard headless mode
fBatchExec = gEnv->GetValue((fEnvPrefix + "Batch").c_str(), TString::Format("fork:--headless --no-sandbox --disable-extensions --disable-audio-output %s $geometry --dump-dom $url", extra_arg.Data()).Data());
fHeadlessExec = gEnv->GetValue((fEnvPrefix + "Headless").c_str(), TString::Format("fork:--headless --no-sandbox --disable-extensions --disable-audio-output %s $geometry $url", extra_arg.Data()).Data());
Expand Down
2 changes: 1 addition & 1 deletion test/stressGraphics.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ void start_block(const TString &title, bool is3d = false)
batch_size = 10;
// chrome on the CI nodes in the docker also sometime fails in 3d mode
else if (is3d && TString("chrome") == gROOT->GetWebDisplay() && !gSystem->AccessPathName("/.dockerenv", kFileExists))
batch_size = 10;
batch_size = 5;

webcanv_batch_mode(batch_size);
}
Expand Down
Loading