Running the 4K AOC U2868PQU and Intel HD4000 graphics…

Ok, I just bought a 4K display, whoop!

I knew when I bought it that neither my late-2012 Retina Macbook Pro, or my Ubuntu desktop machine would actually drive the monitor at 4K because they both rely on Intel’s HD4000 graphics which is built into their Ivy bridge CPUs. I did however expect to get at least 2560×1440 (if only at 30Hz) which is fine by me, and then I’m ready when I next upgrade…


Unfortunately, I initially couldn’t get the Macbook to run at anything above 1080p (which looks horrible) (as you can see from my stackexchange question).

I then managed to get full 3840×2160 @30Hz using mini-displayport and an app called SwitchResX. Here are my custom settings, you need to reboot the machine to apply them:

Screen Shot 2014-09-30 at 16.42.52

As a word of warning, this does make things eye-bleedingly small. (Pretty cool though)

Screen Shot 2014-09-30 at 17.17.13

Personally, I found the ‘scaled’ resolution of 1920×1200 to be the best for me because it uses HiDPI to give you that retina feel you’re used to. It will look like 1920×1200 but actually use more pixels to paint it. Here are the settings:

Screen Shot 2014-09-30 at 17.09.01

This is much more sensible (although I would like it smaller to be honest):
Screen Shot 2014-09-30 at 17.11.33

The downside is that you lose some of the screen down the sides. Let me know if you have any better suggestions.

If you find the colors going a bit funny, I used SwitchResX to change the color profile to sRGB IEC61966-2.1 like this:
Screen Shot 2014-09-30 at 17.13.17


Thanks to Linus himself, I was able to get 2560×1440 working on Ubuntu:

xrandr --newmode 2560x1440_30.00 146.27 2560 2680 2944 3328 1440 1441 1444 1465 -HSync +Vsync
xrandr --addmode HDMI2 "2560x1440_30.00"
xrandr --output HDMI2 --mode "2560x1440_30.00"

If you make any mistakes, you can remove them with:
xrandr --delmode HDMI2 "2560x1440_30.00"
xrandr --rmmode 2560x1440_30.00

That will have to do for now although I may buy another graphics card for the Ubuntu machine, suggestions welcome ๐Ÿ™‚

15 thoughts on “Running the 4K AOC U2868PQU and Intel HD4000 graphics…”

  1. Hi, did you do anything else to get it working? and is it still working?(latest Yosemite) I have the same monitor (foolishly didnt research before purchasing) , but just wont work in 4k at any Hz , any tips?

    I may reinstall and start again after replacing some kexts with some from Mavericks ;/

    1. I didn’t do anything else to get it working. Note I had to use SwitchResX and mini-displayport.
      I actually sent the monitor back shortly after writing this because it was still temperamental. It’s wouldn’t wake from sleep and would occasionally just have a bunch of garbled noise across the bottom of the screen.

      I’ve since bought the Dell U2515H which isn’t 4k but I would recommend it.

  2. Pants, Why didnt I get that!!.
    I thought the AOC from ebay was a bargain at 6 quid less.

    Dell and IPS. I was blinded by the size and resolution. I needed something comparable to an iMac 27in. I have SwitchResX and using mini-displayport. Will give it another shot at weekend and perhaps hope for a return ๐Ÿ™

  3. I think that you lose some space down the sides is because of choosing 1920×1200 – this is a ratio of 16:10, whereas the monitor is actually 16:9. To use all of the pixels, I’d recommend 1920×1080, which would scale exactly.

    1. My understanding was that the “scaled” option meant that while it looked like 1920×1200 in terms of font and icon size etc. it was still actually pumping the full 3840ร—2160 pixels to draw them giving a “retina” feel. I might be wrong on that, and no longer have that monitor to check…

  4. Hey Thanks for your post,

    Just got a quick question, a collogue of mine has a Dell P2815Q LED Ultra HD and if i connect the mini-display port to his screen and my own screen is on, there is a terrible jitter, if i close my laptop the screen is fine. Only there is a terrible lag, do you experience the same thing?


  5. Matt,

    Thanks for the informative post. I am in a similar situation – mid 2012 retina display, hoping to get a monitor that I can use at 4k when I decide to upgrade. Using thunderbolt->displayport, were you able to achieve 2560×1440 @60hz? If not, how bothersome was the 30hz refresh rate?


    1. I had that resolution but can’t remember what the refresh rate was though. Doesn’t matter, it was unusable in my opinion. It looked really nasty and fuzzy, because it didn’t match native resolution. I have a dell 2515h now and that looks much much better at that resolution. I would suggest you either just get a cheaper monitor or get 4k and upgrade your laptop at the same time (you’ll want 2015 version macbook pro for 4k)

  6. Hi Matt,

    I have a 13″ MacBook Pro (no retina) mid 2012 with Intel Graphics 4000 (1024 MB) and I want to purchase Dell P2715Q (4K Display) – What type of display port do I need to get 4K resolution? It won’t be a total loss if I can’t get 4K … I just want a big screen because it’s really hard to work with a 13″ display when I am editing my pictures in Adobe Lightroom / Photoshop ๐Ÿ™

    Do you think it’s necessary to buy a display adapter like this one “” ?

    I greatly appreciate your help … ๐Ÿ™‚

    I apologize for any english erros … I am from Brazil ๐Ÿ™‚


    1. I’m pretty sure you won’t be able to get 4k working with that laptop. (I couldn’t with the later retina version).
      I’d suggest the Dell U2515H running at 2560×1440 as a better alternative ๐Ÿ™‚

  7. Hi, thanks for the article. I also own a MBP Retina late-2012 and got myself a 4K screen lately for another desktop computer. I sometimes would like to connect my MBP to it also and tried to reproduce your configuration. With no luck so far ๐Ÿ™ SwitchResX, after rebooting, tells me that my custom resolution status is “Not activated – invalid?”. I run Mojave on this machine, currently. Can you think of something I could have missed ? Thanks !

Leave a Reply

Your email address will not be published. Required fields are marked *