Open Bug 1907760 Opened 3 months ago Updated 7 days ago

PDF Viewer has completely broken graphics on Linux

Categories

(Core :: Graphics: Canvas2D, defect, P2)

Firefox 127
defect

Tracking

()

People

(Reporter: tessarakt, Assigned: lsalzman)

References

Details

Attachments

(2 files)

Attach (recommended) or Link to PDF file here: https://noyb.eu/sites/default/files/2024-07/noyb_Cookie_Report_2024.pdf

Steps to reproduce the problem:

  1. Just open the link (or any other PDF)

What is the expected behavior? (add screenshot)

PDF is displayed like in other PDF viewers.

What went wrong? (add screenshot)

Display is completely broken. Also, parts of the tab that was shown before are visible.

This seems to indicate wrong handling of accelerated graphics.

I'm seeing this on two different Linux installations on different laptops, both with Nvidia graphics (with all kinds of PDF files).

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

It's very likely a dup of bug 1907828.
:tessarakt, could you try to check if setting a pref as in if https://bugzilla.mozilla.org/show_bug.cgi?id=1907828#c12 could "fix" your issue ?

Component: PDF Viewer → Graphics: Canvas2D
Flags: needinfo?(cdenizet)
Product: Firefox → Core
Severity: -- → S2
Priority: -- → P2
See Also: → 1907828

Sounds very plausible. (Un)fortunately, I don't seem to be able to easily reproduce any more. If I see it again, I will try the pref.

Funnily, I recently had a problem with apostrophe (a Markdown editor with preview) which uses a Webkit webview, and I had to use WEBKIT_DISABLE_DMABUF_RENDERER=1

So apparently some Nvidia driver issues lately.

Jens, could you please capture the output of your about:support to a file and attach it here?

Flags: needinfo?(blog)

I had it again on my work PC. Worked by setting gfx.canvas.accelerated to false - just by reloading the tab, no restart of Firefox required.

(In reply to Bob Hood [:bhood] from comment #5)

Jens, could you please capture the output of your about:support to a file and attach it here?

Will do that from my work PC. On my private PC, I can no longer reproduce.

Flags: needinfo?(blog)

(In reply to Jens Müller (:tessarakt) from comment #7)

(In reply to Bob Hood [:bhood] from comment #5)

Jens, could you please capture the output of your about:support to a file and attach it here?

Will do that from my work PC. On my private PC, I can no longer reproduce.

Actually, I could with the noyb PDF I mentioned initially.

Attached file about-support.json
Assignee: nobody → lsalzman

Jens, could you please retest this and see if the behavior persists?

Flags: needinfo?(blog)

(In reply to Bob Hood [:bhood] from comment #10)

Jens, could you please retest this and see if the behavior persists?

Tried with Firefox 130.0.1 on Linux with the same PDF, looks fine.

Flags: needinfo?(blog)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: