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

Rendering failed (page x) on high resolution monitors #39

Open
sebastinas opened this issue May 28, 2022 · 3 comments
Open

Rendering failed (page x) on high resolution monitors #39

sebastinas opened this issue May 28, 2022 · 3 comments

Comments

@sebastinas
Copy link
Member

On GitLab by @nymann on May 28, 2022, 06:31


When opening any pdf document on a screen with a resolution of 5120x1440 it results in a blank page (which I can then press the a or s shortcut and it will then display correctly)

$ zathura report.pdf
error: Rendering failed (page x)

When lowering my resolution to 3840x1080 and opening the same document it works out of the box.

Version
 $ zathura --version
zathura 0.4.9
girara 0.3.7 (runtime: 0.3.7)
(plugin) pdf-mupdf (0.3.8) (/usr/lib/zathura/libpdf-mupdf.so)
Config

~/.config/zathura/zathurarc

set selection-clipboard clipboard

You might say that having to press the a or s key is no big deal, and it's not for when I'm manually opening documents, but when auto compiling LaTeX using Vimtex it's super annoying since I have to constantly switch window focus and manually press the hotkey. 😅

With that being said, thank you for an otherwise awesome program 👍

@sebastinas
Copy link
Member Author

On GitLab by @nymann on May 28, 2022, 06:40


Could possibly be linked to #159

@sebastinas
Copy link
Member Author

On GitLab by @nymann on May 28, 2022, 06:41


On Reddit there seems to be someone experiencing the same issue as I have described: https://www.reddit.com/r/linux4noobs/comments/e4zk22/zathura_rendering_failed/

I switched to a 5120x1440 monitor just a few days ago, which is when I first started having these issues. Additionally, Zathura works just fine if I set my resolution to anything less than 5120x1440 (even 3840x1080, another 32:9 aspect ratio). I'm not sure why this is an issue, but I'll continue looking into it an keep this updated.

@sebastinas
Copy link
Member Author

On GitLab by @ailrst on Aug 21, 2023, 03:03


Apologies for coming back to an old issue,

I've come across this issue as well, it also appears on
low-resoultion monitors (720p) when zooming a long way into
a very large document (14800 x 220), but from debugging it appears
to be failing in zathura not the plugin, at this return:
https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/render.c#L840.

Its creating a raster surface for the whole page multipled by the
screen pixel density, so my guess is its trying to create an image
larger than Cairo supports, or the available RAM or graphics memory.

zathura 0.5.2
girara 0.4.0 (runtime: 0.4.0)
(plugin) pdf-mupdf (0.4.0) (/usr/local/lib64/zathura/libpdf-mupdf.so)

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

1 participant