← Back to team overview

ubuntu-x-swat team mailing list archive

Re: [Bug 217908] Re: Pixellated Images in Firefox/Opera due to incorrect EXTEND_PAD implementation in several video drivers

 

Thanks for your help!  This worked for me.


2009/7/11 Tom Jaeger <ThJaeger@xxxxxxxxx>

> ** Description changed:
>
>  [Problem]
> - Scaled images in Firefox, Opera, etc. look blurred or pixelated when
> zoomed.
> + Upscaled images in Firefox (and Opera) look pixelated when zoomed, edges
> appear jagged.
>
>  [Discussion]
>  This is because firefox is using nearest-neighbor interpolation for
> upscaling.  It would look better if bilinear filtering were used by Cairo,
> which requires EXTEND_PAD.  However, EXTEND_PAD is not implemented very well
> in several video drivers, and Cairo is unable to distinguish drivers that
> have good implementations from ones with bad ones, so it is currently using
> a client-side fall back which is deemed too slow by the firefox developers.
>
>  Solving this requires updating each video driver to either implement
>  EXTEND_PAD correctly or at least stop advertising it can do it when it
>  really can't.  Once this is done, cairo's client-side workaround can be
>  removed and firefox can be updated to use EXTEND_PAD.
>
>  The proposed fixes are available (for jaunty and karmic) in the
> firefox-smooth-scaling PPA:
>  https://launchpad.net/~firefox-smooth-scaling/+archive/ppa<https://launchpad.net/%7Efirefox-smooth-scaling/+archive/ppa>
>
>  [Original Report]
>  With Ubuntu Hardy beta + latest updates (15th April 2008) I suffer from
> bad image rendering quality in Firefox.
>  To see the type of problem just open the attached screenshot and scale to
> 100%.
>
>  The images that are blurred are razor sharp if I do a    right click ->
> view image  so it is perhaps a problem related to
>  image scaling.
>
>  The problem appears only with my laptop - so perhaps it is not a bug in
> Firefox but elsewhere (X-windows??/intel-driver??).
>  The laptop has a 3-year old Centrino-Platform uses 915 intel driver and
> has a lcd monitor with 1400x1050 resolution.
>
>  The rendering problem appears independent of the Desktop-Effects are
> on/off. So it does not seem to be a problem with
>  compiz.
>
>  p.s. Also the text in the Gnome-terminal is somewhat blurred (compared
> with e.g. text in Gedit)
>  p.s. The same homepage renders nicely on my desktop computer with a
> 1280x1045 and the ati-driver.
>
>  Don't hesitate to ask for more information.
>
> --
> Pixellated Images in Firefox/Opera due to incorrect EXTEND_PAD
> implementation in several video drivers
> https://bugs.launchpad.net/bugs/217908
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in The Mozilla Firefox Browser: Confirmed
> Status in Libpixman: Fix Released
> Status in openchrome: Fix Released
> Status in Opera Browser: New
> Status in xf86-video-ati: Fix Released
> Status in xf86-video-mga: Fix Released
> Status in xf86-video-radeonhd: Fix Released
> Status in X.Org X server: Invalid
> Status in XUL + XPCOM application runner: In Progress
> Status in “cairo” package in Ubuntu: Fix Released
> Status in “firefox” package in Ubuntu: Invalid
> Status in “firefox-3.0” package in Ubuntu: Invalid
> Status in “pixman” package in Ubuntu: Fix Released
> Status in “xorg-server” package in Ubuntu: Invalid
> Status in “xserver-xorg-video-ati” package in Ubuntu: Fix Released
> Status in “xserver-xorg-video-i128” package in Ubuntu: Fix Released
> Status in “xserver-xorg-video-mga” package in Ubuntu: Fix Released
> Status in “xserver-xorg-video-openchrome” package in Ubuntu: Fix Released
> Status in “xserver-xorg-video-radeonhd” package in Ubuntu: Fix Released
> Status in “xulrunner-1.9” package in Ubuntu: Triaged
> Status in “xulrunner-1.9.1” package in Ubuntu: Triaged
> Status in openSUSE: Confirmed
>
> Bug description:
> [Problem]
> Upscaled images in Firefox (and Opera) look pixelated when zoomed, edges
> appear jagged.
>
> [Discussion]
> This is because firefox is using nearest-neighbor interpolation for
> upscaling.  It would look better if bilinear filtering were used by Cairo,
> which requires EXTEND_PAD.  However, EXTEND_PAD is not implemented very well
> in several video drivers, and Cairo is unable to distinguish drivers that
> have good implementations from ones with bad ones, so it is currently using
> a client-side fall back which is deemed too slow by the firefox developers.
>
> Solving this requires updating each video driver to either implement
> EXTEND_PAD correctly or at least stop advertising it can do it when it
> really can't.  Once this is done, cairo's client-side workaround can be
> removed and firefox can be updated to use EXTEND_PAD.
>
> The proposed fixes are available (for jaunty and karmic) in the
> firefox-smooth-scaling PPA:
> https://launchpad.net/~firefox-smooth-scaling/+archive/ppa<https://launchpad.net/%7Efirefox-smooth-scaling/+archive/ppa>
>
> [Original Report]
> With Ubuntu Hardy beta + latest updates (15th April 2008) I suffer from bad
> image rendering quality in Firefox.
> To see the type of problem just open the attached screenshot and scale to
> 100%.
>
> The images that are blurred are razor sharp if I do a    right click ->
> view image  so it is perhaps a problem related to
> image scaling.
>
> The problem appears only with my laptop - so perhaps it is not a bug in
> Firefox but elsewhere (X-windows??/intel-driver??).
> The laptop has a 3-year old Centrino-Platform uses 915 intel driver and has
> a lcd monitor with 1400x1050 resolution.
>
> The rendering problem appears independent of the Desktop-Effects are
> on/off. So it does not seem to be a problem with
> compiz.
>
> p.s. Also the text in the Gnome-terminal is somewhat blurred (compared with
> e.g. text in Gedit)
> p.s. The same homepage renders nicely on my desktop computer with a
> 1280x1045 and the ati-driver.
>
> Don't hesitate to ask for more information.
>


-- 
The Tao has no agenda. So at the end of the day, everything is done. The man
that lives in this lives in a peaceful and harmonious home.

-- 
Pixellated Images in Firefox/Opera due to incorrect EXTEND_PAD implementation in several video drivers
https://bugs.launchpad.net/bugs/217908
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-mga in ubuntu.



References