Seems to be missing some refresh rates for higher resolutions. Maybe there's bugs in CoreDisplay framework. I wonder if there's a limit to the number of resolutions? Did you scroll the entire list in Displays preferences to find another 2560x1440 mode? Maybe there's a problem with the sorting. Displays preferences shows some low resolution modes but SwitchResX is only showing HiDPI modes. SwitchResX seems to be missing some resolutions. Is there a difference between the two 60Hz options? SwitchResX shows all the 2560x1440 HiDPI resolutions (60Hz, 30Hz, 24Hz, 25Hz, 50Hz, 60Hz). The Current Resolutions list in SwitchResX might be easier to read if you sorted by Resolution instead of HiDPI.
#Switchresx app change 30hz to 60hz code#
It looks like the code that uses the new preference is in IOFBBuildModeList and IOFBInstallScaledMode of IOGraphicsLib.c (but the source code available on doesn't include these changes).
#Switchresx app change 30hz to 60hz how to#
The ability to run different refresh rates for a scaled mode is probably in the user code and should not depend on the individual graphics card drivers (those kernel drivers have the resolution and refresh rate that you want, you just need to find out how to get the user land code to use that for a HiDPI mode). Apple might have hidden some stuff in newer versions of those files, so also check older OS versions. These are user land code, not kernel code, so maybe they can be modified to do what you need. "tovr" is for adding "Standard resolutions".Ī lot of the code that uses those is in IOGraphicsLib.c and IODisplayLib.c at.
"IODisplayEDID" is for custom timings that don't go into "dspc". "DisplayProductName" is for custom product name option. "scale-resolutions" is for scaled custom resolutions. "DisplayPixelDimensions" is for the "Scaled resolutions base" option. "default-resolution" is for the "Startup resolution" option. Here's a list of the options that SwitchResX modifies: Strings /System/Library/Frameworks/amework/CoreDisplay Grep -R DisplayPixelDimensions /System/Library/Extensions /Library/Extensions /System/Library/Frameworks Building a CustoMac Hackintosh: Buyer's Guide