Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pencil doesn't start on Fedora 33. #672

Open
voidloop opened this issue Jan 25, 2021 · 7 comments
Open

Pencil doesn't start on Fedora 33. #672

voidloop opened this issue Jan 25, 2021 · 7 comments

Comments

@voidloop
Copy link

voidloop commented Jan 25, 2021

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.

@fruboes
Copy link

fruboes commented Feb 4, 2021

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.

@rickhg12hs
Copy link

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.

@fruboes
Copy link

fruboes commented Feb 4, 2021

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

@rickhg12hs
Copy link

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

@voidloop
Copy link
Author

voidloop commented Feb 9, 2021

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

@RuiBaiXYZ
Copy link

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

@byte-for-byte
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants