Home

Awesome

WhateverGreen

Build Status Scan Status

Lilu plugin providing patches to select GPUs on macOS. Requires Lilu 1.5.6 or newer.

Features

Documentation

Read FAQs and avoid asking any questions. No support is provided for the time being.

Boot arguments

Global
Boot argumentDevicePropertiesDescription
-cdfonenable-hdmi20Enable HDMI 2.0 patches on iGPU and dGPU (Not implemented for macOS 11+)
-wegbetaN/AEnable WhateverGreen on unsupported OS versions (14 and below are enabled by default)
-wegdbgN/AEnable debug printing (available in DEBUG binaries)
-wegoffN/ADisable WhateverGreen
Switch GPU
Boot argumentDevicePropertiesDescription
-wegnoegpudisable-gpu property to each GFX0Disable all external GPUs
-wegnoigpudisable-gpu property to IGPUDisable internal GPU
-wegswitchgpuswitch-to-external-gpu property to IGPUDisable internal GPU when external GPU is installed
AMD Radeon
Boot argumentDevicePropertiesDescription
-rad24N/AEnforce 24-bit display mode
-radcodecN/AForce the spoofed PID to be used in AMDRadeonVADriver
-raddviN/AEnable DVI transmitter correction (required for 290X, 370, etc.)
-radvesaN/ADisable ATI/AMD video acceleration completely
radpg=15N/ADisable several power-gating modes (see FAQ Radeon, required for Cape Verde GPUs: Radeon HD 7730/7750/7770/R7 250/R7 250X)
Board-id
Boot argumentDevicePropertiesDescription
agdpmod=ignoreagdpmod property to external GPUDisables AGDP patches (vit9696,pikera value is implicit default for external GPUs)
agdpmod=pikeraagdpmod property to external GPUReplaces board-id with board-ix
agdpmod=vit9696agdpmod property to external GPUDisable check for board-id
Nvidia
Boot argumentDevicePropertiesDescription
-ngfxdbgN/AEnable NVIDIA driver error logging
ngfxcompat=1force-compatIgnore compatibility check in NVDAStartupWeb
ngfxgl=1disable-metalDisable Metal support on NVIDIA
ngfxsubmit=0disable-gfx-submitDisable interface stuttering fix on 10.13
Intel HD Graphics
Boot argumentDevicePropertiesDescription
-igfxblrenable-backlight-registers-fix property on IGPUFix backlight registers on KBL, CFL and ICL platforms
-igfxblsenable-backlight-smoother property on IGPUMake brightness transitions smoother on IVB+ platforms. Read the manual
-igfxbltenable-backlight-registers-alternative-fix property on IGPUAn alternative to the Backlight Registers Fix and make Backlight Smoother work on KBL/CFL platforms running macOS 13.4 or later. Read the manual
-igfxcdcenable-cdclk-frequency-fix property on IGPUSupport all valid Core Display Clock (CDCLK) frequencies on ICL platforms. Read the manual
-igfxdbeoenable-dbuf-early-optimizer property on IGPUFix the Display Data Buffer (DBUF) issues on ICL+ platforms. Read the manual
-igfxdumpN/ADump IGPU framebuffer kext to /var/log/AppleIntelFramebuffer_X_Y (available in DEBUG binaries)
-igfxdvmtenable-dvmt-calc-fix property on IGPUFix the kernel panic caused by an incorrectly calculated amount of DVMT pre-allocated memory on Intel ICL platforms
-igfxfbdumpN/ADump native and patched framebuffer table to ioreg at IOService:/IOResources/WhateverGreen
-igfxhdmidivsenable-hdmi-dividers-fix property on IGPUFix the infinite loop on establishing Intel HDMI connections with a higher pixel clock rate on SKL, KBL and CFL platforms
-igfxi2cdbgN/AEnable verbose output in I2C-over-AUX transactions (only for debugging purposes)
-igfxlspconenable-lspcon-support property on IGPUEnable the driver support for onboard LSPCON chips.<br> Read the manual
-igfxmlrenable-dpcd-max-link-rate-fix property on IGPUApply the maximum link rate fix
-igfxmpcenable-max-pixel-clock-override and max-pixel-clock-frequency properties on IGPUIncrease max pixel clock (as an alternative to patching CoreDisplay.framework
-igfxnohdmidisable-hdmi-patchesDisable DP to HDMI conversion patches for digital sound
-igfxnotelemetryloaddisable-telemetry-load property on IGPUDisables iGPU telemetry loading that may cause a freeze during startup on certain laptops such as Chromebooks
-igfxsklaskblN/AEnforce Kaby Lake (KBL) graphics kext being loaded and used on Skylake models (KBL device-id and ig-platform-id are required. Not required on macOS 13 and above)
-igfxtypecN/AForce DP connectivity for Type-C platforms
-igfxvesaN/ADisable Intel Graphics acceleration
igfxagdc=0disable-agdc property on IGPUDisable AGDC
igfxfcms=1complete-modeset property on IGPUForce complete modeset on Skylake or Apple firmwares
igfxfcmsfbs=complete-modeset-framebuffers property on IGPUSpecify indices of connectors for which complete modeset must be enforced. Each index is a byte in a 64-bit word; for example, value 0x010203 specifies connectors 1, 2, 3. If a connector is not in the list, the driver's logic is used to determine whether complete modeset is needed. Pass -1 to disable.
igfxframe=frameAAPL,ig-platform-id or AAPL,snb-platform-id property on IGPUInject a dedicated framebuffer identifier into IGPU (only for TESTING purposes)
igfxfw=2igfxfw property on IGPUForce loading of Apple GuC firmware
igfxgl=1disable-metalDisable Metal support on Intel
igfxmetal=1enable-metalForce enable Metal support on Intel for offline rendering
igfxonln=1force-online property on IGPUForce online status on all displays
igfxonlnfbs=MASKforce-online-framebuffers property on IGPUSpecify indices of connectors for which online status is enforced. Format is similar to igfxfcmsfbs
igfxpavp=1igfxpavp property on IGPUForce enable PAVP output
igfxrpsc=1rps-control property on IGPUEnable RPS control patch (improves IGPU performance)
igfxsnb=0N/ADisable IntelAccelerator name fix for Sandy Bridge CPUs
Backlight
Boot argumentDevicePropertiesDescription
applbkl=3applbkl propertyEnable PWM backlight control of AMD Radeon RX 5000 series graphic cards read here.
applbkl=0applbkl property on IGPUDisable AppleBacklight.kext patches for IGPU. <br>In case of custom AppleBacklight profile read here
2nd Boot stage
Boot argumentDevicePropertiesDescription
gfxrst=1N/APrefer drawing Apple logo at 2nd boot stage instead of framebuffer copying
gfxrst=4N/ADisable framebuffer init interaction during 2nd boot stage
Misc
Boot argumentDevicePropertiesDescription
wegtree=1rebuild-device-tree propertyForce device renaming on Apple FW

Credits