File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,15 @@ export async function resolveElectronConfiguration(options: LaunchOptions): Prom
49
49
args . push ( '--disable-dev-shm-usage' ) ;
50
50
}
51
51
52
+ if ( process . platform === 'darwin' ) {
53
+ // On macOS force software based rendering since we are seeing GPU process
54
+ // hangs when initializing GL context. This is very likely possible
55
+ // that there are new displays available in the CI hardware and
56
+ // the relevant drivers couldn't be loaded via the GPU sandbox.
57
+ // TODO(deepak1556): remove this switch with Electron update.
58
+ args . push ( '--use-gl=swiftshader' ) ;
59
+ }
60
+
52
61
if ( remote ) {
53
62
// Replace workspace path with URI
54
63
args [ 0 ] = `--${ workspacePath . endsWith ( '.code-workspace' ) ? 'file' : 'folder' } -uri=vscode-remote://test+test/${ URI . file ( workspacePath ) . path } ` ;
You can’t perform that action at this time.
0 commit comments