Open Bug 681346 Opened 13 years ago Updated 2 years ago

Canvas truncated on Linux

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: drh, Unassigned)

Details

(Whiteboard: [testday-20110826])

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0
Build ID: 20110812233755

Steps to reproduce:

Visit http://www.fossil-scm.org/fossil/timeline?n=500&y=ci and scroll down.


Actual results:

The graph drawn on a <canvas> is truncated.  See http://www.fossil-scm.org/ff-canvas-bug.gif for a screenshot.


Expected results:

The complete graph should be shown.  Works fine on Mac.  Problem observed on Linux only.  (I have not tried it on windows.)

Note:  Same problem seen on latest packaged build from Ubuntu and on a self-compile using the very latest code in mozilla-central.
Component: General → Canvas: 2D
Product: Firefox → Core
QA Contact: general → canvas.2d
Works for me with
7.0b2(c1?) 20110824172139  (Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0)
6.0  Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0
Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110825 Firefox/9.0a1

I can confirm that on Firefox 7.0b2 the graphs aren't shown at all on Windows XP and Windows 7, but no problem is encountered on the latest Nightly.
Reproducible

Mozilla/5.0 (X11; Linux x86_64; rv:9.0a1) Gecko/20110826 Firefox/9.0a1

Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0

This happen with the intel gpu inside cpu and the nvidia card through bumblebee activated
Whiteboard: [testday-20110826]
@Leonard can you please provide a copy of about:support as a text file attached to this bug?
Can't see this on Linux 32bit, ATI, FF7.
Attached image Comparative screenshot
@Anthony as promise here is the comparative screenshot as you see on Firefox nightly(left) the canvas is cut at some point but in Chrome stable(right) you see all the canvas
This is the about:support using intel graphics
This is about:support info using nvidia graphics 

I have to say these two about:support infos are coming from the same laptop, this laptop have Nvidia Optimus Tecnology and you probably know that Nvidia doesnt provide support for this tecnology on Linux to use the Nvidia graphics I'm using the bumblebee project.
I still cannot reproduce this bug. I'm assuming this bug is related to video drivers on Linux. Marking it as NEW to see if a developer might be able to provide some insight.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I'm going to go ahead and patch around this problem in the software that generates the big canvases (Fossil).  Hence the URLs given above which demo the problem will no longer show the problem. (The patch is simply to not use a canvas - which is something we have to be able to do anyhow in cases where the graph is taller than 32768 pixels.)

So that people can continue to observe the problem, I have made a copy of one of the failing graphs here:

    http://www.sqlite.org/ff-bug-681346-demo.html

Without a style sheet, the page looks a little funky.  But you can still clearly see the truncated graph if you scroll down to the 2011-08-26 13:16 mark.  Or, at least I clearly see the graph as truncated on the latest nightly on Linux.  But everything works fine on Mac and windows.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: