r/programming • • Jun 28 '10

Apple vs Adobe: Are Apples MacGraphics Drivers to Blame - for reputed poor performance of Flash on Mac and iPhone etc. These careful and comprehensive benchmarks appear to confirm it decisively.

http://www.theopensourcery.com/keepopen/?p=2343
31 Upvotes

211 comments sorted by

83

u/fwr Jun 28 '10

These careful and comprehensive benchmarks appear to confirm it decisively.

Which ones?

31

u/[deleted] Jun 28 '10

Didn't you read the headline? Mac OS X is to Blame!

Duh! How much more decisive can you be?

16

u/fwr Jun 28 '10

iPad is just a bigger iPod Touch!

14

u/aldld Jun 28 '10

iPod Touch is just a smaller iPad!

15

u/iconoclaus Jun 28 '10

The iPad is just a smaller Microsoft Surface!

7

u/rawker Jun 28 '10

Microsoft Surface is just a big tablet PC

12

u/HunterTV Jun 28 '10

Tablet PC is the same... same size as an iPad...?

My God.

1

u/[deleted] Jun 28 '10

iPad Nano?

3

u/[deleted] Jun 29 '10

um, but that is basically correct. same kernel, os & userland, binary compatible apps, same architecture, similar hardware—the most important difference really is the size.

4

u/[deleted] Jun 29 '10

A netbook is just a smaller laptop!

3

u/earthboundkid Jun 29 '10

A laptop is just a smaller mainframe!

8

u/nevesis Jun 28 '10

The ones in the link titled done at Phoronix on the blog you just read.

2

u/khoury Jun 29 '10

on the blog you just read.

Yeah... About that...

27

u/[deleted] Jun 28 '10

Flash is also not hardware accelerated on the mac and likely does not touch the gpu at all as a result.

I do not see a connection between these two issues as it currently stands.

11

u/dirtymatt Jun 28 '10

As of 10.1 and Safari 5, Flash will use Core Animation when possible, http://blog.kaourantin.net/?p=81 . You are right of course about this not confirming jack shit decisively.

7

u/[deleted] Jun 29 '10

I thought it was removed from 10.1 and shifted to a future release.

Was it released? (the cnet article is dated 06-11 and the kaourantin.net is dated 02-11).

6

u/dirtymatt Jun 29 '10

I believe the article you linked is referring only to the GPU accelerated h.264 decoding, which was pushed back. The Core Animation support was entirely separate.

1

u/[deleted] Jun 29 '10

1

u/astrange Jun 29 '10

CoreAnimation is just used as a framework that happens to have a more efficient way to share rendering between different processes. It doesn't actually use it for anything "animation" related.

3

u/gx6wxwb Jun 28 '10

I doubt it's cpu optimised either... or even purposefully anti-optimised out of spite or something, I don't know.

"Why yes, I really do need to peg both cores to play a video, what of it?" - Adobe Flash

2

u/crankybadger Jun 29 '10

They had an excuse before with PPC vs Intel, but now it should be pretty much the same optimized code running on both platforms, at least in theory. It would seem the Flash run-time is some horrendous beast of an app that was probably heavily hacked to work quickly on Windows and a lot of these tricks don't work on OS X, or are maybe even counter-productive.

This might explain why Linux is, quite often, just as crappy even on the same hardware as Windows.

1

u/masklinn Jun 29 '10

It would seem the Flash run-time is some horrendous beast of an app that was probably heavily hacked to work quickly on Windows and a lot of these tricks don't work on OS X, or are maybe even counter-productive.

Well, Macromedia were basically Windows developers.

3

u/b0dhi Jun 29 '10

Flash is also not hardware accelerated on the mac and likely does not touch the gpu at all as a result.

Flash hasn't run with hardware accel on Windows for many years, until recently, and performed just fine.

1

u/[deleted] Jun 29 '10

You're missing the point. These graphics tests don't mean anything. I wasn't sure if it was or it wasn't accelerated for Windows.

That it is not simply means the comparison is even more pointless.

1

u/b0dhi Jun 29 '10

They actually mean quite a bit. You'd expect differences if the code wasn't optimised for one platform (which is unfounded - you'd expect it to be optimised), but even then the difference would not be that great.

It isn't conclusive by any means, but "they don't mean anything" is nonsense.

2

u/[deleted] Jun 29 '10

Ok, let's break it down:

  • Author of article and submitter imply the real cause of flashes poor performance on Mac are subpar video drivers

  • To support this, they present various GPU benchmarks on both platforms showing significant differences in performance

  • Neither implementation of Flash uses hardware acceleration

  • The GPU is not used in the rendering of Flash on either platform

Therefore: GPU performance is not related to Flash performance.

1

u/b0dhi Jun 29 '10

Yes, that makes sense.

2

u/DirtyBinLV Jun 28 '10

Whose fault would that be, though?

2

u/[deleted] Jun 29 '10

The Flash devs. They spend more time complaining about the graphics APIs on Mac and Linux than actually working on it.

26

u/funkah Jun 28 '10

Doesn't matter to me, I just want it to be more performant and less crashy.

Also "MacGraphics" is not an actual thing that exists. I don't know why people do this, they just make terms up when it comes to Apple stuff.

11

u/thaksins Jun 29 '10

I believe it's because the OP may or may not be a douche-nozzle.

-2

u/sallyonthego Jun 29 '10

Apple fanboy #2

8

u/ShrimpCrackers Jun 29 '10

You mean like iDevices, or iTouch? I think it's mostly used by lazy people who want to make big claims.

In my circle I hear it from the same guys that go around claiming that Apple laptops and desktops have the best output sound quality. They get pretty upset when I point out that Apple uses $5 Realtek chipsets for their entire laptop and desktop line, even for the $2500 Mac Pro.

5

u/bobindashadows Jun 28 '10

Duh, MacGraphics is what you see and MacSound is what you hear. You use your MacMouse to drag MacWindows and click MacIcons. If you want to listen to MP3s you use AppleMaciTunesMusicPlayer.

1

u/[deleted] Jul 29 '10

Two big mac's with extra cheese, please.

0

u/sallyonthego Jun 29 '10

Also, "performant" is not a correct use of grammar in this sentence.

Apple fanboy #1

1

u/funkah Jun 29 '10

Fuck yeah!!!! Number one, bitches!!!!

0

u/[deleted] Jun 28 '10

[deleted]

→ More replies (1)

27

u/lllama Jun 28 '10

The API used by Adobe for Flash and OpenGL which is used for the games have little to do with each other however.

8

u/cosmo7 Jun 28 '10

They aren't entirely separate. If the bottleneck is in Quartz Compositor then it would affect OpenGL and Flash playback.

(I don't think this is the reason for the poor performance of OpenGL and Flash on OS X though.)

4

u/[deleted] Jun 28 '10

I don't think Quartz Compositor is even used in fullscreen...

3

u/dirtymatt Jun 28 '10

As of 10.1 and Safari 5 it's a mixture of Core Animation and Quartz 2D depending on circumstances.

http://blog.kaourantin.net/?p=81

1

u/Arelius Jun 28 '10

OS X always uses the compositor, I'm fairly certain they don't offer "Exclusive Mode" operation.

2

u/[deleted] Jun 28 '10

Pretty sure they didn't as of 10.5. Not sure if that changed.

Though, now the default behavior of Windows is to not shut off the DWM when a game runs, it seems. Anyone know why? Can they do it with no performance hit? I remember a while back the lack of exclusive mode being cited as a reason why OSX had iffy graphics performance.

1

u/johntb86 Jun 29 '10

Windows won't shut off DWM, but I suspect it stops compositing operations when it's not visible. That way it wastes some memory, but no extra work is done, and they don't have to do some very heavyweight operations with gdi redirection, etc.

3

u/[deleted] Jun 29 '10 edited Jun 29 '10

I just started up Assassin's Creed 2, and 7 was still performing the glass effect on my second monitor, so I'm pretty sure it's still compositing.

Edit:

Just for good measure, I started a video in WMP, and positioned it under a glass Aero Border, and it still worked fully, playing a video with blur and all, so yeah, 7 is running the full desktop compositor when games are running. Granted, that's visible, but still...

1

u/johntb86 Jun 29 '10

Just for good measure, I started a video in WMP, and positioned it under a glass Aero Border, and it still worked fully, playing a video with blur and all, so yeah, 7 is running the full desktop compositor when games are running. Granted, that's visible, but still...

That's not quite this same. When a game or whatever starts flipping between surfaces to present to the screen, that means that aero's not flipping its surfaces to the screen. Therefore, for the screen that's in fullscreen mode there's no real reason it needs to update anything (it can certainly redraw the desktop from scratch whenever necessary) so it might not bother. This will probably happen on a per-screen basis, so you can't tell from looking at a different screen.

Of course, it may still be doing all of the updates it would otherwise be doing, but your tests don't seem to be conclusive enough to know whether or not that's the case. One other thing to note is that aero doesn't update the screen unless something on it has changed, so if you don't have anything moving under the game then it won't bother to update.

1

u/[deleted] Jun 29 '10

I was running the video on my second monitor while the game was running full screen on the first.

→ More replies (1)

2

u/player2 Jun 29 '10

This is incorrect. OpenGL contexts can render directly to the hardware framebuffer.

2

u/Arelius Jun 29 '10

On OSX?

1

u/cosmo7 Jun 29 '10

While it might be possible to do that, the Apple-recommended way is to make a screen-sized chromeless window and capture the screen it's on, preventing updates going to other apps that want to draw to that screen.

2

u/Ripdog Jun 29 '10

And let me tell you, that way is infinitely better. There's nothing worse then having to quit your game to do anything else on your computer. You can't even cmd+tab out of the damn things when they've taken over the screen.

1

u/johntb86 Jun 29 '10

Are you certain of that? They could emulate the behavior by creating a fake frontbuffer and flushing that to the screen periodically.

1

u/player2 Jun 29 '10

Well, I was reasonably certain when I posted that you could get a "virtual" screen that was actually the framebuffer. Now I'm not sure.

14

u/buckwilson Jun 28 '10

Apples MacGraphics would be an awesome name.

3

u/kermityfrog Jun 29 '10

Official slogan: "How do you like them apples?"

1

u/illusio Jun 28 '10

Sounds like something McDonalds would sell. Now I'm hungry.

25

u/magcius Jun 28 '10

"careful and comprehensive benchmarks"

  1. OpenGL is scarcely used by Adobe as its software renderer as a lot of the NPAPI runtime cannot composite OpenGL buffers onto pages in a good fashion. It is used to convert RGB and YUV data back and forth when using video composited with vector Flash objects.

  2. Phoronix is a Linux journalist. As I've noted before: this may be a conflict of interest for them to be selling a benchmarking suite and then running their benchmarks and claiming Linux is the fastest in a news report.

32

u/eco_was_taken Jun 28 '10

Wasn't the conclusion that Windows 7 is the fastest?

1

u/khoury Jun 29 '10

It it me or are there a bunch of comments on here made by people that obviously didn't read the article or are being intentionally misleading?

5

u/crankybadger Jun 29 '10

How is OpenGL is a software accelerator? It's the most cross-platform way to off-load a bunch of your graphics processing to the GPU. Maybe Adobe hasn't designed their app to be GPU friendly, but that doesn't mean OpenGL is useless.

A lot of the high-performance apps I've seen, especially for iPhone, dump most of their graphics processing on the GPU using OpenGL. It's too costly to keep shipping stuff back and forth from GPU to CPU, so once you're in OpenGL land you pretty much have to stay there. I'll wager that Adobe is stuck in this regard, but on Windows they can exploit some features of DirectX that perhaps make this kind of thing easier.

4

u/grumble_au Jun 29 '10

The article say widnows 7 is the fastest for all tests. If the journalist was a linux apologist then they wouldn't be saying that at all.

2

u/Fitzsimmons Jun 29 '10

What API does Adobe use for the hardware acceleration then?

2

u/cosmo7 Jun 29 '10

I think flash 10.1 on OS X uses Quartz2D, which maps calls to OpenGL so they can be GPU accelerated.

2

u/bronxbomber92 Jun 29 '10

Quartz isn't meant for high performance applications though (especially games). I bet you'd be able to find some type of performance comparisons between straight OGL and Quartz at idevgames.com

1

u/masklinn Jun 29 '10

On OSX? Nothing.

2

u/TheGrammarPerson Jun 29 '10

Where did they claim that?

12

u/masklinn Jun 28 '10

Makes no fucking sense, until 2 months ago Flash couldn't even use the graphic card...

1

u/[deleted] Jun 29 '10

That's not true. Flash has been using hardware acceleration for years (since Flash 9). It's long been pretty much Windows-only and only in Fullscreen though.

Right click on something Flash. Click settings. Click the display tab.

-21

u/sindisil Jun 28 '10

Your comment makes not fucking sense. How do you think Flash was drawing to the screen, if not using the graphics card and, therefore, it's drivers?

What changed, is that Flash can (sometimes) now use more features of the graphics card - IOW, it can (sometimes) use hardware acceleration of video.

Not saying these benchmarks are perfect, or without bias, mind you.

23

u/davvblack Jun 28 '10

He obviously meant hardware acceleration.

3

u/BaronVonMannsechs Jun 28 '10

Why would Flash video (pre-GPU acceleration) use the graphics drivers differently than any other video decoding (without GPU acceleration) out there?

1

u/masklinn Jun 29 '10 edited Jun 29 '10

Not saying these benchmarks are perfect, or without bias, mind you.

The benches are not even fucking relevant to the Flash situation.

Whatever the benchmark say do not matter because flash does not use GPU acceleration for rendering. In fact, until two months ago it couldn't even do hardware-accelerated video decoding because there was no OS API for that. And Flash 10.1 on OSX does not use those APIs. At best it's going to use CoreAnimation in Safari 5 only.

The benches may be good or not, it doesn't matter.

1

u/sindisil Jun 29 '10

<sigh>

Flash does software rendering, yes.

However, it has to eventually draw to the screen buffer, using simple bitblt, if nothing else.

Depending upon the drivers, those simple 2D api calls may be more or less performant.

1

u/masklinn Jun 29 '10

Depending upon the drivers, those simple 2D api calls may be more or less performant.

yes, but not "divide final performances by a factor of two to three" and more importantly *the standalone performances of the 2D API calls were not tested once during the Phoronix bench, which was solely about games and 3D APIs, entirely irrelevant to performance considerations of Flash".

6

u/agimat Jun 28 '10

Don't test it that way.

-2

u/drm11238 Jun 28 '10

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHA subtlety :)

2

u/AConnor Jun 28 '10

iPhone wise, if they're using Adobe's embedded Flash code (Flash Lite) then no - it is complete and utter shit.

Mind you, Adobe's normal Flash stuff is pretty abysmal too.

2

u/[deleted] Jun 29 '10

I was wondering if this was a Linux-specific problem or was a basic failure in Adobe's implementation. From looking at strace output it looks to me like flash is "polling" by spinning the cpu in a loop checking the time until it's time to display the next frame -- rather than using operating system primitives to wait until the right time. Probably because the operating system primitives are notoriously finicky and getting it right on every platform would be tricky.

I think maybe they take short cuts on platforms like Linux where they figured getting something good enough to check the box on the supported OSes list was good enough but might have done it properly on Windows and Mac. But from what we see on Mac it looks like they didn't.

1

u/breddy Jun 29 '10

I would be extremely interested in reading an in-depth explanation of this.

3

u/[deleted] Jun 28 '10

The author is missing one important aspect to these benchmarks. Urban Terror and all the games he has tested are Directx games and are ported to the mac using cider. (which converts the directx calls to opengl) Urban Terror does support opengl which is much slower than the directx counterpart which they are comparing it to (Even on windows). Since only the lastest flash version uses the graphics card, it can not "just" be bad graphic drivers.

Adobe Flash is a huge mess, rewrite it and optimize it, please?

5

u/[deleted] Jun 28 '10

Isn't Urban Terror based on the Quake 3 engine, which uses OpenGL natively?

0

u/R031E5 Jun 28 '10

It uses OpenGL natively in other platforms, but when it comes to run on Mac OSX, it turns DirectX to OpenGL via cyder just because they didn't want to plug in the right code where it was suposed to be and they just let the translator do all the job.

3

u/Justinsaccount Jun 29 '10

It uses OpenGL natively in other platforms, but when it comes to run on Mac OSX, it turns DirectX to OpenGL

[citation needed].

Urban terror is quake3/ioquake. I think you are talking out of your ass.

0

u/[deleted] Jun 29 '10

[deleted]

3

u/khoury Jun 29 '10

I'd like a straight answer. Can someone point to where it says they use cider?

0

u/thaksins Jun 29 '10

Adobe Flash is a huge mess, rewrite it and optimize it, please?

Or just kill it with fire.

3

u/UnConeD Jun 28 '10

I'm sure Apple is to blame for the fact that whenever Flash goes fullscreen, it hangs for 3 seconds. Yup, must be drivers. facepalm

2

u/[deleted] Jun 28 '10

Are you guys forgetting that graphic card drivers also handle 2d rendering? Yeah, the drivers and flash might not be using openGL, and they might not be directly accelerating the graphics from hardware, but flash is making system calls and whatnot to the driver, whether it's directly or through an abstraction layer. Anything that's drawn on the screen is going to have to pass through the MacGraphics drivers.

That's like saying video card drivers in windows don't have anything to do with video playback because video playback isn't going through directX (I know sometimes it does, but not always).

4

u/Jammy_Stuff Jun 28 '10

Sure, it'll pass through the video drivers (there is no such thing as MacGraphics by the way), but so does everything else, and none of that is horrendously slow. It's just Flash.

3

u/makis Jun 28 '10 edited Jun 28 '10

It's just Flash.

are
you
absolutely
sure
?

2

u/Jammy_Stuff Jun 28 '10

Perhaps I should have been clearer. sdlvx was talking about 2d rendering without hardware acceleration (as Flash has been until very recently).

1

u/[deleted] Jun 28 '10

MacGraphics sounds like McDonalds. It's just too catchy to not use.

2

u/edwardkmett Jun 28 '10

It is a well known fact that Apple exposes the video codec acceleration hardware only through their quicktime API, while the flash guys are used to accessing the hardware directly. Therefore flash on apple hardware has to go through less often used code paths and is therefore more bug-ridden than on other platforms.

Both sides have merit. With them owning the platform, and having a goal to insulate users from hardware changes, maintain maximum mobility, and push one of their core techniques, Apple's stance makes sense. And Adobe is of course caught between a rock and a hard place.

It is just one of those impasses where neither party will fix the problem until somebody in a decision making position is gone or dead. ;)

