Latest Comments

Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@Eugene: It -can- currently be built stand-alone, however this isn't as easy yet as it should be. It will be under the MPL like all other Mozilla code, so it should be quite easy to use in other projects.
PermalinkPermalink 2012-11-26 @ 15:56
Bas

In response to: Presenting the Azure Drawing Recorder

Bas [Member]
@Nvd: Yes, and there's a lot of very promising stuff in there! I'm very excited about it.

@Manoj: We recently fixed a bunch of issues with the 64-bit version! Hopefully things will become better there. Unless this was a 32-bit build on an x64 machine, in which case it should be fine -if- the graphics section of about:support shows Azure content is enabled.
PermalinkPermalink 2012-11-26 @ 15:54
Manoj Mehta

In response to: Presenting the Azure Drawing Recorder

Manoj Mehta [Visitor]
Bas,

For some reason the recorder tool is not working on my Windows 7 x64 machine. I noticed severe checker-boarding when navigating between slides using the Up/Down arrow key in a Google Docs presentation. Here is a link to a presentation that demonstrates this symptom: https://docs.google.com/presentation/d/1uifwVYGNYTZDoGLyCb7sXa7g49mWNMW2gaWvMN5NLk8/edit?pli=1#slide=id.g1c2fc179_1_20

I will not have access to a 32-bit Win7 machine until the end of next week, so thought I should bring this link to your attention. Additionally, I updated a bug that reported similar symptoms in https://bugzilla.mozilla.org/show_bug.cgi?id=775320

Thanks,
Manoj
PermalinkPermalink 2012-11-17 @ 01:43
nvd

In response to: Presenting the Azure Drawing Recorder

nvd [Visitor]
Bas, MS has an update for Win7's Direct2D, DirectWrite and Direct3D.

http://blogs.msdn.com/b/chuckw/archive/2012/11/14/directx-11-1-and-windows-7.aspx

http://support.microsoft.com/kb/2670838
"This update improves the features and performance of the following components"

http://www.microsoft.com/en-us/download/details.aspx?id=35661 says Pre-Release, so it's not the final release, might not want to install this until the final release is out, don't know when though.
PermalinkPermalink 2012-11-14 @ 18:16
Bas

In response to: Presenting the Azure Drawing Recorder

Bas [Member]
@Kamulos: Thanks for your feedback! Let me answer your questions:

1. I think so, I'd prefer actually compressing them, and I'm working on something like that, but knowing 'what' image is displayed can often give important contextual information, for example for lifetime debugging issues and such.

2. This is caused by how the Thebes-Azure wrapper uses the transform. Once code gets migrated to Azure this will become better. Measurements indicate they're within the noise code-overhead wise, so I'm not too worried.

3. I'm working on this! Expect updates in the future!
PermalinkPermalink 2012-09-30 @ 02:08
kamulos

In response to: Presenting the Azure Drawing Recorder

kamulos [Visitor]
This is great. I really like the direction in which firefox development is heading with all those performance debugging tools.

There are some questions that occurred to me after playing with it a few minutes

1. Is it really necessary to save all those raster images in the file? Is there something interesting about what the pixels exactly look like?

2. What is the deal with SetTransforms? They seem pretty redundant or expendable to me in many cases.

3. Would it be possible to include some performance information that allows it to identify the drawing hotspots more easily?
PermalinkPermalink 2012-09-30 @ 00:30
Bas

In response to: Presenting the Azure Drawing Recorder

Bas [Member]
@sysKin: One more thing, as I was debugging an issue using the player yesterday I found a couple of bugs and added a tiny bit of functionality in the form of an Event Information window. The new build is on my people, you may want to update, it's backward compatible with your trace.
PermalinkPermalink 2012-09-29 @ 08:07
Bas

In response to: Presenting the Azure Drawing Recorder

Bas [Member]
@sysKin: Double click a DrawTarget or other type of object in the Objects window! :)
PermalinkPermalink 2012-09-29 @ 08:04
sysKin

In response to: Presenting the Azure Drawing Recorder

sysKin [Visitor]
Looks like a great tool! My experience so far, might help others:
1. Since recording goes to current directory, if you're running a Nightly installed in its usual place (Program Files), you will need to run Nightly with "run as administrator" option. Otherwise it will have no permissions to write the file.

2. If you're getting very tiny (~300 bytes) recordings, it's because D2D is switched off. My very-recent Catalyst driver turned out to be blacklisted for some reason.

3. Now, a problem I can't solve: after loading the complete recording file (I think?), I have a bunch of events in "Drawing Events" window, some objects on Objects window, and a nothing in "View" window. What do I do for "View" to show something?
Thanks! :)
PermalinkPermalink 2012-09-29 @ 05:08
Bas

