Last Comment Bug 678330 - Use IOKit to get precise GPU information in GfxInfo on Mac
: Use IOKit to get precise GPU information in GfxInfo on Mac
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: unspecified
: All Mac OS X
-- normal (vote)
: mozilla10
Assigned To: Nobody; OK to take it and work on it
: Milan Sreckovic [:milan]
: 614073 (view as bug list)
Depends on:
Blocks: 687868 678053
  Show dependency treegraph
Reported: 2011-08-11 12:52 PDT by Benoit Jacob [:bjacob] (mostly away)
Modified: 2011-12-02 11:46 PST (History)
5 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Use IOKit some (5.64 KB, patch)
2011-09-21 15:50 PDT, Jeff Muizelaar [:jrmuizel]
jacob.benoit.1: review+
Details | Diff | Splinter Review

Description User image Benoit Jacob [:bjacob] (mostly away) 2011-08-11 12:52:18 PDT
Currently we use CGL to get GPU information, which is very vague. For example, for NVIDIA cards, it only tells whether the card is a Geforce 8 or newer, or not.

We need to switch to using IOKit like Chrome does: bug 678053 comment 3:

"We use IOKit to scan for PCI-based GPUs.

See "

Once this is done, we can stop blacklisting all Geforce 7 and older cards (bug 678053) and only blacklist the cards known to have issues (Geforce 7300 GT).
Comment 1 User image Jeff Muizelaar [:jrmuizel] 2011-09-21 15:50:06 PDT
Created attachment 561598 [details] [diff] [review]
Use IOKit some
Comment 2 User image Jeff Muizelaar [:jrmuizel] 2011-09-21 15:51:18 PDT
This patch borrows some of the code from Chromium. It doesn't try to detect dual GPU situations and assumes that CGDisplayIOServicePort(kCGDirectMainDisplay) will do the correct thing. This assumption is supported by testing.
Comment 3 User image Marco Bonardo [::mak] 2011-09-28 01:56:38 PDT
Comment 4 User image Ali Juma [:ajuma] 2011-12-02 11:46:26 PST
*** Bug 614073 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.