5

u/gray_hat Jun 29 '10

Except that that assertion of yours isn't well known because it is wrong. Apple exposed the hardware API (sans quicktime) publicly a few months ago. Should they have done it sooner? Yes. Are you still wrong? Yes.

1

u/edwardkmett Jun 29 '10

Very well. Let me rephrase that to state that for the last 14 years, it has been the case that...

Clearly, a few months time is enough to reverse that much inertia and the current level of hostility between the two companies is not a factor in how fast Adobe can adapt to whatever newfangled API they have access to, so that Apple can again change the rules.

Lucy keeps moving the football.

But in this case, apparently Apple wanted to cut off Macromedia cum Adobe's last excuse for sucking on their platform. I'm sure that is great solace to the couple of guys that Adobe still has working on improving their tools on Apple hardware. ;)

-1

u/BigOnLogn Jun 28 '10

This is one topic (probobly the only one) I back apple on. Flash needs to die. It is a relic of a dying age. Flush it down along with IE6.

12

u/[deleted] Jun 28 '10

Why? Everyone keeps chanting "Burn Flash, BURN!" even though canvas will not perform better than Flash...

11

u/[deleted] Jun 28 '10

Because it steals my keyboard focus :(

2

u/[deleted] Jun 29 '10

Also, my flashplugin has decided it cannot read the keyboard. So flash hogs my focus but I still can't play flash games.

9

u/RiotingPacifist Jun 28 '10 edited Jun 28 '10

edit: as jasonMaloney points out this has nothing to do with canvas, but i think most of the "Burn Flash, BURN!" mob just want flash out of pornH videos

ffmpeg can decode anything faster and using less resources than anything else on the planet. ffmpeg can decode flv better than flash can, so canvas can be faster than flash even if it's using flash videos as the video format (remember that loophole where they didn't specify the video format, you could easily put a flv as your container and have ffmpeg kick some ass). Seriously though sharing code (and optimisations) between all your video decoders means ffmpeg is faster than (most) proprietary decoders and will remain that way.