In response to: Presenting the Azure Drawing Recorder

Bas [Member]
@Alex: A fair question! The very first thing I found was a problem with GMail drawing: https://bugzilla.mozilla.org/show_bug.cgi?id=788877 This was actually pretty had and has been fixed and the patch is uplifted.
Something else I found when playing around is:
https://bugzilla.mozilla.org/show_bug.cgi?id=791841

The list gets a little longer, but these should be good examples :-)

Now I'm actually working on debugging some issues with my latest patch where I'm actively using the tool to debug my patch.
PermalinkPermalink 2012-09-28 @ 16:10
Alex

In response to: Presenting the Azure Drawing Recorder

Alex [Visitor]
I think the question on many peoples' minds is,

Using this tool, have you found something that needs to be fixed / improved?
PermalinkPermalink 2012-09-28 @ 15:13
Bas

In response to: Presenting the Azure Drawing Recorder

Bas [Member]
@Jose: Interesting VS2012 -claims- to have support but I haven't tried it yet. Their 3D debugging interface certainly seems to have improved since PIXWin.

@Kim: With the switch turned off it should not affect Linux at all. I have no clear advice on how to debug those issues to be honest. Please feel free to raise a bug and CC me on it, although I'm no expert on how we work on linux. As for the problem of fonts, at this point the Azure ScaledFont classes used on Linux don't support the GetFontData function yet. Which means the recording cannot save the truetype information, and the player cannot replay font drawing. Live font drawing should not be affected.
PermalinkPermalink 2012-09-28 @ 12:46
Kim

In response to: Presenting the Azure Drawing Recorder

Kim [Visitor]
Any chance this might've affected rendering performance on Linux? I've noticed the occasional "ghosting" when scrolling, and when animation events happen in the tab bar and when scrolling, and reflowing the content area.

Any ideas/pointers on how to debug the above?

Azure content on, on those platforms, however fonts currently do not work outside of windows


Just curious, in what way are fonts not working? I've been running with Azure content on under Linux and the only problem I've noticed, before the crashing that started happening about a week ago, is that select lists sometimes fails to draw/popup when clicked.

Does it fall back to an alternative renderer specifically for fonts?
PermalinkPermalink 2012-09-28 @ 08:12
Jose Fonseca

In response to: Presenting the Azure Drawing Recorder

Jose Fonseca [Visitor]
Neat. My experience with these sort of record/replay tools is that they are massive time savers, as they server multiple duty: debugging, regression testing/comparison, etc. And the more layers we intercept the better, as issues don't confine themselves to one layer.

I don't think that Pix / VS 11 supports Direct2D yet. FWIW, some time ago I attempted to add Direct2D support to ApiTrace, https://github.com/apitrace/apitrace/tree/d2d . It's incomplete and there are some challenges in finishing it: D2D API is used with DWrite so actually we need to intercept two DLLs (d2d1.dll and dwrite.dll); and the API itself has callbacks (interfaces that are supposed to be implemented by the application), which are hard to trace/retrace. But it's not impossible.
PermalinkPermalink 2012-09-28 @ 07:54
Bas

In response to: Solving Indentation Pains for Visual Studio 2010

Bas [Member]
@Justin: Hrm, great idea in theory, I'm a little worried how people who do a lot of non-mozilla stuff will respond to a mysterious influence meddling with their editor settings :). I could change some of the behavior to be more friendly to that I guess.
PermalinkPermalink 2012-03-29 @ 02:04
Justin Dolske

In response to: Solving Indentation Pains for Visual Studio 2010

Justin Dolske [Visitor]
Seems really useful -- file a bug to get it added to MozillaBuild? (mozilla.org::MozillaBuild)
PermalinkPermalink 2012-03-28 @ 22:32
Jay

In response to: Direct2D Azure hits Firefox 7

Jay [Visitor]
Hi there, great news, however there seems to be a serious bug with FF 7 canvas as it is now:

https://bugzilla.mozilla.org/show_bug.cgi?id=690643

It seems like stroke pops the transformation stack. (?)
PermalinkPermalink 2011-10-07 @ 10:04
Dave

In response to: Direct2D Azure hits Firefox 7

Dave [Visitor]
Thanks for working to speed up firefox. It's my browser of choice for development and day-to-day use and the one I recommend for use by lay persons.

Unfortunately, these hardware acceleration changes have broken the rendering on my website (causes flickering/failure to paint parts of the scene on windows 7). I have filed a bug report on the mozilla bug tracker:

