Skip to content
This repository has been archived by the owner on Aug 3, 2018. It is now read-only.

Commit

Permalink
Enable Gen6Accelerator name fix by default
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Apr 8, 2018
1 parent 13c64b0 commit 5d4528e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ IntelGraphicsFixup Changelog

#### v1.2.7
- Add `igfxgl=1` boot argument (and `disable-metal` property) to disable Metal support
- Add `igfxsnb=1` boot argument (and `modern-sandy` property) to rename Gen6Accelerator with IntelAccelerator to fix GVA warnings
- Implement Gen6Accelerator with IntelAccelerator rename to fix GVA warnings (use `igfxsnb=0` boot argument to disable)
- Harden solved symbol verification to avoid panics with broken kext cache
- Replace connector-less Sandy Bridge framebuffer for unsupported macmodels from 0x30030 to 0x50000

Expand Down
1 change: 0 additions & 1 deletion IntelGraphicsFixup/kern_igfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ bool IGFX::intelGraphicsStart(IOService *that, IOService *provider) {
}

if (CPUInfo::getGeneration() == CPUInfo::CpuGeneration::SandyBridge) {
callbackIgfx->moderniseAccelerator = provider->getProperty("modern-sandy") != nullptr;
PE_parse_boot_argn("igfxsnb", &callbackIgfx->moderniseAccelerator, sizeof(callbackIgfx->moderniseAccelerator));
if (callbackIgfx->moderniseAccelerator)
that->setName("IntelAccelerator");
Expand Down
2 changes: 1 addition & 1 deletion IntelGraphicsFixup/kern_igfx.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class IGFX {
/**
* Set modern name to Sandy Accelerator
*/
int moderniseAccelerator {0};
int moderniseAccelerator {1};

/**
* Loaded vinfo
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ An open source kernel extension providing patches to select Intel GPUs.
- Allows booting in VESA mode with Intel HD graphics (via `-igfxvesa` boot argument)
- Performs basic framebuffer id injection when none is specified (connector-less frames will be used with discrete GPUs)
- Allows GuC microcode loading with Intel Skylake/Kaby Lake Graphics in 10.13 (via `igfxfw=1` boot argument)
- Renames Gen6Accelerator with IntelAccelerator for Sandy Bridge CPUs for GVA support (via `igfxsnb=1` boot argument or `modern-sandy` property)
- Allows booting with OpenGL-only acceleration (via `ngfxgl=0` boot argument or `disable-metal` property)
- Renames Gen6Accelerator with IntelAccelerator for Sandy Bridge CPUs for GVA support
- Allows booting with OpenGL-only acceleration (via `igfxgl=0` boot argument or `disable-metal` property)

#### Configuration
Add `-igfxdbg` to enable debug printing (available in DEBUG binaries).
Expand All @@ -25,8 +25,8 @@ Add `-igfxvesa` to boot Intel graphics without hardware acceleration (VESA mode)
Add `igfxfw=1` to enable GuC microcode loading in 10.13 or newer.
Add `igfxrst=1` to prefer drawing Apple logo at 2nd boot stage instead of framebuffer copying.
Add `igfxframe=frame` to inject a dedicated framebuffer identifier into IGPU (only for TESTING purposes).
Add `igfxsnb=1` to ensure proper IntelAccelerator name for Sandy Bridge CPUs for GVA support
Add `ngfxgl=0` to disable Metal support
Add `igfxsnb=0` to disable IntelAccelerator name fix for Sandy Bridge CPUs
Add `igfxgl=0` to disable Metal support

#### Credits
- [Apple](https://www.apple.com) for macOS
Expand Down

0 comments on commit 5d4528e

Please sign in to comment.