From: "Michael K. Edwards" <medwards.linux@gmail.com>
To: Alan <alan@lxorguk.ukuu.org.uk>
Cc: "Pavel Machek" <pavel@ucw.cz>,
davids@webmaster.com, "v j" <vj.linux@gmail.com>,
trent.waddington@gmail.com,
"Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>,
"Neil Brown" <neilb@suse.de>
Subject: Re: GPL vs non-GPL device drivers
Date: Sun, 25 Feb 2007 06:21:57 -0800 [thread overview]
Message-ID: <f2b55d220702250621h1877f8e8x19293cc8b95bf56@mail.gmail.com> (raw)
In-Reply-To: <20070225135208.6e2eab9c@lxorguk.ukuu.org.uk>
On 2/25/07, Alan <alan@lxorguk.ukuu.org.uk> wrote:
> > of other places too. Especially when the graphics chip maker explains
> > that keeping their driver source code closed isn't really an attempt
> > to hide their knowledge under a bushel basket. It's a defensive
> > measure against having their retail margins destroyed by nitwits who
> > take out all the busy-wait loops and recompile with -O9 to get another
> > tenth of a frame per second, and then pretend ignorance when
> > attempting to return their slagged GPU at Fry's.
>
> Wrong as usual...
If this is an error, it's the first one _you've_ caught me in. Or did
I miss something conformant to external reality in your earlier
critiques?
> The Nvidia driver and ATI drivers aren't full of magical delay loops and
> if there was a way to fry those cards easily in hardware the virus folks
> would already be doing it. The reverse engineering teams know what is in
> the existing code thank you. Creating new open source drivers from it is
> however hard because of all the corner cases.
Several years ago I worked on a MIPS-based set-top prototype mated to
a graphics+HDTV board from a major PC 3-D vendor. We had full
documentation and a fair amount of sample code under NDA. We were on
the vendor's board spin 52 -- 52! and they'd sometimes spun the chip a
couple times internally between released boards -- before it could be
persuaded to do the documented thing with regard to video textures.
In the meantime, we frotzed a lot of boards and chips before we
decided to stick a triple-size fan to the damn thing with thermal
grease and to avoid taking any chances with new VRAM timings except in
the oversized chassis with the jet-engine fans. Maybe things have
gotten better since then, but I doubt it.
Busy-wait loops were a rhetorical flourish, I grant you. But software
interlocks on data movement that protect you against some "corner
case" you're unlikely to think of on your own are the norm, as is
software-assisted clock scaling guided by temperature sensors in half
a dozen places on chip and package. You can drive enough watts
through a laptop GPU to fry an egg on it -- which is not kind to the
BGA bonds. Yes, I have killed a laptop this way -- one that's
notorious for popping its GPU, but it's no accident that the last
thing I did to it was run a game demo that let me push my luck on the
texture quality.
It's also quite common, or used to be, for the enforcement of limits
on monitor sync timings to be done in software, and it's quite
possible to kill an underdesigned monitor or grossly exceed regulatory
emissions limits by overdriving its resolution and frame rate. (I've
never actually blown one up myself, but I've pushed my luck
overdriving a laptop dock's DVI and gotten some lovely on-screen
sparklies and enough ultrasonics to set the neighbor's dog to
whining.) Viruses that kill your monitor may be urban legend, but
it's a can of worms that a smart graphics vendor doesn't want to be
liable for opening. The FCC also frowns on making it too easy for
hobbyists to turn a Class B device into a two-block-radius FM jammer.
> You will instead find that both vendors stopping providing Linux related
> source code at about the point they got Xbox related contracts. A matter
> which has been pointed out to various competition and legal authorities
> and for now where it seems to lie.
I know it's fun to blame everything on Redmond, but how about a
simpler explanation? The technology and market for 3-D graphics is
now sufficiently mature to allow revenue maximization through market
segmentation -- in other words, charging some people more than others
for the same thing because they're willing and able to pay extra. The
volumes are also high enough to test chips as they come out of fab and
bin them by maximum usable clock speed, just like Intel has done with
its CPUs for the last decade. Blow a couple of dozen fuses to set a
chip ID, laser trim a couple of resistors to set a default clock
multiplier, and sell one for ten times what you get for the other.
It's the only way to survive in a mature competitive environment.
Now, suppose the silicon process for GPUs has stabilized to where chip
yields have greatly improved, and maybe 80% of the chips that work at
all are good enough to go in any but the top-of-the-line gamer
specials. So where do they get the chips for a motherboard that sells
for $69 at Fry's? They artificially bin them by target spec, blow
those fuses and trim those resistors, and charge what the market will
bear, niche by niche. The driver picks up on the chip ID and limits
its in-system performance to the advertised spec, and everyone goes
home happy.
The graphics chip vendors are not utterly stupid. They have seen what
has happened to the retail distribution of x86 CPUs, in which
overclocker types take six mid-range chips home, see which one they
can clock into the stratosphere for 24 hours without actually setting
the motherboard on fire (they don't mind a little toxic outgassing
from the thermal grease), and return the other five, not visibly the
worse for wear. (Yes, I know people who have done this.) They are
not about to hand their own heads to you on a silver platter along
with the source code that implements their market segmentation -- and
I, for one, don't blame 'em.
You go on believing that the X-Box contracts say "don't let Alan see
your source code any more". Or if you prefer, believe that ATI and
NVidia don't know everything there is to know about each other's
external interfaces, or that they fear their source code will help
some VLSI sweatshop in Nowheristan clone chips that are protected by
hundreds of patents and are way more complicated inside than the
average CPU. Because we all know how big the market for first-person
shooters is in the places in central Asia where patents can't reach.
Me, I'm going to stick to the explanation that's staring me in the
face when I read the annual reports.
> Fortunately at the moment there is a simple cure - buy Intel hardware.
> That also has the advantage that you are more likely to get help because
> some of us only look at AMD processor related problems as part of
> official work duties nowdays, and plan to do so until AMD (as owner
> of ATI) behave.
Taking your marbles and going home? Now _there's_ a way to win
friends and influence people. Personally, I don't exactly buy AMD or
Intel for desktop use; I buy a complete, working system that I'm never
going to be tempted to crack open and find out what's in it. In
recent years that has meant Macs at home and whatever IT gave me at
work (preferably a craptop with lots of dots; I promise not to fry
them with game demos in the future). And I certainly don't look at
processor related problems on my own time -- my hobbies are choral
singing and my rose garden. Guess which one of us is a better
predictor of future market trends?
Cheers,
- Michael
next prev parent reply other threads:[~2007-02-25 14:22 UTC|newest]
Thread overview: 255+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9b3a62ab0702142115m4ea7d2c0m6869eb64ef3ee14e@mail.gmail.com>
2007-02-15 5:16 ` v j
[not found] ` <75b66ecd0702142130x64824694ieee1869d0d70ab15@mail.gmail.com>
2007-02-15 5:38 ` v j
2007-02-15 5:47 ` Trent Waddington
[not found] ` <9b3a62ab0702142214p5c33a02am7e783c59ae0a64f1@mail.gmail.com>
2007-02-15 6:16 ` v j
2007-02-15 12:45 ` Neil Horman
2007-02-15 6:35 ` Trent Waddington
2007-02-15 6:46 ` v j
2007-02-15 6:56 ` Trent Waddington
2007-02-15 7:32 ` Dave Jones
2007-02-15 9:44 ` Jeff Garzik
2007-02-15 10:50 ` Dave Jones
2007-02-15 14:24 ` Jan De Luyck
2007-02-15 14:37 ` Benny Amorsen
2007-02-15 14:47 ` Bernd Petrovitsch
2007-02-15 17:49 ` Jan Knutar
2007-02-15 7:55 ` Neil Brown
2007-02-15 14:45 ` Bernd Petrovitsch
2007-02-15 20:21 ` Chris Snook
2007-02-15 22:34 ` Jeff Garzik
2007-02-16 4:20 ` Alexandre Oliva
2007-02-15 6:11 ` Dave Jones
2007-02-15 6:27 ` v j
2007-02-15 6:43 ` Neil Brown
2007-02-15 6:55 ` v j
2007-02-15 7:02 ` Trent Waddington
2007-02-15 7:09 ` v j
2007-02-15 7:18 ` Trent Waddington
2007-02-15 7:30 ` Neil Brown
2007-02-15 11:52 ` Adrian Bunk
2007-02-15 7:11 ` Randy Dunlap
2007-02-15 7:28 ` v j
2007-02-15 7:43 ` Neil Brown
2007-02-15 7:53 ` Trent Waddington
2007-02-15 8:11 ` Neil Brown
2007-02-15 8:35 ` Trent Waddington
2007-02-15 20:56 ` David Schwartz
2007-02-15 21:51 ` Trent Waddington
2007-02-16 0:38 ` David Schwartz
2007-02-16 12:53 ` Adrian Bunk
2007-02-17 2:42 ` David Schwartz
2007-02-17 8:29 ` Neil Brown
2007-02-18 2:55 ` Michael K. Edwards
2007-02-18 3:26 ` Trent Waddington
2007-02-18 6:56 ` Michael K. Edwards
2007-02-18 7:20 ` Michael K. Edwards
2007-02-18 8:54 ` Oleg Verych
2007-02-18 23:42 ` Michael K. Edwards
2007-02-18 13:57 ` Theodore Tso
2007-02-18 21:16 ` Trent Waddington
2007-02-18 1:26 ` Trent Waddington
2007-02-18 1:28 ` David Lang
2007-02-18 1:51 ` Trent Waddington
2007-02-19 17:48 ` David Schwartz
2007-02-19 20:55 ` Trent Waddington
2007-02-19 21:53 ` Michael K. Edwards
2007-02-19 22:26 ` Trent Waddington
2007-02-19 22:48 ` Michael K. Edwards
2007-02-19 22:58 ` Trent Waddington
2007-02-19 23:18 ` Michael K. Edwards
2007-02-19 23:26 ` Trent Waddington
2007-02-20 0:28 ` Michael K. Edwards
2007-02-20 0:36 ` Trent Waddington
2007-02-20 0:50 ` Michael K. Edwards
2007-02-20 0:55 ` Trent Waddington
2007-02-20 0:58 ` Michael K. Edwards
2007-02-20 1:00 ` Trent Waddington
2007-02-20 7:48 ` Trent Waddington
2007-02-20 8:24 ` v j
2007-02-20 9:01 ` Trent Waddington
2007-02-20 1:29 ` David Schwartz
2007-02-20 5:19 ` v j
2007-02-20 10:54 ` Nick Piggin
2007-02-20 11:00 ` Bernd Petrovitsch
2007-02-20 15:14 ` Valdis.Kletnieks
2007-02-20 15:39 ` Bernd Petrovitsch
2007-02-20 14:36 ` Helge Hafting
2007-02-20 20:30 ` Jan-Benedict Glaw
2007-02-21 12:45 ` Helge Hafting
2007-02-21 22:08 ` Michael K. Edwards
2007-02-21 23:30 ` Nuno Silva
2007-02-22 0:26 ` Michael K. Edwards
2007-02-21 23:34 ` David Lang
2007-02-22 0:28 ` Michael K. Edwards
2007-02-22 1:30 ` D. Hazelton
2007-02-22 2:05 ` Michael K. Edwards
2007-02-22 4:17 ` D. Hazelton
2007-02-22 4:24 ` Trent Waddington
2007-02-22 6:12 ` Michael K. Edwards
2007-02-22 9:28 ` Jon K Hellan
2007-02-22 16:45 ` Theodore Tso
2007-02-22 20:30 ` D. Hazelton
2007-02-25 0:59 ` Adrian Bunk
2007-02-22 14:14 ` Alan
2007-02-22 22:42 ` Michael K. Edwards
2007-02-23 0:18 ` Alan
2007-02-23 1:12 ` Randy Dunlap
2007-02-23 1:21 ` Michael K. Edwards
2007-02-22 14:10 ` Alan
2007-02-22 21:36 ` D. Hazelton
2007-02-22 22:28 ` Michael K. Edwards
2007-02-25 10:42 ` Pavel Machek
2007-02-25 11:33 ` David Schwartz
2007-02-25 19:39 ` Pavel Machek
2007-02-26 0:47 ` David Schwartz
2007-02-26 1:54 ` D. Hazelton
2007-02-25 11:54 ` Michael K. Edwards
2007-02-25 13:52 ` Alan
2007-02-25 14:21 ` Michael K. Edwards [this message]
2007-02-25 19:10 ` Alan
2007-02-26 10:16 ` Michael K. Edwards
2007-02-26 14:12 ` Alan
2007-02-25 22:27 ` Trent Waddington
2007-02-26 10:17 ` Michael K. Edwards
2007-02-25 20:15 ` D. Hazelton
2007-02-25 17:56 ` Stephen Clark
2007-02-19 22:47 ` David Schwartz
2007-02-15 13:09 ` Jan Engelhardt
2007-02-15 8:12 ` Nick Piggin
2007-02-15 10:01 ` Xavier Bestel
2007-02-15 10:51 ` Mohammed Gamal
2007-02-15 11:00 ` Xavier Bestel
2007-02-15 11:05 ` Trent Waddington
2007-02-15 11:17 ` Dave Jones
2007-02-15 11:15 ` Dave Jones
2007-02-15 11:35 ` Trent Waddington
2007-02-15 13:14 ` Jan Engelhardt
2007-02-15 14:43 ` Bernd Petrovitsch
2007-02-15 16:22 ` Stuart MacDonald
2007-02-16 0:36 ` Scott Preece
2007-02-16 9:44 ` Xavier Bestel
2007-02-16 9:58 ` Bernd Petrovitsch
2007-02-15 7:24 ` Dave Jones
2007-02-15 9:54 ` Xavier Bestel
2007-02-15 14:14 ` Neil Horman
2007-02-15 14:43 ` Bernd Petrovitsch
2007-02-15 16:25 ` Rik van Riel
2007-02-15 16:53 ` Theodore Tso
2007-02-15 18:20 ` v j
2007-02-15 18:41 ` Josh Boyer
2007-02-16 15:34 ` Lennart Sorensen
2007-02-15 18:58 ` Xavier Bestel
2007-02-15 19:02 ` Miguel Ojeda
2007-02-16 1:12 ` Scott Preece
2007-02-16 1:14 ` David Lang
2007-02-16 5:48 ` v j
2007-02-16 5:57 ` Trent Waddington
2007-02-16 6:25 ` v j
2007-02-16 6:40 ` Miguel Ojeda
2007-02-16 6:45 ` Trent Waddington
2007-02-16 9:16 ` David Schwartz
2007-02-16 10:00 ` Joshua Simmons
2007-02-16 11:42 ` David Schwartz
2007-02-16 11:51 ` Bernd Petrovitsch
2007-02-16 13:29 ` Joshua Simmons
2007-02-17 2:42 ` David Schwartz
2007-02-17 6:44 ` Alexandre Oliva
2007-02-17 7:26 ` Valdis.Kletnieks
2007-02-16 10:35 ` Richard Knutsson
2007-02-16 17:12 ` Dave Neuer
2007-02-16 21:26 ` Scott Preece
2007-02-18 17:08 ` Pavel Machek
2007-02-17 2:42 ` David Schwartz
2007-02-17 10:46 ` Giuseppe Bilotta
2007-02-17 14:19 ` David Schwartz
2007-02-17 23:30 ` Giuseppe Bilotta
2007-02-17 23:55 ` Michael K. Edwards
2007-02-18 9:00 ` Giuseppe Bilotta
2007-02-19 17:53 ` David Schwartz
2007-02-18 5:15 ` Alexandre Oliva
2007-02-17 22:18 ` Dave Neuer
2007-02-17 23:04 ` David Schwartz
2007-02-17 23:04 ` Michael K. Edwards
2007-02-16 9:52 ` Valdis.Kletnieks
2007-02-16 13:44 ` Trent Waddington
2007-02-16 10:30 ` Valdis.Kletnieks
2007-02-16 10:38 ` Bernd Petrovitsch
2007-02-16 14:04 ` Neil Horman
2007-02-16 14:14 ` Jesper Juhl
2007-02-17 2:59 ` David Schwartz
2007-02-17 6:32 ` Alexandre Oliva
2007-02-17 13:27 ` David Schwartz
2007-02-17 19:29 ` Scott Preece
2007-02-17 21:15 ` Michael K. Edwards
2007-02-19 20:31 ` Alan
2007-02-19 20:20 ` Michael K. Edwards
2007-02-19 20:48 ` linux-os (Dick Johnson)
2007-02-19 21:50 ` Michael K. Edwards
2007-02-19 22:12 ` Michael Dreher
2007-02-17 21:21 ` David Schwartz
2007-02-18 4:38 ` Alexandre Oliva
2007-02-16 15:40 ` Lennart Sorensen
2007-02-16 9:12 ` Xavier Bestel
2007-02-16 9:44 ` Jon K Hellan
2007-02-16 11:41 ` Jan Engelhardt
2007-02-16 6:46 ` Miguel Ojeda
2007-02-15 19:27 ` Geert Uytterhoeven
2007-02-16 1:24 ` Scott Preece
2007-02-15 22:21 ` Jeff Garzik
2007-02-16 0:04 ` Michael K. Edwards
2007-02-16 0:37 ` Jeff Garzik
2007-02-16 2:09 ` Michael K. Edwards
2007-02-16 2:12 ` Trent Waddington
2007-02-16 4:00 ` Alexandre Oliva
2007-02-16 5:16 ` Jeff Garzik
2007-02-16 5:57 ` Alexandre Oliva
2007-02-15 22:42 ` Gene Heskett
2007-02-16 1:48 ` Scott Preece
2007-02-17 4:03 ` Michael K. Edwards
2007-02-17 4:19 ` Gene Heskett
[not found] ` <7b69d1470702151705h297c3b38g138eb0138b900aea@mail.gmail.com>
2007-02-16 2:00 ` v j
2007-02-16 6:07 ` Chris Friesen
2007-02-16 8:36 ` Martin Mares
2007-02-16 17:00 ` Matthew Frost
2007-02-16 17:52 ` Matthew Frost
2007-02-20 14:55 ` Helge Hafting
2007-02-16 0:10 ` Greg Trounson
2007-02-16 0:18 ` Lee Revell
2007-02-16 0:37 ` Greg Trounson
2007-02-16 1:58 ` Lee Revell
2007-02-16 0:58 ` Scott Preece
2007-02-18 16:42 ` Pavel Machek
2007-02-15 6:15 ` Neil Brown
2007-02-15 6:51 ` Gene Heskett
2007-02-15 6:23 ` Ben Nizette
2007-02-15 7:40 ` Nick Piggin
2007-02-15 20:56 ` David Schwartz
2007-02-15 21:53 ` Bernd Petrovitsch
2007-02-15 22:41 ` Jeff Garzik
2007-02-15 23:20 ` Bernd Petrovitsch
2007-02-15 7:36 ` Arjan van de Ven
2007-02-15 8:04 ` v j
2007-02-15 8:13 ` Arjan van de Ven
2007-02-15 8:17 ` Richard Knutsson
2007-02-15 8:40 ` v j
2007-02-15 19:36 ` Jörn Engel
2007-02-15 8:24 ` Nick Piggin
2007-02-15 11:52 ` Martin Mares
2007-02-16 4:13 ` Alexandre Oliva
2007-02-16 13:32 ` Lennart Sorensen
2007-02-15 11:54 ` Mws
2007-02-15 12:51 ` Manu Abraham
2007-02-15 14:32 ` linux-os (Dick Johnson)
2007-02-15 14:54 ` Manu Abraham
2007-02-16 8:19 ` Valdis.Kletnieks
2007-02-16 9:25 ` Bernd Petrovitsch
2007-02-16 15:33 ` Chris Friesen
2007-02-16 15:58 ` Scott Preece
2007-02-15 15:18 ` Michael K. Edwards
2007-02-15 11:06 Ihar `Philips` Filipau
[not found] <7OHci-7fx-5@gated-at.bofh.it>
[not found] ` <7OHci-7fx-3@gated-at.bofh.it>
[not found] ` <7OJnQ-24B-19@gated-at.bofh.it>
[not found] ` <7OJQP-2VO-9@gated-at.bofh.it>
2007-02-15 11:53 ` Bodo Eggert
[not found] ` <7OI8n-fp-11@gated-at.bofh.it>
[not found] ` <7OIi9-tI-11@gated-at.bofh.it>
[not found] ` <7OS7S-7tW-27@gated-at.bofh.it>
[not found] ` <7OTx3-1tH-17@gated-at.bofh.it>
2007-02-15 23:40 ` Bodo Eggert
[not found] <fa.GPbYGi2HYDPl2WlRgsq2dPbD6cM@ifi.uio.no>
[not found] ` <fa.5t0XkAtEpB2nDYFPJKUBce9BKFE@ifi.uio.no>
[not found] ` <fa.upvZMIS42lj8Tbudh1OdnbDn+Ts@ifi.uio.no>
[not found] ` <fa.821rWTmf8FgAMnDeO7b6yeUeXYg@ifi.uio.no>
[not found] ` <fa.+3hIy95KSdtolNz5kNmm6qk4FU8@ifi.uio.no>
2007-02-15 23:31 ` Robert Hancock
2007-02-16 15:29 ` linux-os (Dick Johnson)
2007-02-16 23:08 ` Robert Hancock
2007-04-01 12:16 devzero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f2b55d220702250621h1877f8e8x19293cc8b95bf56@mail.gmail.com \
--to=medwards.linux@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davids@webmaster.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=pavel@ucw.cz \
--cc=trent.waddington@gmail.com \
--cc=vj.linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®