Force RGB mode in Mac OS X to fix the picture quality of an external monitor

I recently bought a MacBook Pro (with ‘Retina’ screen), but when I hooked it up to my Dell U2410 monitor via HDMI cable I was shocked by the poor picture quality. The contrast was all wrong and text was misshapen. No amount of calibration in the monitor or software would fix it.

Short answer: OS X thinks my monitor is a TV, and is using the YCbCr colour space rather than RGB. I had to override an EDID setting to force the RGB colour space, and it is now working correctly.

Long answer: I haven’t owned a Mac for a while and had forgotten how difficult much of the “Apple community” can be when it comes to anything that can’t be adjusted in System Preferences. Googling for problems with external monitors on MacBooks found dozens of threads on official and unofficial Apple forums, all full of people with the same problem. The most common response was to blame the monitor, despite assurances from the stricken users that the monitor worked beautifully in Linux and Windows, even on the same machine under Boot Camp.

“You just haven’t calibrated it!”, “You are just too used to Retina now!”, “You just need to buy a Thunderbolt display!” Apple people also like to solve problems by throwing more money at it. (I realise that owning a Mac makes me an Apple person, too. Hypocritical self-loather?)

My lucky break was reading that the current colour space was “YCbCr” when I was browsing the monitor’s settings menu. I was sure that it was using RGB when hooked up to my PC, so I started searching instead for forcing RGB mode in OS X. It didn’t appear to be available out-of-the-box, but I have had some experience in overriding EDID settings for similar purposes so I searched instead for that.

I found this thread on the EmbDev.net forums. Mr Schwarz, thanks very much. Your thread and script was incredibly helpful and informative. It was written to fix problems connecting an external monitor via DisplayPort, but it fixed my HDMI issue just the same. I’ve summarised the required steps below.

My last word is to wonder what Apple is playing at. It seems that this problem has been reported by a lot of people for a long time, and I expect it would require a fairly simple software update. Do they just not care about those using third-party components, or are they actively attempting to force people on to Thunderbolt displays?

How to force RGB in Mac OS X

These steps have been updated for Mac OS version 10.11, “El Capitan”. See below for differences for previous versions of the system.

  1. Download the patch-edid.rb script from the forums thread above, or download Andrew Daugherity’s improved patch-edid.rb script from his github page. Put the script in your home directory.
  2. Disable “rootless” mode, you can follow these instructions: How to modify System Integrity Protection in El Capitan.
  3. Reboot.
  4. Connect only the external monitor(s) in question, if you can (I closed my MacBook lid, for example). The script will make override files for any connected monitor.
  5. Type “ruby patch-edid.rb” in Terminal.
  6. A new folder will be created in your home directory. Move it into the “/System/Library/Displays/Contents/Resources/Overrides” folder. You may have to create the Resources and Overrides folders. If Finder tells you that you are overwriting an existing folder, consider backing it up first.
  7. Restart your computer. The picture quality should be fixed from this point.
  8. Re-enable “rootless” mode, the instructions are available on the same guide: How to modify System Integrity Protection in El Capitan.
  9. Reboot. Enjoy your monitor.

To undo the changes, either delete the folder you had copied to the Overrides folder (if it didn’t already exist) or replace it with the folder you had backed up. You will need to re-enable rootless mode to do this.

Earlier versions of Mac OS X

The process is a little more straightforward. There are two differences to the steps above:

  1. You do not need to disable/re-enable rootless mode and perform the subsequent reboots.
  2. The overrides folder location is “/System/Library/Displays/Overrides”.

Updates

I no longer own a Macbook Pro, but if you’re having trouble with any of these steps, please have a look through the comments below (and note that there are multiple pages). Many questions have been answered with helpful tips from others.

Update, 20 Nov 2016: In the comments Marcus has proposed a faster method that doesn’t require SIP to be disabled. Others have had success with it so give it a go if you’re uncomfortable with disabling SIP.

Update, 8 Feb 2016: A comment from nos1609 below, warns about a bootloop that can occur when running other patches (like the pixel-clock patch) simultaneously, and how to get around it.

Update, 23 Nov 2015: According to Peter’s post, you don’t need to disable SIP if you use recovery mode. If others have similar success with this method I’ll update the process.

Update, 3 Oct 2015: I have amended this post to target El Capitan. I have taken the steps from bigmcguire’s process, posted in the comments. Although some are still having issues, it appears to be working for people. Thanks!

Update, 29 May 2015: Mac OS 10.11 El Capitan does things a little differently. You must first disable the new ‘rootless’ mode and then use a different overrides folder: /System/Library/Displays/Contents/Resources/Overrides. Rootless can then be re-enabled if desired, as confirmed by nos1609 in the comments below. El Capitan is still in beta, I’ll update this post if the issue is still apparent afterwards.

Update, 26 May 2014: If you have had trouble with limited resolutions being available after the fix, check out Ibrahim’s comments here.

Update, 28 Nov 2013: If the process appears to work but doesn’t seem to make a difference, consider Tom’s comments below. Depending on your monitor an extra tweak may be required.

Update, 13 Nov 2013: Andrew comments below that he has modified the script to add some useful new features, and provides a link to his GitHub for those wishing to use it instead.

Update, 27 Oct 2013: If you’ve applied this fix before, the OS X Mavericks update will overwrite it. I’ve successfully re-applied the fix by following exactly the same steps, and other commenters below have done so, too.