https://bugzilla.mozilla.org/show_bug.cgi?id=691571

Also, I know you're just testing things out, but it also appears the hardware acceleration is slowing things down slightly on my box.

I have a little HTML5 benchmarking program on my website. It's totally unscientific, but interesting nonetheless to test the differences between hardware accelerated and not on Firefox.

The benchmark can be found at https://clubcompy.com/rwBench.jsp

With "Use hardware acceleration when available" enabled, Firefox scores 10707. But with hardware acceleration *disabled*, it scores better with 11253. For reference, Chrome scores 24741 on the same box.
PermalinkPermalink 2011-10-04 @ 00:10
hjuo

In response to: Direct2D Azure hits Firefox 7

hjuo [Visitor]
that skia bugfix is specified for mac, but the comment talk about android. Is it related for everyone or not? Maybe it's useful for low end system win/linux, just thinking....

PS: keep up the good work!
PermalinkPermalink 2011-09-30 @ 16:31
Bas

In response to: Direct2D Azure hits Firefox 7

Bas [Member]
@jmdesp: Quite possibly, yes, we're moving as fast as we can on this though, but there's a lot of legacy code to deal with that makes this hard.
PermalinkPermalink 2011-09-26 @ 11:18
Bas

In response to: Direct2D Azure hits Firefox 7

Bas [Member]
@Harsh86: We have known about the extension and have looked at it, but generally speaking at this point we're not interested in investing significantly in it.
PermalinkPermalink 2011-09-26 @ 11:17
Bas

In response to: Releasing Azure

Bas [Member]
@EuroSceptic:

For the Firefox 7 release, sadly the answer is probably 'not really' not a lot of sites are using 2D canvas yet. But for sites that do use canvas you should get faster performance if you're on Windows 7 with hardware acceleration.

@Dimitris:

Heh :) I'm afraid we don't have a choice, but you're enthusiasm is duly noted!
PermalinkPermalink 2011-09-26 @ 11:14
Harsh86

In response to: Direct2D Azure hits Firefox 7

Harsh86 [Visitor]
Have you considered making a backend using Nvidia's new OpenGL's path rendering extension?

http://developer.nvidia.com/nv-path-rendering-videos
PermalinkPermalink 2011-09-22 @ 10:22
jmdesp

In response to: Direct2D Azure hits Firefox 7

jmdesp [Visitor]
Which means that Azure won't be used for general rendering until at least Firefox 11, or something like that ?
PermalinkPermalink 2011-09-22 @ 08:21
Dimitris

In response to: Releasing Azure

Dimitris [Visitor]
I think all this progressiveness is taking too long. I want azure powered screaming OpenGL performance on my Linux boxes NOW! I am excited yes :) I would say ditch the Cairo backend and go straight for OpenGL.
PermalinkPermalink 2011-08-17 @ 18:20
EuroScepti1C

In response to: Releasing Azure

EuroScepti1C [Visitor]
I'm not expert neither experienced user, but, I'd like to know when you say:

"performance on the majority of real world use-cases"

What does it means? How I'm going to benefit from Azure as an average user? In my daily browsing, what Azure accelerates and even better than the previous system? I'd like an answer if you've available time, in short... Not complicated and long things.

Thank you!
PermalinkPermalink 2011-08-16 @ 15:50
Eugene

In response to: Comparing Performance: Azure vs Cairo

Eugene [Visitor]
Interesting work. Will Azure be released as a library and if so what license will the code have?
PermalinkPermalink 2011-07-27 @ 10:34
N.D.

In response to: Comparing Performance: Azure vs Cairo

N.D. [Visitor]
Can I ask something that concerns me?

Only Fx's HWA keeps generally my Graphics Card running with middle-clocks, always...

On IE9 and Chrome, the clocks staying in lower levels while both using normally HWA on normal browsing...

The GC-fan works always faster with Fx... It's like Fx uses the Card a lot more than the other browsers...

Is there an explanation? To be honest, I don't like this behavior and thus I turn off HWA.
PermalinkPermalink 2011-07-22 @ 03:49
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@Marek: The correctness bug is known and will be fixed in a future release.

