evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.04k stars 717 forks source link

Does not open / crashes on ubuntu 22.04 (gnome 42) #724

Open Neman-KRD opened 2 years ago

Neman-KRD commented 2 years ago

Hardware acceleration disabled for Linux. Background web-printer started. Shortcut main service started. Shortcut: Super+F12 registered [76283:0530/144938.262782:FATAL:gpu_data_manager_impl_private.cc(894)] The display compositor is frequently crashing. Goodbye. Trace/breakpoint trap (core dumped)

lonewanderer27 commented 2 years ago

There is a fix as shown in this issued patch #720 by adding a launch flag:

pencil --disable-seccomp-filter-sandbox

therealayayron commented 2 years ago

I've tried this on two Ubuntu based computers and it does not work. I receive the following message when I paste the above in the command line:

Hardware acceleration disabled for Linux. Background web-printer started. Shortcut main service started. Shortcut: Super+F12 registered RENDERER started.

When I try to open Pencil, it still does not open and crashes.

courtney-miles commented 2 years ago

Supplying --disable-seccomp-filter-sandbox worked for myself.

I receive the following message when I paste the above in the command line:

That is what I see also -- are you sure the window is not open somewhere out of sight?

therealayayron commented 2 years ago

It actually ended up working. It was weird.. at first it did not.

Do we know when it will be working without command line code?

rafaelbdb commented 1 year ago

@therealayayron You don't need to use the command line itself, as you can also create a shortcut icon, and set it to call the same command.

rafaelbdb commented 1 year ago

There is a fix as shown in this issued patch #720 by adding a launch flag:

pencil --disable-seccomp-filter-sandbox

I changed it in the icon Properties > Application > Command, and worked after rebooting. Thank you very much! I love this program!

roguefalcon commented 1 year ago

I'm having no luck with this on Ubuntu 22.04 and KDE. I've tried with both the Nvidia GPU and the Intel built in GPU.

With --disable-seccomp-filter-sandbox I get the output mentioned above but the application does not start.
Without the argument it immediately crashes.

I am really missing pencil as I plan a new software project.

rafaelbdb commented 1 year ago

I'm having no luck with this on Ubuntu 22.04 and KDE. I've tried with both the Nvidia GPU and the Intel built in GPU.

With --disable-seccomp-filter-sandbox I get the output mentioned above but the application does not start. Without the argument it immediately crashes.

I am really missing pencil as I plan a new software project.

I'm using Kubuntu 22.04, which is basically the same thing. It only worked after a full system reboot. Did you try to reboot?

roguefalcon commented 1 year ago

Sadly rebooting didn't seem to change anything. When I open it from the application icon I get a bouncing icon by the mouse pointer and for about half a second it looks like maybe its going to start. A task icon appears for just a moment then disappears.

When I run it from the terminal I get to RENDERER started. and nothing shows up. I'm happy to provide any details that would be helpful. Let me know.

roguefalcon commented 1 year ago

Today I downloaded the source code and started the development branch without issue.