nixos/tests/chromium: Drop the workaround for Chrome GPU crashes
This regression was fixed by 51d83077ffb. (cherry picked from commit 4ec2b24603e6eb4a48272678c75d2518de4e2191)
This commit is contained in:
parent
6dbb8d5098
commit
4e8d55ce61
|
@ -80,12 +80,8 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
|
||||||
binary = pname
|
binary = pname
|
||||||
# Add optional CLI options:
|
# Add optional CLI options:
|
||||||
options = []
|
options = []
|
||||||
major_version = "${versions.major (getVersion chromiumPkg.name)}"
|
|
||||||
if major_version > "91" and pname.startswith("google-chrome"):
|
|
||||||
# To avoid a GPU crash:
|
|
||||||
options += ["--use-gl=angle", "--use-angle=swiftshader"]
|
|
||||||
options.append("file://${startupHTML}")
|
|
||||||
# Launch the process:
|
# Launch the process:
|
||||||
|
options.append("file://${startupHTML}")
|
||||||
machine.succeed(ru(f'ulimit -c unlimited; {binary} {shlex.join(options)} & disown'))
|
machine.succeed(ru(f'ulimit -c unlimited; {binary} {shlex.join(options)} & disown'))
|
||||||
if binary.startswith("google-chrome"):
|
if binary.startswith("google-chrome"):
|
||||||
# Need to click away the first window:
|
# Need to click away the first window:
|
||||||
|
|
Loading…
Reference in New Issue