Open luoweidd opened 2 years ago
A workaround mentioned here: https://bytemeta.vip/repo/evolus/pencil/issues/724
add the flag ' --disable-seccomp-filter-sandbox' :
pencil --disable-seccomp-filter-sandbox
The workaround does not fully work. It hangs like so, no window opens (not Ubuntu here though, Gentoo Linux):
$ evoluspencil --disable-seccomp-filter-sandbox
Hardware acceleration disabled for Linux.
Background web-printer started.
Shortcut main service started.
Shortcut: Super+F12 registered
RENDERER started.
Same behaviour with the latest version from the repo. Cloned, switched to development, npm install and:
~/sandbox/pencil $ npm start
> start
> ./node_modules/.bin/electron ./app
useHWAConfig: undefined
Hardware acceleration disabled for Linux.
[14700:0919/212710.073177:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
Background web-printer started.
Shortcut main service started.
(node:14665) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(Use `electron --trace-warnings ...` to show where the warning was created)
(node:14730) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `exe --trace-deprecation ...` to show where the warning was created)
Shortcut: Super+F12 registered
RENDERER started.
Strangely, I tried to strace the program to see what it was hanging on, and the window opened, fully functional. Race condition somewhere?
The workaround does not fully work. It hangs like so, no window opens (not Ubuntu here though, Gentoo Linux):
$ evoluspencil --disable-seccomp-filter-sandbox Hardware acceleration disabled for Linux. Background web-printer started. Shortcut main service started. Shortcut: Super+F12 registered RENDERER started.
Same behaviour with the latest version from the repo. Cloned, switched to development, npm install and:
~/sandbox/pencil $ npm start > start > ./node_modules/.bin/electron ./app useHWAConfig: undefined Hardware acceleration disabled for Linux. [14700:0919/212710.073177:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is Background web-printer started. Shortcut main service started. (node:14665) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed. (Use `electron --trace-warnings ...` to show where the warning was created) (node:14730) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `exe --trace-deprecation ...` to show where the warning was created) Shortcut: Super+F12 registered RENDERER started.
Strangely, I tried to strace the program to see what it was hanging on, and the window opened, fully functional. Race condition somewhere?
I am encountering the same issue on NixOS 23.05 (GNOME Wayland)