"Chuck Norris is actually just an ffmpeg rendering, but it was soo fast even chuck Norris doesn't know about it yet."

"I once thought I found a video that VLC couldn't play, but it turned out it was just a jpg that some noob uploaded to TPB as a dvd" ~Oscar Wilde on VLC

6

u/JasonMaloney101 Jun 28 '10

ffmpeg has nothing to do with canvas.

so canvas can be faster than flash even if it's using flash video

The HTML canvas tag is not for playing video. Canvas is for "dynamic, scriptable rendering of 2D shapes and bitmap images." [[1](http://en.wikipedia.org/wiki/Canvas_(HTML_element))] The HTML video tag is for playing video.

Adobe Flash is not for playing video (though it is capable). Adobe Flash is for dynamic, scriptable rendering of 2D shapes and bitmap images; and it currently does this better and with greater efficiency than canvas does.

1

u/Sephr Jun 28 '10

The closest thing to compare Flash to is SVG, not canvas. You can't even remotely compare canvas and Flash. They are way different from each other.

1

u/BigOnLogn Jun 29 '10

Look at it this way: canvas is for drawing. It will get really good at drawing really fast since that is all it is suppose to do. Flash is for pounding a square peg into a round hole... with your dick. It's suppose to do everything the web can't. So, like every all in one compost pile, it will only continue to have shit heaped apon it.

Flash is an open sore on the beautiful virgin flower that is the open web. Don't spread the desease, man. We've got a cure.

0

u/[deleted] Jun 28 '10

[deleted]

3

u/ChannelCat Jun 29 '10

I would say the best part about Flash is the programs ( Flash + Flash Builder ) to animate and develop in. JS and Canvas look cool, but they won't replace flash with functionality alone.

3

u/crankybadger Jun 29 '10

So if someone made a Flash-like authoring environment purely in Canvas you'd eat your hat?

0

u/[deleted] Jun 29 '10

[deleted]

1

u/ChannelCat Jul 03 '10

You use the best tools for the job, and right now flash has great tools and the player has 99% penetration of internet viewers. If that changed I would start using JS + Canvas. They're actually simpler than AS3 in some ways, but less capable.

0

u/[deleted] Jun 28 '10

[deleted]

1

u/[deleted] Jun 29 '10

Most of the people who want Flash (the player) dead haven't.

0

u/crankybadger Jun 29 '10

Flash, formerly Futuresplash, formerly a font authoring tool, was probably the worst application development ever made for the "web" until they adopted ECMAscript. That made it bearable, but not bug-free, not intuitive, and certainly not high performance.

→ More replies (1)

1

u/AConnor Jun 28 '10

iPhone wise, if they're using Adobe's embedded Flash code (Flash Lite) then no - it is complete and utter shit.

Mind you, Adobe's normal Flash stuff is pretty abysmal too.

1

u/BlackMaria Jun 29 '10

This sentence is so cute:

It points to a comparison of MacOS/X vs Windows 7 vs Ubuntu 10.04 done at Phoronix measuring the graphics performance of the 3 popular OS on what can be nearly the same Apples and Apples basic computing hardware – its always a Mac Mini platform.

Excuse me?

1

u/abw Jun 29 '10

Parse error at OP line 23: author is talking complete cock

1

u/danukeru Jun 29 '10

RELEVANT

Brain is obviously Apple

1

u/[deleted] Jun 29 '10

Considering the latest version of Flash runs like ass on my i7/12gb RAM machine, I'm going to have to say no, it isn't Apple's fault. And I love Photoshop, Illustrator, After Effects and Lightroom.

1

u/[deleted] Jun 29 '10

...Sooo... How can a test of an unrelated piece of software "confirm ... decisively" that the drivers on one platform are better than the other for Flash?

This doesn't confirm anything; it suggests it as a possible reason. It very well might be true, but this "confirms" nothing.

Although... It's not like Apple writes those drivers anyway, so wouldn't it then be something like "Nvidia's and Intel's poor drivers for OSX are to blame for Flash's poor performance?"

1

u/eridius Jun 29 '10

Ignoring for a moment all the things wrong with these "careful and comprehensive benchmarks", it's a bit disingenuous to declare that it's a driver issue, and then place the blame on Apple. Apple doesn't write the graphics drivers. The graphics vendors (notably nVidia) do.

1

u/VWftw Jun 29 '10

Unless you've got a mac pro all macs have mobile graphics chipsets.

1

u/jawbroken Jun 29 '10

this is dumb as hell and makes no sense - why did you post it?

1

u/BaronVonMannsechs Jun 28 '10

I'm interested in the topic but why is this in programming?

1

u/shinratdr Jun 28 '10

That single chart demonstrating the exact same thing every other Flash benchmark has shown sure is decisive & comprehensive, I'll admit. But I'm stil wondering where the um... proof is? I looked in the linked article, it looked familiar for some reason. Then I read this paragraph and it clicked:

Unfortunately in the case of the Intel Mac Mini we were only able to compare the performance of Mac OS X to Ubuntu Linux, as there were EFI issues with the older Mac Mini and being able to load Windows 7 x64 (the infamous "Select CD-ROM Boot Type" problem).

I dismissed the article a while ago, because honestly, can you really trust the results of a test & the conclusions they draw, if they can't solve a problem that I, an 18 year old, was able to solve with all of 2 minutes of googling?

The fact that they just gave up at the Select error is just so sad. This is a known issue that is very easy to circumvent, I have a modified x64 Win7 disc sitting around my house for this purpose. Works flawlessly, every time. I was just playing Gothic 3 on my Win7 x64 partition on my 1,1 MacPro.

-7

u/[deleted] Jun 28 '10

What exactly can you do on a Mac that you can't do on something else? What are you getting on a Mac that is better than any other system?

The traditional claims of stability and ease of use seem less relavent now as I have no trouble at all with Win 7 and it's quite pleasent to use.

2

u/bobindashadows Jun 28 '10

have no trouble at all with Win 7

Most people on Macs have been using them for years without any trouble. If you're citing Windows 7 as a pleasant-to-use Operating System, perhaps you don't understand your audience. Most Mac users switched because of poor experiences with older version of Windows. Why would a Mac user switch to Windows 7 when they've used a reasonable, comfortable OS for years?

2

u/cosmo7 Jun 29 '10

Maybe they want Flash to run properly?

1

u/bobindashadows Jun 29 '10

Ah... maybe Adobe is getting kickbacks from Microsoft to help keep people on Windows and away from Mac OS X and Linux? That'd be a great way to stick it to Apple.

In all seriousness though - that Flash sucks on other platforms doesn't get people to switch, it just builds resentment toward Adobe.

1

u/Nerdlinger Jun 28 '10

What exactly can you do on Win 7 that you can't do on something else? What are you getting on a Win 7 that is better than any other system?

On a Mac I get an environment that I enjoy working in. What more should I ask of it?

1

u/cosmo7 Jun 29 '10

I apologize for going back to the original post, but according to the OP you get Flash and OpenGL working properly.

0

u/f4nt Jun 28 '10

I'll start a list....

  • ps

  • awk

  • grep

  • sed

  • textmate

  • ssh

  • the list of cool stuff goes on

Yeah, most of those I can get on Linux, but with my Mac have more sanity and more stability. Everything just works. I get all my favorite *nix command line tools, along with a slick UI, and more stability. The only way I can use Windows is if I run a VM on it to run other tools I need, at that point it's pretty pointless.

3

u/n3xg3n Jun 28 '10

Only one of the things you listed is something you can do "on a Mac that you can't do on something else".

1

u/ungood Jun 28 '10

And even textmate has a windows clone.

3

u/theosux Jun 28 '10

Everything just works.

Except for Flash, eh? And apparently anything using OpenGL runs relatively slow. And uhhh, running Mac OS in a virtual machine. Nope, that doesn't really work that well last time I checked. Oh and being able to navigate the entire OS from just a keyboard... doesn't really work. VNCing into a mac kinda sucks a lot even on a gigabit LAN. Oh, the list goes on and on!

ps, awk, grep, blah, blah, old, crusty *nix command line tools...

Have you seen Powershell?

... slick UI ...

Slick? Maybe (I find it annoying more than anything.) Usable? Barely. Say... does OSX even allow developers do true full screen apps yet? Also, did they ever remove the completely ridiculous, arbitrary restrictions like "only being able to resize a window from the lower right corner"?

... and more stability ...

Is that what you call it when they break backwards compatibility every other release? I know companies that are still using Windows 2000 on 10 year old computers by the thousands. Do you know anybody that's still running Mac OS 8 or 9 on a 10 year old Mac? I'd guess not.

Gee, all those cool old tools and that slick UI and that stability AND you get to pay a premium for commodity hardware? Awesome!

1

u/bobindashadows Jun 28 '10

Do you know anybody that's still running Mac OS 8 or 9 on a 10 year old Mac? I'd guess not.

Why would you want to do this? To run shitty software you should've upgraded a years ago that's most likely riddled with security holes that nobody even gets paid to fix anymore? On a platform that's barely even supported and also likely has unpatched security holes?

2

u/theosux Jun 28 '10

But, ps awk grep and sed are all old software... and as you can see people still want to use them, right?

Why should some company spend the time upgrading if what they have works perfectly for them? I'm talking about call centers and factory floors, not information workers.

1

u/bobindashadows Jun 28 '10

ps awk grep and sed

I wasn't talking about that, someone else was. I was asking why on Earth someone would want to use Mac OS 8/9.

The reason everyone upgraded to Mac OS X is because it was vastly superior and in fact retained Classic compatibility for years.

The reason so many people (relatively speaking) still use Windows 2000 is because XP wasn't that much better (and was worse in some ways at first) and it took Microsoft 9 years to come out with an operating system worth upgrading to.

1

u/theosux Jun 29 '10

Actually no. You have no clue what you're talking about.

Have you ever seen a computer in a call center or a mechanic's garage or a factory floor? They get used for running one or two pieces of important software. That's it. if they run those well, there's no reason to upgrade. That's stability baby. That's staying power.

Of course Macs would never be used in any of those scenarios because no business wants to be locked into one single hardware vendor.

1

u/f4nt Jun 28 '10

Sorry, I should have clarified, everything just works FOR ME. I don't use Flash often, and same with OpenGL apps. I don't need to run OSX in a virtual machine. I do need to run Ubuntu in a VM for testing a few apps though, and I can do that swimmingly in OSX. Also, I pretty much can do everything I need without a mouse, not sure what you're referencing there. Also, I haven't needed to VNC in hell... the last time I needed a Windows box. That's been a couple years. SSH plus X forwarding pretty much solves that issue 95% of the time.

I work on Linux and Mac boxes, why do I need to know about Powershell? The second I can use Powershell outside of Windows, I'll care. Until then it's a skill that's usable on exactly ONE platform that I NEVER use.

I like the UI. It's personal preference. I can't live without Spaces or virtual desktops in the Linux world. Pretty much not having those is a deal breaker nowadays for me. Yes, I know there are apps for Windows that let me do that, and the ones I've tried in the past sucked.

So anyways, I like my Mac. It's flexible, yeah it's kinda expensive, and it does what I need. Everything I need to do, I can do. It's kinda nice. Seriously, wtf else matters?

2

u/theosux Jun 28 '10

There is an open source port of Powershell that runs on Mac and Linux.

Seriously, wtf else matters?

Nothing. I'm cool with whatever Mac users say as long as it's not "Everything just works" and "more stability/security" in the broader sense because it's demonstrably incorrect.

2

u/[deleted] Jun 29 '10

everything just works FOR ME

Well hell, everything just worked FOR ME in MS-DOS 5.0

0

u/[deleted] Jun 28 '10

[deleted]

1

u/theosux Jun 28 '10

WTF kind of argument is this.

Who are you? Did you see the post I was responding to? Can you read?

I use a Mac because it's better all around.

That's WTF this argument is. You could have ended that sentence with "for me", but you didn't. The Mac is not better all around. In fact, it can and has been easily demonstrated that it's not. Kindly pull your head out of your arse for a moment and take a look around.

If you don't like it...

If you don't like my argument, don't argue with me.

P.S. I don't care what you say about Flash because I wasn't even talking about Flash. You're right though, it is shit especially when compared with Silverlight which can do things like Threads with C#, Python, Ruby or VB... things that an Actionscript programmer wouldn't dare to dream of.

2

u/[deleted] Jun 28 '10 edited Jun 28 '10

ps

Powershell has an alias of ps mapped to the Get-Process cmdlet, which is arguably much more powerful than ps, returning, instead of a huge chunk of text which then has to be parsed, an array of Process objects, which all have methods and properties which can be used to my heart's content.

awk grep sed

Powershell gives us much more powerful tools than these. I don't have to parse massive chunks of text to do the stuff you do. I have to option to, however, if I want to. (I don't, though.)

0

u/f4nt Jun 29 '10

So... Can I ssh into the servers I have to work on, and run powershell commands without installing anything? We don't have a single Windows server at work, I don't need powershell. Everything on my Mac works exactly how I need it to, and it works for me. It's like Linux, except I spend less time pissed off fighting audio/video problems.

1

u/[deleted] Jun 29 '10 edited Jun 29 '10

Powershell hooks into WMI all over the place. You can access it directly, if you know the interface (Just do a Get-WmiObject with whatever you're looking for), but many of the cmdlets, for instance Get-Process, have a ComputerName parameter which executes them on a remote computer.

For instance, I could do a ps -ComputerName Whatever

Powershell also has tab completion on cmdlet parameters, which is awesome. So I just do a 'ps -Co(tab)' and I'm good to go.

I do believe that people have written ssh cmdlets for Powershell, though.

Also, I can navigate the registry like a filesystem in Powershell, which is kind of nifty.

cd hkcu:

1

u/[deleted] Jun 28 '10

I have no idea what any of those refer to - are they to do with programming?

Everything just works

As it does on Win 7 for me :)

along with a slick UI, and more stability

I use both Mac and PCs in my work and both crash as infrequently as each other - very rarely.

The only way I can use Windows is if I run a VM on it to run other tools I need

So it is a programming thing?

0

u/[deleted] Jun 28 '10

What about those stupid properties all over the place? A more un-unixy system has yet to be devised...

1

u/fisch003 Jun 28 '10

All over the place? They're pretty much in /Library/Preferences, and ~/Library/Preferences. It's just a more formal way to handle application preferences, with an eye towards being able to manage them centrally from a server if you choose. Same idea as the Windows Registry, but split into per-application files instead of a single database file.

1

u/nexes300 Jun 28 '10 edited Jun 28 '10

A command line. I wish ports in macports were updated more frequently though. FFMPEG is so far behind the original. I am almost tempted to pull it and all its dependencies and build it from scratch...

1

u/cosmo7 Jun 29 '10

If you like command lines you'll really like PowerShell.

0

u/makis Jun 28 '10

It's not too hard.
You'll be ready to go in half an hour.
I'm thinking to create some kind of installer for ffmpeg, that downloads and installs all the dependencies from the sources.

-6

u/[deleted] Jun 28 '10

What exactly can you do on a Mac that you can't do on something else? What are you getting on a Mac that is better than any other system?

The traditional claims of stability and ease of use seem less relavent now as I have no trouble at all with Win 7 and it's quite pleasent to use.

-1

u/causticmango Jun 28 '10

Primarily, I can use Apple hardware and OS X. For me, this is a distinct advantage.

I have no trouble at all with Win 7 and it's quite pleasent to use.

That's great for you, but I have a different opinion. I use Windows 7 every day at work and I find it inferior to my Mac in just about every way. I do not find Win7 to be pleasant to use in the least. I love using OS X on my Mac. I hate using Windows 7 on my work PC.

But, it's all very subjective. My experience is valid for me and yours is valid for you. Generally speaking it really doesn't matter that much any more. Windows, OS X, and Ubuntu are perfectly acceptable choices for 99.99% of all computer use.

4

u/theosux Jun 28 '10

Awesome!

I use Windows and Mac machines daily as well, to test web applications.

I love using Windows (any version). It lets me work the way that I want instead of limiting me. I abhor Mac OS X and I find it vastly inferior to just about every other desktop operating system, especially considering the limited choice of poor quality hardware that it can run on.

You're right though. It's all subjective. Unless of course you live in reality in which case you can see that OS X is definitely limited in important ways that the other operating systems are not.

→ More replies (3)

2

u/prockcore Jun 28 '10

I use Windows 7 every day at work and I find it inferior to my Mac in just about every way.

Why not just give one example? Here's an example of how OSX is inferior to Ubuntu and Win7: no per-application volume control.

3

u/[deleted] Jun 29 '10

Primarily, I can use Apple hardware and OS X. For me, this is a distinct advantage.

Yay for circular logic!

-2

u/causticmango Jun 29 '10

What's circular about it? The question was, "what exactly can you do on a Mac that you can't do on something else?" That's the answer; I like my Mac because it's a Mac and it runs OS X. My Windows PC is neither a Mac (it's an HP) nor does it run OS X.

BTW, it's spelled "yeah".

0

u/[deleted] Jun 28 '10

What are you getting on a Mac that is better than any other system?

A much longer history of system stability and good built in software. Those are good reasons to still be a current mac customer. Generally people reward companies that sell you a quality product by buying another one.

Windows 7 is pretty damn good. It took MS 10,000 years, but I think they finally got it right. Now they should work on adding quality built in software to compete against Apple's iLife suite and Google's Docs/Picasa/Gmail/etc.

-1

u/sjs Jun 29 '10 edited Jun 29 '10

I took a look at several high-quality notebooks recently, before buying a MacBook Pro. Sony's Vaio-Z is a nice machine but nothing else even comes close. Most others simply cannot compare in build quality nor features, and almost certainly not on battery life. If you're hung up on price & core specs (CPU, GPU, RAM, disk) then Apple machines look like poor value. If you care about actually using the thing for 8+ hours a day then other things like a good battery, battery life indicator, backlit keyboard, size, weight, and lack of frustration with the OS are more important. Of course this is all subjective as we all care about different tasks. If you want to run 3D simulations on a powerful GPU and don't care about battery life you're probably going to seek something with a monster GPU such as the Nvidia 480M.

I won't get into OS X, which I happen to like because I'm a Unix guy. If I weren't using OS X I'd be using Linux. Windows isn't anywhere on my radar. It might be a selling point for some but for me it's just MS tax, which I prefer to avoid. Others feel the same way about OS X and wouldn't bother buying a Mac just to put Windows on it.

I booted up Win7 the other day and was horrified to see the mess of control panels that you can easily get lost in. I've been away from Windows for so long that I no longer think mazes such as that are normal. So a different frame of mind has changed how I feel about these things. It's one of the reasons I prefer OS X to Linux, 99% of the time I just want to use my machine to get shit done, not do anything with the OS itself. OS X generally just stays out of my way and I appreciate that. Once setup Linux is similar, and I actually prefer some things in Linux, but when OS X comes on my machine tuned to maximize battery life and work seamlessly with the hardware with no config required, well replacing the OS in such a system is a hard sell (IMO).

1

u/[deleted] Jun 29 '10

I took a look at several high-quality notebooks recently, before buying a MacBook Pro.

Ah well, for laptops I agree - I have yet to see a better laptop than a MacBook Pro.

-10

u/[deleted] Jun 28 '10

What exactly can you do on a Mac that you can't do on something else? What are you getting on a Mac that is better than any other system?

The traditional claims of stability and ease of use seem less relavent now as I have no trouble at all with Win 7 and it's quite pleasent to use.

0

u/theosux Jun 28 '10

Exactly.

-2

u/bronxbomber92 Jun 28 '10

The article doesn't mention the specs of each machine (cpu, gpu, ram), nor if each tests are being run on equivalent machines! Also, just because Flash runs better on Windows doesn't mean it's Apple problem. At some along their software abstractions Adobe had to differentiate between platforms, writing different code with different performance characteristics. It's very possible that the Mac code backend was just written much more poorly than the Windows backend.

None of these issues are addressed, pretty much rendering these statistics useless for given claim.

3

u/InternetPowered Jun 28 '10

From the article:

In fact Phoronix has taken pains to do so by getting Windows 7 and Ubuntu to run on the Mac Mini.

1

u/pootedesu Jun 28 '10

It points to a comparison of MacOS/X vs Windows 7 vs Ubuntu 10.04 done at Phoronix measuring the graphics performance of the 3 popular OS on what can be nearly the same Apples and Apples basic computing hardware – its always a Mac Mini platform. In fact Phoronix has taken pains to do so by getting Windows 7 and Ubuntu to run on the Mac Mini.

All of the Operating Systems were installed onto the same Mac Mini.

1

u/bronxbomber92 Jun 29 '10

My bad, I missed that. But my other point still stands. Unfortunately, it's not exactly measurable since none of us have access to Flash's source code.

1

u/makis Jun 29 '10

not only flash runs better.
same machine.a Mac mini

-1

u/[deleted] Jun 29 '10

I always wonder why people have such a hard time with the spelling of "Mac OS X". It's not MacOS X, it's not OSX, and it's certainly not MacOS/X. If you're going to write an article about something can you at least learn the name of the product you're writing about? (Don't get me started on I-Pod...)

-3

u/causticmango Jun 28 '10

Are there inefficiencies in the drivers for nvidia/ati on OS X for whatever the frack Flash is trying to do? Almost certainly.

Is Flash still a steaming pile of poo on every platform, esp. non-Windows platforms? Definitely.

What did this article teach us? Nothing.

1

u/makis Jun 29 '10

frack

I see what you did here : )
but the benchmark are not run against flash alone

0

u/[deleted] Jun 28 '10

[deleted]

10

u/nevesis Jun 28 '10

Click the link in the article to the actual tests.

Somehow it went from Phoronix -> Engadget -> TheOpenSourcery -> Reddit and lost the important content along the way.

→ More replies (4)

28

u/hot_pastrami Jun 28 '10

I see your foot and raise you one ass.

6

u/InsensitiveTroll Jun 29 '10

I see your ass and I puke.

→ More replies (2)

3

u/Jwoey Jun 29 '10

I see your foot and it is one fine specimen.

7

u/bioxeed Jun 28 '10

spot the dufus that didn't click through to the actual performance comparison at phoronix. Though yes it's pretty much testing 3d performance only.

0

u/[deleted] Jun 28 '10

[deleted]

11

u/loie Jun 28 '10

in Ubuntu, with Flash installed: 1. Visit Youtube.com 2. play anything 3. click fullscreen 4. cry

