pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Pencil doesn't start on Fedora 33.

Open voidloop opened this issue 4 years ago • 7 comments

Hi!

Pencil doesn't start.

This is the output when I try to launch it from a terminal:

# pencil 
Hardware acceleration disabled for Linux.
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Background web-printer started.
Shortcut main service started.
Shortcut: Super+F12 registered
RENDERER started.

but nothing appears to the screen. I also tried to delete ~/.pencil/ but the result is the same.

  • Operating system:
# cat /etc/fedora-release 
Fedora release 33 (Thirty Three)
  • Pencil version:
# rpm -qa | grep pencil  
pencil-3.1.0.ga-1.x86_64

Thank you.

voidloop avatar Jan 25 '21 14:01 voidloop

Same for ubuntu 18.04, pencil 3.1.0:

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

and nothing happens after this.

fruboes avatar Feb 04 '21 08:02 fruboes

Wading through the deluge won't be fun, but I wonder if whatever is "sticking" can be discovered by looking at the output of strace pencil.

rickhg12hs avatar Feb 04 '21 10:02 rickhg12hs

Weird... running strace pencil resulted in drawing the application window. After this, a direct call (i.e. without strace) is also OK.

fruboes avatar Feb 04 '21 12:02 fruboes

Weird indeed. I have no explanation. You're welcome? 😄

rickhg12hs avatar Feb 04 '21 13:02 rickhg12hs

Nice. Same behavior here: with strace pencil the application window appears! But nothing with the command pencil :-(.

voidloop avatar Feb 09 '21 21:02 voidloop

Did you login with wayland ? If so , I think this is the same issue to #629 . You can run the following code to check wether wayland mode enabled: echo $XDG_SESSION_TYPE or echo $DESKTOP_SESSION

RuiBaiXYZ avatar Feb 20 '21 13:02 RuiBaiXYZ

Can confirm behavior of not displaying a window for v3.1.0 on latest OpenSUSE.

It will however sometimes work with work with: pencil --enable-dev

While not starting up, strace shows a resource unavailable issue and keeps trying uncil CTRL-C is pressed.

poll([{fd=53, events=POLLIN}, {fd=54, events=POLLIN}, {fd=78, events=POLLIN}, {fd=95, events=POLLIN}], 4, 0) = 0 (Timeout) recvmsg(95, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(95, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(78, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(78, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(95, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) recvmsg(95, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)

any explanation?

byte-for-byte avatar Sep 27 '21 09:09 byte-for-byte