Resolution and scaling issues on dual monitor with nvidia (one 4k HiDPI, one VGA with converter) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionxorg.conf 2 cards 3 monitors - why is one monitor stretched?Cannot start xserver - “Failed to assign any connected display devices to X screen 0”Why doesn't my right screen refresh correctly when my left screen does?Automatically take screenshot of specific display in Xxrandr rotate left right faildBumblebee: How to fix the “Screen 1 deleted”-Error“circular” Screen setup XrandrNvidia GTX 1050 Mobile GPU Issues - Fedora 28xrandr “can't open display” when changing native laptop screen resolutionNew Install | XORG | Failure to identify a Display/Screen (Black Screen)

Why does Python start at index -1 when indexing a list from the end?

Proof involving the spectral radius and the Jordan canonical form

Is there a concise way to say "all of the X, one of each"?

If a contract sometimes uses the wrong name, is it still valid?

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Using et al. for a last / senior author rather than for a first author

When to stop saving and start investing?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

What's the purpose of writing one's academic bio in 3rd person?

Is there any avatar supposed to be born between the death of Krishna and the birth of Kalki?

Output the ŋarâþ crîþ alphabet song without using (m)any letters

How to motivate offshore teams and trust them to deliver?

What is the longest distance a 13th-level monk can jump while attacking on the same turn?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

What is a Meta algorithm?

Why constant symbols in a language?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Why was the term "discrete" used in discrete logarithm?

When is phishing education going too far?

The logistics of corpse disposal

I am not a queen, who am I?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

Problem drawing boxes with arrows in tikZ

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?



Resolution and scaling issues on dual monitor with nvidia (one 4k HiDPI, one VGA with converter)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionxorg.conf 2 cards 3 monitors - why is one monitor stretched?Cannot start xserver - “Failed to assign any connected display devices to X screen 0”Why doesn't my right screen refresh correctly when my left screen does?Automatically take screenshot of specific display in Xxrandr rotate left right faildBumblebee: How to fix the “Screen 1 deleted”-Error“circular” Screen setup XrandrNvidia GTX 1050 Mobile GPU Issues - Fedora 28xrandr “can't open display” when changing native laptop screen resolutionNew Install | XORG | Failure to identify a Display/Screen (Black Screen)



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am trying Kubuntu 18.10 and I have a nvidia GTX 1060 (driver 418), a LG 27" 4k monitor (27UD58-B ) and an older HP 22" 1680x1050 monitor (HPw2207) with a VGA cord and a VGA-> DP converter.



My issues are as follow:

1) I can't get my vga screen with converter to use a resolution above 1280*1024



2) I'd like to use screen scaling because everything is so damn small on the 4k display. I'd want the scaling to only be done on the high-dpi display if possible.



Current setup:



I am using Nvidia drivers 418.56.



$ nvidia-smi
Mon Apr 15 15:07:47 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... Off | 00000000:23:00.0 On | N/A |
| 10% 64C P0 25W / 120W | 739MiB / 6076MiB | 3% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 958 G /usr/lib/xorg/Xorg 386MiB |
| 0 1413 G /usr/bin/kwin_x11 192MiB |
| 0 1432 G /usr/bin/krunner 1MiB |
| 0 1434 G /usr/bin/plasmashell 111MiB |
| 0 1509 G /usr/bin/latte-dock 29MiB |
| 0 9387 G /usr/lib/firefox/firefox 1MiB |
+-----------------------------------------------------------------------------+


and normal higher resolutions are not available:



$ xrandr
Screen 0: minimum 8 x 8, current 4864 x 2160, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00*+ 30.00
2560x1440 59.95
1920x1080 60.00 59.94
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1152x864 59.96
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
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 connected 1024x1280+3840+832 left (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.02*+
1280x960 60.00
1152x864 75.00
1024x768 85.00 75.03 70.07 60.00
800x600 85.06 75.00 72.19
640x480 85.01 59.94
DP-5 disconnected (normal left inverted right x axis y axis)


First issue: fixing resolution
I have tried to "addmode" using xrandr, but I get a BadMatch error. This is apparently normal with nvidia video cards.



$ cvt 1680 1050 60
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
$ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

$ xrandr --addmode DP-4 1680x1050_60.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 45
Current serial number in output stream: 46


My /etc/X11/xorg.conf file has been generated by nvidia usind sudo nvidia-xconfig :



$ sudo nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'


The xorg.conf only contains one monitor, is this normal. I have tried to add a "Modeline" line under the Monitor0, but it didnt change anything.



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


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

Section "Files"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection


Second issue : scaling



I have taken two steps to allow the HiDPI screen to display text and GUI in a more readable size:



1) System settings - fonts - Force Font DPI 144 (instead of 96)
2) system settings- display and monitors - scale display 1.5 (instead of 1).