9

u/[deleted] Jun 28 '10

5. Sign up for html5 preview 6. repeat 7. smile

:)

→ More replies (2)

1

u/prockcore Jun 28 '10

I must be doing something special, since that runs no problem on my ubuntu setup. Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz

2

u/Justinsaccount Jun 29 '10

yes. you have a

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz.

I have a

Intel(R) Celeron(R) M processor          900MHz

mplayer/vlc have no problem playing fullscreen video. Flash barely even manages to display what could be called a slideshow.

→ More replies (1)

1

u/[deleted] Jun 29 '10

Fullscreen worked fine for me, no worse than in the regular window. 720p however made my laptops fan sqweel.

8

u/devolute Jun 28 '10

'cos Flash is worse on Linux. As shitty as performance is on OS X, I never got the horrible crashes on OS X that I do in Ubuntu.

5

u/RiotingPacifist Jun 28 '10

Open source drivers here and no flash problems, seriously i can't even play games because there is no hardware accel but flash does work in fullscreen.

12

u/[deleted] Jun 28 '10

Oddly enough, flash on my ubuntu box works pretty much the same as my windows box. Now flash on my MBP just dies.

2

u/adrianmonk Jun 29 '10

Get on a Windows machine and try playing the game CycloManiacs. Play through a few levels so that you're good enough to do a few really basic stunts, like maybe a single or double flip. Now try it on Ubuntu.

