Linux Mint with latest nvidia drivers and 4K monitor only with 30Hz

Also not working next config and monitor says no signal but it seems like linux thinking that monitor is working…

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 418.56

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL U2718Q"
    HorizSync       10.0 - 137.0
    VertRefresh     49.0 - 86.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 770M"
    Option "ModeDebug" "true"
    Option "ModeValidation" "GPU-0.DFP-3: NoDisplayPortBandwidthCheck"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-3"
    Option "AllowEmptyInitialConfiguration" "true"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

In case I will select 30Hz monitor have signal but in case I will select 60Hz in nvidia panel - monitor says “no signal” but linux thinking that he is working and assign all windows to U2718Q but on U2718Q I can see message “no signal”. Please help…

https://termbin.com/gyga

You are using nvidiaxinerama so that must be okay:
Option “metamodes” “LVDS-0: nvidia-auto-select +922+2160 {AllowGSYNC=Off}, DP-1: 3840x2160_60 +0+0 {AllowGSYNC=Off}”

As I tried to explain before remove unnecessary unknown stuff.
Comment this out:
Option “AllowEmptyInitialConfiguration” “true”

That line was not in your previous post…

And when you write out the nvidia-settings proposed xorg.conf it overwrites your required
Option “ModeDebug” “true”
Option “ModeValidation” “GPU-0.DFP-3: NoDisplayPortBandwidthCheck”
That why have to use /xorg/conf.d/myfile.conf for special extra statements.

So let’s summarize:

Next config allow me to set 60 Hz for 4K in nvidia panel but monitor say “no signal…”

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 418.56

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AU Optronics Corporation"
    HorizSync       66.0 - 66.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 770M"
    Option "ModeDebug" "true"
    Option "ModeValidation" "GPU-0.DFP-3: NoDisplayPortBandwidthCheck"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "LVDS-0: nvidia-auto-select +0+0, DP-1: 3840x2160_60 +1920+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Don’t know what to do more…

Maybe set less refresh rate <60?

Also it seems like Linux thinking that monitor is working on 60Hz and assigning all windows to U2718Q which is saying “no signal”. So I’m able to see assigned windows when switch off power button on monitor so all windows again appear on monitor of my notebook. Also when switching to 30Hz in nvidia panel monitor start working but when trying to switch to 60 Hz and click apply button Linux “freezes” and I need to push RESET button. So something going wrong with NVIDIA and Linux with 4K monitors…

P.S. Under windows I am able to select 60Hz for 4K in control panel and monitor is working.

So hope that Linux or Nvidia developers will investigate this issue due to more and more people soon will have 4K display and currently it is not working properly on Linux but it is working properly on windows out of the box without installing any drivers.
nvidia-bug-report.log.gz (1.08 MB)

IMO Your problem is likely related to the plumbing involved in laptops.
I imagine the DP output can be driven from iGPU or the discrete one.

A lot of effort (& resources inc. money) goes into Windows so of course it should work.
Nvidia is not Linux & Nvidia is not FOSS, so it is never going to fully integrate.

The Linux experience is more pleasant & vastly ‘cleaner’ with complete FOSS solution.

My 4K monitor (displayport) has been working fine at 60Hz attached to gtx1050ti for last year.
It also worked fine when I tried HDMI once.
I’m able to select refresh rates of 24Hz or 50Hz or 59.94Hz, although 60Hz is the only internal EDID mode.

Hello

I created this ticket in order to understand where is the problem - Linux or Nvidia drivers or etc… But As I can see it didn’t help du to still can’t understand why Linux Mint thinking that monitor is working(and I can see in nvidia panel that 60Hz is on) but at the same time I can see balck screen with message “no signal…”. So main goal first to understand and locate where do we have problem and in which driver. But still can’t understand…It is a pity

But this is just a user forum, this isn’t a ticket.
If a Nvidia rep thinks this is genuine problem they will raise an internal ticket.

I think (suspect) your problem relates to specific hardware configuration of the DP mux.
Mobile / laptops are always trouble, I understand the majority of them to have discrepancies between ACPI tables & actual hardware setup.

Rhetorical questions:
What is at fault? : h/w design, h/w vendor, BIOS or UEFI, kernel, Nvidia driver
Who can fix? : BIOS patch, (more) kernel quirks, Nvidia driver quirks
Who pays to investigate the circuit design?
Who pays for any fix?

An old laptop with 770M GPU has no commercial value to manufacturer, vendor & reseller; actually they all want it to fail.
The ‘goodwill’ of Nvidia means that lots of old hardware has drivers that still build against new kernels & Xorg releases. Compare this to smart TVs & Android ecosystem.

Loads of users have working 4K screens.

Hm…

In such case at least we need to be sure that it is not monitor issue due to DELL U2718Q is a new one and it is expensive one. So it is better to check DELL U2718Q on Linux Mint(Ubuntu) in order to know if it is problem with my ASUS ROG laptop and not monitor issue and will be fixed when new Laptop will be near DELL U2718Q in my case. If U2718Q will have the same problem on another one Laptop on 4K and 60Hz it means that DELL need to provide drivers for Linux in order to work it.

Notes for me: In any case I can figure out that windows environment done with better quality that’s why I have no issue with it under Windows 10 and 4K on 60Hz in my case. Hope future will be better and linux will have better quality or luck with it ))

Necessary topic created on DELL Community forum and will wait untill response.

Thanks in Advance