Skip to content

Instantly share code, notes, and snippets.

@erichrobinson
Last active November 12, 2024 08:45
Show Gist options
  • Save erichrobinson/9755ba1f3ec45b289c40 to your computer and use it in GitHub Desktop.
Save erichrobinson/9755ba1f3ec45b289c40 to your computer and use it in GitHub Desktop.
SwitchResX Configuration

#SwitchResX Settings for LG 21:9 UltraWide

SwitchResX is a utility that allows users to override the default resolution settings in OSX. For more information, including download links, vist http://www.madrau.com/ .

##Disabling System Integrity Protection (SIP)

If you are running OSX 10.11 or higher, SIP must be disabled. To disable SIP do the following:

  • Boot into the recovery partition by pressing CMD + R when starting up your Mac.
  • Once in recovery mode, open a terminal window.
  • Type the command csrutil disable
  • Reboot

##Adding Custom Settings

  • After launching SwitchResX, select the external monitor from the list on the left.
  • Select the 'Custom Resolutions' tab.
  • Add a new custom resolution be clicking the + symbol at the bottom of the window.
  • Adjust the settings to match the appropriate PNG provided in this gist.
  • Press 'Ok'
  • Close SwitchResX and save when prompted.
  • Restart your Mac.

After following these steps, you should be able to adjust the resolution of your external monitor through the 'Display' window in System Preferences.

@githubme1021
Copy link

I have an external monitor; LG 25UM58-P, 21:9 Ultrawide. I recently updated my mbpro mid 2012 non-retina. I managed to disable SIP and install macOS Big Sur by using OpenCore Patcher, can't seem to get the native resolution 2560x1080p in SwitchresX. it was fine when I was in macOS Mojave. is there a work around?

@GitAlison
Copy link

!!!!! thankyou 👍 😄 image settings worked with LG29kw500

@githubme1021
Copy link

!!!!! thankyou 👍 😄 image settings worked with LG29kw500

what's your set up dude?

@githubme1021
Copy link

githubme1021 commented Dec 10, 2021

can anyone see what's wrong here? its not giving me 2560x1080 all through out?

SwitchResX Settings:
Screen Shot 2021-12-10 at 3 05 43 PM

Display Settings:
Screen Shot 2021-12-10 at 3 06 11 PM

DisableMonitor Settings:
Screen Shot 2021-12-10 at 3 07 15 PM

Result in my Ultrawide Monitor?
Screen Shot 2021-12-10 at 3 14 10 PM (2)

@VicZhang6
Copy link

Love you so much! Thanks!!!!!

@devmagical
Copy link

Hello Guys,

I have a problem when tried to install a ultra wide resolution using SwitchresX in macOS Big Sur 11.6.1, and discovered that the path is readonly. But I found a patch that fix it, in the url:

https://gist.github.com/adaugherity/7435890

After applying the patch, just doing sudo ./patch-edid.rb, SwitchresX was able to write in the path /Library/Displays/Contents/Resources/Overrides/DisplayVendorID-1e6d/ saving the file DisplayProductId-7714, and my LG UltraWide now is using the resolution 2560 x 1080 in my MacBook Pro Late 2012.

@lisandi
Copy link

lisandi commented Jun 12, 2022

No need for additional software or SwitchResX as Mac Mini Mid 2010 supports via the display port 2560x1440. By an Adapter i.e. UGREEN Mini DisplayPort to HDMI+VGA Converter and reboot your computer. Plug your 1920x1080 display into the HDMI Port and the 2560x1080 LG WL500 B into the MiniDisplay Port.

