GTX 460 4K at 60Hz

Overview
So I just bought a new 4k TV and I am having trouble getting my GTX960 to drive the TV at 3840x2160 60Hz. I am using HDMI to connect to the TV and I can successfully drive the TV at 4K 30Hz under linux but 4K 60Hz will not work. I am able to do 4K at 60Hz on the same hardware with Win 7.

Hardware Setup:

Software:

  • Ubuntu 14.04.3
  • Kernel 3.16.0-46-generic
  • NVIDIA Drivers tried: 340, 346, 355, 358 and 361

When I try to go from 30 to 60hz in nvidia-settings, I get this error:

Failed to set MetaMode (1) 'DPY-2: 3840x2160_60 +0+0' (Mode 3840x2160, id: -1) on X screen 0
Would you like to remove this MetaMode?

Trying the same thing with xrandr gives me this:

$ xrandr --output HDMI-0 --mode 3840x2160 --rate 60
xrandr: Configure crtc 0 failed
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  53
  Current serial number in output stream:  53

The monitor claims to support these modes:

$ xrandr -q
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 941mm x 529mm
   3840x2160      30.0*+   59.9     30.0     24.0  
   4096x2160      59.9     30.0     24.0     24.0  
   1920x1080     120.0    119.9     60.0     59.9     24.0     60.0  
   1280x720       60.0     59.9  
   720x480        59.9  
   640x480        59.9  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

In windows I had to manually enter a custom display resolution to make it work.

There is a very similar thread here: https://devtalk.nvidia.com/default/topic/878086/can-t-get-4k-60hz-over-hdmi-2-0/?offset=1

I have spent many hours trying to get this working so any ideas would be appreciated. I can also post any debug info that would be helpful.

Thanks

Your TV seems to say 59.9 not 60. Have you tried that? Mine automatically detects and picks 2160@60hz. Yours doesn’t seem to list 60 as an option.

Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 698mm x 392mm
3840x2160 60.0*+ 59.9 50.0 30.0 25.0 24.0
4096x2160 59.9 50.0 30.0 25.0 24.0
1920x1080 60.0 59.9 50.0 30.0 25.0 24.0 60.0 50.0
1280x1024 60.0
1280x720 59.9 50.0
1024x768 60.0
800x600 60.3
720x576 50.0 50.1
720x480 59.9 60.1
640x480 60.0 59.9 59.9
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)