Open Bug 595956 Opened 9 years ago Updated 8 years ago

Mercurial graph view fails to render

Categories

(Core :: Canvas: 2D, defect)

x86
All
defect
Not set

Tracking

()

mozilla2.0

People

(Reporter: jag.alves, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b6pre) Gecko/20100912 Firefox/4.0b6pre
Build Identifier: 

When browsing any hg repository on http://hg.mozilla.org, the graph view only renders properly when viewing less than 240 revisions.

Reproducible: Always

Steps to Reproduce:
1. Go to http://hg.mozilla.org/mozilla-central/graph 
2. On the top section, click "more" to see more revisions
3. Again, click "more" to see even more revisions
Actual Results:  
[D2D  ON] The canvas area is transparent and nothing is drawn
[D2D OFF] The canvas is solid black

Expected Results:  
A correctly drawn revision graph.

More fine grained failure threshold:
 
Works: http://hg.mozilla.org/mozilla-central/graph/53707?revcount=208
Fails: http://hg.mozilla.org/mozilla-central/graph/53707?revcount=209


Works fine in FF 3.6.8
Component: General → Canvas: 2D
Version: unspecified → Trunk
Visible if you disable hardware acceleration: layers.accelerate-all;false
(In reply to comment #1)
> Visible if you disable hardware acceleration: layers.accelerate-all;false

Yes, It only works when disabled  both D3D9 and D2D).
layers.accelerate-all;false and mozilla.widget.render-mode;0
(In reply to comment #2)
> (In reply to comment #1)
> > Visible if you disable hardware acceleration: layers.accelerate-all;false
> 
> Yes, It only works when disabled  both D3D9 and D2D).
> layers.accelerate-all;false and mozilla.widget.render-mode;0

Yes, me too.

Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101104 Firefox/4.0b8pre ID:20101104041903

It only works in layers.accelerate-all:false, otherwise the canvas will be solid black.

There is my graph card information in about:support

Adapter Description : ATI Mobility Radeon X1400
Vendor ID : 1002
Device ID : 7145
Adapter RAM : Unknown
Adapter Drivers : ati2dvag
Driver Version : 8.261.0.0
Driver Date : 5-23-2006
Direct2D Enabled : false
DirectWrite Enabled : false
GPU Accelerated Windows : 1/1 Direct3D 9
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → mozilla2.0
Duplicate of this bug: 614055
I get the same thing (bug 614055) and have this card (from system prefs, about:support isn't giving good data):

Chipset Model:	NVIDIA GeForce 9400M
  Type:	GPU
  Bus:	PCI
  VRAM (Total):	256 MB
  Vendor:	NVIDIA (0x10de)
  Device ID:	0x0863
  Revision ID:	0x00b1
  ROM Revision:	3427
Also note that the above is on a Mac w/ Nvidia, so this happens on multiple platforms and multiple card vendors.
OS: Windows 7 → All
Depends on: 633936
Fx 6.0, http://hg.mozilla.org/mozilla-central/graph/75289?revcount=960
Regression, Fx 3.6.18 shows the graph without complaints.
Error: uncaught exception: [Exception... "Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIDOMHTMLCanvasElement.getContext]"  nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)"  location: "JS frame :: http://hg.mozilla.org/mozilla-central/static/graph.js :: Graph :: line 25"  data: no]
Even with disabled hardware accelleration and 
layers.accelerate-all;false
mozilla.widget.render-mode;0
the content area is empty.
You need to log in before you can comment on or make changes to this bug.