The performance on Test 2 is a known bug that's being worked on. Test 5 is more complex, it's a more longer-term symptom due to the global composite operator it uses. (It's not Azure specific)
PermalinkPermalink 2011-06-29 @ 21:37
marek

In response to: Comparing Performance: Azure vs Cairo

marek [Visitor]
Actually, on fully HW accelerated system on W7/WhiteListed NVidia is SW rendering with turned OFF faster than HW rendering, esp. test 2 and 5 of asteroids...
And DX9 (non D2D) and slower computer is also much faster, is it known and temporary symptom?
PermalinkPermalink 2011-06-29 @ 16:57
marek

In response to: Comparing Performance: Azure vs Cairo

marek [Visitor]
Yes, Nightly seems to be faster, however, Test3 seems to be broken considerably... do you know about it?
http://www.kevs3d.co.uk/dev/asteroidsbench/
PermalinkPermalink 2011-06-29 @ 05:57
Cristian Silaghi

In response to: Comparing Performance: Azure vs Cairo

Cristian Silaghi [Visitor]
@Bas, thanks for the info. Keep up the good work! ;)
PermalinkPermalink 2011-06-28 @ 12:15
Anonymous

In response to: Comparing Performance: Azure vs Cairo

Anonymous [Visitor]
That sounds great. When I have some time from everything else, I might have a look at it. By then maybe you've got some more ports running too.

Hopefully it will stay fairly independent, too.
PermalinkPermalink 2011-06-28 @ 00:24
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@Anonymous: Not at all, at the moment you'd have to import mozilla's RefPtr.h file into the project to get it to build stand-alone, that's the only dependency. There's a visual studio project in the azure folder to build it.
PermalinkPermalink 2011-06-28 @ 00:19
Rash

In response to: Font Rendering: GDI versus DirectWrite

Rash [Visitor]
I have to agree with the others here, Bas, but don't take it personally, it is not your fault. The same lighter, noisier and a lot less smooth (imho) fonts are also visible on IE9. It is almost as if Microsoft is purposely going the opposite direction of Apple, that makes fonts look VERY smooth (they look like they're all in bold). But as boring as MacOS font rendering is for some people (not for me), it is infinite times more readable than DirectWrite + D2D.

As far as ClearType I must say I love it. Calibri and Consolas both look absolutely amazing with it. I don't see any colorization or any distracting effect on them. Personally I even prefer that combination over any MacOS font rendering.

By the way, the D2D font rendering improves a lot if you increase the size of the font. So whenever I am stuck with it (like in Firefox) I zoom in on almost every page. I can't do that with the UI which I must admit looks absolutely horrible.
PermalinkPermalink 2011-06-27 @ 22:58
Anonymous

In response to: Comparing Performance: Azure vs Cairo

Anonymous [Visitor]
Here's a quick question: How tightly bound is Azure to the Mozilla codebase? It seems like a promising project, and I can think of various uses for it outside of Mozilla. How easy or hard would it be to extract and use as a stand-alone library?
PermalinkPermalink 2011-06-27 @ 22:53
Deo Domuique

In response to: Comparing Performance: Azure vs Cairo

Deo Domuique [Visitor]
Steven is right.

"Electolysis", "Telemetry" these Greek words are much better. If someone knows what they mean, is able to understand easily why have been chosen.

So, a similar word for HWA-Project, could be great. :)
PermalinkPermalink 2011-06-27 @ 01:03
Steven

In response to: Comparing Performance: Azure vs Cairo

Steven [Visitor]
Sounds exciting. I only think you should have chosen a different name, what with Azure being MS' cloud computing name.
PermalinkPermalink 2011-06-26 @ 14:13
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@Christian: You'll be happy to know Azure landed on mozilla-inbound yesterday, and mozilla-central last night. Tomorrow's nightly will have Azure included for canvas on Direct2D enabled builds, and upcoming nightlies will include improvements and fixes we make!
PermalinkPermalink 2011-06-25 @ 17:40
Cristian Silaghi

In response to: Comparing Performance: Azure vs Cairo

Cristian Silaghi [Visitor]
Hi! Can you make a build every week with latest changes from this great API?
PermalinkPermalink 2011-06-25 @ 17:14
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@Matt: There was discussion, but the small market and the large difference in quality between different X-render implementations make the return on investment too low to justify. So I'm afraid they'll be stuck with cairo until we come up with our own accelerated backend.

The second part of your question depends largely on how good our versions will turn out to be. If at some point they perform better than D2D, logically we'll start using them, as long as they don't, we probably won't :). Consistency is important but so is a great user experience!
PermalinkPermalink 2011-06-23 @ 03:21
Matt

In response to: Comparing Performance: Azure vs Cairo

Matt [Visitor]
Are there any plans to create an XRender backend for Linux, or will those users be stuck with Cairo until you come up with a general OpenGL version?

