PDF Viewer has completely broken graphics on Linux
Categories
(Core :: Graphics: Canvas2D, defect, P3)
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:
- 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).
| Reporter | ||
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:calixte, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•1 year ago
•
|
||
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 ?
Updated•1 year ago
|
| Reporter | ||
Comment 4•1 year ago
|
||
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.
Comment 5•1 year ago
|
||
Jens, could you please capture the output of your about:support to a file and attach it here?
| Reporter | ||
Comment 6•1 year ago
|
||
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.
| Reporter | ||
Comment 7•1 year ago
|
||
(In reply to Bob Hood [:bhood] from comment #5)
Jens, could you please capture the output of your
about:supportto a file and attach it here?
Will do that from my work PC. On my private PC, I can no longer reproduce.
| Reporter | ||
Comment 8•1 year ago
|
||
(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:supportto 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.
| Reporter | ||
Comment 9•1 year ago
|
||
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Jens, could you please retest this and see if the behavior persists?
| Reporter | ||
Comment 11•1 year ago
|
||
(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.
| Assignee | ||
Comment 12•1 year ago
|
||
User seems to be running software canvas, not accelerated, and also no dmabuf. At the moment unsure what would cause this behavior.
| Reporter | ||
Comment 13•1 year ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #12)
User seems to be running software canvas, not accelerated, and also no dmabuf. At the moment unsure what would cause this behavior.
I might have saved the about:support data after setting gfx.canvas.accelerated to false.
| Assignee | ||
Comment 14•1 year ago
•
|
||
It doesn't seem like we have seen significant numbers of corroborating reports that would indicate this is a widespread problem, and we still don't have a good explanation here for why it is happening. Moving this to P3.
| Assignee | ||
Comment 15•1 year ago
•
|
||
Actually, Jens, can you make sure the gfx.canvas.accelerated pref is set to true, not false and retest this on your Nvidia hardware with a recent Firefox? There is a chance this was a dup of bug 1907828 like Calixte suggests.
If it works, please consider closing this bug as a WORKSFORME.
| Reporter | ||
Comment 16•1 year ago
|
||
Works on 135.0.1 (64-Bit) on two different machines (Linux Mint and Ubuntu).
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 17•1 year ago
|
||
PDF display now looked fine with gfx.canvas.accelerated=true. But preview of pictures I'm about to send in WhatsApp Web is still broken.
Description
•