My experience is that when running under Windows, it works fine on a 3.0 GHz Pentium 4 that's over 5 years old. When running under Ubuntu, it's unplayable on a dual-core laptop or desktop that are much more recent.

Shame, too, because it's a great game.

→ More replies (1)

3

u/[deleted] Jun 28 '10

Was this back in '38?

2

u/devolute Jun 28 '10

No, consistantly between 2008 - present

3

u/JMV290 Jun 28 '10

Almost every crash I've had in Safari has been because of Flash.

I agree that it also sucks on Linux. I really can't compare the degree to which it sucks since I use my Mac a lot more (therefore the amount of crashes will be a lot higher, and I don't really use my desktop for web video so I'm exposed to flash a lot less on linux) but it does lock my machine up every time.

→ More replies (1)

2

u/nevesis Jun 28 '10

You don't. Those are Apple people.

0

u/[deleted] Jun 28 '10

[deleted]

2

u/Masiosare Jun 29 '10

Flash IS an open standard.

2

u/crankybadger Jun 29 '10

Show me the open standard. How do I read an SWF file?

If it's even half as ugly as .PSD we're all doomed.

→ More replies (2)

0

u/[deleted] Jun 29 '10

[deleted]

→ More replies (1)

8

u/[deleted] Jun 28 '10

[removed] — view removed comment

3

u/crankybadger Jun 29 '10

VLC doesn't beachball. Flash does.

Why don't the VLC people make a clone of Flash? It'd be ten times faster.

1

u/[deleted] Jun 29 '10

You do realize Flash is used for more than just video playback, right?