994 thoughts on “Force RGB mode in Mac OS X to fix the picture quality of an external monitor

  1. It works like a charm on a MacBook Pro 13 (MPXU2T/A) connected to a Dell U2913WM monitor via hdmi.

    run the script and generate the file -> rootless mode disabled -> file copied into Overrides folder -> macbook restarted and OK!

    Thanks to everyone ;)

  2. Can anyone get this to work on 10.13.6? I have an HP 1080p (think it’s the 25er) series. From what I can tell this script or the modified one does NOT work on 10.13.6.

    If anyone can point to a solution I’d be grateful. Thanks

  3. Thank you so much!

    Had the same problem with a new MacBook Pro 2018 15” and an LG 34UC97-S
    Followed Steves introduction: http://www.mathewinkson.com/2013/03/force-rgb-mode-in-mac-os-x-to-fix-the-picture-quality-of-an-external-monitor#comment-16073
    Everything works now as expected.

    The funny thing: I did not need this override for my lg monitor until now with this new MacBook from 2018. I tried fresh macOS installations on all my 3 MacBooks. One from Late 2013 and one from 2017 MacBook Pro 13”. On the older ones everything works fine without override. Very strange… Its a shame to Apple that they do not have a fix for this. It took be probably 5 hours to find a solution but every other “normal” person without hacking experience hasn’t a chance to fix this.

  4. Hi all!

    I think this is my problem with my Mac Air Mid 2013.
    I have disabled csrutil
    I’m logged in as root
    I’ve tried a lot of different guides and patch-did.rb files and none of them spitting out anything…
    different errors like this one:
    patch-edid.rb:11:in `match’: invalid byte sequence in UTF-8 (ArgumentError)
    from patch-edid.rb:11:in `match’
    from patch-edid.rb:11:in `’

    I’ve not edited any patch files… As I understand it should work when downloaded and no editing needed.. or am I wrong?

    I’m running High Sierra 10.13.6

    I’m trying to connect it to my Philips 46″ Flat-TV.

    Is there anyone here that can point me in a right direction…?

    Thanks!!

  5. I was struggling with this on High Sierra and that the new Macbooks are formatted APFS. However with the method below I got it to work on a 2018 15″ Macbook Pro running High Sierra 10.13.6.

    If you have 2 Macs this is easily solved booting the Mac you want to fix into Target Disk Mode and using the another Mac to move the files.

    Mac 1 = The machine I want to fix
    Mac 2 = The machine I used to move files

    This is what I did.

    * On Mac 1, I downloaded the script and popped it in a folder on my desktop.
    * Ran the script (with the monitor connected) and that created a file in that folder.
    * You should now have a folder called DisplayVendorID-* (* will be different for different monitors e.g. mine was DisplayVendorID-1e6d) with a text file in it, mine was called DisplayProductID-76db.
    * Navigate to /System/Library/Displays/Contents/Resources/Overrides and see if you have a folder with the same DisplayVendorID-* as you just created. If you don’t that’s fine, go to the next step. If you do, like I did, take a look inside the folder and backup the DisplayProductID-* file that you’re going to replace.
    * Shut down Mac 1
    * I booted Mac 1 up in Target Disk Mode (holding T when starting up)
    * Connected it to Mac 2
    * Moved the file created on the desktop of Mac 1 to the /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-* folder on Mac 1 (I replaced the DisplayProductID-76db already there)
    * Disconnect the Macs
    * Reboot Mac 1 and connect monitor if disconnected. It should be fixed

    I hope that helps someone!

  6. Hi guys, I’ve tried everything on this, nothing is working.

    Two options :
    1/ I’m expecting too much from a 1080p screen (it’s the Dell U2414H)
    2/ nothing is fixing the problem

    The script worked in the sense that the screen is now in forced RGB mode (EDID override) but the text doesn’t look any better.
    I’ve taken some screenshots, the difference seems huge (I expected only a small difference) and it’s only text that seems to be off.

    Any help at all would be greatly appreciated

    https://ibb.co/cyoFg8
    https://ibb.co/cg4cuT

  7. I’ve tried it all – nothing works with a FHD monitor, regardless of running the patch or using every cable under the sun. Looks fine when connected to a PC, but Mac? Hell no. After endless research, turns out there’s a known issue with getting any sort of text quality and accurate colours on an extended monitor if you (like me) are running High Sierra v10.13.4 on a Macbook Pro (retina, 15 inch, late 2013).

    I give up. At least until Apple addresses and fixes the problem. Whenever that will be.

  8. I seemed to have gotten it to work after a few restarts. It shows “forced RGB mode (EDID override)” but in the sys info it still says “Television: yes” … anyone know if that means it worked?

    • Hi Matt. I have the same issue. Shows the new profile, but still says “Television: yes” and no change in the quality. In fact, now I cannot even use the full resolution. Did you figure something out? I am using DELL U3415W. Anyone else have any ideas?

  9. Bummer, went through all the steps with no success. I’m using a MacBook Air running High Sierra, driving an HP LP2475w monitor.

  10. For the ones, that have upgraded to APFS with file vault and can’t mount in recovery mode. The steps are bit different than before.
    1. diskutil apfs list (It should be the drive with role ‘no specific role’ )
    2. diskutil apfs unlockVolume ‘VolumeUUID’
    3. Enter passphrase of your user account
    3. Your drive will be mounted at /Volumes/

    Unfortunately, the fix didn’t work for me this time on high sierra. Patch worked fine for previous version of mac os.

    • My DisplayVendorId-* folder for my external screen got messed up with multiple DisplayProductID-* files in it. I deleted the whole folder within single user mode (cmd+s at startup), copied the generated files to /System/Library/Displays/Contents/Resources/Overrides and now it works again. Seems to happen after upgrading to high sierra, before that, it just worked fine.

  11. Just wanted to post that I had a pending RMA for my new 4k monitor because it looked great through HDMI but DP was horrible. Thanks to this everything looks amazing now! Thanks a billion! Now excuse me as I cancel said RMA…

  12. It stopped working for me, on monitor that I rarely use. Now I have macOS 10.13.4, when I last time used this monitor I had 10.13.3. I checked that this file in /System/Library/… and it is still there, md5 has not changed. I generated this file again. but still doesn’t work.

  13. Thanks for the writeup. After doing this twice (after getting a new laptop) I realized that the updated script wouldn’t work for my Dell U2713H and was forced to run the original ruby script to create a custom profile for my monitor. Your instructions worked perfectly!

  14. Works. Ridiculous that on 10.13.3 we still have to go to the effort of employing this fix so a monitor can look its best.

  15. 2018 and this still works. This procedure fixed the font aliasing and color configuration issues I was having with Dell U2410 monitor and 2017 Macbook Pro. Thank you !

  16. OMG !!.. it worked in my Macbook Pro Mid-2014 (Nvidia 750M) in macOS High Sierra 10.13.3 (just the location of the system folder is: “/System/Library/Displays/Contents/Resources/Overrides”

    Using the LG 27UD88 4k monitor Which I was about to throw down the stairs. Thank you.. !! I did the steps from the tutorial.. didnt bother in looking into “Marcus” method.

  17. THANK YOU ALL! Unbelievable baloney that we have to jump through these hoops. Been Mac since late 1980’s and this is the kind of annoying, are they being elitist or just clueless, thing that make a Mac unfun.

  18. I tried the recommended linked github patch-edid.rb script from TFA, but it emphatically does not work whatsoever for my ViewSonic VX 2770 on Mac OS X 10.11.6 El Capitan on both my iMac 27″ Retina Desktop using Thunderbolt 2 to HDMI cable nor my 2010 Mac Mini using a pure HDMI cable.

    However, I finally found this modified script here https://embdev.net/topic/284710#3027030 that works perfectly and preserves the expected resolutions, yay!

    Before buying a new cable, please try the modified script from the link above (or use one of the subsequent patched scripts in that forum topic for various other monitors.)

    Good luck!

  19. Hi, this might be a helpful suggestion. This worked for me with a MacBook Pro Retina 13″ 2014 with OSX Sierra 10.12.6. My monitor is an LG 27EA83R. It was washed out but otherwise had proper resolution with a Mini DisplayPort to DisplayPort cable.

    I disabled SIP, downloaded the Andrew Daugherity’s improved patch-edid.rb script.

    Used external keyboard and mouse on my closed MacBook Pro.

    Ran the script. It created a folder with a single file. Rather than move the entire folder and replace the one that existed (one existed on my MacBook Pro with many override files,) I simply copied the single file into the existing folder. This retained all other overrides.

    If I want to reverse, I can remove the single file. I copied the file to the folder instead of moving it, so I’d have a copy and know the name of the file to remove.

    I reenabled SIP.

    Hope this helps.

    • Cheers a bunch! just connected up a Philips 24’ tv as monitor for my mac mini. Had used the EDID before but didn’t seem to work anymore since High Sierra. Accidentally found the Overrides folder in the resources folder within Displays. Placed the file in there and wehey!!! we have lift off!

      Thanks for this fix and thanks to everyone who is keeping this site alive with all the recent input, brilliant!

  20. Hi there! This fix has worked for me for years. I just upgrade to High Sierra, and guess what? There’s no longer an ‘Overrides’ directory. Unfortunately, this fix may be defunct. Damn!

  21. Has anybody gotten this to work with their macbook at 4:4:4 4k60? I have a 2017 MBP using the Anker USBC to HDMI adapter and I am able to get 4k60 @ 442 but not 444

  22. Hi All, the ruby patch worked great with my macbook pro 15 inch 2016 and sierra. I have a dell monitor. However, I upgraded to “high sierra” and have been unsuccessful at getting it to work. Anyone have directions or a patch to make it work?

    Thanks!

  23. Confirming this worked a treat for me – 2017 Mac book with AOC241QG. Used the faster method suggested by Marcus.
    Connected via USB-C to DisplayPort

  24. Hm. Not sure if my Dell U2414H is performing worse, but I have some weird settings going on in the system preferences for the screen; There 60hz (NTSC) is selected, but the screen is 60hz from what I know. But I live in northern europé, and I think we use 50hz!

    I have used the script earlier, and then I think 50hz was set to standard. (on earlier mac os version).

    But…I suddenly cant find the info in the system telling me it seen as a TV, where is that located?
    Also, the airplay did show me some info about “Tv” before, but now its gone. What has changed in High Sierra and what to make things work?

    Thanks. =)

  25. Is there a way someone could give a step by step guide who isnt a computer programmer, just some guy who knows a bit here and there. Im good at following instructions, but some of the bits here “assume” I know my way around the root files etc.

  26. using a 2016 15″ macbook pro on High Sierra and just wanted to say the ruby script still works! i thought i noticed a degrade in quality when i hooked directly into my HP monitor vs. going through my Elgato (I frequently switch HDMI on the monitor between my MacBook and console such as PS3 or Switch). thanks for this! i’m not crazy afterall!

  27. I have an Acer Predator XB271HU. Whenever I do this fix, it forces me to 1024×768 resolution. I try and switch it to 1920×1080 and it just goes blank and back to 1024×768. Any suggestions on what to do next? I have a 2012 Mac Mini (2.6GHZ i7 Quadcore model). It’s a shame this Mac mini is powerful but the display is awful. I’m using HDMI to HDMI on this setup. I do not have a miniDP to DP. Also, my gaming PC is hooked up to the DP on this monitor. If it’s not possible to get this to work, I’m selling this Mac mini. It’s just taking up space at this point.

  28. WOW Thank you so much !

    For the case you are using a encrypted FileVault Drive:

    do the steps of Marcus until the terminal. There you are not able to find your main drive.

    with the command: “diskutil coreStorage list” you can list all drives. Search for the one where (Revertible : YES most time its the last entry). Then copy the name of it with this pattern XXXXXXXX-XXXX-… etc. to the clipboard (cmd+v).

    With the command “diskutil coreStorage unlockVolume XXXXXX-XXXX …” you can then mount the Volume with your user password. After this step continue with the manual of Marcus.

    Best regards,
    Martin

  29. Okay, I was able to fix it again using the exact same steps as described. It still works with High Sierra. Now if only Apple will fix seeing BootCamp drives.

  30. Just wanted to report I had a similar experience with High Sierra. It made me think– what was the last macOS I installed that had to apply the fix to? I’m not positive but it may have not been required for all since this problem was first identified. I have not tried the fix yet. I went here first instead. :) I will try it though and chime in.

  31. Problem is back in High Sierra 10.13. Went through all the steps (just as with each of the before updates) and still no go. Anyone else succeed forcing RGB with High Sierra?

  32. And another win for this script from a 2017 Macbook Pro with the touch bar, connected to a Samsung U28E590. It would get into the YCC mode every now and then when two displays were connected, but after the script that seems to now be gone. Awesome!

  33. Hey, the steps worked nicely for macOS Sierra and Dell U3014. I think using the boot menu and root terminal for copying the files is better than disabling SIP :)

  34. I did on Sierra but unfortunately it broke the settings, now OSX can’t switch to 24Hz for movies which Plex relies on for proper playback… So I had to roll back.

  35. Tried out the 2 workarounds –
    a) Forcing RGB by adding an additional folder to /System/Library/Displays/Contents/Resources/Overrides.
    b) running “defaults -currentHost write -globalDomain AppleFontSmoothing 2” command

    That did not help with my macbook pro 10.11.6 and external hp lp2475w connected via Hmdi to Hdmi cabling.

    HOWEVER after i ran “auto scan” setting on the external monitor , the monitor restarted, and afterdwards the fonts were tottaly smooth . Fantastic!

  36. Thank you! Was very sad I couldn’t get nice quality on a LG 29uc88-b. This helped get it sharper than any of the settings. It’s sad this is still happening in 2017.

  37. I have a monitor (LG flatron W2353S 24 inches), a Macbook Pro (Late 2011) Model A1278, and a VGA displayport adapter.

    The issue is that when I connect my MacBook to my monitor it detects the monitor as a 47″ TV.

    The cable works and I can use my 1920×1080 native resolution, but it displays wrong. There’s a black large line on the left (like 2 centimeters) and on the right you can see that it’s missing a part of the screen.

    I got and very old VGA cable that works well, but i don’t know what’s the difference between that cabel and the other ones the i’ve got, I’ve checked them and got the same amount of pins, the same voltaje and everyt data in the cable is almost the same (except one number that i guess is the serial number)

    Please, if anybody got an idea, i will be glad.

    Thanks.

  38. I did this on my LG 38UC99-W with no luck. The display still shows up as ‘TV’ under system report. Because my monitor appears as ‘TV’ Nightshift doesn’t work
    Is there any way I can make the monitor appear as a display?

  39. Macbook 13′ Retina Late 2013 with MacOS Sierra 10.12.5
    This solution is not helping me with LG 24MP88HV-S. If anyone can please help here!
    FYI i am not able to see Preferences -> Display -> Color profile(LG)

  40. Doesn’t seem to work for me. Sierra 10.12.4 with a Dell U2413. Copied the patched EDID file to the folder and overwrote the existing file. Rebooted but the monitor still defaults to YPbPr mode. System Preferences -> Display shows the “forced RGB mode” in the display name. Forcibly setting the monitor to RGB results in a purple screen, rebooting the system or restarting the monitor turns it back to YPbPr.

  41. Help! This looked like a great fix – the EDID process worked but still reports “Television – Yes” in the System Report. MBP 2015, BenQ 3200U 4K monitor. Tried both DisplayPort and HDMI. Same result – the Mac still thinks the monitor is a TV. Any ideas???

  42. You’re amazing! It worked perfectly for my Dell U2413. It had been randomly crashing using a displayport -> displayport connection, so I switched to HDMI, found this and so far at least things seem to be working…

  43. Would it possible to use a EDID programmer to help with this issue? We have this issue with a projector in one of our conference rooms. The MacBooks or the Projector does not correlate the EDID RGB Information and even if we have Auto/Forced RGB or YCbCr it think its the opposite signals sent, which makes the picture totally wrecked.

  44. THX THIS WORK!! My mac mini 2016 with Sierra can’t display image to fullscreen on LG 29UM68 . He say that resolution is 2560×1080, but draw black border by both side. I’m doing step by step from instruction by Marcus and that WORKED! Thank you. P.S. this problem views on MAC, other OS LG 29um68 work right from unboxing ))

  45. Tried on macbook pro retina with macOS Sierra 10.12.4: copied generated override file to /System/Library/Displays/Contents/Resources/Overrides, didn’t notice any changes.

    Fonts are still blurry. Color scheme also not the best, I can see where shade under window ends (which is not noticeable on retina) Display Philips 234E5, connected via HDMI.

      • I’ve got the same problem. MacBook Pro Retina Mid-2012, MacOS Sierra 10.12.4. Dell 30″ U3014 with mini-DisplayPort worked for over a year. Then stopped working entirely–monitor says nothing connected, and Mac shows only its own display. I suspect it was MacOS upgrades. So I switched to the full size dual-link DVI connection on monitor, with dual-link adapter from that cable to mini-DP on Mac. That works but only up to 1920 x 1440. I followed the procedures in this post plus the comments (thank you everybody!), and like EOL I now see “forced RGB (EDID override)” in this display’s preference window. But the max resolution offered still is only 1920 x 1440 even if I hold down the Option key while clicking the Scaled radio button.

        Dell supports only Windows, which I guess I can understand given Apple’s disinterest in providing any support whatsoever for anybody’s monitors but its own. Now that Apple no longer sells its own monitors, you’d think Apple would step up support for other monitors, but apparently Apple is more interested in selling iPhones. Pity.

        • I forgot to mention that I can use my Dell U3014 at highest resolution with the HDMI connection. Unfortunately, that’s a bit fuzzy. I’ll try creating an EDID override for that connection, I suppose.

  46. I tried Marcus’ method, but needed a few extra steps because my hard drive is encrypted. In terminal, I had to run
    > diskutil coreStorage list

    To get the list of drives. Then picking the final encrypted one in the list, I found the UUID and ran

    > diskutil coreStorage unlockVolume

    That told me it was mounted as /dev/disk17. Finally, I had to run

    > mount -uw /dev/disk17

    to make the volume writable.

    • At first I thought it didnt work a few times. The final straw that fixed everything was closing my monitor lid and making it overwrite.

      That was what did the trick!

      Thank you!

  47. I’ve done all steps like in this tutorial but my LG 24MP88HV-S is still recognized by my Mac as a TV, please help me. What can I do get this work, and force RGB mode

  48. Just ran it with success on a Mid 2013 MBA 11″ running OS X Sierra
    note that I first made sure that Ruby was up and running (just type ruby -v in the terminal and check you get an answer) and that I used the shorter version proposed by marcus : http://www.mathewinkson.com/2013/03/force-rgb-mode-in-mac-os-x-to-fix-the-picture-quality-of-an-external-monitor/comment-page-13#comment-15886

    thanks to all for your advices, please keep this post alive for a long time (even though you’ve turned to the dark windows side) cause we use it at each OS X major update…

    • Good to get confirmation, thanks. Post won’t be going anywhere, I’m glad it’s helping some people.

      Ha, dark side :) The last time I was brand loyal was Sega vs Nintendo! Tools for the job IMO. iOS is a great phone OS, Linux is a great server OS, but everything apart from Windows frustrates me on the desktop these days.

      • thanks for the reply :) Windows isn’t really the dark side from my point of view, just kiddin’, I’m using them both daily, and both have there own pros and cons. But Apple is multiplicating the cons with their current behavior, both on OS (more and more locked each release) and Hardware (better nice than usefull) I don’t even talk about the prices… Anyway, thanks for your post, and to keep it alive :)

  49. I just wanted to say thanks for this post. It worked for me and I was surprised at how good it felt to have a decent image on my external monitor, instead of the degraded, blocky mess I was starting to become used to.

    FWIW – I initially couldn’t run csrutil in recovery mode as it wasn’t found. This was because I was running the OS (Yosemite) my Macbook had originally been supplied with. I upgraded to Sierra and after that I was able to run csrutil in recovery mode. From that point on everything went extremely smoothly.

  50. Thanks, worked perfectly with 2016 macbook pro and hdmi cable from the apple adapter to dell u2410. only difference, the destination folder already existed ( same name as that created in my home directory ), so I added the generated file to that folder.

    for the person wondering how to undo this, just remove the file you added and reboot.

  51. It doesn’t work here. Run the script, went to Recovery mode, copied the files, selected the new color from Displays… Font => blurry.

  52. Thank you for this article, however it didn’t work for me. It only forced my monitor to use RGB profile but the font isn’t smooth at all. The monitor I use is Dell P2416D, it’s connected via HDMI.

  53. The script and instructions ran fine for me and I see the new profile in my display settings. However, my fonts look about the same :(

    I’m on OS X 10.12.2, did I miss something? :)

  54. Sierra users – to run this ruby script please make sure that your ruby is actually working. Coming from behind 4 osx upgrades my ruby did not, so this script did not work, nor give out any meaningful errors withing 5 minutes of looping. Just type in terminal “ruby -v” to see if it respons. If not, reinstall/fix ruby and it will work.

  55. Hi i somehow read this article wrong
    And while i doing this process i didn’t close my macbook pro 2015
    So i think i just forced my own mac to run RGB mode
    Now my macbook it’s low resolution and laggy
    How do i redo this???
    I tried reinstalling MacOS but it didn’t work
    HELP! Pls

  56. I have a Macbook Pro 2016 retina display that wouldn’t display clearly and was purple when I connected via HD to my Sony Bravia,Did this today and happy to say my display is great on the TV! Thank you!

  57. Hey I have a hackintosh with macOS Sierra 10.12.2 (I fixed the problem with my macbook) but now I use my hackintosh when I need to work in desktop (house) with a Ultrawide Dell U2913WM connected via DisplayPort to Mini-Dp that comes with the monitor. But is detected as Television, I can use the same process to fix the problem?

    Here the system information:
    http://i.imgur.com/1YcpH5S.png

    You can see that said:

    Television: Yes

  58. Had to re-do this procedure after upgrading from El Capitan to Sierra. Seems like macOS is removing the custom files on upgrade. Now saved to favs, for next update. THANKS! :)

  59. Just had the same issues with a new macbook 12′ retina, bur having read that an HDMI to DVI cable could sort out the problem, thought I’d try that first, so we could use the machine with tv’s as well.

    £4.99 later, and armed with a gold plated HDMI to DVI cable from amazon, worked like a charm..Perfect image, rgb ouput, no problems.

    • Not really the answer but I did discover if you use mini display port adapter vs. HDMI everything look normal. I bought a USB-C to mini display port adapter. So if you’re monitor has a mini display port thats the connection I would recommend.

  60. Hello!

    Will this procedure override the color space for any external display? I have an external LG monitor to which I intend to apply this fix so it forces full RGB… But I also occasionally connect my macbook to my living room TV, which do not require full RGB.

    Will this fix be applied specifically to the display connected during the procedure, or it will override the color space for all external displays?

    Thanks in advance for your work!

  61. I was having major problems with a 2016 13″ MBP and a Dell U2410 monitor, and this guide fixed it for me. I didn’t have to enable rootless mode, I was able to copy the folder created by the script to the location specified, and enter my password to authenticate the change

  62. My Retina, 13″ Early 2015 MacBook Pro seems to have lost the highest “retina” resolution on it’s built-in-display. The original EDID file seems to be intact, but I’m just having trouble finding the resolution. (Even tried option+clicking the “Scaled” radio button and found nothing. Is there a script in existence to bring it back?
    Thank you!

  63. Hi all,

    i have macbook pro 13 early 2015 and lg 24mp88hv-s display. i wanna use my macbook with external display but text und pictures is blurry when I connect via hdmi port it to an external monitor. I tried patch edid and switchrex but still same problem. Can anyone help me ?

    Thanks.

  64. Hi!

    I’ve executed everything written in this guide, except closing the lid of my MBP, and text is still blurry on the external monitor. Is this lid closing that important during the process?

    Thanks!

  65. I was able to copy the necessary files without disabling System Integrity Protection, or booting into Recovery mode, by simply using “sudo cp…” from Terminal, as an Admin user. Alas, it hasn’t helped me get my HP 27vx monitors working acceptably on a Late 2016 MBP w/ Sierra.

  66. Hi, I found this article and yes it is very painful now.
    I have a Thunderbolt display connected to a Retina Macbook pro and the text is very blurry, before that I connected thunderbolt display to a normal macbook pro and everything is perfect. But now it looks crappy on Thunderbolt display. Do you have any idea of this because it is a thunderbolt display and why Macbook still think it is a TV ?

  67. Thanks a bunch for the guide! Saved me from needlessly returning my MacBook, the HDMI Adapter, or my TV.

    I have a few recommendations to speed up the process, which saves one boot to recovery and you never have to actually disable the System Integrity Protection (SIP), thus never really leaving the system potentially vulnerable.

    1.) Start by running the .rb script.

    It only generates a couple of files in your user’s directory and does not require any special rights to read the current monitor / tv configuration. (TV must be connected).

    2.) Boot to into the recovery system (Cmd+R during boot).

    All your files are accessible here and you have write permissions to the “Overrides” folder. Your system disk is just not mounted to / but to /Volumes/ (e.g. “/Volumes/Macintosh HD/”)

    3.) Open a terminal and copy the DisplayVendor-directory. Remember that every path is now prefixed by “/Volumes/Macintosh HD/”.

    E.g. I had the Ruby script in a folder “EDID-Fix” on my desktop.
    -bash-3.2# cp -r /Volumes/Macintosh\ HD/Users/marcus/Desktop/EDID-Fix/DisplayVendorID-* /Volumes/Macintosh\ HD/System/Library/Displays/Contents/Resources/Overrides/

    4.) Reboot to your system

    Hope you find that useful.

    Cheers,
    Marcus

      • for those of us not computer programmers, how do you add a script to the “home directory”? I don’t understand where to find this and if I need to create a separate folder

    • Hi Marcus,

      Could you break this down into even simpler steps if possible. I have a Mac Pro (2013) running Yosemite that I am trying to connect up to an external Full HD monitor but the colours and contrast are terrible.

      I am trying to follow your instructions but even “Start by running the .rb script” is not easily understood by someone with no programing knowledge at all. Do you just double click on it or something more? The same goes for the other steps.

      It would be really great to be able to give this a go so I don’t have to return the monitor but struggling to understand the steps right now.

      Many thanks,

      Simon

    • Marcus, thanks for laying this out. Just got a brand new (3 days old) MBP 13 with Sierra. Have some fuzziness on the external monitors. Tried your script out, got all the files generated. However, even in the Recovery System I get a “read-only” error on the “/System/Library/Displays/Contents/Resources/Overrides/” folder. Furthermore, the “/Volumes/” folder doesn’t contain “/Macintosh HD/” it contains something that sounds similar (like, OS HD Mac…). That folder is empty (or un-traversable). Does one need to manually mount that section of the Hard Disk ?

      I copied the DisplayVendorID directories onto a USB and loaded that USB up in recovery mode and tried to copy over to the Overrides folder but that gave me a permission denied as well.

      I’ve combed through all the posts on here and can’t seem to find the answer. Any ideas? Sounds like I may need to disable SIP after all perhaps ?

  68. Thanks so much for your article. I am running Sierra on a mid-2015 Macbook Pro 15″ Retina (OSX 10.12.1), with a brand new (2016 model) Samsung 4K UHDTV to work as a monitor. It’s a curved 49″ TV so yeah, it’s huge, but I’m replacing two old monitors with the one for simplicity.

    I am a ruby developer and had no trouble following your directions and they worked perfectly, though I still had to play with the TV advanced picture settings before the fonts looked like they should. For some reason the “Movie” preset made the fonts look best by a significantly visible margin.

    But it’s awesome! Your script saved me from returning the TV!

    Thanks again!

    SAMSUNG – forced RGB mode (EDID override):
    Resolution: 3840 x 2160 @ 30 Hz
    Pixel Depth: 32-Bit Color (ARGB8888)
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Rotation: Supported
    Automatically Adjust Brightness: No

  69. I have an Acer K272HUL. I just wanted to add that for this display (and apparently other Acer displays based on my research) you’ll need to change the monitor to use DP 1.1 via the monitor’s on screen configuration. When running with the display in DP 1.2 mode, you’ll get RGB color (no more jaggy text), but you wont be able to run it at the full 2560×1440. Changing back to DP 1.1 will then give you full resolution and a great picture!

  70. Hello. I dont really get this. I have the U2414H display connected to my MBP 15″ mid-2012 (Display port – Display port) and I see absolutely no problems on my screen exept for the info given that it is found as a TV. It also shows TV when using Airplay. But the colors and the screen looks fine. is it just me?

  71. I run the script mentioned on this website following the instructions above and it worked without problems on Sierra 10.12.1. I copied the RAW script (RAW button in the upper right corner of the frame with script text, pasted it to nano, saved, and run. No need to worry about the built in display, it is omitted by the script).

    I can easily confirm the effect with my Dell U2515H, which actually displays the input mode.

    I did the hack to improve font rendering, which is very nice on retina, but not on the external display. Unfortunately, I cannot really see a difference – I guess I would need to have a side by side comparison. That said, the screen look fine to me now.

    • Andrzej , Im completely non technical. Can you walk me through the steps to accomplish this is Sierra. I have the new late. 2016 MacBook Pro connected to a DELL U2913WM with a USB C to HDMI cable. It looks terrible. I’ve been using my 2012 MacBook Pro with this monitor using mini display port with no issues.

      I don’t understand any of the terminal and script/ruby instructions. e.g. I copied the RAW script (RAW button in the upper right corner of the frame with script text, pasted it to nano, saved, and run

  72. I upgraded to Sierra before remembering I had to do this hack to get my old Mac mini to work well with an external display. So glad this page still exists!

    Here are the steps I had to follow, since I don’t have a Recovery Partition on this computer, and Internet Recovery uses a very old version of OS X that doesn’t have the csrutil utility.
    1. Download Sierra installer again.
    2. Follow the steps on Apple’s site to make a bootable USB drive.
    3. Reboot and hold down Option and then select the USB drive.
    4. Wait forever for it to boot.
    5. Use the Terminal to run csrutil disable.
    6. Follow the steps above.
    7. Rejoice in my white windows actually being white instead of gray!!!!
    8. Try to remember to re-enable SIP.

    • Thanks Scott,
      I tried to do the same steps in Sierra but I have a issue with ruby

      davids-MacBook-Pro:~ disiei$ ruby patch-edid.rb
      ruby: No such file or directory — patch-edid.rb (LoadError)

      My ruby version
      davids-MacBook-Pro:~ disiei$ ruby -v
      ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

      Thnaks in advance !!

      David

  73. I’m running Sierra (MacBookPro) and trying to use this solution for my Asus monitor. I’ve downloaded and unzipped the .rb file and placed it in my home directory, but when I run the ruby patch-edid.rb in Terminal, nothing appears to happen. A new Terminal line appears, and no new folder is created in my home directory. Does anyone know what I might be doing incorrectly? Thanks!

  74. Hi – I sent these instructions to someone and they had a little trouble. For step 6, I’d suggest clarifying that they may have to create the Resources and Overrides folders. There is an Overrides directory under a slightly different path that seems to be confusing. Path has to be exact and I think is overlooked sometimes due to the presence of a similar path.

    Also, for being able to close your laptop without it turning off, (as suggested in step 4), there is a free package called SetResX by Paul Griffin (thanks!) that can help accomplish this. Sometimes hosted on some spammy websites though, so be careful.

    These steps work though.

  75. Works for me.. awesome!
    I had my monitor connected with serial port initially. Switched to HDMI but the text looked all blurry.
    This solution works for me on Mac OS Sierra. Thanks

  76. What I got. Maybe help somebody .
    Mac mini 2012,Osx 10.10.5 // display PIONEER KURO PRO 110FD.
    I can options on TV ,control input signal . you can see from manual \Pioneer KURO .

    Problem not in MAC or TV ( monitor)
    problem in cable.
    HDMI send YCbCr colour space . Check different HDMI cable like 1.2 1.4 2.0 My all HDMI pick from Mac YCbCr colour space .
    and now DP (thanderbolt) to HDMI :
    My old chip from Ebay DP to HDMI send RGB signal.
    I got brand new DP to HDMI from eBay and this cable send on the same system YCbCr colour space .
    I have control option on my Pioneer KURO and can see what signal arrived in my tv.
    From KURO manual :
    • If you select “Auto”, an attempt will be made to identify the type of digital video signals when digital video signals are received.
    This is option for input signal:
    

    Auto (default) Automatically identifies input digital video signals/////////////////////////////any cable you never know
    Color-1 Digital Component Video signals (4:2:2) locked/////////////////////////////////////HDMI-HDMI, new DP-HDMI
    Color-2 Digital Component Video signals (4:4:4)locked///////////////////////////////////////HDMI-HDMI, new DP-HDMI
    Color-3 Digital RGB signals (16 to 235) locked////////////////////////////////////////Old DP to HDMI
    Color-4 Digital RGB signals (0 to 255) locked///////////////////////////////////// Old DP to HDMI cable
    4K*2K HD TV To HDMI Adapter Cable 6ft 1.8m Mini DisplayPort DP Thunderbolt Cord
    This is DP -HDMI cable new one send YCbCr colour space:

    

  77. This resolved my monitor issue as well. Also, I just upgraded to macOS Sierra, and it still works. I have an Acer K272HUL, which is a good monitor, but I could not get rid of the jaggy text. This solution worked and the difference is like night and day. The text looks absolutely great. I also noticed in my System Preferences -> Displays – Refresh Rate is not 60 Hz as before. It is now 59.88 Hz. Thanks again to everyone who contributed to finding and posting the solution!

  78. MBP Mid-2012 non-retina, hooked up with Dell U2414H. GeForce 650M. Closed lid, therefore running on the 650M and not the built in graphics.

    Im not sure if my screen shows weird colours. Would it be easy to notice? Should text look weird too, you say. My screen is found as a TV by OS X, and when I had El Capitanthius “trick” removed the shown as aTV-problem, but I cant say if the colours, graphics etc looks different.

    Now using Sierra (not preview), it seems like the settings have been restored and my screen is found as A TV again. Did or did it not work to do this trick in Sierra, and what is the benefit if the screen shows, from what I cat tell, the right colours?

    How to tell if things are OK or not, and could it be fixed even in Sierra?

  79. I am trying this with a BenQ GW2765, connected to a 2012 Mac mini via HDMI. The script seems to run OK, and I get the new display profile, bit it makes no difference. Text is still fuzzy, and I can’t get the max resolution.

  80. The resolution seems to work fine, but it the monitor (ASUS PA279Q) still shows up as Television in my Display Systems Report (Apple Menu). Would this be considered a full use of the Adobe aRGB on my monitor?

  81. I’ve followed the steps to step 5. When I type the “ruby patch-edid.rb” in terminal it says command can’t be found or something like that. I’m not a programmer or anything of the sort. Is there something I’m doing wrong?

  82. I got a CX271 EIZO monitor, and when using it in windows bootcamp displays pures blacks and pure whites (Full dynamic range 0-255 enabled in nvidia driver) while in macosX blacks and white are faded.
    Is there a solution to fix that ?
    I tried to force recognition of my screen and nothing append (just a profile created in my display panel in macosx preferences). Blacks and white are always dead.

  83. This worked on a MacBook Air 13 ince Early 2014 that was having strange text issues on a Dell P2815Q. Thanks a bunch! Saved me some moolah

  84. So this used to work PERFECTLY for me, but now since updating to the latest version of OS X (10.11.6) it seems to not be working fully. System information doesn’t show it as being a TV anymore: http://schoal.es/1lh6R

    But in the display preference pane it’s still only giving me TV resolution:
    http://schoal.es/101KN

    I even recently bought a Mini Display Port to Mini Display Port cable to try and fix the problem.

    This is so absurdly frustrating, and I don’t know who’s to blame – Apple or Dell – but I am ready to pull my hair out (and sell this monitor for one that works reliably).

  85. Thanks Guys. NOTE: for me it only worked after I did the “sudo ruby ….”. Without the super user the script was giving an error in El Capitain.

  86. I also have a Dell U2410, and a late 2013 MacBook Pro running El Capitan. Both the script and the resulting file and folder appear readable, yet, I see no changes. Any ideas why it’s not working for me?

    • In System Report under Graphics/Displays, does it still say “Television: Yes” under the Display section? If yes, then your patch didn’t get applied correctly. If no, you may need SwitchResX as I did (see my other post).

    • I’m having the same problem… It used to work just fine but since updating to the latest version of OS X (Still El Cap not Sierra beta) it doesn’t seem to be working anymore.

  87. Wow thank you, this has been incredibly helpful! I am using a 13″ macbook air 2015 and had been getting black borders around my desktop image on two different LG widescreen monitors. Now, they are gone.

  88. Single Link DVI and old school HDMI 1.0-1.2 connections are limited to 1920 x 1200, so you folks with higher resolution DVI connected monitors need a dual-link DVI connection. DisplayPort connections can be much higher, but be aware there are version 1.0, 1.1, 1.2, 1.2a, 1.3, 1.4.

    • Very helpful post. I bought a mini-display adaptor for my MacPro 4.1 (nvidia GT 120) and the poor quality problems were solved (previously I was using single HDMI to DVI cable). Still I had to ‘overscan’.
      The EDID file fixed the rest issues.

  89. Adding my thanks for this post. I have a 29″ AOC (standard res) monitor to which I’ve employed this fix over several system updates, and it has worked every time, including the most recent El Capitan version. I can confirm the poor display quality issue is not due to resolution settings, font smoothing, calibration, or drivers (AFAIK none is available in my case — not sure if any of AOC’s monitors is designed to work with Mac systems). I used the disable/enable SIPS process but skipped the second-to-last reboot.

  90. I had to use this along with ScreenResX to get things sorted, but my two LG 29UC97C-B displays are working beautifully now. Thank you very much!!

    • Why did you have to use switchResX and what did you do? I’ve tried this fix on my iMAc Retina, and the Dell 2407 connected to it via thunderbolt and DVI is resolutely fuzzy

      • The patch corrected the problem of OS X recognizing the displays as televisions, but the picture quality didn’t change for me. After installing SwitchResX and using the settings exactly as described by genriquediaz at https://discussions.apple.com/thread/4672999?start=15&tstart=0, then the picture quality was perfect. FYI, my graphics card has two DVI dual-link connections and I’m using a DVI-I Dual-Link to HDMI adapter and connecting the other end of the HDMI cable to the displays. I’m using 2560×1080 resolution.

    • Yes it does, thankfully. I did have to turn root off to copy the folder to the correct directory, then turn it back on.

  91. I am trying to connect a rMBP running Yosemite to a Dell U2414H monitor. I have tried everything mentioned here, created the new profile etc. I can see the new profile being used in Displays setting but the fonts are still fuzzy. I have tried with HDMI-HDMI and mini DisplayPort-DisplayPort connections. That does not help either. Does anyone have any more ideas?

    • Seems better after reset the monitor. But still, Mac has many problem not solved, ui, shortcut, etc, I buy mac for developing ios, dunno why many people like apple stuff, I prefer linux or windows. :(

    • I have an Asus VN279QLB and also having the exact same problem as described above.

      Tried the patch and it appears to have worked, but no change in the display.

      I’ve used HDMI with many other monitors fine, so very confused.

  92. Tried it on my 4K Benq BE2420 and after the reboot I could get access to the “HDMI RGB PC Range” in the monitor OSD (it was greyed out before) and I could switch to full RGB. So much better! Thanks.

  93. Hi,

    I applied the fix to my monitor (AOC) – It didn’t seem to work (all steps completed and understood). I tried the remove/reconnect suggestion, that didn’t help. However, I then went into the monitor settings and performed a reset – bingo!

    Jason.

    • To be completely clear – the menu on the monitor itself – and performed a reset – not any setting on MAC OS X.

  94. This didn’t work for me, when i run the script i get this message:

    patch-edid.rb:9:in `scan’: invalid byte sequence in UTF-8 (ArgumentError)
    from patch-edid.rb:9:in `’

    How can i fix this?

  95. I have a Dell S2415H connected to a 13″ Retina Macbook Pro (Early 2016) running El Capitan 10.11.4.
    I did the following steps to fix the blurry text which was driving me crazy:
    1. Put the macbook in Clamshell mode
    2. Run the ‘Force RGB’ patch
    3. Set Display Profile to ‘Color LCD’
    4. Reset the monitor’s settings to default.
    5. run this command on terminal ‘defaults -currentHost write -globalDomain AppleFontSmoothing -int 3’ and reboot the macbook.

    • Thanks for the font smoothing trick. The font smoothing trick looked promising until I noticed that the apple menu, finder etc (apple related) were fine but other applications like firefox, intellij idea were all too bold. Is there a way to keep the apple related with font smotthing 3 and other applications to a lesser value like 2 or something?

      At the rate my 1080p Lenovo displays, I think I am going to go blind in few days

  96. apologies. I also later noticed that the string for the Dell U2410 had some weird characters. I modified the file using vi text editor and all good now. After rebooting, the input colour format on the dell colour settings is now RGB. finally!. However, i notice no improvement. the quality and colours are very very good as before. Did I have to do this?

  97. I have a mac mini MAC OS X 10.7.5 using HDMI cable to DEL U2410. I tried running this script and copied to Overrides folder. It makes no difference, Dell monitor settings for colour settings colour input mode still shows heavy green hue if I set it to RGB and I’m forced to keep it a YPbPr.

  98. Executed the procedure as explained but was not successful with my setup. Using a MBpro with HDMI-HDMI on a BENQ GL2450H. Override is working correctly but the font is still blurry. Looks like I have to switch to DVI as a lot of people saying this works better for them.

    Anyway, thanks for your efforts working on this patch.

    Cheers,
    Markus

  99. I have an early 2011 Macbook Pro 15″ running Mavericks connected to a LG 23MP47HQ-P IPS monitor. It is connected through a thunderbolt to HDMI adapter and is being recognized as a TV. I’ve run the patch multiple times with no success. I’ve gone into the Display Vendor ID file and the LG monitor is being recognized and has the correct name in the code. I’ve also tried to edit the display name in the patch file (as per Michiel’s comment) before running the terminal command but this causes an error in the execution and doesn’t create a new folder.

    Would anyone have any other ideas of what might solve my issue. Did I buy a monitor that this patch just will not work on?

    Thanks!

  100. Can anyone help me with instructions to “Put the script in your home directory.” Not sure what that means. I assume that is NOT the same as “Home folder”. Please assist. THANK YOU!

    • It’s exactly what you read, in finder find your home directory is your name on the left hand side. the icon is like a house. Hope it helps…

  101. Dudes! I can now use my MBPr “13” with my Dell 2414H Ultrasharp (previously Ultra-fuzzy) for more than just web surfing. It’s crazy how much better everything looks with this fix. Thanks to all who put time and effort into explaining this.

  102. If anybody is planning using this patch in combination with pixel-clock patch one has to keep in mind, that prior using pixel-clock there is the need to remove any previous RGB patches. So every custom folder added to Overrides directory should be removed, then apply the pixel-clock patch, and finally the patch-ede one.

    Otherwise, you’ll face a bootloop like this one https://cloud.githubusercontent.com/assets/11856987/12868039/b7be90a4-cd0e-11e5-9ef6-9ee97c671bf4.jpg

    PS Confirmed working on mac mini 2012 MD388 with two dell u2913wm over HDMI and USB with freed up thunderbolt port for any other use at their full res on El Capitan 10.11.4 Beta 2 (15E33e), so the code of improved script remains still up to date. Many thanks!

  103. I have a BenQ XL2720Z monitor hooked up via displayport to my 2015 Macbook Pro with AMD graphics running El Capitan. When I patch the EDID I lose the 144hz refresh rate and get only 60hz.

  104. Hello,
    Many thanks for your detailed instructions.
    I have copied the executed file into the Overrides folder, renaming the folder to be the same as one of the original ones as suggested in the comments. Despite restarting this does not appear to have improved the blurriness of the text. Is there anything else I can do?

  105. I’m extremely grateful for your detailed email! I just upgraded to a newer MacBook Pro and was fighting grainy text and dull colors. This worked like a charm!

    • Hello, I just purchased an Acer K272HL monitor and I trying to improve the picture quality. I am not an IT Guru therefore would appreciate a simplified version of resolving this problem. Thanks in advance.

  106. It wasn’t working for me so after some intense digging around I found out that you might need to disconnect and reconnect the monitor. Worked for me!

  107. Unbelievable how much this changes the clarity! Thank you so much, I would’ve never figured this out.

    Monitor: HP 27xw Display

    regards!

  108. I can say that although it is much better with RGB now. Text is still not as good as neither on mb pro retina display nor on my monitor connected to windows pc.

  109. I confirm this solution worked for my setup: late 2013 mbp retina with El Capitan + U2715H connected via hdmi. Now my monitor shows the input as RGB and there is a significant improvement in image quality. Although it is now ok quality I am not sure if it is still as good as connecting my windows pc though. Maybe I should play with font smoothing.

    Btw, I did not try Peter’s method because I did not see it until I complete the fix :) Maybe you can put an information about that up in the instructions.

    Thanks a lot!

  110. A million thanks, was about to order a way overpriced cable from the applestore but now i can finally code for real with my Dell U2913WM THANKS!

  111. Hello! I am so frustrated. I did it once before El Captain… I got El Capitain now, and i am back to the pink/green philips screen every couple of minutes.

    I tried it again, but it doesn’t work this time. Here is whats not working:

    Type “ruby patch-edid.rb” in Terminal. – causes:

    ruby: No such file or directory — patch-edid.rb (LoadError)

    so i can’t find a new folder. :-(

    Besides i am not sure about the script writing thing. how to do it with my macbook.

    Please, anyone can help me?

    Thank you, Jana

    • Still hoping for anyone to help me out. I tried anything… Please anyone help me. :-( already thinking about being an old macbook to use with the Philips.

        • Dmitry -> thank you!!! I went to finder and typed ~/ … Or what do you mean by “get”? I am just a stupid user. ;-)

          On Thursday I planned on bying an old mac book :-( to be able to use the Philips again…

  112. Hello there. I have made severalattempts and the image quality is still nowhere near how it shows on windows via virtualbox.

    Using: macmini end 2012
    Screen: ASUS VX248 24”

    Does anyone have any tips?

  113. I went through all the replies. It seems the script is not working for mid 2014 or later RMBP? Many followed the exact steps but get no improvement

  114. You’re my hero, dude! Just got a new monitor and I was having the fuzzy text issue, as well as the occasional flicker to black and flashing pixels. There seemed to be a woeful lack of support from Apple for the external display issues when I searched around, but this solution fixed it right up for me. Thanks for sharing, and keeping it so up to date!

  115. Hi all. I have tried Petes recommendation however I am at a standstill. When I restart in recovery mode, I cannot access or see the Macintosh HD. I only see the recovery partition. Is there a command or something to change to be able to do so? I am new to MACs and have spent a great deal of time on this, and have searched til I am blue. Some help would be greatly appreciated.
    Thank you.
    JC

    Also, I am using a dual monitor setup. I see two different files created by the Ruby Script. Do I need to move both of them? And which override folder do I place them in? I am getting weary looking at the blurry text. Thanks again.

  116. I’m frustrated with my mid 2014 MBP 15 integrated GPU version. I processed all steps but still not working with my U2414H. Fonts are blurry as before. I tried all types of HDMI and DP. Not working for both Yosemite and EL Capitan. ECID shows it is changed to force RGB mode. Wondering why…. Is the script not working for build-in GPU?

  117. Hi,

    I just wanted to let you know that Peter’s comment concerning SIP is correct. If you are in the recovery mode you can do the move or copy operation without any problem. No need to disable SIP and re-anable it later. A possible complication is FileVault. If FileVault is enabled you have to unlock the System disk. Instructions for that can be found in Rich Troutons blog entry https://derflounder.wordpress.com/2011/11/23/using-the-command-line-to-unlock-or-decrypt-your-filevault-2-encrypted-boot-drive/.

    Thanks to everybody that contributed to solve the problem.

    Matthias

  118. Pingback: ステンレスネックレス vie ダブルクロスペンダント ネックレスチェーン付

  119. There’s no need to disable SIP on “El Capitan”. Just download the script and run it. Then boot into recovery mode (Command+R) and start Terminal from the Utilities menu.
    Your root drive will be mounted under /Volumes/Macintosh HD in writeable mode without SIP.
    Just copy the file generated by the script to the right folder. In my case it was the following:

    mkdir /Volumes/ Macintosh\ HD/System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-4c2d
    cp DisplayProductID-902 /Volumes/ Macintosh\ HD/System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-4c2d

    and reboot.

      • +1 on Peter’s Recovery mode fix. Which brings the total to three I believe

        And for Jose Ignacio: your boot disk is not “/” under Recovery, it’s (usually) /Volumes/Macintosh HD

        I’m not one of the people who think this is an Apple bug, but OMG they’re making it hard to fix! I think someone got “insanely great” and “insanely hard” mixed up.

        Many, many thanks to Andreas, Mathew and now Peter.

    • Adjusting for the El Capitan update I navigated to /System/Library/Displays/Contents/Resources/Overrides in terminal from recovery mode, however when attempting to copy the generated file I get a Read-Only file system error. So, it seems in El Capitan this work around does not… work.

    • Realized my drive wouldn’t mount by default because it’s a FileVault volume. First, look for the “Logical Volume” number, grabbing it from the last entry with the following command. It’s a long string of hex numbers with some hyphens. (Not “Logical Volume Family” or “Physical Volume”, but “Logical Volume”)

      diskutil coreStorage list

      Then, unlock it:

      diskutil coreStorage unlock

      which should also mount it. (If it doesn’t, try diskutil mount ). Then, make sure you’re using the full paths, i.e., “/Volumes//System/…” and not “/System/…” (Matt, that’s why you were getting read-only errors: you were referring to the Recovery Volume paths.

      • the comment parsing system removed my angle bracket placeholders. The unlock command is:

        diskutil coreStorage unlock (number)

        and the full path should be “/Volumes/(drive name)/System/…”

        • So close to getting this working on my Acer K272HUL with my Macbook Air. Followed directions to a T, including unlocking the filevault part, but when I execute the mkdir command (mkdir /Volumes/ Macintosh\ HD/System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-472), I get the No such file or directory error. Help please!

          • Nevermind, I had a silly syntax error which was causing the issue above. /Volumes/Macintosh\ HD (there needs to be a space between the ‘\’ and the “HD”

            Thanks to all for this fix!!

  120. BACK AT THE FIRST POST: “When I hooked it up to my Dell U2410 monitor via HDMI cable I was shocked by the poor picture quality. The contrast was all wrong and text was misshapen. No amount of calibration in the monitor or software would fix it. OS X thinks my monitor is a TV, and is using the YCbCr colour space rather than RGB. I had to override an EDID setting to force the RGB colour space, and it is now working correctly.”

    1) What determines why a monitor IDs themselves as a TVs while another monitor ID themselves as a RGB monitors?

    2) My 3840×2160 RGB monitor supports audio via HDMI. My laptop HDMI works to a TV, but no audio goes to my monitor. My first thought, does the fact it correctly sees it as an RGB monitor mean it assumes monitor does not have audio? The monitor does show-up under Sound Output as HDMI, but no audio goes to the monitor. Anyway to OSX that the monitor does accept audio?

    3) Same problem, but with the monitor connected by Thunderbolt/Displayport 1.2. I assue DP supports at least 2 channels of audio, but no audio flows to the monitor.

    4) Somehow OSX 10.9.5 thinks my 3840×2160 RGB monitor has a resolution of 6400x????. So the QT Player fits a 3840×2160 video into the center quarter of the screen. I can manually make it go Full Screen, but is there some way to tell OSX the correct resolution?

  121. Thanks guys! Awesome it works… still unbelievable that Apple is not able to get this sorted out! For all guys with a Philips monitor, the comment from Phillipp to remove the strange characters from string of the generated file of the script: Philips 272P4^@^@^@�^@^WL^Oc^^^@ – forced RGB mode (EDID override) was the last thing made it work.

  122. Hi all,

    I run the script and no folder is created (no error message). I’ve seen comments of a couple of people in the script link with the same problem and no reply. Any way you can help?

  123. hi, i did the thing ,everything went well.. but my text only got problem…. its text clarity is not as good as in boot camped windows 8.1 …

    Please help me..

  124. I have a Macbook Pro Unibody with Intel HD Graphics 4000 1024 MB and I’m trying to have the correct resolution display on my LG 29um57-p Ultrawide 21:9 monitor. Unfortunately the fix isn’t working as it only shows Resolution Scaled options:

    1920 x 1080
    1600 x 900
    1280 x 720

    Any ideas how to add the maximum 2560 x 1080?

  125. Hi, for anyone still having problems AFTER going through the whole process: I came across a fix by user jkgeyti on github that worked perfectly for me:

    “I just realised what the problem was for me. I hope this will be useful for others.

    Opening the produced config file in nano showed the device name has a bunch of “unsupported” characters Philips 272P4^@^@^@�^@^WL^Oc^^^@ – forced RGB mode (EDID override). I replaced it with Philips 272P4 – forced RGB mode (EDID override), saved, unplugged and reseated the hdmi cable, and success!

    Maybe it was worth adding a line to the script that strips all non-alphanumeric characters from the display name?”

    • Thanks for this tip gea. I have the same monitor and forcing RGB mode with these instructions have always worked before without any monitor swiching offs and ons. Did not even come to my mind to do that.

  126. Did anyone successfully installed El Capitan with a Philips monitor as dual display?
    I ask this because I don’t dare to upgrade to El Capitan after someone told here that the script didn’t work with Philips monitors (I have the Philips 272C4QPJKAB successfully installed using this script on Lion and could do the migration to Yosimite without running the script). Thanks in advance for sharing your experiences with Philips duals screen on El Capitan!!

    • FOR THOSE ONES WHO CANNOT SEE THE DISPLAY FOLDER!!!!
      Hi there. Just want to let you know that I got it work just literately following the steps as described above. The reason I could not see the “DISPLAY” folder was that I was looking at the wrong directory. Yes, there are few “LIBRARY” folders in Mac. The first one I looked at was under my username home directory. You can access there by going to GO tab in Finder and holding ALT(option) bottom that reveals LIBRARY folder. But it’s the wrong one. You need to go to your actual MACINTOSH HD drive. Than skip the library folder in there and go to System/Library/Displays/Contents/Resources/Overrides. If you have been likeminded (lets call it BLIND-STUPID) than you should solve the problem and get your monitor to work properly! THANK YOU!!!!

  127. help me i doan all step but there is no different before i forcing to rgb

    here is my final create file :

    DisplayProductName
    BenQ EW2440L – forced RGB mode (EDID override)
    IODisplayEDID
    AP///////wAJ0Th5RVQAAAwZAQOANR54JjClpFVTnycNUFSla4DRwIHAgQCB
    gKnAswABAQEBAjqAGHE4LUBYLEUAEyohAAAeAAAA/wBUM0YwMTc1MlNMMAog
    AAAA/QAyTB5TEQAKICAgICAgAAAA/ABCZW5RIEVXMjQ0MEwKALQ=

    DisplayVendorID
    2513
    DisplayProductID
    31032

    and put it in right /System/Library/Displays/Contents/Resources/Overrides,and no old file to replaced btw

  128. I disable SIP in recovery mode. I verify status while still in recovery mode and is shows disabled. I reboot normally and check csrutil status, it shows SIP as enabled and denies access to systems folder to copy my new monitor profile. When I reboot in recovery mode and check status, it still shows SIP as disabled.

  129. i finally bought a new display and it works now with el captain. i had the DELL 2410 before and nothing worked :-(
    new model is AOC 2577pwq

  130. I had been using Yosemite with this override trick flawlessly… until El Capital came. Then things went awful again, and with “things” I mean colors, shapes, blurry fonts, etc.
    So I came back here to see if there was a new trick for this new OS or something, and voilà!
    I followed the same steps stated above, i.e.:
    0.- Disconnect all displays but the one is giving you problems. In my case, I use mac mini with an AOC Q2963PM 29″ 2560×1080 as primary display and a Samsung S23B370 1920×1080 as secondary display. Since the problem is with AOC, I unplugged the S23.
    1.- Download the improved script https://gist.github.com/adaugherity/7435890 || Put it on home directory. (For newbies: where is home folder? Is the one it has a “house” icon, and it is named with the user name you created when the first OS was installed on your machine)
    2.- Reboot to disable SIP. See http://www.macworld.com/article/2986118/security/how-to-modify-system-integrity-protection-in-el-capitan.html Go down to “Follow these steps to disable SIP” section. If you use a wireless keyboard, the “Command+R” combo does’t work. I had to plug an USB Keyboard just to make it work.
    3.- Reboot again
    4.- Run the improved script you downloaded in step 1.
    5.- Copy the folder created by the script (in my case it was “DisplayVendorID-5e3”)
    into the “/System/Library/Displays/Contents/Resources/Overrides” folder.
    6.- Reboot
    7.- Notice everything is back to normal again. Enjoy the view.
    8.- Reboot again to enable SIP. Just in case.

    That’s all. I really hope it works for you too.

  131. I have OSX Yosemity 10.10.5

    I can’t seem to move the ruby file (unzipped) to the Home directory. There is an error. Also, In the Recover mode the csrutil disable command doesn’t work at all for me either :(

  132. I didn’t try this fix when running Yosmite but I did when running El Capitan and it doesn’t work.

    I changed the name of the monitor as suggested and that enabled me to see the new profile in the display settings but choosing the new file did not have any effects on the screen so I’m still dealing with blurry fonts and wonky colors.

    After looking around and googling, this problem seems to be isolated to Philips monitors. I can’t test the theory but..the fix supposedly worked on Philips when running Yosmite but once installing El Capitán it doesn’t work anymore.

    It would be amazing if you could find a solution to the problem. :/

  133. Thank you so much for the great post. I am using El Capitan and this works perfectly for my when I close the lib of my rMBP and use the external monitor as the only display; however, when I use my external monitor as the extended desktop, the font on it becomes blurry again :(
    Is there a fix for this situation?

  134. I had to do this in Mavericks and Yosemite and then in worked very well with the same Macbook Pro and Philips 272P monitor. Now I’ve followed the exact steps as described above in El Capitan (including the command+R reboot) and the problem stays: fonts, icons, pictures… it looks awful. Does anyone know why it isn’t working here? I’m considering going back to Yosemite :(

  135. Thank you so much for the post, I followed the steps and it worked for my MacBook Pro Retina with El Capitan, with my monitor samsung S27D850T.
    However, after applied the RGB mode, it says now at 59Hz instead of original 60Hz.
    Can this be changed or forced to 60Hz?

    Cheers.

  136. it’s not working for me.
    when I type “ruby patch-edid.rb”
    patch-edid.rb:9:in `scan’: invalid byte sequence in UTF-8 (ArgumentError)
    from patch-edid.rb:9:in `’

  137. Thank you very much for posting these instructions – these worked perfectly with MacOS X 10.11 and an Acer K272HUL monitor.

  138. Unfortunately it does not work for me:

    patch-edid.rb:9:in `scan’: invalid byte sequence in UTF-8 (ArgumentError)
    from patch-edid.rb:9:in `’

    I got an 5K Retina iMac.
    Please help! The colors on my Philips TV make me crazy!!

    • I am unsure whether the patch would work on an actual TV. After all it is meant to force OS X to recognize a monitor misidentified as a TV. If you do have color problems on your TV, calibration might be the way to go.

  139. Thanks bigmcguire. Your steps saved my 2nd monitor and my eyes, after upgrading to El Capitan. I was furious over not being able to paste to the ‘Overrides’ folder and had even spent hours with Apple Support to fix it( they were useless by the way. All they suggested was to downgrade back to Mavericks!). Thank you again!

  140. Worked perfectly on El Cap (I used the modified ruby script from Github that uses the actual display name). After rebooting, El Capitan even recognized the custom color profiles I generated in Yosemite.

  141. I couldn’t hate Apple any more for doing this every time they do an OS upgrade.

    I’ve been following all the instructions and for me I can’t generated the override folder while in El Capitan. So I’m going to restore to Yosemite and see if I can copy to folder to an external drive. Restore to El Capitan and try again.

    Like tomeek I too have a Dell U2410 and shouldn’t have to suffer like this every time Apple does and update!

  142. Hey, I’ve tried this, it did make “Television” disappear in System information, but reported pixel depth is “still” “CGSThirtyBitColor”, not the usual “32-bit Color”, any ideas?

  143. I restarted normally after step 3 and I stil have grainy text. If I worked for a few minutes on my computer with rootless mode, the computer would reboot automatically telling me it has problems in it.

    • It still works in El Capitan. After installing El Capitan on my MacBook Air I was distraught to see fonts all fuzzy again. So I ran the script again and tried to copy the override folder but it wouldn’t let me copy it. Read the end part of the article he has a way to make it work in El Capitan. You have to disable rootless mode then copy the script again. I turned rootless mode back on and fonts are sharp again. :). Just boot into recovery and run that command in terminal to disable rootless. It works.

    • The exact steps I took (to simplify):
      1. Re run the script to generate the folder to copy to ovverrides.
      2. You’ll notice override in a new location: /System/Library/Displays/Contents/Resources/Overrides and you can’t paste anything to it.
      3. Boot into recovery (pressing Command+R repeatedly as Mac reboots).
      4. Go to Utilities –> Terminal and type: csrutil disable. — Reboot.
      5. Now copy the new file created to /System/Library/Displays/Contents/Resources/Overrides overriding the one already there.
      6. (See 7). Reboot. Text is sharp again!
      7. Boot into recovery (press Command+R repeatedly as Mac reboots).
      8. Go to Utilities –> Terminal and type: csrutil enable. — Reboot.

      You now have Rootless and sharp text!

      • I’ve done exactly like you. But with patched version (DisplayVendorID-469/DisplayProductID-23e1) I’ve got acid colors on my monitor :(
        So i moved back original file to /System/Library/Displays/Contents/Resources/Overrides and now broke my eyes :(

        • Wow that’s terrible. You generated a new DisplayProduct since El Capitan with the “ruby patch-edid.rb” in Terminal” right? Hope you find a fix :( That would drive me nuts.

          • Yep. I generated new DisplayProduct under El Capitan.
            Here is how it looks with patched DisplayProduct – http://s15.postimg.org/esq5fordn/IMG_2720.jpg

            Here is my patching log:

            Pro:csync bash$ ruby patch-edid.rb
            /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
            found display: vendorid 1129, productid 9185, EDID:
            00ffffffffffff000469e123010101010a18010380331d78eae595a656529d27105054afcf80714f8180818fb30081409500a9400101023a801871382d40582c4500fe221100001e000000fd00384b1e530f000a202020202020000000fc0056583233390a20202020202020000000ff0045334c4d52533031333033390a014802031df14a900403011412051f1013230907078301000065030c001000023a801871382d40582c4500fe221100001e011d8018711c1620582c2500fe221100009e011d007251d01e206e285500fe221100001e8c0ad08a20e02d10103e9600fe22110000180000000000000000000000000000000000000000000000000000e6
            Setting color support to RGB 4:4:4 only
            Number of extension blocks: 1
            removing extension block

            Recalculated checksum: 0x51
            new EDID:
            00FFFFFFFFFFFF000469E123010101010A18010380331D78E2E595A656529D27105054AFCF80714F8180818FB30081409500A9400101023A801871382D40582C4500FE221100001E000000FD00384B1E530F000A202020202020000000FC0056583233390A20202020202020000000FF0045334C4D52533031333033390A0051

            And this is content of DisplayProduct file:

            Pro:csync bash$ cat DisplayVendorID-469/DisplayProductID-23e1

            DisplayProductName
            Display with forced RGB mode (EDID override)
            IODisplayEDID
            AP///////wAEaeEjAQEBAQoYAQOAMx144uWVplZSnScQUFSvz4BxT4GAgY+z
            AIFAlQCpQAEBAjqAGHE4LUBYLEUA/iIRAAAeAAAA/QA4Sx5TDwAKICAgICAg
            AAAA/ABWWDIzOQogICAgICAgAAAA/wBFM0xNUlMwMTMwMzkKAFE=

            DisplayVendorID
            1129
            DisplayProductID
            9185

      • It worked perfectly for me on El Capitan. I had to do the same on Yosemite and Mavericks before with my DELL U2410 and the display is even sharper on El Capitan with the same override. Kudos! Thanks a lot!

        • Tomek, can you post the steps you took, but step by step. I tried the same thing I did on Yosemite and it did not work in El Capitan.
          1. I created the file
          2. I restarted with command + R and set rootless mode and restarted
          3. I copied the file to the new location and restarted with command + R
          4. I enabled rootless mode and restarted
          5. Same as before, grainy text.

          • The only thing I did different from you was – after step 3 – I restarted NORMALLY without immediately enabling Rootless mode. Upon normal reboot, the text was sharp on my screen. I then proceeded to enable rootless mode (with another reboot) and the text stayed sharp.

            Can you try that? It’s all I can think of at the moment.

  144. I found that upgrading to El Capitan had wiped out my override on my ASUS PA279. It had also changed the background picture to something I used a year ago and killed my calibration! Of course I couldn’t copy the override folder anymore. So I rebooted into recovery mode, opened a terminal in recovery and manually copied the folder into the new overrides folder (System/Library/Displays/Contents/Resources/Overrides) . In recovery mode, the internal hard disk gets mounted into /Volumes/Macintosh HD/ so make sure you take that into account. I would guess that you can also do this using a single user boot (hold command-S during a boot).

  145. i tried to write ruby patch-edid.rb in terminal but give me an error.
    I anyhow copied the two file in the override folder but nothing happen.
    what shall i do?
    i have a macbook air brand new.

  146. Thank you for this amazing post. I’m glad to hear that I’m not the only one facing these issues. I tried your solution, and it created a file and folder, which I’ve added to the Overrides folder, but my monitor still appears blurry. The monitor is set to its max resolution of 1080 (I realize this is not terribly high), but the fonts are still blurry. Could it just be the monitor itself?

  147. Pingback: 猫じゃらし産業 猫じゃらし 2本 [EC]【D】[猫?おもちゃ]【RCP】【hl150515】:Pet館

  148. Pingback: U-LACE(ユーレース) カスタマイズ靴紐 単色 ウィンターグリーン  10P06jul

  149. I followed all the steps and I think everything worked correctly. The script ran, It said “found display ‘SyncMaster’: vendorid 19501, productid 639, EDID:” and then I placed the folder in the Overrides folder. I checked the generated file for weird characters but found none. However, I’m not able to see any significant improvements.

    Computer : MBP Mid-2014, 15 retina.
    Os:Yosemite
    Monitor:Samsung 226bw

    Any ideas?

  150. Hi:
    I just bought this Screen ACER K272 HULA and i have the same issue.
    Connected DVI-DVI I have no issues but max. resolution is FHD, when i
    try to connect mDP – DP all i get is a No signal error… I have a Mac
    Pro mid 2010 with this wire

    http://www.startech.com/Cables/Audio-Video/Display
    DisplayPort-Adapter-Cable-Male-to-Male~MDP2DPMM6

    I tried to force RGB but still with no luck and no signal income.
    I also tried to change DP setting but i have not any DP setting in my
    menu, so I cant do it.

    Please help.
    What can i do?

  151. Brilliant, thank you! This just fixed the problem on my LG 34UM95 with a new Macbook. I’m hoping I can get it working with my Dell U2412M at work as well!

  152. I just bought a new 3.0 GHz Dual-Core Intel Core i& mini mac and an ultrasharp 27″ dell U2713H monitor. I connected the computer to the monitor with a Mini-DisplayPort-to-DisplayPort Cable and get nothing but a “No DVI-D Cable. The display will go into Power Save Mode in 5 minutes” message. Can anyone help?!

  153. Restarting may be un-nessicary. In Yosmites 10.10.5 with a 2ndary HDMI monitor, instead of restarting I disconnected the Monitor’s HDMI cable and reconnected it and the Font quality improved drastically, though it is still not a clear as my built in display. Note sure if this makes any difference but I already had a /System/Library/Displays/Overrides/DisplayVendorID-… with the same number so I only copied in the resultant DisplayProductID-#### and left the other pre-existing DisplayProductID-#### files in place.

  154. Do twice exactly as your post and my Dell U2415 display shows “Display with forced RGB mode (EDID override)”, but the text on external monitor still blurry as before. So sad.

  155. Question: Have a DELL U2414H and an Apple Thunderbolt Monitor.

    I want to run both monitors at the same time. If I run the script, will it effect the Thunderbolt Monitor as well or just change the settings on the DELL U2414H monitor?

    I am using a mac mini 2012. I can use the extra Thunderbolt out on the monitor to daisy chain the monitors and the DELL looks ok, but would rather use the port instead for a thunderbolt hard drive. I would like to attach the DELL to the HDMI port of the mac mini and not have the OS X see it as a T.V. Anyone else try to do this? Will it work and not cause a problem with the thunderbolt monitor?

    Those with a mac mini 2012 question: also, I can use the thunderbolt hard drive to daisy chain the DELL monitor and get the system to see it as a monitor and not a T.V. But due to the lesser graphics card in the mac mini 2012 it works but system is pushing it. If I hook up the DELL instead to the HDMI port, does it lessen the work on the graphics card since the system was designed to have a secondary monitor or T.V. on the HDMI port instead of daisy chaining the Thunderbolt port to carry two monitors?

    Thanks and appreciate the help. I hope this method will make my second monitor look better!!!

  156. Ok guys, following the instructions. I am not seeing a new folder being created. Here is my setup. Early 2015 MBP Retina. Mini Display out to VGA to HP 23w Monitor. Help?

  157. My setup: Late 2015 Retina Macbook Pro. Dell P2715Q 4K. Dell U2414H. … The 27″ 4K is beautiful! The Retina Screen is beautiful! The 24″ blurry …. but I use that screen for VMWARE WIN8 and its crystal clear! So I ran across this site…. I ran the fix, the 24″ seems a tad better but something is still off. Using this 24 on my windows PC it shines but on the Mac it looks blah. Kind of disappointing but very happy to have found this site and realize I’m not alone with this issue.

  158. after upgrade 10.10.3 – 10.11 beta3 i have no 2560×1080 anymore on external monitor on my hackintosh.
    After ruby patch-edid.rb – i even have less options then before ( no 1080p 1080i)
    Looks like Aplleintelframebuffer azul patches (10.10-Azul-Port_0x6-DP2HDMI and 10.10-Azul-Port_0x7-DP2HDMI) do not work on 10.11 (

  159. i’m experiencing this issue on el capitan (it worked fine for me before i got on the el capitan beta). I don’t really want to mess with these scripts so im going to live with it and hope a subsequent beta release fixes this issue

  160. Thank you so very much for this! I have a Macbook Air 11 2015 and bought one of those Display to HDMI adapters. When I connected my Macbook Air to my Dell Ultrasharp monitor the text was so fuzzy I could barely read anything. After Googling around I found your site. I followed the steps and everything worked perfectly. For those still needing help: I had to go into Preferences on Finder to turn on the ability to access the Home folder (your Username).

  161. When I use my Nikon 9000 scanner I need one thunderbolt port on my mac book pro for it, the second is used for the display, a Hp 27x. But then I cannot use my main harddsik, a thunderbolt WD my passport pro. Tried first Hdmi for my Hp, but type was pixelated which gave me a headache, then a docking solution with the same result. Tried Hdmi to display port cable I had lying around, did not work either. Now tried this patch and yes the display is as good as it was attached to the display port! Thanks a lot and shame on Apple! As a late switcher from win to mac I was so far very satisfied with the switch (lesser problems with hardware and software) but this issue got on my nerves. There is really the danger that Apple is relying more on more on golden watches for rich people than on rock solid products for professionals.

  162. Sweet. Totally fixed me on Mac Mini to HP2309m HDMI to HDMI. Thank goodness there are still SOME people out there who know what they are doing.

  163. Method not working anymore on OS X 10.11 El Capitan. There’s no /S/L/Displays/Overrides/ folder anymore and nothing happens if even we place one. Any Ideas how to solve it?

  164. Hi Guys, Im on a Mac Book Pro running Mavericks 10.9.5. Im on a AOC monitor, through Mini Display Port. Ive just run the script and placed it into my display /file/ overide. After restarting, and looking in system pref /displays,/scaled, its showing display with forced RGB mode. Is this what people show? Is this correct?
    My font is still not crisp and has some blurriness so I’m thinking I might have done something wrong?
    Im also on 1920x 1080.

    • I have the same problem as Erik.
      It seems to work, I can see my monitor´s name and it has only regular letters and numbers.
      I just need and use 1920×1080, but it´s still blurry.

  165. Hi guys,

    I’m having the same blurry text rendering issue on my new NEC EA274WMi. Connected to windows machine it’s perfectly sharp. Connected to a macbook pro retina late 2012 OS X Yosemite all texts are blurry.

    I used the patch mentioned in this post but it doesn’t work. Once installed it forces me to use a lower resolution than the native 2560 x 1440, making everything more blurry.

    Already tried with hdmi/DVI/displayport cables, disabling the lcd font smoothing and reducing the transparency in System Preferences.

    Who can give me some suggestions?
    Thanks in advance.

    Ste

  166. All I had to do with my external 1920×1080 Samsung and retina MBP 13″ was.. go through the display’s menus and find “screen fit” option from there. Blur gone.

  167. The short story: I now have my MacBook Pro running my new Acer K272HUL 27″ running at 2560×1440 pixels and it is sweet!

    The longer story: I have a Macbook Pro (Mid 2012 model) manufactured in 2015 (got it in an emergency for $800 its only a few months old and they are around $1,300 Australian Dollars and I bought an Acer K272HUL 27″ display to get me by until I get my new iMac Retina 27″ (I get it early June 2015 really can’t wait) as my iMac 27″ Mid 2009 27″ decided it would die a week or so before I was going to update anyway and I wanted to use the Macbook Pro with the Acer at full resolution 2560×1440 in the meantime, well tried everything all the hints tips suggestions I called a local Apple dealer and called Apple support who put me on to this site.

    The solution was as follows:

    First be fore you try anything you need one of these its called a Mini-DisplayPort-to-DisplayPort Cable
    http://shopap.lenovo.com/au/en/itemdetails/0B47091/460/67FB3393C9474D4EBB539D3DC944B8CE

    I tried a Mini-DisplayPort-to-DVI and a Mini-DisplayPort-to-HDMI
    They both only gave me 1920×1080 resolution which is not right.

    You will only get this wroking correctly if you get the Mini-DisplayPort-to-DisplayPort Cable

    You have to use the Mini-DisplayPort-to-DisplayPort Cable they should only cost you around $10-$20 Australian dollars mine is 2mtrs and cost me $9.00 Australian dollars

    How to force RGB in Mac OS X
    1. Download the patch-edid.rb script here: http://www.vizyweb.com.au/git-files/gist-patch-edid.rb.tar-3.gz and extract it in to your home directory, If you don’t know where your home folder is use these instructions: In your home folder, there are folders for your desktop files, downloads, pictures, documents, movies, music, and for any public files. To open your Home folder, click the desktop to make sure you’re in the Finder, then choose Go > Home.

    2.Connect only the external monitor(s) in question (I closed my MacBook lid, for example). The script will make override files for any connected monitor.

    3. Type “ruby patch-edid.rb” in Terminal.

    4. A new folder will be created in your home directory. Move it into the “/System/Library/Displays/Overrides” folder. If finder tells you that you are overwriting an existing folder, consider backing it up first.
    Restart your computer, enjoy your monitor.

    To undo the changes, either delete the folder you had copied to the Overrides folder (if it didn’t already exist) or replace it with the folder you had backed up.

    Hope this helps some people as I wasted more than 7 hours on this issue before I resolved it.

    You have to use the Mini-DisplayPort-to-DisplayPort Cable they should only cost you around $10-$20 Australian dollars mine is 2mtrs and cost me $9.00 Australian dollars

  168. Worked beautifuly for me. I have a Dell U2715H via display port to mini display port cable to a 2010 aluminum Mac Pro. On OS X 10.8.5. before the script everything looked great except for text which was a little fuzzy and gave me headaches. Also i realized on system profilethat the monitor was detected as Television. Wfter the script the text looks great, i have no headaches and the monitor isn’t recognized as a Television on the system profile.
    Thank you!!
    Btw. if on system profile it says Television:yes i think you have to run the script.

  169. Thanks! Worked like a charm on rMBP 13″ Early 2015 (running Yosemite 10.10.3) connected to HP 2310m via HDMI cable.

  170. Hi Mathew,

    I came today with my new laptop home and was loosing my mind over this problem. Now works like a charm with Andrew’s script. I’m so very grateful to both of you.

  171. Hi, thought i’d post this as it may help some:
    I’ve been using an ASUS Pro Art PA279Q monitor for 12 months with my MBP 15″ mid 2012 running more recently 10.9.3 yosemite connected via daisy chained thunderbolt drives (imac->promise pegasus R4->WD mybook thunderbolt duo->display) with display at end. crisp fonts and colours great, never needed tweaking. MBP logic board died so bought a refurbished imac 27″ 2013 and setup from MBP time machine backup. when PA279Q was plugged directly into imac thunderbolt port (using mini display port-VGA adapter same as before) it gave me shitty resolution (1280×800 or less) with fuzzy fonts.
    rerouting the display through the HDD daisy chain restored previous display settings for external monitor giving me 1920×1080 and crisp fonts as well as a PA-248 colour profile to work with. I’ve no idea why but perhaps this may be useful to others experiencing similar issues. i was about to try the force RGB suggestions of the past 2 years of threads but this solved my issue.

  172. Hi,

    I tried what you wrote but it didn’t work for me…
    I’m using a Macbook Pro from 2012 with Yosemite. When i connect with HDMI my laptop with my screen (HP 2311x), my Macbook see the screen (it recognizes it) but the inverse is not true…

    Thanks a lot for your help, i’m a little deperate ^^”

  173. Oh cool someone from the apple forums helped me, this worked:

    Choose Go to Folder from the Finder’s Go menu and paste /System/Library/Displays/Overrides into the dialog box.

    The trick seems to have worked, though I can’t tell if the quality is still a little off, or if it’s just hard swapping between retina and non-retina? I’ve got a headache and I can’t tell if it’s because of this…

  174. Hey there, new Mac user here. I can’t seem to find the /System/Library/Displays/Overrides folder. Anyone know where it is? I was able to unhide the Librarys folder, but there’s no folder called Displays in there.

  175. Just when I was giving up with my monitor (AOC 2560×1080) I found this post. I have no word to tell you how grateful I am. I am in the nice-text-and-beautiful-colors world again!

  176. hey man

    Insecure world writable dir /usr/local in PATH, mode 040777
    patch-edid.rb:9: undefined method `[]’ for nil:NilClass (NoMethodError)

    how can i fix this error??

  177. Hi Mathew,

    I follow the steps but after restarting the my Mac mini there s no changes happen !!
    My device is Mac mini with Yosemite 10.10.2 connected to ViewSonic VX922.

    Please is there any think that can I do ?

  178. How can you see what color space OS X is outputting?
    It says Television:Yes. But in pixeldepth: 32-bits color (ARGB8888).
    And on the monitor menu: input color formst: RGB.

    Does this mean my Dell monitor doesn’t have this problem?

  179. I had the same problem with Yosemite and a Bravia TV.

    Previously I had managed to get SwitchresX to force the correct res, right up to Mavericks, however Yosemite does something that negates even this, the best I could get was pillar boxing like yourself, so I gave up in the end and rolled back to Mavericks after fighting with it for two nights, very frustrating.

  180. I sense that I’m still in a different stadium, but this is the closest thread I have yet found in my dilemma. I’m using a pair of late ’12 Mac Minis with simultaneously both HDMI as well as Thunderbolt to VGA video paths. The HDMI works fine, but after upgrading from 10.8.6 to Yosemite, everything has gone haywire with my 1080P monitor that is down stream from the Thunderport/Displays port. That port is converted to VGA which then must pass through a Starview 4port VGA/USB hub. The hub used to be “supported” but now is the weak link. The monitor is some industrial (VER G32LW170STD702LGF3) nameless brand. I would switch out the hub or try DVI if my Mini wasn’t sharing a monitor with a Windows 7 embedded computer that works best with that specific hub and connectivity. What happens is that the Mini cannot express a full screen usage of the monitor (it trims vertically on both sides). I could accept this anomaly if 1 out of 3 startups the Finder and Pointer didn’t go nuts. The system bogs down and cannot function properly even with nothing else running. Apple has replaced the logic board twice as wells as both HD’s to no avail. Currently I’m going to try downgrading to Mavericks to see if the support for my hub still existed there. Otherwise it’s going to be an admittedly very steep learning curve for me to learn more about EDID forcing and exactly what Apple’s “Genius” engineers are up to in dropping support for such peripherals as my Starview hub. Starview has no updates. And Apple simply suggests different monitors and/or hubs. I want them to put the older supports back in!

  181. I am on a Macbook Pro Retina 15″ late 2012 running Yosemite using a an HP 2509m monitor. The Mac knows which monitor I am using, however it was still blurry. I used this script and it totally works. So awesome. I had my doubts. Thank you!

  182. i would like to add that you CANNOT EXPECT ACCURATE COLORS FROM AN HDMI Connection. The first step would have been using the mini -DVI (aka T-Bolt aka mini Display) to Display (or DVI) as it allows for the full RGB spectrum (0-255) (HDMI will default to 16-235 = no absolute whites or blacks)

  183. how to get rid of this “problem” on my external monitor samsung t260hd while working on macbook retina 13″ (hdmi -> hdmi)
    /var/folders/yt/f3jrdqxx3sdbfkcffvzyq2kc0000gn/T/com.apple.iChat/Messages/Transfers/IMG_0001.JPG

  184. Hi all,

    Could anyone tell me whether the blurry fonts on my LG TV might be due to the colors problem you all are discussing here? I am not sure about this myself, since the following profiles are all listed in my Mac Mini’s (late 2014) display preferences when connected with HDMI to my HDTV:

    HD 709-A
    LG TV Calibrated [this one I created; it shows the richest colors]
    SD 170M-A
    Adobe RGB (1998)
    Generic RGB Profile
    sRGB IEC1966-2.1

    My question: can anyone tell me what is missing from these profiles that should be there for the fonts on my display to appear sharper? And so, should I go through the procedure described here to fix this supposed colors problem?

    Thanks!
    Leon

  185. Hi Guys,

    I used this fix before when connecting my K272HUL to my MBP Retina and it worked perfectly. Now I have the monitor connected to my iMac Retina. Has anyone used the fix with success? I wasn’t sure if it would work since I can’t have only the external monitor working to “force” the override. Cheers.

  186. I was glad to see that this trick worked, but I see that the colors on my Macbook Air are now wrong.
    After overriding the folder with the old back-up folder and restarting, nothing has changed.

    Does anyone know how to solve this?

  187. Hi all,

    So, I am wondering if the blurry fonts on my LG 32″ HDTV, connected by HDMI-HDMI to my Mac Mini (late 2014), are caused by the same problem you are all dealing with here…

    Please could anyone review whether I correctly followed the instructions of Matthew’s post and Andrew’s comment? I am an absolute dummy in this department, so I probably skipped some step that to others seems too obvious to mention. This is what I did:

    I copied Andrew’s file and containing folder (see his post above) to the required folder, so that it shows in Finder as follows:
    System/Library/Displays/Overrides/gist7435890-66c54c17b179809b028b58a2ca7af0b9540d05b6/patch-edid.rb

    Then I restarted my computer (Late 2014 Mac Mini, running Yosemite including all updates). I did not really see any changes, as the fonts still appear blurry on the screen (32″ LG smart TV, connected with HDMI to HDMI; the TV has no DVI or VGA connections).

    In the Display Preferences on my Mac, the resolution is set to “Default for display”, which is 1080p, and in the color tab I see the following profiles:

    HD 709-A
    LG TV Calibrated [this one I created before; it shows the richest colors]
    SD 170M-A
    Adobe RGB (1998)
    Generic RGB Profile
    sRGB IEC1966-2.1

    Did I take the right steps? I have no idea what a script is supposed to do; was I also supposed to double-click on the script file, beside just copying it to the required folder?

    And am I looking in the right place, under Display Preferences? As I never saw anything about YcBcR or something in any of the System Preferences, I don’t know if I am trying to apply the right fix here in the first place.

    Thanks much for any suggestions!
    Leon

      • Thanks for your directions, Stefan. I have another question:

        Since I don’t see anything with YcBcR (or so) in the color profiles on my Mac Mini, am I actually dealing with the same problem here? These are the color profiles that I have now:
        HD 709-A
        LG TV Calibrated [this one I created before; it shows the richest colors]
        SD 170M-A
        Adobe RGB (1998)
        Generic RGB Profile
        sRGB IEC1966-2.1

        Thanks again,
        Leon

  188. Thanks so much! This worked like a charm on my mid 2011 11″ MacBook Air and brand new HP 25xi monitor.

    So glad I found this post and didn’t try to buy new expensive cables as suggested on forums for nothing!

    More details if it can help anyone: resolution 1920*1080@60Hz, plugged from Mini Display Port to HDMI with a $7 Mini Display Port to HDMI adapter + HDMI cable.

  189. I was about to send my new Acer K272HUL back because the main reason I bought it was the 1440 lines in resolution and then I founf this post and it worked: Thanks a lot to all the people involved finding the cause and writing the fixes! I ended up using Andews ruby script mentioned in his comment above:
    http://www.ireckon.net/2013/03/force-rgb-mode-in-mac-os-x-to-fix-the-picture-quality-of-an-external-monitor/comment-page-3#comment-9463

    My configuration: Yosemite 10.10.2 on a MacBook Air Mid-2012 with Intel HD Graphics 4000 1024MB connected with a Mini Display Port to DP cable. I bought both of these, both work finally. I only bought the more expensive one because originally I thought the cable might be the reason for my limit in resolution:

    http://www.amazon.de/gp/product/B0094WTC2C?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s00
    http://www.amazon.de/gp/product/B002XVYZ82?psc=1&redirect=true&ref_=oh_aui_detailpage_o02_s00

    Original problem: From the Display settings I could select 2048×1152 and it would display the content on my big screen with black borders at 2560×1440 (told by the monitor menu –> info). Switching to 2560×1440 in the mac settings would result in a totally broken image: Mainly black, some heavily distorted parts of the screen on the left third of the monitor.

    Followed the instructions exactly as described and it works like a charm: 2560×1440 @ 60Hz now!

    • Hi Philip, glad this worked out so well for you! I am trying to improve my own brand new setup with my Mac Mini and HDTV. Not sure if I did it correctly, so please confirm if the below seems correct:

      I copied Andrew’s file and containing folder to the required folder, so that it shows in Finder as follows:
      System/Library/Displays/Overrides/gist7435890-66c54c17b179809b028b58a2ca7af0b9540d05b6/patch-edid.rb

      Then I restarted my computer (Late 2014 Mac Mini, running Yosemite including all updates). I did not really see any changes, as the fonts still appear blurry on the screen (32″ LG smart TV, connected with HDMI to HDMI; the TV has no DVI or VGA connections).

      In the Display Preferences on my Mac, the resolution is set to “Default for display”, which is 1080p, and in the color tab I see the following profiles:
      HD 709-A
      LG TV Calibrated [this one I created before; it shows the richest colors]
      SD 170M-A
      Adobe RGB (1998)
      Generic RGB Profile
      sRGB IEC1966-2.1

      Did I take the right steps? I have no idea what a script is supposed to do; was I also supposed to double-click on the script file, beside just copying it to the required folder?

      And am I looking in the right place, under Display Preferences? As I never saw anything about YcBcR or something in any of the System Preferences, I don’t know if I am trying to apply the right fix here in the first place. Sorry to ask such basic questions. I did read through many of the comments posted here, but I might have missed any clarifications for dummies.

      Thanks much,
      Leon

  190. new to mac and have maybe a dumb question. In the overrides folder I have a bunch of other folders titled “DisplayVendorID -xxxx”. Are they supposed to be there? This process is not working for me at all.

    Thanks!

    • @Chris: it is normal that you see all kinds of “DisplayVendorID -xxxx”. Copying the new folder into the folder System/Library/Displays/Overrides/ and restarting the MacBook should do it.

      @Leon: 1. Download the file ‘patch-edid.rb’ and put it into your home directory.

      2. Run the patch by opening Terminal and typing in Terminal the following:

      ruby patch-edid.rb

      After doing that you’ll see a new folder in your home directory.

      3. Go to System/Library/Displays/Overrides/ and make a back-up
      of the folder ‘DisplayVendorID-4dd9’ if it exists, i.e. back-up the folder you are going to overwrite.

      4. Copy the new folder from your home directory to System/Library/Displays/Overrides/.

      5. Restart your laptop.

      Hope you will have more succes now.

  191. This helped a lot with an HP Pavilion 27xi 1920 x 1080 LED monitor connected to a MacBookPro 13″. It went from horrible to bearable. I think the rest of the problem is related to the pixels being quite spread out on this monitor, which is fairly low-res for 27 inch.

    Thank you!

  192. Hello everyone, i purchased dell u2415 monitor that i connected to my rMBP 2014 but the fonts are really bad. Is any change to the script needed in order to work properly? thank you!

  193. Thanks, this is an awesome feature! works on Yosemite with Mac Mini.

    The only problem with it is that for me is that I cant choose the refresh rate 24hz (hertz) in the Mac Display Menu any longer, I could do that before the “fix”. The only choices are 60hz, 60hz (probably i, interlaced) and 50hz, and that means that it will not do 24p any more and therefore it will not automatically change refresh rate in media apps like XBMC,Kodi and Plex HT. Any help..? if someone could fix it with a 24hz option it would be awesome. I had choices of 60, 50, 30, 25 and 24hz before and now I only have 60, 60 and 50hz.

  194. Weird, doesn’t work for me using a late 2013 Retina MacBook Pro connected via DisplayPort to a Dell Ultrasharp U2412m. Similar to Sridhar Katakam above, connection type is listed as DisplayPort and the display title bar says RGB forced.
    Anyone have an idea what else I could try?

  195. I’m having a bit of trouble. I’ve followed all the steps and the resolution is great now, however the screen is too large and I cannot see the dock at the bottom; it is cut off. How can I fix this issue?

  196. No joy with 2014 13″ rMBP and Asus 248H-P monitors connected via TB to HDMI adapter and HDMI direct connection. (no Displayport on this monitor). It forced the RGB mode but text is still blurry. Anyone else have success with this monitor?

    • I still have this issue, even after running the script. Is it possible this could be because I am not using certified Apple ‘dongle’ – I am using a cord (no adapter) that goes from displayport to DVI (and another one for displayport to VGA). Both the cords are from Amazon.

  197. WOW!!! Game changer, sir. I was THIS close to returning my brand new monitor before reading a comment in Amazon that mentioned this trick. Why is this a thing?? THANK YOU!!!!! Got PayPal? Let me buy you a drink! :-)

  198. Unbelievable. I can’t believe this worked. 2013 rMBP with DP connected Acer B276JUL at 2560 x 1440 running Yosemite.

    Again, I can’t thank you all enough. This has made such a difference.

  199. I was on the line to AOC for their AOC Q2963PM 29-inch IPS (21:9) with the same jagged text problem…
    He explained that the problem would go away with a DVI to DVI cable… I’m currently waiting on Amazon to find out if he is right… I’ll let you all know soon…

  200. I can’t get this to work at all? I’ve downloaded the file but where do I put it next? After that where is the /System/Library/Displays/Overrides area, I can’t find it? How am I meant to close my Mac lid and do something on it at the same time? All very confusing…

  201. I am trying to get this to work on my Benq 27 Monitors and just not getting there. The file I create and copy to the folder is not editable with my txt reader and therefore I suspect I need to change a part of the source file as per Tom’s message, however when I change ANYTHING in this line: monitor_name=[disp[“edid_hex”].match(/000000fc00(.*?)0a/){|m|m[1]}.to_s].pack(“H*”) I simply get error messages when running the script. I tried running the ORIGINAL script, however display was even worse…I am not sure WHICH bit of that line to change to get it working. Any help would be really really appreciated!!

  202. Thanks a million to you and the originators of that patch. Worked great with my new iMac running Yosemite and external Acer K272HUL

  203. Mid-2014 15″ rMBP hooked to Dell U2415 using the mini-displayport to displayport cable that came with the monitor.

    Used Andrew’s modified script. Restarted laptop and the monitor.

    No dice. Text is still blurry.

    It does show in the window’s title bar that RGB mode is being forced though: http://cl.ly/image/1k0t101K232V

    Display setting screenshot: http://cl.ly/image/3M3o0b2u0m2s

    Connection Type did change from TV to DisplayPort: http://cl.ly/image/0i403k3g442w

  204. I found it. It does not work. In my case though the colours are good. I calibrated them even. But the fonts are just not sharp. They are blurry. Damn it, this drives me crazy.

  205. It didn’t work for me on a late 2012 iMac 27″ with a Pavilion 23xi. OS X version is 10.10.1. It creates me a 1920×1080@60Hz mode, but I still get the same results. In case it’s a different issue, what I find is that the desktop size for the secondary monitor seems to be the same as for the 27″ display, so I only see part of the desktop (I have to underscan the secondary screen to be able to see the menubar and the dock).

    I’ve ordered a thunderbolt to DVI converter, and I hope it fixes the issue, otherwise, I’ll return the monitor.

  206. I’ve tried running this script, but no folder is created. When running it in verbose mode, I get these errors.

    Exception `LoadError’ at /Users/MyUser/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/site_ruby/2.0.0/rubygems.rb:1216 – cannot load such file — rubygems/defaults/operating_system
    Exception `LoadError’ at /Users/MyUser/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/site_ruby/2.0.0/rubygems.rb:1225 – cannot load such file — rubygems/defaults/ruby

    I’ve got both of those gems installed though, so I’m not sure why I get that.

  207. Hello, I recently bought a DELL 2713HM to use on my MacBookPro 2011 (Yosemite 10.10.1) connected through a Mini Display to Display cable. The problem is that the colours are off, washed out. The best color profile I have found is ‘Apple RGB’, although it’s still not right.

    I downloaded and run the ruby script and placed the files in the /System/Library/Displays/Overrides, and rebooted by these new profiles that appeared (Dell U2713HM EDID override) are just as bad as the original.

    Is there a way to fix this? Has anyone got the same problem?

  208. hello, i have a problem i downloaded the patch, i have it on my desktop, and then when i go to terminal, and type: ruby patch-edid.rb and hit enter, this is what i get :/

    Last login: Sun Nov 16 14:30:16 on ttys000
    MacBook-Pro-uzivatela-Adam:~ Winstead$ ruby patch-edid.rb
    ruby: No such file or directory — patch-edid.rb (LoadError)
    MacBook-Pro-uzivatela-Adam:~ Winstead$

    im very new to mac, i dont know what to do, i have it on my desktop but it says no such file or directory, so i dotn know what to do,

    i would much appreciate for any kind of advice! ty everyone

    • take the patch e place it into your user folder, go to the spotlight and search macintosh hd, then go to users -> your folder.
      Try again :)

  209. I have the PHILIPS 298P4 monitor and i can’t find a way to use the full resolution of the display,
    i’ve tried these steps, but had no success.

    ps: i’m using the HDMI cable, but i’ve already ordered an Mini DisplayPort to DisplayPort cable that
    i’m waiting to arrive and test it.

    Anyone could help me to achieve 2560×1080 on my monitor, please?

    MBP 13″ Retina late 2012 / running Yosemite 10.10
    Intel HD Graphics 4000 1024 MB

  210. Update – of sorts: This morning I have sound back, I’m not aware of changing anything. I did finally manage to find the systems library and overrides folder and get the new display folder pushed in there. The sound was still out after doing that, but it has returned this am. The display is noted as being forced RGB, I don’t really notice much improvement. I have continued to mess with the color display calibration and I’m getting closer to a tolerable color mix.

    First thing this morning the screen started flashing. Every few seconds it would flash. I rebooted and it’s been fine since.

  211. i tried it. Macbook pro mid 2010 with samsung 32″ monitor.

    What it did was wipe out the speakers in the monitor. Now i have no sound and an annoying 2″ square box with a speaker diagram with an X through it migrating around the screen.

    No difference to screen appearance I can detect. I can’t find the display folder or the override folder.

  212. No, not at all – don’t erase all the folders! In my case, there was already a folder with the name the script created with another file on it. I just moved that file to my desktop and replaced with the new one, keeping the folder.
    Today I found out that it must be a balance between your display AND the mac configs. I spent some time adjusting the display configurations (white balance, blur, etc, etc) and now the image is perfect!

    It is worth giving it a try!

    • It doesn’t work :( anyone explain me how to do step by step? It’s incredible i did everything and it doesn’t work :/ i ran the patch, put the file into the display folder but it still doesn’t work

  213. Francesco, I found the folder Displays in the Library (but there are in fact two folders called Library in Mac. Click the Terminal icon until the options appear (long click), click the “Go to Folder…” option and then type /system/ and you’ll find the Displays folder there.
    Another thing. After running the script, you gotta paste the file into the Override folder and erase (or backup to the desktop) the file that was there previously. It worked for me, though I’m still facing some pixelated fonts.

    • Wait, i’ve done everything but it doesn’t work.
      In Override folder there are many folders so when i paste the folder created by the script, I have to erase all folders previously?

  214. Help me, macbook pro retina 13″, i put the file in my folder, i run the terminal it says “command not found”.
    Sorry for my bad English :)

  215. Ok, thanks Nick! It’s working now with this profile, but the fonts are kinda pixelated. Any idea on how to improve it?
    Anyway, it’s much better now!

    • I never got it to work sadly so can’t help you much more, but off the top of my head, make sure your running at the native res, ensure that display contrast in accessibility is set to normal, play with your font smoothing settings etc.

      Glad you got the RGB issue nailed though. :-)

  216. Hey there guys!
    I have the same issue, but my problem is so dumb I’m even ashamed to ask.
    Have done all the stuff, but I can’t find the Display folder in my Library. Simply no folder with that name.
    Running on a Mac Air with Yosemite. Anyone?

  217. Installed Yosemite. I have 2 Pavilion 23xi and MacMini. First connected via miniport-DVI no problem. Second monitor via HDMI, had problems. Used this script no problem. Works great. Make sure to disconnect dvi one during running script.

  218. As expected I lost the RGB on an Acer K272HULbmiidp connected via HDMI when I moved from Mavericks to Yosemite. Re-ran the Ruby script (the improved version that correctly names the display), put the folder into the right folder as instructed, rebooted and… it work like charm.

    I really find it quite embarrassing for Apple that you have to jump through so many hoops to get things up and running but at least it is working as expected.

  219. Patch was working fine until the yosemite update. Tried process again and did not work. Any ideas as to what I can do? Screen looks terrible. Not crisp at all. The screen I’m using is a Dell U2413.

    Any help will be very much appreciated.

  220. Thanks, I installed the script and now I can use full 2560×1440 on my new Asus K272HUL. I am using via HDMI on my 15″ MBP Retina late 2013.

  221. Hello, I’m using a retina macbook pro 13′ late 2012 with intel HD graphics 4000, running Yosemite, 10.10 hook to a DELL 3007WFP with dual link DVI to mini display port cable. Ran patch-edid.rb, replace the folder in system, reboot but it doesn’t work. :(

  222. Just wanted to mention that I have a brand new Mac Mini *Late 2014… the stores just got them in yesterday) and an HP2509m monitor. I had the blurry font problem, and this script fixed it instantly. Thanks to whoever came up with this, but I’;m having a hard time understanding why Apple hasn’t fixed the problem since it’s obvisouly been going on for so long.

  223. My Dell U2412M still looks like sh*t. The script hepled a little, but it still doesn’t look crisp at all. No matter how it’s connected (VGA, DP, DVI). I tried different screen (Asus VW266H) via HDMI and it was soo much better.

  224. For Mavericks this worked perfectly right away. Upgrading to Yosemite erased the script, but on reinstallation I haven’t been able to get it to work for my Asus PA248. Any ideas? I also tried replacing and renaming the script to an existing script…but nothin’.

    • Got it to work the third time. To start over each time, I replaced the Overrides folder with my back up, and started the entire process over again. Finally, by the third try, it worked. Most likely user-error.

  225. It seems to me that Yosemite now recognizes my Philips 272C4, and I don’t need the script anymore.
    That’s the way it should be. I hope this will be the case with all other (your) monitors in the near future.

  226. I have the same trouble after upgrading to OS X Yosemite. My previous setting for my Monitor LG 29EA73 worked fine with the script under the OS X Mavericks. Now it´s all gone. Can anyone give me some advice which script to run and how to do it under Yosemite? Thanks

  227. Upgrading to OSX Yosemite caused my display to revert back. Tried running the script again and it does not create and override file. Any idea what to do?

  228. Just updated to newly released Yosemite.. and it overrode the rgb fix. Fortunately I remembered that I’d done it and the ruby script described above still works.

  229. I don’t know if anyone can help me with this however…. I stupidly came on here thought I knew what I was doing. So I copied that long ass command this into terminal and pressed enter. Now my second monitor is really laggy and grainy. Is there a reverse command so I can get it back to normal?

  230. Danilo, I’ve had the same issue with a TV (Bravia 40D3000, see page 5), however I suspect, that unless it’s an actual monitor the chances of getting the correct EDID is slim to none. Nobody here seems to have success here beyond dedicated PC monitors.

    I’ve essentially given up, but Google this issue occasionally in the faint hope that Apple get their finger out of their collective arse and fix this.

    Sadly, this is still the number one hit when I search.

  231. Also I have the same problem.
    MBP (mid 2010) – MiniDisplayPort to HDMI – 1080p – Tv Haier 22 “Full HD 200Hz LE22m600.
    The resolution is correct (1920×1080 60Hz) but the colors and fonts are bad.
    Applying the patch nothing has changed ….
    Today I try with the modified version.

  232. Update: I loaded Yosemite Beta 4 onto my rMBP and lost the resolution. Found the directory created by the script under Mavericks and, after a couple of tries, got it moved into the Overrides subdirectory. Got my nice resolution back.

  233. Thank you very much! I used Andrew’s modified script and proceeded through all the steps while my MacBook’s lid was closed. After the fix was applied, I re-opened my lid and the external screen momentarily flashed black signifying the MacBook’s connection.

    When I checked the color space on the monitor’s control panel it was RGB. I didn’t have to do a restart, but I assume that’s because the display’s override files were reloaded when the lid was opened.

    For reference, I used this on a Dell S2340L (HDMI) and a MacBook Pro Mid 2012 running OSX 10.10 Public Beta 4.

  234. I hit the same problem again today with a brand new-out-of-the-box Mac Mini running OS X Server 10.9.5 and a Dell U2413 connected via HDMI. I ran patch-edit, moved the DisplayProductID to the Override folder, rebooted and presto chango! Thanks again Andrew!

    (I also submitted this problem and the fix to Apple, asking them to fix it in the OS so that we don’t have to patch every machine …)

    –John

  235. Hello,

    Does anyone know how to force RGB on an iMac. I have an HP DreamColor Monitor, but unlike a laptop, I can not seem to shut off the main monitor to the iMac for the override to work.

    Thanks,
    Jordan

  236. The patch-edid Ruby script worked perfectly for me and my dual Dell 2413 monitors. Because I have a new (spring 2014) MacBook Pro (with retina display), I have one monitor connected via HDMI and the other via Thunderbolt / Display port. The problem affected only the monitor connected via HDMI.

    I played the swap game trying to isolate the problem (swapped cables, swapped monitors, swapped MacBooks) … eventually proving that it ONLY occurs with a Dell U2413 monitor connected via HDMI to a new MacBook running Mavericks. The problem does not occur with a) an old MacBook, or b) connection via Display Port, or c) using a Dell U2410 monitor.

    Thanks again!

    –John

  237. This doesn’t work for me. I am running OSX Mavericks with a Dell 2407WFP and after running the Ruby script, replacing in Overrides, also doing the font smoothing with -2, my screen still looks blurry. Very frustrating when this display worked perfectly with an older MBP (non-Retina, 10.8) and also works perfectly with Linux. I’m going Thunderbolt to DVI-D, I guess I’ll try other combinations … Thunderbolt to VGA … HDMI to VGA … this is just stupid.

  238. Thank you for your file. Unfortunately it didn’t work for me.

    I have a MacPro (new model) with Thunderbolt to HDMI and a Dell 2711.
    This setup worked with 10.9 Mavericks. I had to press “Alt” while
    pressing “scaled” in preferences in order to get 2556×1440 as an option.
    As soon as I upgraded to 10.10 (currently on 10.10.3 beta) the
    resolution went away and the highest I can reach is 1920×1080.

    I downloaded all 3 scrips, even the alternative. I put the Ruby file in
    my home folder, run the script, create the new folder with the new text
    file with I name DisplayProductID-a055, restart my computer and nothing.
    I still only see 1920×1080 as my highest resolution possible. I am putting it
    in the correct folder System<Library<Displays<Overrides

    What can I be doing wrong?

    Please please help!

    Thank,

  239. I thought I would have to do this, but I didn’t. Instead I used the big fancy dual cable Mini Display Port to DVI Adaptor (purchased by my company when the MPB was bought recently and didn’t work on my 24) to connect to my Dell P2314H as it worked fine, and used my partner’s spare basic single cable Mini Display Port to DVI adaptor to connect my Dell U2413, which was the one that didn’t work originally on the bigger, fancier MDP to DVI. So now, without having to rewrite anything, I have my dual monitors up and running and looking sweet! So, if you don’t want to fiddle around for hours with the code, ask around and try a few different cables and connectors that people have lying around in their desks and cupboards. Worked for me, might work for you too! :)

  240. Hello! Looking forward to trying out this script, but every link I click on in the post leads me to a page that says “This webpage is not available”. Could someone please post the script in the comments here? Thank you so much!

  241. Pingback: Knokken met gadgets: “Even een LG monitor aansluiten op mijn MacBook Air” | BrandNewFresh.nl

  242. Thank you so much for the detailed explanation – I was ready to send an Acer K272HULbmiidp (using the complete model number to make this page easier to find) back after it gave me a horrible grainy picture via HDMI or DIsplayPort when connected to a 2013 Retina MacbookPro with discrete NVIDIA graphics.

    Generating the RGB override via the Ruby script took 1min and the Acer looks as expected – ready for calibration/profiling. Once again two thumbs up!

  243. Worked perfectly, and solved nearly two years of me having to change the input setting on my Dell S2440L from RGB to YPbPr every time the monitor went to sleep. Thank you!

  244. Worked great for me, thanx!

    I have a MacBook Air connected with a minidisplay to display port cable from StarTech to a LG 2560×1080 pixel 29EA93 Monitor. After connecting the colors looked awful and fonts looked liked they were made with LEGO bricks.

    Now the colors are so bright I have to wear sunglasses but that doesn’t matter I ‘m very happy.

    This is a much better advice that the Dutch Apple helpdesk gave me (as always: clean instal).

    Very bad that I have to make such changes to the OS myself and Apple doesn’t solved this problem in almost 9 months…

    Thanks again for this great article!

  245. Hey guys

    I used MacBook Pro retina display 15′ and my external monitor is LG 29EA93. I have exactly the same problem and when I tried to follow the step I was kinda stuck even on the first step, where do u actually download the script ?

  246. Worked!
    I have 2 HP 23xi IPS. And latest MacOs on MacMini.
    Run the script. Didn’t work first, then switched cables betweens displays, dvi to hdmi, and from hdmi to dvi and now works!
    Thank you, you are genius!

  247. I followed all the steps mentioned in this post and it just didn’t work for my AOC monitor. After more experimenting, I deleted the Overrides-XXX folder, restarted the machine again and then it magically picked up my monitor and the sharpness was back to normal. I was also fiddling with my monitor settings (hardware), not sure if that helped too. Anyway, might help to someone in similar situation.

  248. Many thanks got it working finally!

    2 hours trying to figure out that the system folder is here.
    install tinkertool app unhide system foders.
    go to finder click GO after file,edit,view,go in the task bar
    now click COMPUTER or shift ,command , C
    find the system folder here!

  249. Hi there!
    i am a new MAC user and i am struggling in general with the whole operating system..
    now i have bought 2 new BENQ screens however text is blurry as all of you have been facing.
    i downloaded the patch however i am not able to create this override file!
    in terminal when i write “ruby patch-edid.rb” i get the load error.
    therefore i really would appreciate if someone can help me

    thanks in advance

    • Works fine for me on my new mac with benq 27 inch monitor.
      follow the steps exactly as mentioned
      try saving the script file by right clicking on the link and save as option
      copy the saved script to the home by clicking shift command and H
      run the script with the lid closed. and the terminal window running on the external monitor.
      if it keeps switching off on closing the lid try nosleep app for mac to keep it on,

      • Hi Passing – I have a benq monitor and have been trying to get this fixed for weeks! still seems blurry…could you let me know what monitor you have and what you did exactly? I have tried everything…

  250. Hi There. Need some help

    I forced my IMac to RGB and was pretty good. Now I just bought a HP LP2480zx monitor with Color Calibration Solution. Through a AJA T TAP no chance to calibrate but using thunderbolt adaptor I tried to calibrate but the program always crash.
    I calibrate this monitor by a laptop and worked fine.
    1. Do I need to worry about the color trough AJA? Is well calibrated?
    2. Should the monitor keep my last calibration?
    3. Is there any chance to calibrate through AJA?
    4. Any bad experience with HP Calibration solution?
    Thank you all

  251. UPDATE:

    I probably succeeded to instal this script, but I do not see changes. The picture is not even close to my retina display on MBP. I would appreciate any thoughts. Thanks

  252. I probably have the most stupid question but, it 7 pages are too long to see if someone else asked same question. Anyway, I am using late ’13 MBP with retina display and DELL P2414H. I’ve connected it via HDMI from MBP to DVI into monitor.

    Question 1 : As I can see here, it is okay to use this cable as hdmi to hdmi too ?

    Question 2 : I am still stuck at downloading this script, since I am new to OS X i really hardly understand how to use those scripts. I see there is a zip file for one type of monitor but I am not sure what to do with textual script that is given and it should work for all monitors. Where to copy that text ? If it is text editor, how to name it? Should I place it in folder and zip it and copy to home folder ?

    If anyone can be so kind and tell me how to do this step by step ?

    Thank you very much!
    Misa_

  253. i contacted apple support about this.
    they passed it to the engineers who said – this is how it works. “anti aliasing was on application level” ignoring the fact that it wasn’t looking correct in the finder level.

    so there is no solution beyond switching to windows.

  254. hi guys
    just bought a dell 2713hm and i am having the same problems
    I’m using an iMac 27inch late 2009 with 10.9.4
    i have used the downloaded folder and still the same bad resolution
    any ideas with this
    im am using the apple mini dv to dvi-d connector with the dell black cable
    thanks

  255. Ok, was trying more stuff. The solution: turning the monitors sharpness down from 5 (standard) to 4. Looks a bit soft at first sight, but fonts on Mac PS X 10.9.4 are much better rendered.
    Was almost selling my LG 34UM95… now I think I’ll keep it.

    • Hi Ni,

      Did you find a solution for your LG 34UM95? Mine has just arrived, I installed the override correctly (displays the override in System Prefs) but now it wont display at full resolution, it is locked to 1920×1080.

      What cables are you using? I’m stuck on Thunderbolt to HDMI until a Thunderbolt cable arrives in the post. Even with the override, the text looks blurry and the colours are wrong, I’m running it off a late 2012 rMBP. Also, I cant access the Sharpness level like you mentioned (it’s greyed out in settings?).

      • Sorry for replying so late… I drive my LG 34UM95 via Display Port from my GTX6800 video card. Option to change sharpness is active – dialing it down by one just works fine. Hope that with Thunderbolt cable all your problems are solved.

  256. Hi,

    I have a late model 2013 Mac Pro with the D300 GPUs and an LG 27EA83 monitor. I am unable to run the monitor in native 2560×1440 resolution. My selections are limited to 1080p at best. I have tried the script here, but the monitor then distorts with lots of ghosting and the resolution remains at 1080p. Using a min displayport to displayport cable. Worked great with late model Mac Mini. I also tried switching display port cables and no change.

    I have also tried using Apples $99.00 Displayport adapter with dual link DVi cable. Monitor comes on at boot, and it appears to be in the native 2560×1440 when the apple logo first shows on the gray background, and then the monitor goes dark.

    I have also tried StitchresX and it allows me to select 2560×1440, but the fonts are so fuzzy as to be painful in reading.

    Much thanks to anyone who might be able to assist with any ideas.

    Pat

  257. Update: the hack was successful. The correct override folder seems to be “DisplayVendorID-1e6d”. LG 34UM95 now reports as “display with forced RGB mode”. But still fonts look awful. Less color fringing now but detail rendering is not good at all.

  258. Has anybody used this script on the new LG 34UM95 Monitor. I use it with a GTX680 graphic card and despite adding the generated “DisplayVendorID-4c2d” folder it keeps showing up as a TV with horrible fonts.

    My script looks like this:

    DisplayProductName
    Display with forced RGB mode (EDID override)
    IODisplayEDID
    AP///////wBMLYELV0hLMA4YAQOAPSN4Il+xoldPoigPUFS/74BxT4EAgcCB
    gJUAqcCzANEABHQAMPJwWoCwWIoAYFkhAAAeAAAA/QAYSx5aHgAKICAgICAg
    AAAA/ABVMjhENTkwCiAgICAgAAAA/wBIVFBGNDAwODU3CiAgABM=

    DisplayVendorID
    19501
    DisplayProductID
    2945

  259. I tried this with my HP w2207h connected to my late 2013 27″ iMac via hdmi-to-mdp adapter and the test on the HP still isn’t very crisp and seems a little fuzzy. Is there anything else I can try?

  260. Pingback: Zła rozdzielczość monitora(poszarpana czcionka) w zewnętrznym monitorze

  261. HP Pavilion has the same issue with my mac book pro 2011 and Mavericks. The 23fi monitor shows up as Television, any chance someone with knowledge can help me out with a fix , thanks.

  262. Has anyone gotten this fix to work with 10.9.3 and Dell U2414H? Everything in settings looks as it should after applying the fix, however the picture is still fussy after reboot. Just tried with Windows laptop to make sure I wasn’t just picky, but nope – sharpness using Windows is 10x better than OS X.

    Anyone?

  263. I believe I left a comment here already, but I just want to say thank you, again. I would have gone insane without this fix. I can confirm it works in Mavericks 10.9.3 as well as Yosemite 10.10 Dev Preview 1 with my HP ZR2440w. Great monitor, by the way. Thanks again!!

  264. A gargantuan ‘THANK YOU’. Your solution worked fantastically with my DELL U3014 attached to a Mac Pro via HDMI-Thunderbolt.

  265. Pingback: Alternatives to Dell U2414H - www.hardwarezone.com.sg

  266. Worked amazingly well for an Acer K272HUL monitor! Thank you so much!
    Fonts are still not as crisp as on Windows 7 but I am using a HDMI cable. I ordered a Mini DP adapter, maybe this will help. At least the Monitor is usable now.

  267. The image & screen sizes are matched up with the forced RGB display profile. However, the resolution is still on 1920×1080 @ 60Hz. I’m using the Acer K272HUL as the external/primary monitor, what else need to be modified/added in order to output the 2,560×1,440 resolution, which is the main reason for my purchasing of this 27″ monitor? I’m using an Apple MacBook Pro 13″, Early 2011 with elgato thunderbolt dock output to HDMI. Thank you in advance.

      • Got it…discovered it with more research after the post. Ordering a mini-display to DP cable to try my luck on the using the Thunderbolt of the dock instead of the HDMI port for video. Thank you.

  268. Thanks a lot! The script helped me solving the issue with my Mac mini and HP 2159m monitor. Now works like a charm over the default HDMI output!

  269. Hello everyone,

    this is my first post and sorry for my English.

    I bought the Dell U2414H and hooked it up with my MacBook Pro Mid 2009. It has the Nvidia GeForce 9400M inside. In near future the display will be connected with a 2012 Mac mini with the Intel HD4000 inside.

    My question is: how do I recognize that my setup suffers under the problem that is discussed here? By now, I can give you following details.

    On the monitor side:

    – I own the revision A00
    – I use the original Display Port to Mini Display Port cable
    – When I first connected the monitor with my MacBook Pro the Display Port Mode 1.2 was automatically disabled
    – The Dell OSD menu tells me that the monitor is running with RGB input format, Mac Gamma and sRGB mode
    – For my eyes, everything looks fine

    On the MacBook side:

    – I runs OS X 10.8.5
    – “About this Mac > Monitor” tells me that I’m using “Monitor: Dell U2414H”
    – “About this Mac > System > Grafik/Monitor” tells me “TV: Yes”
    – “System Preferences > Monitor > Colours > Open Profile” tells me “Colour Room: RGB”

    Thank you very very much in advance,
    Martin

  270. well this didn’t work for me.
    I applied the script (i used the improved one which generates monitors name in the file) and put it at the correct folder.
    I rebooted and it is still fuzzy.
    And the colour file itself though is used since my screen now has a title of DELL U3014 – Forced RGB mode (edid override).
    It has to do with the 10.9.3 update. I tried to go back to a 10.9.2 version with TimeMachine but the restore failed twice.
    So i restored tru a SuperDuper backup to my 10.9.3 version which has this problem unfortunately.

    Anybody any ideas here ?

  271. You’re a hero, thanks! Great article. Solved my problem and turned an excellent my excellent Dell U2713H with a good price tag into a perfectly functioning MBPr companion! I used the original patch-edid.rb script and followed your instructions.

  272. Thanks so much for all involved in this solution. It saved me a $60 restocking fee and return shipping for my new Acer K272HUL display. Not to mention the hassle. Much appreciation all around.

  273. Hello
    Please anyone can help me???

    i’m trying to run the script (ruby patch-edid.rb) and i get this
    answer

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.
    0/universal-darwin13/rbconfig.rb:212: warning: Insecure world writable
    dir /usr/local in PATH, mode 040777
    patch-edid.rb:11:in `’: undefined method `[]‘ for nil:NilClass
    (NoMethodError)

    I don’t know what to do, and absolutely no idea what could be the problem

    I have a MBP 13 early 2013 retina running 10.9.3

  274. Pingback: Modyfikacje w folderze systemowym

  275. After running through the process and rebooting I’ve got a garbled screen (see pic in the link):

    https://lh6.googleusercontent.com/ZXrT6U4wd0XJMBcP6eZ3zuvLk_RpAvHhfS_tOkg7sibT=w816-h612-no

    I can get back to normal by restoring the original folder I backed up from /System/Library/Displays/Overrides. Anyone else ever seen anything like this? I’m using a pretty new monitor (the LG 34UM95 21:9 3440×1440). My understanding was that the script should extract the existing profile and just override to force RGB. Time for some more EDID research I guess.

    • That is exactly what I had! You can “fix” it by selecting 50Hz, but I choose to restore the old VendorID. I also don’t think that a patch is necessary for this display, colors and gradients seem fine, I think it’s running in RGB mode even though OS X think it’s a TV.
      I’m running it in Cinema picture mode by the way.

  276. Do anyone know how to force YUV mode . the patch-edid.rb is a bit obscure for me. Specific necessity to output to a Blackmagic Hdmi to SDI 4K.
    thanks

  277. First of all, Thanks for sharing this. It really worked after 2 years of searching and struggling.
    You are guys just awesome.

    Secondly, I had to face a problem that was mentioned by some others in the comments but no clear cut solution has been provided. I guess.

    Here it is:

    When I pasted the file in the ” Overrides ” folder. It didn’t replace any folder. Just beeing added to the bunch of folders.
    What happened is:
    Colors were perfectly corrected.
    But, Resolution choices were narrowed to: ( 1080 – 1600*900 – 1360*768 ) ONLY and scaling has disappeared and the maximum resolution I can get is 1360 * 768 other wise the scale will outfit the screen ( larger).

    Here what I did, thanks to people who mentioned that but indirectly.

    1- I deleted the file I generated and pasted from the folder “Overrides”.
    2- I went to the file I generated in the ” Home directory ” and rename it by a name of one of the files present already in the “Overrides” folder. In my case it was this ” DisplayVendorID-4d10 “.
    3- I pasted the generated and renamed file to the folder ” Overrides ” again, then it asked to replace I clicked OK ( N.B I backed up that folder present already to the desktop in case something happened).
    4- Then, restarted the monitor and it worked.

    Regards
    Ibrahim

  278. Hi,

    this was the only thing that worked for my MacBook Pro retina late 2013 and external HP LP2475w with HDMI.
    Thanks very much.

  279. Hi,

    I’ve find this thread through this http://forums.macrumors.com/showthread.php?t=1699375

    Where was a question:

    “I have MacBook Air 13″ 2012, OSX Mavericks 10.9.1 and just got a Dell U2414H monitor. Settings in OSD are: RGB color, Mac Gamma, sRGB color preset and in OSX Dell U2414H color profile. It is connected with mDP to DP cable, works good and image appears good, but it is recognized as HDTV by the OS. This annoys me and I am not sure if the OS sends full (0-255) or limited (16-235) RGB.”

    I’ve the the same situation: hakintosh with OS X 10.9.2 and dell U2414H monitor. In OSD menu it shows RGB signal and in OS X information about this monitor: 32-bit Color (ARGB8888).

    I have applied this fix, no error when it was run, but it’s still 32-bit Color (ARGB8888), and I don’t see any changes.

    How to understand that this fix worked or it has been applied.

    Thanks.

  280. Hello everybdy, i’m trying to run the script (ruby patch-edid.rb) and i get this
    answer

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.
    0/universal-darwin13/rbconfig.rb:212: warning: Insecure world writable
    dir /usr/local in PATH, mode 040777
    patch-edid.rb:11:in `’: undefined method `[]’ for nil:NilClass
    (NoMethodError)

    Any help on this issue?

    Thanks in advance

    I have a MBP 13 early 2013 retina running 10.9.3

  281. Hi Friends,

    I’m not certain this fix is what I need, but I’m not a programmer and will need someone to counsel me and if it is necessary, walk me thru it. I’m a designer, and getting the clearest onscreen image out of the equipment I have is important.

    I have a brand spanking new 13″ MBPr running 10.9.2, with an external HP 23bw IPS HD 1920×1080 LED display. I’m seeing what I would consider a blurry image on the larger remote display. Text for sure is noticeably out of focus. I realize it won’t ever be as crisp as the Retina display, but I was hoping that it would be clear enough to get my work done on. It really isn’t very good currently.

    The monitor is currently connected directly HDMI to HDMI port using the HP cable. I also tried connecting with a Rocketfish TB Mini to HDMI adapter, and see no difference. Is there something else I should try?

    Thanks in advance!
    Ivan

  282. Pingback: Monitoren half jaar oude hp 23xi schermen te koop ( 4 stuks )

  283. @calumbas

    I finally get my resolution thanks these files:
    -> http://embdev.net/topic/284710

    I get the file present in the zip file and change the name of the file “DisplayProductID-a092″ to the filename generated by the script above.

    Everything working well now !

    Finally get the expected 2560×1440 resolution on my U2713HM on MacBook Pro late 2013 with this cable:
    Mini DisplayPort to Dual-Link DVI Adapter.
    -> http://store.apple.com/us/product/MB571Z/A/mini-displayport-to-dual-link-dvi-adapter
    Hope it helps someone ;-)

  284. Hi All,
    I tried the hack, and it did not work! I have an MBP 13 inch, I use a connection thunderbolt (instead of mini dislay port) to VGA.
    Here is the output of the file in the overrides directory:

    DisplayProductName
    ASUS MS246 – forced RGB mode (EDID override)
    IODisplayEDID
    AP///////wAEafckAQEBARMUAQMKNB14JjWFplZImiQSUFS/7wDRwLMAqUCV
    AAEBgYCBQHFPAjqAGHE4LUBYLEUA3QwRAAAeAAAA/wBBNUxNSVowMzk3NTkK
    AAAA/QA3Sx5VEwAKICAgICAgAAAA/ABBU1VTIE1TMjQ2CiAgAHw=

    DisplayVendorID
    1129
    DisplayProductID
    9463

    Does this look OK? I still see blurry text, and when I use parallels, the letters are crystal clear.

  285. @Calumbas; Are you perhaps using an HDMI adapter and cable?
    HDMI can only display up to 1920×1080 (or 1920×1200 on a 16:10 monitor). You really need a mini display port to DVI cable to get higher resolutions.

  286. Even after following these steps and even using the updated script from github my monitor still looks terrible (asus ve278q) and it seems to think it is a TV (1080p pal/ntsc ). Anyone have any idea how to fix this ? My eyes hurt and im considering just getting rid of the monitor as its painful to read text on it.

  287. Guys, sorry if you have already gone through this, but I still can’t make the images on my brand new Dell U2713HM look sharp at all.

    Before doing the “override”, there were several resolution options, but the max resolution available read “1080p”; now that the Display Preferences show “DELL U2713HM – forced RGB mode (EDID) Override”, there are only 3 resolutions available:
    – 1920 x 1080
    – 1600 x 900
    – 1360 x 768

    Even after the override, all these options look horrible (blurry); feels similar to when I use Airplay do project images from the computer on my AppleTV (and consequently to my FlatScreen TV). Seems as if the issue is more connected to the resolution than with RGB color…

    Do you guys have any suggestions? What do I have to do to use my DELL Display at max capacity (2560 x 1440) with my MacBook Pro?

    Thanks a lot!

  288. Thanks for the Hack, however I have a new problem that might be easy to fix. I have TWO Dell U2414H monitors, connected to my 2012 mac mini. One is connected with the supplied mini display port to display port cable, and the other monitor is connected with an hdmi cable.

    I got the second monitor later and was using the fist one quite happily with your hack. When I connected the second monitor and selected the profile for the Dell U2414H that was made for my first monitor I got no results. I then disconnected my first monitor and did the hack, I rebooted and my second monitor looked great! Only my first monitor looked bad again… So I disconnected the second monitor and ran the hack on the first monitor, I rebooted and my first monitor was fine, but my second monitor was bad again! I then ran the hack with both monitors turned on, I saw in the terminal window that the hack detects 2 monitors, i removed the old color profiles and put the new one in the display folder, in the folder there are 2 color profiles, but only one shows up in the settings window.. I now have one nice and one not so nice monitor and Im really bummed out :-( Does anyone know how to get it working on both monitors at the same time?

    • Oke here is an update, I could not get my second monitor to be less yellowish of warm if you will. I contacted Amazon.de and they replaced it with a new one. Too bad that this monitor had the same problem. For the record all the U2414H’s I had (including the good one) where Rev 00. So I contacted Amazon.de again and I returned the monitors and got 2 Samsung S24C750 monitors instead. When connected they both registered as TV’s but the hack on this page quickly fixed that, I connected both monitors and they were both on during the hack. Needless to say the Dells were crap and the Samsung’s are great. There are no H IPS but the are MVA, I think there better, their black levels are amazing, its almost like watching an OLED display. I can recommend the Samsung monitors to anyone.

      So if your having a DELL U2414H that has a yellow glow to it, return that thing and get a different brand. :)

  289. Phil T, same here.
    I have the same monitor as yours.
    Tried numerous font smoothing configurations and this fixed the RGB issue too, but fonts still look blurry.

  290. I solved that, if you have problem like that unplug and plug in again the adapter. Now i have other problem can’t find Displays folder or Overrides

  291. Can’t find the folder that should be created after Ruby patch-edid.rb any help?
    Checked the folder where patch-edid.rb is but nothing there …

  292. Hey there,
    I applied this script using a dell u2312hm when using mini display port to display port adapter on a haswell retina macbook pro. The monitor gets the rgb signal but the fonts still look fuzzy. It’s like if one letter is sharp and the next isn’t. Sometimes I even see like some reddish or bluish shadow around some letters. especially when the same letters are following each other like : ll or tt. When I zoom in and the font gets bigger, the shadows go away.

    The same thing happens when using a mini display port to dvi adapter.

    I have put the terminal command to AppleSmoothing -int 2 .

    Could it be the monitor?? The monitor was fine under mavericks connected to my old 2008 macbook pro with dvi cable.

    I just ordered a viewsonic vp-2770 and im afraid to have the same result on such a quality monitor.

    • Unfortunately you are not alone. I have a Dell 2312HM and I have the same problem. Sometimes letters are okay, and sometimes not so much. I have a specific ‘m’ that looks awful in my terminal. I applied script, restarted, and no luck

  293. Very grateful for this!!! Worked like a charm on a 2014 13″ MacBook Pro (Retina) running OSX 10.9.2, connected to an LG 29EA93 monitor.

  294. Dear Sandergovaers

    I just control clicked and chose download. Choose “Go” “Home” from menu bar and drop the file from the downloads into this. Then “Go”, “Utilities” and open “Terminal” and type “ruby patch-edid.rb”

    Thanks i reckon. Hadn’t had any problem with Asus and LG monitors, just this HP Pavilion 23xi. Patch worked brilliantly. Had to switch to lower resolution and back again after restart. I have a 2013 MacBook Pro.

    Thanks again.

  295. Just wanted to say thanks for this! I can’t believe you have to do a custom hack on a Mac for a second display to display correctly. For me, the problem was simply faint red (or pink) dots that were only visible on white screens or objects. I could use the display correctly though. My Viewsonic was detected as a “Television” as well. I just got the Viewsonic VP2770-LED on a Woot deal and at first thought there was something wrong with my iMac, the mini displayport cable, or the monitor itself. Turns out that it’s Apple as I was able to use the monitor with the same Mac in Bootcamp on Windows 8.1 without any issues. I could tweak the monitor on a different User Mode, but that was sort of a setting workaround. This fix is more permanent and long-term. Thanks again!

  296. Pleased to say this worked for me. My setup is a Mac Mini with two displays. LG Flatron E2290 connected via mini display (thunderbolt) and HP 25xi via HDMI. When I first connected the HP, it was awful to work with. I made sure I disconnected the LG, followed the instructions and rebooted – worked like a charm. Thanks for your help.

  297. skylife88, you literally saved us from blurry text forever!! thank you, thank you!! for anyone with a Samsung this will solve your textual problems

  298. One important thing if you have a Samsung SyncMaster monitor!

    * Using the Samsung remote press the ‘source’ button
    * Now press the ‘Tools’ button
    * Highlight ‘Edit Name’ and press the ‘OK/Accept’ button
    * Move the selected input to HDMI and press the ‘OK/Accept’ button again.
    * Move the selection to ‘PC’ and again OK your selection.

    After that, in order to fix any color issues press the Menu button from your remote and in the Picture Tab go down to Picture Options and change to these settings:
    *Colour Tone : Normal
    *HDMI Black Level : Normal

    That did it for me! Hope it was helpful.
    Thank you!

    • Unbelievable! Thanks, skylife88 – I wish I’d seen your comment 3 hours ago. That was exactly it – I’d swapped the HDMI inputs around on my SyncMaster, and relabelled them accordingly. My rMBP is now plugged into a splitter, and the input was labelled HD STB (which is its primary use). I thought it was only a label, and not also a function setting! The STB and PS3 which are also plugged into that splitter work just fine with its name set to “PC”, so now I can breathe a sigh of enormous relief.

      Thankyouthankyouthankyou :)

    • You sir, are awesome!! Thanks so much for posting that, and thanks to Mathew for generating this thread in the first place. I didn’t realize the Samsung ‘source’ actually made changes to the settings.

  299. Thank you!! You saved my eyes from that horrendous shit that was on my screen before I applied this fix. You are awesome! Although after restarting, I did have to go back to system preferences and select the resolution that’s less than 1080p then reselect 1080p..

  300. so i dugg around other override profiles and found one that works. now i got 1080p, 1080i, 720p, 900×1600, 50 and 60 hz and pal and ntsc

    i used the data from DisplayVendorID-4d10

    hope that helps someone.
    for me i was having a hard time playing games on my tv with the interlaced image.

  301. you make my day!

    works perfect for a DELL3014 on a new MacPro

    first i had some issue with the terminal. nothing happend after typing “ruby patch-edid.br”.

    i checked the user – set the Administrator again on read+write.

    i verfiy disk permisson – repair disk permisson

    i restart – and the the terminal line works.

    put the new folder into the library like above in the description.

    restart the mac – runs perfect.

    thank you for sharing this!

    btw. the DELL support has in germany not nearly an idea what the problem is!

  302. Pingback: Problem z wyświetlaniem w 1920 × 1080 na zewnętrznym monitorze.

  303. Yeah thanx Apple, this is the user experience we know and love. Feels like patching Macs to use DVD-drives all over again. ;-) btw: works with HP LP2475w and DisplayPort and Macmini 2012

  304. Pingback: Displayport Kabel 2m Test & günstig kaufen › Gdgts

  305. I have a dell u2312hm, the script worked with sending RGB signal, but the fonts still look blurry. Any help??? thank you

  306. Frustrating… I’ve got a Dell U2713H with a late 2013 MBP – the fix worked, and then I updated to Mavericks. Nothing I do makes it work again :(

  307. I tried the script on a Lenovo 22″ monitor, but the display still remains the same. Is there some additional settings for the Lenovo.

  308. Thanks so much for proving that I do not need any eye test and am not just really fussy – was all set to fork out a fortune for the apple monitor as I just can’t survice using my macbook air 13″ screen but was getting no joy with the new monitor. Hope it works – am going to try it out on my new Dell monitor when it arrives (I took my HP 23xi back as I thought the problem was with my monitor!!)

  309. apple did shit work here with the thunderbolt – mini display port! mr apple, why no bug correction with system update?

    I have also some minor bugs with my screen – when MacBook Pro goes to sleep, external screen, display this message: “invalid mode” but everything else seems to work correctly. Obviously there is something that does not work 100% ok, but I can’t figure out what is this “invalid mode” message about… I mean where in the system to look for the info about what’s wrong.

    Any ideas guys?
    Thanks so much

  310. Freaking that you. To be clear – for one reason or another, the external monitor worked great on my Macbook Pro Retina — until I reset the PRAM. Then it had these gamma issues. I updated to 10.9.2 and the problem continued — until I found this thread. Now, no problems. Man what a PITA!