Displays current ATI/AMD/Radeon framebuffer
(the same as the above, but with much tidier source code with lots of crud removed)
Displays current Intel framebuffer
Sorry, never had a NVidia when I wrote these, so there's no such thing. But I'm sure it would be easy to make.
admin@mac $ ./lsframebuffer-ati
Prt Conect CtrFlg Conect Display
3. 0x0004 0x0004 DL-DVI LCD
4. 0x0004 0x0014 DL-DVI LCD
0. 0x0400 0x0304 DP NONE
1. 0x0400 0x0304 DP NONE
2. 0x0800 0x0204 HDMI NONE
I forget, but it's really just manipulation of ioreg output, nothing fancy. It's just a useful tool to quickly know if your framebuffers are the way you want 'em.
(included)
(included, because you should never run strange binaries)
gcc -mmacosx-version-min=10.5 -Wall -o lsframebuffer lsframebuffer.c -framework IOKit -framework ApplicationServices
Although that 10.5 thing probably will probably send your 10.11.x compiler into conniptions, so YMMV. Personally, I'm still using 10.8.5 because that's how I roll.
FTR, binaries compiled with the above options still run perfectly on 10.11.x.
- redsock bios decoder
- Easy IOReg Extraction (DSDT, SSDT, Video BIOS, ...)
- Getting all available framebuffers
- AMD Graphics Guide | Rampage Dev
To quickly grab a copy of your VBIOS from within OS X,