pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Running on Linux Ubuntu distribution error: GPU_ data_ manager_ impl_ private. cc(894)] The display compositor is frequently crashing. Goodbye.

Open luoweidd opened this issue 2 years ago • 3 comments

  • Operating system:Ubuntu 22.04
  • Pencil version:pencil_3.1.0.ga_amd64.deb Running on Linux Ubuntu distribution error: GPU_ data_ manager_ impl_ private. cc(894)] The display compositor is frequently crashing. Goodbye.

luoweidd avatar Apr 21 '22 16:04 luoweidd

A workaround mentioned here: https://bytemeta.vip/repo/evolus/pencil/issues/724

add the flag ' --disable-seccomp-filter-sandbox' :

pencil --disable-seccomp-filter-sandbox

jimmerydad avatar Sep 15 '22 11:09 jimmerydad

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?

godlike64 avatar Sep 19 '22 19:09 godlike64

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)

image

image

jozefcifre avatar Sep 10 '23 21:09 jozefcifre