I would lke these settings to only apply to the 4k monitor, is this possible at all?










share|improve this question









New contributor




Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    1















    I am trying Kubuntu 18.10 and I have a nvidia GTX 1060 (driver 418), a LG 27" 4k monitor (27UD58-B ) and an older HP 22" 1680x1050 monitor (HPw2207) with a VGA cord and a VGA-> DP converter.



    My issues are as follow:

    1) I can't get my vga screen with converter to use a resolution above 1280*1024



    2) I'd like to use screen scaling because everything is so damn small on the 4k display. I'd want the scaling to only be done on the high-dpi display if possible.



    Current setup:



    I am using Nvidia drivers 418.56.



    $ nvidia-smi
    Mon Apr 15 15:07:47 2019
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
    |-------------------------------+----------------------+----------------------+
    | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
    |===============================+======================+======================|
    | 0 GeForce GTX 106... Off | 00000000:23:00.0 On | N/A |
    | 10% 64C P0 25W / 120W | 739MiB / 6076MiB | 3% Default |
    +-------------------------------+----------------------+----------------------+

    +-----------------------------------------------------------------------------+
    | Processes: GPU Memory |
    | GPU PID Type Process name Usage |
    |=============================================================================|
    | 0 958 G /usr/lib/xorg/Xorg 386MiB |
    | 0 1413 G /usr/bin/kwin_x11 192MiB |
    | 0 1432 G /usr/bin/krunner 1MiB |
    | 0 1434 G /usr/bin/plasmashell 111MiB |
    | 0 1509 G /usr/bin/latte-dock 29MiB |
    | 0 9387 G /usr/lib/firefox/firefox 1MiB |
    +-----------------------------------------------------------------------------+


    and normal higher resolutions are not available:



    $ xrandr
    Screen 0: minimum 8 x 8, current 4864 x 2160, maximum 32767 x 32767
    DVI-D-0 disconnected (normal left inverted right x axis y axis)
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
    3840x2160 60.00*+ 30.00
    2560x1440 59.95
    1920x1080 60.00 59.94
    1600x900 60.00
    1280x1024 60.02
    1280x800 59.81
    1280x720 60.00 59.94
    1152x864 59.96
    1024x768 60.00
    800x600 60.32
    720x480 59.94
    640x480 59.94 59.93
    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 connected 1024x1280+3840+832 left (normal left inverted right x axis y axis) 376mm x 301mm
    1280x1024 60.02*+
    1280x960 60.00
    1152x864 75.00
    1024x768 85.00 75.03 70.07 60.00
    800x600 85.06 75.00 72.19
    640x480 85.01 59.94
    DP-5 disconnected (normal left inverted right x axis y axis)


    First issue: fixing resolution
    I have tried to "addmode" using xrandr, but I get a BadMatch error. This is apparently normal with nvidia video cards.



    $ cvt 1680 1050 60
    # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
    Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
    $ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

    $ xrandr --addmode DP-4 1680x1050_60.00
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 140 (RANDR)
    Minor opcode of failed request: 18 (RRAddOutputMode)
    Serial number of failed request: 45
    Current serial number in output stream: 46


    My /etc/X11/xorg.conf file has been generated by nvidia usind sudo nvidia-xconfig :



    $ sudo nvidia-xconfig

    Using X configuration file: "/etc/X11/xorg.conf".
    Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
    New X configuration file written to '/etc/X11/xorg.conf'


    The xorg.conf only contains one monitor, is this normal. I have tried to add a "Modeline" line under the Monitor0, but it didnt change anything.



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


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

    Section "Files"
    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"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection


    Second issue : scaling



    I have taken two steps to allow the HiDPI screen to display text and GUI in a more readable size:



    1) System settings - fonts - Force Font DPI 144 (instead of 96)
    2) system settings- display and monitors - scale display 1.5 (instead of 1).



    I would lke these settings to only apply to the 4k monitor, is this possible at all?










    share|improve this question









    New contributor




    Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      1












      1








      1








      I am trying Kubuntu 18.10 and I have a nvidia GTX 1060 (driver 418), a LG 27" 4k monitor (27UD58-B ) and an older HP 22" 1680x1050 monitor (HPw2207) with a VGA cord and a VGA-> DP converter.



      My issues are as follow:

      1) I can't get my vga screen with converter to use a resolution above 1280*1024



      2) I'd like to use screen scaling because everything is so damn small on the 4k display. I'd want the scaling to only be done on the high-dpi display if possible.



      Current setup:



      I am using Nvidia drivers 418.56.



      $ nvidia-smi
      Mon Apr 15 15:07:47 2019
      +-----------------------------------------------------------------------------+
      | NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
      |-------------------------------+----------------------+----------------------+
      | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
      | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
      |===============================+======================+======================|
      | 0 GeForce GTX 106... Off | 00000000:23:00.0 On | N/A |
      | 10% 64C P0 25W / 120W | 739MiB / 6076MiB | 3% Default |
      +-------------------------------+----------------------+----------------------+

      +-----------------------------------------------------------------------------+
      | Processes: GPU Memory |
      | GPU PID Type Process name Usage |
      |=============================================================================|
      | 0 958 G /usr/lib/xorg/Xorg 386MiB |
      | 0 1413 G /usr/bin/kwin_x11 192MiB |
      | 0 1432 G /usr/bin/krunner 1MiB |
      | 0 1434 G /usr/bin/plasmashell 111MiB |
      | 0 1509 G /usr/bin/latte-dock 29MiB |
      | 0 9387 G /usr/lib/firefox/firefox 1MiB |
      +-----------------------------------------------------------------------------+


      and normal higher resolutions are not available:



      $ xrandr
      Screen 0: minimum 8 x 8, current 4864 x 2160, maximum 32767 x 32767
      DVI-D-0 disconnected (normal left inverted right x axis y axis)
      HDMI-0 disconnected (normal left inverted right x axis y axis)
      DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
      3840x2160 60.00*+ 30.00
      2560x1440 59.95
      1920x1080 60.00 59.94
      1600x900 60.00
      1280x1024 60.02
      1280x800 59.81
      1280x720 60.00 59.94
      1152x864 59.96
      1024x768 60.00
      800x600 60.32
      720x480 59.94
      640x480 59.94 59.93
      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 connected 1024x1280+3840+832 left (normal left inverted right x axis y axis) 376mm x 301mm
      1280x1024 60.02*+
      1280x960 60.00
      1152x864 75.00
      1024x768 85.00 75.03 70.07 60.00
      800x600 85.06 75.00 72.19
      640x480 85.01 59.94
      DP-5 disconnected (normal left inverted right x axis y axis)


      First issue: fixing resolution
      I have tried to "addmode" using xrandr, but I get a BadMatch error. This is apparently normal with nvidia video cards.



      $ cvt 1680 1050 60
      # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
      Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
      $ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

      $ xrandr --addmode DP-4 1680x1050_60.00
      X Error of failed request: BadMatch (invalid parameter attributes)
      Major opcode of failed request: 140 (RANDR)
      Minor opcode of failed request: 18 (RRAddOutputMode)
      Serial number of failed request: 45
      Current serial number in output stream: 46


      My /etc/X11/xorg.conf file has been generated by nvidia usind sudo nvidia-xconfig :



      $ sudo nvidia-xconfig

      Using X configuration file: "/etc/X11/xorg.conf".
      Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
      New X configuration file written to '/etc/X11/xorg.conf'


      The xorg.conf only contains one monitor, is this normal. I have tried to add a "Modeline" line under the Monitor0, but it didnt change anything.



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


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

      Section "Files"
      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"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 33.0
      VertRefresh 43.0 - 72.0
      Option "DPMS"
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection


      Second issue : scaling



      I have taken two steps to allow the HiDPI screen to display text and GUI in a more readable size:



      1) System settings - fonts - Force Font DPI 144 (instead of 96)
      2) system settings- display and monitors - scale display 1.5 (instead of 1).



      I would lke these settings to only apply to the 4k monitor, is this possible at all?










      share|improve this question









      New contributor




      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am trying Kubuntu 18.10 and I have a nvidia GTX 1060 (driver 418), a LG 27" 4k monitor (27UD58-B ) and an older HP 22" 1680x1050 monitor (HPw2207) with a VGA cord and a VGA-> DP converter.



      My issues are as follow:

      1) I can't get my vga screen with converter to use a resolution above 1280*1024



      2) I'd like to use screen scaling because everything is so damn small on the 4k display. I'd want the scaling to only be done on the high-dpi display if possible.



      Current setup:



      I am using Nvidia drivers 418.56.



      $ nvidia-smi
      Mon Apr 15 15:07:47 2019
      +-----------------------------------------------------------------------------+
      | NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
      |-------------------------------+----------------------+----------------------+
      | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
      | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
      |===============================+======================+======================|
      | 0 GeForce GTX 106... Off | 00000000:23:00.0 On | N/A |
      | 10% 64C P0 25W / 120W | 739MiB / 6076MiB | 3% Default |
      +-------------------------------+----------------------+----------------------+

      +-----------------------------------------------------------------------------+
      | Processes: GPU Memory |
      | GPU PID Type Process name Usage |
      |=============================================================================|
      | 0 958 G /usr/lib/xorg/Xorg 386MiB |
      | 0 1413 G /usr/bin/kwin_x11 192MiB |
      | 0 1432 G /usr/bin/krunner 1MiB |
      | 0 1434 G /usr/bin/plasmashell 111MiB |
      | 0 1509 G /usr/bin/latte-dock 29MiB |
      | 0 9387 G /usr/lib/firefox/firefox 1MiB |
      +-----------------------------------------------------------------------------+


      and normal higher resolutions are not available:



      $ xrandr
      Screen 0: minimum 8 x 8, current 4864 x 2160, maximum 32767 x 32767
      DVI-D-0 disconnected (normal left inverted right x axis y axis)
      HDMI-0 disconnected (normal left inverted right x axis y axis)
      DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
      3840x2160 60.00*+ 30.00
      2560x1440 59.95
      1920x1080 60.00 59.94
      1600x900 60.00
      1280x1024 60.02
      1280x800 59.81
      1280x720 60.00 59.94
      1152x864 59.96
      1024x768 60.00
      800x600 60.32
      720x480 59.94
      640x480 59.94 59.93
      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 connected 1024x1280+3840+832 left (normal left inverted right x axis y axis) 376mm x 301mm
      1280x1024 60.02*+
      1280x960 60.00
      1152x864 75.00
      1024x768 85.00 75.03 70.07 60.00
      800x600 85.06 75.00 72.19
      640x480 85.01 59.94
      DP-5 disconnected (normal left inverted right x axis y axis)


      First issue: fixing resolution
      I have tried to "addmode" using xrandr, but I get a BadMatch error. This is apparently normal with nvidia video cards.



      $ cvt 1680 1050 60
      # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
      Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
      $ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

      $ xrandr --addmode DP-4 1680x1050_60.00
      X Error of failed request: BadMatch (invalid parameter attributes)
      Major opcode of failed request: 140 (RANDR)
      Minor opcode of failed request: 18 (RRAddOutputMode)
      Serial number of failed request: 45
      Current serial number in output stream: 46


      My /etc/X11/xorg.conf file has been generated by nvidia usind sudo nvidia-xconfig :



      $ sudo nvidia-xconfig

      Using X configuration file: "/etc/X11/xorg.conf".
      Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
      New X configuration file written to '/etc/X11/xorg.conf'


      The xorg.conf only contains one monitor, is this normal. I have tried to add a "Modeline" line under the Monitor0, but it didnt change anything.



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


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

      Section "Files"
      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"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 33.0
      VertRefresh 43.0 - 72.0
      Option "DPMS"
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection


      Second issue : scaling



      I have taken two steps to allow the HiDPI screen to display text and GUI in a more readable size:



      1) System settings - fonts - Force Font DPI 144 (instead of 96)
      2) system settings- display and monitors - scale display 1.5 (instead of 1).



      I would lke these settings to only apply to the 4k monitor, is this possible at all?







      xorg nvidia multi-monitor xrandr high-dpi






      share|improve this question









      New contributor




      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 9 hours ago









      Rui F Ribeiro

      42.1k1483142




      42.1k1483142






      New contributor




      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 11 hours ago









      ZoltanZoltan

      61




      61




      New contributor




      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes


















          0














          I found a workaround: I connected my display directly to an old tower that has a VGA and exported the edid using



          sudo apt install read-edid
          sudo get-edid -m 0 > edid.bin


          then I erased the old xorg.conf on the machine and created a new one where I forced the edid for the monitor on display port 4:



          sudo rm /etc/X11/xorg.conf 
          nvidia-xconfig --custom-edid="GPU-0.DP-4:/home/MYNAME/edid.bin"


          Ta-da, the higher resolution now works. When I look at my xorg.conf file, I see the following line has been added to the "Screen" section:



           Option "CustomEDID" "GPU-0.DP-4:/home/MYNAME/Downloads/edid.bin"





          share|improve this answer








          New contributor




          Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            Zoltan is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512646%2fresolution-and-scaling-issues-on-dual-monitor-with-nvidia-one-4k-hidpi-one-vga%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I found a workaround: I connected my display directly to an old tower that has a VGA and exported the edid using



            sudo apt install read-edid
            sudo get-edid -m 0 > edid.bin


            then I erased the old xorg.conf on the machine and created a new one where I forced the edid for the monitor on display port 4:



            sudo rm /etc/X11/xorg.conf 
            nvidia-xconfig --custom-edid="GPU-0.DP-4:/home/MYNAME/edid.bin"


            Ta-da, the higher resolution now works. When I look at my xorg.conf file, I see the following line has been added to the "Screen" section:



             Option "CustomEDID" "GPU-0.DP-4:/home/MYNAME/Downloads/edid.bin"





            share|improve this answer








            New contributor




            Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              I found a workaround: I connected my display directly to an old tower that has a VGA and exported the edid using



              sudo apt install read-edid
              sudo get-edid -m 0 > edid.bin


              then I erased the old xorg.conf on the machine and created a new one where I forced the edid for the monitor on display port 4:



              sudo rm /etc/X11/xorg.conf 
              nvidia-xconfig --custom-edid="GPU-0.DP-4:/home/MYNAME/edid.bin"


              Ta-da, the higher resolution now works. When I look at my xorg.conf file, I see the following line has been added to the "Screen" section:



               Option "CustomEDID" "GPU-0.DP-4:/home/MYNAME/Downloads/edid.bin"





              share|improve this answer








              New contributor




              Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                I found a workaround: I connected my display directly to an old tower that has a VGA and exported the edid using



                sudo apt install read-edid
                sudo get-edid -m 0 > edid.bin


                then I erased the old xorg.conf on the machine and created a new one where I forced the edid for the monitor on display port 4:



                sudo rm /etc/X11/xorg.conf 
                nvidia-xconfig --custom-edid="GPU-0.DP-4:/home/MYNAME/edid.bin"


                Ta-da, the higher resolution now works. When I look at my xorg.conf file, I see the following line has been added to the "Screen" section:



                 Option "CustomEDID" "GPU-0.DP-4:/home/MYNAME/Downloads/edid.bin"





                share|improve this answer








                New contributor




                Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                I found a workaround: I connected my display directly to an old tower that has a VGA and exported the edid using



                sudo apt install read-edid
                sudo get-edid -m 0 > edid.bin


                then I erased the old xorg.conf on the machine and created a new one where I forced the edid for the monitor on display port 4:



                sudo rm /etc/X11/xorg.conf 
                nvidia-xconfig --custom-edid="GPU-0.DP-4:/home/MYNAME/edid.bin"


                Ta-da, the higher resolution now works. When I look at my xorg.conf file, I see the following line has been added to the "Screen" section:



                 Option "CustomEDID" "GPU-0.DP-4:/home/MYNAME/Downloads/edid.bin"






                share|improve this answer








                New contributor




                Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 3 hours ago









                ZoltanZoltan

                61




                61




                New contributor




                Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Zoltan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                    Zoltan is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    Zoltan is a new contributor. Be nice, and check out our Code of Conduct.












                    Zoltan is a new contributor. Be nice, and check out our Code of Conduct.











                    Zoltan is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f512646%2fresolution-and-scaling-issues-on-dual-monitor-with-nvidia-one-4k-hidpi-one-vga%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    -high-dpi, multi-monitor, nvidia, xorg, xrandr

                    Popular posts from this blog

                    Frič See also Navigation menuinternal link

                    Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

                    fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox