mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.01k stars 9.93k forks source link

Truncated images #5986

Closed SamyCookie closed 9 years ago

SamyCookie commented 9 years ago

Hi,

This PDF renders badly on firefox 37.0.2 with PDF.js 1.1.114 (and also trunk web version). Some images are truncated. No errors in console logs.

Computer: Win 7 64bits

http://www.virginmobile.fr/media/virgin/offres/pdf/fis-forfaits-se-avec-ou-sans-option-mobile.pdf

Good luck !

SamyCookie commented 9 years ago

Hum, no error detected with Firefox 37.0.2 and Chromium 42.0.2311.135 on Linux Debian (64bits). Seems to be Windows specific error, I will test with chrome on Windows earlier.

SamyCookie commented 9 years ago

No errors either with Chrome 42.0.2311.135 on Win 64.

yurydelendik commented 9 years ago

@SamyCookie Can you post the "Graphics" section from the about:support? Also, can you check if video card drivers on the Windows up-to-date?

SamyCookie commented 9 years ago

Of course, here they are:

Date du pilote 11-20-2014 Description de la carte AMD Radeon HD 7800 Series Direct2D activé true DirectWrite activé true (6.2.9200.16571) Fenêtres avec accélération graphique 1/1 Direct3D 11 (OMTC) GPU 2 actif false ID du périphérique 0x6819 ID du sous-système 201c1787 ID du vendeur 0x1002 Pilotes de la carte aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64 RAM de la carte 2048 Rendu WebGL Google Inc. -- ANGLE (AMD Radeon HD 7800 Series Direct3D11 vs_5_0 ps_5_0) Version du pilote 14.501.1003.0 windowLayerManagerRemote true AzureCanvasBackend direct2d 1.1 AzureContentBackend direct2d 1.1 AzureFallbackCanvasBackend cairo AzureSkiaAccelerated 0

Drivers are indeed up to date according to AMD update software

SamyCookie commented 9 years ago

I have installed bêta graphic driver that is more up to date, but bug is still here.

Date du pilote 3-31-2015 Description de la carte AMD Radeon HD 7800 Series Direct2D activé true DirectWrite activé true (6.2.9200.16571) Fenêtres avec accélération graphique 1/1 Direct3D 11 (OMTC) GPU 2 actif false ID du périphérique 0x6819 ID du sous-système 201c1787 ID du vendeur 0x1002 Pilotes de la carte aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64 RAM de la carte 2048 Rendu WebGL Google Inc. -- ANGLE (AMD Radeon HD 7800 Series Direct3D11 vs_5_0 ps_5_0) Version du pilote 14.502.1014.0 windowLayerManagerRemote true AzureCanvasBackend direct2d 1.1 AzureContentBackend direct2d 1.1 AzureFallbackCanvasBackend cairo AzureSkiaAccelerated 0

SamyCookie commented 9 years ago

Bug is gone with HWA off.

To resume, it's a specific Windows bug with Firefox and HWA on. So it means that the problem is due to graphic drivers ?

yurydelendik commented 9 years ago

Looks like https://bugzilla.mozilla.org/show_bug.cgi?id=1168189 -- marking as upstream bug

SamyCookie commented 9 years ago

I confirm that both https://bugzilla.mozilla.org/show_bug.cgi?id=1168189 and https://bugzilla.mozilla.org/show_bug.cgi?id=1170739 are visually corrupted on my computer.

SamyCookie commented 9 years ago

I also confirm that http://output.jsbin.com/gufozi/1/ failed with HWA enabled and works when disabled.

SamyCookie commented 9 years ago

upstream bug fixed, it seems it will be effective for Firefox 42. I'll close this bug when I will be able to confirm this.

timvandermeij commented 9 years ago

@SamyCookie Thank you for that. The patch is probably already in a Nightly build of Firefox, so maybe that will help you verify the fix.

SamyCookie commented 9 years ago

Upstream bugfix was backported to bêta channel. I have installed Firefox 40b2 in 64bits and all is working correctly on my computer.

Closing as fixed, thanks all !!!