Also, is the plan to move everything to the GL/D3D versions eventually, or would you first try D2D/Quartz and only fall back to the 3D APIs if those weren't found?
PermalinkPermalink 2011-06-23 @ 01:32
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@WonderCsabo: I'll have a look, possibly FlickrExplorer doesn't use Canvas, that would certainly explain! I've had to set my spam filter quite agressively considering how many spam arrives on blogs. I have to moderate all comments manually :(.
PermalinkPermalink 2011-06-08 @ 12:12
WonderCsabo

In response to: Comparing Performance: Azure vs Cairo

WonderCsabo [Visitor]
Bas, the first version of my post contained a tinyurl of the testpage http://ie.microsoft.com/testdrive/Performance/FlickrExplorer/Default.html But i couldn't send it, because ur spam filter thought it is a spam. :)
PermalinkPermalink 2011-06-08 @ 12:04
WonderCsabo

In response to: Comparing Performance: Azure vs Cairo

WonderCsabo [Visitor]
I tried the build. It worked well! I just wonder why the Flickr Explorer test is still so slow?

Also a tip: if the try build misses some DLLs, install the VC++ 2010 redistributable package.
PermalinkPermalink 2011-06-08 @ 12:03
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
@Anonymous: Not really, we plan on using Cairo as a fallback software renderer for the moment for systems where hardware assisted rendering does not work adequately.

The license will be as open as it can be as far as I'm concerned! Presumably this will be the MPL (v2), but I know fairly little about these things. At the moment the component (without cairo support) can be used and built completely stand-alone, but is obviously useless outside of systems where Direct2D exists.
PermalinkPermalink 2011-06-08 @ 10:18
Anonymous

In response to: Comparing Performance: Azure vs Cairo

Anonymous [Visitor]
This sounds exciting from a Firefox-is-improving standpoint.

Currently an update to the Cairo port (ports.haiku-files.org/) is needed in Haiku OS (haiku-os.org) for recent Firefox versions to work, will this mean you can run Firefox without the Cairo library completely and it should run?

Also Firefox and Haiku OS are both Coverity users, like buddies! :)

Will the license be MPL, tri-license like Fx or other?

Thank you, I await your reply.

PermalinkPermalink 2011-06-08 @ 09:55
Bas

In response to: Comparing Performance: Azure vs Cairo

Bas [Member]
Good to hear people are getting positive results!

@Noel: I can understand that, but I believe, as Joe outlined in his blog post, there's too many fundamental design problems in the cairo API that would be hard to surmount. Not to mention we wouldn't be able to upstream due to the large scale changes that would be needed and the lack of resources to adapt all cairo backends. This is not just about features, a mostly stateless vs. a stateful API is a huge difference.

@Gary: Great to hear that! I've wondered the same thing about Mister Potato Gun and I have no idea. It seems a higher running time results in a higher score, and the running time seems to vary as well. It's almost as if some randomness affects it. I didn't include it in here for exactly that reason.

@Zsolt: No, it will be unrelated to OpenVG. I also don't know of any very good completely open OpenVG implementation, but maybe I missed something. The idea is it's general enough to output triangle strips and generate texture coordinates in a way that works across different graphics frameworks. And use additional features like geometry shading and such things to speed things up further on capable hardware. On windows this would still work on D3D9/10/11 because there's simply performance benefits to that.

@Caspy7: Yes, Firefox users on Windows 7 that have Direct2D for normal browsing will see advantages from Azure. Possibly if Gecko moves to rendering on Azure before the GPU backend lands they will see advantages in page rendering as well. The same will go for Mac users when a Quartz backend lands.
PermalinkPermalink 2011-06-07 @ 22:47
Caspy7

In response to: Comparing Performance: Azure vs Cairo

Caspy7 [Visitor]
Once AzureD2D canvases ships does that mean that FF on Windows will see some benefits or will it be until backend for GPU lands that Firefox will be able to take advantage of the tech?
PermalinkPermalink 2011-06-07 @ 19:41
Zsolt

In response to: Comparing Performance: Azure vs Cairo

Zsolt [Visitor]
"The next, possibly most interesting step for Azure will be a larger project: creating a backend that can use the GPU for rendering vector graphics through OpenGL and different Direct3D versions. This will hopefully allow us to bring fast, consistent rendering performance to our users on all platforms!"

Indeed interesting. But isn't this basically what OpenVG does? As far as I know all OpenVG implementations are built on top of OpenGL. So will you be implementing something custom upon OpenGL or will you be fixing up an existing/creating a new OpenVG implementation?
PermalinkPermalink 2011-06-07 @ 15:38
May 2013
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Certain events have made me realise it's probably a good idea to have a 'blog' to share ideas and get feedback...

Search

XML Feeds

powered by b2evolution free blog software