Skip to content

Commit 6682b87

Browse files
committed
Try removing excess chrome options
1 parent b6502b1 commit 6682b87

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

app/electron-client/src/index.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -254,37 +254,8 @@ class App {
254254
setChromeOptions() {
255255
// Needed to accept localhost self-signed cert
256256
electron.app.commandLine.appendSwitch('ignore-certificate-errors')
257-
// Disable the GPU process sandbox. It should be noted that on certain hardware configurations,
258-
// the utilization of GPU sandboxing may result in WebGL crashes. Despite Google's discouragement
259-
// of this option, it is considered safe for use in this specific instance, as the browser is
260-
// dedicated solely to the display of Enso, which has unrestricted access to all files and system
261-
// settings on the user's machine. For a detailed explanation of instances where such crashes may
262-
// occur, please refer to this document: https://wiki.archlinux.org/title/chromium.
263-
electron.app.commandLine.appendSwitch('disable-gpu-sandbox')
264-
// Force using discrete GPU when there are multiple GPUs available.
265-
electron.app.commandLine.appendSwitch('force-high-performance-gpu')
266-
// Disable the GPU Vertical Synchronization (VSync). This feature synchronizes the refresh rate
267-
// and frame rate of the monitor to ensure optimal picture quality, particularly in gaming
268-
// scenarios. However, in applications that heavily rely on a graphical user interface, the
269-
// utilization of VSync is not deemed essential. By disabling this feature, performance may be
270-
// improved on hardware configurations with limited capabilities. In addition, disabling VSync
271-
// also has the potential to reduce rendering latency. For a comprehensive understanding of this
272-
// aspect, please refer to this thread:
273-
// https://bugs.chromium.org/p/chromium/issues/detail?id=460919.
274-
electron.app.commandLine.appendSwitch('disable-gpu-vsync')
275-
// Disable smooth scrolling feature. This modification has the potential to reduce latency
276-
// experienced with input devices. For further elaboration, please refer to this thread:
277-
// https://news.ycombinator.com/item?id=28782493.
278-
electron.app.commandLine.appendSwitch('disable-smooth-scrolling')
279257
// Enable native CPU-mappable GPU memory buffer support on Linux.
280258
electron.app.commandLine.appendSwitch('enable-native-gpu-memory-buffers')
281-
// Override the list of blocked GPU hardware, allowing for GPU acceleration on system configurations
282-
// that do not inherently support it. It should be noted that some hardware configurations may have
283-
// driver issues that could result in rendering discrepancies. Despite this, the utilization of GPU
284-
// acceleration has the potential to significantly enhance the performance of the application in our
285-
// specific use cases. This behavior can be observed in the following example:
286-
// https://groups.google.com/a/chromium.org/g/chromium-dev/c/09NnO6jYT6o.
287-
electron.app.commandLine.appendSwitch('ignore-gpu-blocklist')
288259
}
289260

290261
/** Main app entry point. */

0 commit comments

Comments
 (0)