Closed Bug 584536 Opened 14 years ago Closed 14 years ago

need a driver whitelist and blacklist for OpenGL, D2D and D3D drivers

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 591486
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: blizzard, Assigned: bas.schouten)

References

Details

We're going to need a remote driver whitelist and blacklist for OpenGL, D2D and D3D drivers.  This includes both a server component and a client component.

1. This is largely a problem on windows where there's a variety of drivers for opengl support.
2. We're going to be using D3D compositing with Firefox 4, and we might have issues there.
3. Same with D2D since we're mapping canvas operations directly into D2D operations.

Early idea is to have something like what we do for DLL blacklisting.
Component: Blocklisting → Startup and Profile System
Product: addons.mozilla.org → Toolkit
QA Contact: blocklisting → startup
Current DLL blacklisting is completely client-side within toolkit/xre/nsWindowsDllBlocklist.cpp. There is no server-side besides shipping a new version of Firefox.
This is how we should do driver blacklisting, IMO. Server-side is too much work for not enough gain.
Well, we'd like to find out how much work it actually is, e.g. sending it along with the regular addons blocklist ping.  Server-side lets us be a lot more agile in dealing with problems; otherwise we have to essentially do a full-on firedrill.
Component: Startup and Profile System → Graphics
Product: Toolkit → Core
QA Contact: startup → thebes
(In reply to comment #3)
> Well, we'd like to find out how much work it actually is, e.g. sending it along
> with the regular addons blocklist ping.  Server-side lets us be a lot more
> agile in dealing with problems; otherwise we have to essentially do a full-on
> firedrill.

It would probably not be terribly difficult assuming all you care about is that any changes to the blocklist take effect the next time Firefox restarts and you don't care about UI.

One of the important questions is whether you need the blocklist data before XPCOM comes up or not.
Alright, well, let's start with some way of blacklisting (or whitelisting) drivers given a list from on high. We can enhance this to support remote updates at a later date.
Assignee: nobody → bas.schouten
blocking2.0: --- → beta4+
(In reply to comment #5)
> Alright, well, let's start with some way of blacklisting (or whitelisting)
> drivers given a list from on high. We can enhance this to support remote
> updates at a later date.

Our initial idea was blacklist for DX10 cards (i.e. assume DX10 cards are good, unless told otherwise), and whitelist for DX9 cards (i.e. assume DX9 cards won't work too well, unless told otherwise).

We should keep in mind we don't just want to select on driver version, but also the type of device.
Please have a look at the other bugs hanging off of bug 575738 for other related switches that we're likely to need (global switch, crash reporting information, etc.)
Is this blocking Beta4 or not? I thought we we're going to enable on all DX10 hardware, and take it from there?
I do not think this needs to block b4.  I think it needs to be done, though.
blocking2.0: beta4+ → betaN+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
FWIW, I've started gathering data. It's also useful when handling incoming graphics bug report...

    https://wiki.mozilla.org/User:Bjacob
Blocks: 596720
No longer blocks: 575738
You need to log in before you can comment on or make changes to this bug.