Here is what they write at Apple Forum and that finally made it work. (Now I only need to check how to get completely rid again from SwitchResX as it isn't needed at all.
https://discussions.apple.com/thread/251212226?answerId=252323522022#252323522022

Go to Apple > System Preferences > Displays > hold the Alt (option) key and click on the Scaled button.

If the display does not work or you can not select a suitable resolution, then please answer the following ?'s.

What model is the LG display and what input connections does it have?
What cable and connection are you using between the Mac Mini and display?

FWIW the Mac Mini's Mini DisplayPort output supports the higher resolutions up to 2560x1600, while the HDMI port only supports up to 1920x1200. If you are using a direct HDMI to HDMI connection, then you may need to use a "Mini DisplayPort to DVI" or "Mini DisplayPort to DisplayPort" adapter from the Mac Mini's Mini DisplayPort output port.

see the "Graphics and Video Support" spec's at > https://support.apple.com/kb/SP585?locale=en_US

Posted on Mar 25, 2020 6:36 AM

@lisandi
Copy link

lisandi commented Jun 12, 2022

I have t revise the above comment of ours. It worked only until we rebooted the second time and then no more. We don't know why it was displaying correctly after we had changed from HDMI in MacMini to the MDP with adapter UGREEN MDP>HDMI+VGA - It worked the first time only, unfortunately. We then rebooted again and got again the 1920x1080 for the ultrawide LG screen. We write to the SwicthResX Support and will see if they have any idea why it worked only one time - the first time after we started using the MDP>HDMI adapter.

@lisandi
Copy link

lisandi commented Jun 13, 2022

@ipreppress Could you please send me a screenshot of your settings for the mac mini 2012 - I have one in Mid 2010 and can't get it working and seeing your settings might help Thanks.
By the way when I have switchresx daemon running then my github does not work like usual i.e. I can't post "@" via the mentions button and also when I like to edit a comment it shows me only an empty dropdown. On the computer with no switchresx installed everything works fine.

@caioberezowski
Copy link

Thanks This worked great on my MacBook Pro 13 2017 Touch Bar and my LG-34WQ500 ultra wide monitor.

@matcs06
Copy link

matcs06 commented May 19, 2023

  • Add new custom resolution and fill values as in a text file (see screenshot below)

Thank you!! I have the same monitor as yours and just copied your configs : ), I also exported the file just to confirm.

@elidianemf
Copy link

Does anyone know if I can follow the same steps for the Samsung monitor?

@eva3si0n
Copy link

eva3si0n commented Sep 9, 2023

Thanks. I set the parameters from the screen and rebooting. Everything stood up perfectly on the LG 29WN600-W, native resolution and clear fonts. Configured on macOS Big Sur on Mac Mini 2012

@NickChalevas
Copy link

NickChalevas commented Feb 10, 2024

Can't set the res in a mac mini 2012 with LG Ultrawide 21.9. Its says resolution 'not installed' in swicthresx. AnyIdea how to solve?

@Fred-IV
Copy link

Fred-IV commented Feb 24, 2024

I just tried app for the first time, and there's a serious bug/issue that I can't find a solution for.
It breaks the ability to command-click items in the Finder for multi-selecting.
I cannot find a work-round, but if I quit the SwitchResX Daemon, the issue goes away, so it's definitely a bug with the app.
There's nowhere I can change the key binding for command-click to fix this.
The closest setting I can find is under "Menus", "Contextual Menu", and I added "option" for "Command=option", but it doesn't fix the problem.
Even is I un-check the contextual menus to disable them, I still cannot command-click Finder items on my desktop.
Is there another fix, or something I'm missing?

@mandylocombia
Copy link

mandylocombia commented Jun 23, 2024

I installed the application and it worked well on the first day, then entering pages with many colors or backgrounds with movement, or being on YouTube, the screen began to show green colors and then turn off, I have tried everything and I have not been able to solve it, any idea of how to solve it? Thank you.

IMG_0847.mov

@Vladistone
Copy link

Vladistone commented Nov 12, 2024

I'm not quite sure if it matches my problem, but I'll post my experience and attempts to set up an external monitor for Mac mini M2 pro (MacOS 13.7.1):
I purchased an additional third micro-monitor for specific tasks for DAW performance monitoring (reaper & Logic pro X) like this:

  • LESOWN 2.5 inch wide LCD w/HDMI-socket.
    vendor ID YXS-6713;
    DisplayProduct ID 6666;
    After arriving and unpacking, I couldn't run it on iMac 11.3 (MacOS 10.13.6 High Sierra and 11.7.6 Big Sure), but its functionality was checked by Win10.
    With the help of SwitchResX I managed to run it on mini M2 pro MacOS 13.7.1 Ventura.
    Снимок экрана 2024-11-12 в 13 53 24

But due to my inexperience, I myself did not understand how I set the monitor resolution to be too high 3840x880. Which was subsequently locked by the system:
Снимок экрана 2024-11-11 в 23 32 20
and all other options for deleting and reinstalling SwitchResX did not allow me to restore or switching of lower LCD resolution settings for normal viewing of information at screen windows.
But in the end, I managed to restore the desired initial settings in SRX with a screen resolution of 960x220, by switching in MacOS:

  • system settings -> Desktop & Dock settings -> Displays have separate Spaces => ON/OFF.
    But the problem with locking the new screen resolution still remained! Although I expected this...
    carrent settings:
    Снимок экрана 2024-11-12 в 16 05 26
    And for the next change, it is necessary to repeat all manipulations with switching the resolution parameters according to the above recommendations and because custom resolutions aren't supported on Apple Silicon.

current display windows review:
Снимок экрана 2024-11-12 в 16 04 34
Снимок экрана 2024-11-12 в 18 31 45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment