LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to Increase display resolution to 2560x1440 (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-increase-display-resolution-to-2560x1440-4175623279/)

mfoley 02-07-2018 03:40 PM

How to Increase display resolution to 2560x1440
 
I just purchased a relatively expensive AOC Q2577PWQ monitor in the hopes of getting increased resolution, but so far it seems stuck at 1920x1080.

I am running Slackware64 14.2 and KDE. I have an ASUS video card with NIVIDA GEFORCE GT710. I am running the NVIDIA driver version 387.34. I am NOT running with an Xorg.conf file.

I have two monitors: a 22" LG conneted via DVI which is only 1920x1080; and the (new) 25" AOC connected via VGA which is rated to 2560x1440.

In KDE > System Settings > Display and Monitor > Size and Orientation, the size of the AOC is shown as 1920x1080. There is no selection for greater resolution listed.

How can I fix this?

ferrari 02-07-2018 06:27 PM

Out of interest, what type of connection is use between monitor and graphics card? (DVI, HDMI, DP cable...)
Code:

xrandr --props
Sometimes the monitor EDID doesn't provide the driver with the monitor's true capabilities. This shows up in the Xorg.0.log if you care to inspect it. If you want to share that here, upload the contents to https://pastebin.com/ and post the link to it here for others to review.

It is often possible to create a custom display mode and use xrandr commands to set it. This can be made permanent by adding the required commands via an 'autostart script' executed at login...

https://wiki.archlinux.org/index.php/xrandr
https://askubuntu.com/questions/6379...rtup-in-ubuntu

lazydog 02-07-2018 07:03 PM

I have the AOC Q3277 and it is working fine here. You should try to use the DP cable as it allows for a better resolution.

Since you are running the nVidia driver you should be able to open the nVidia Server Setting GUI and in there look under X Screen # for the number of the screen you have the AOC connected to. Look at the Resolution and make sure it shows a setting for 2560x1440.

mfoley 02-07-2018 09:16 PM

Quote:

Originally Posted by ferrari (Post 5817062)
Out of interest, what type of connection is use between monitor and graphics card? (DVI, HDMI, DP cable...)
Code:

xrandr --props

I'm using VGA for this monitor. xrandr:
Code:

$ xrandr --props
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
VGA-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 553mm x 311mm
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
        EDID:
                00ffffffffffff0005e37725a5040000
                141b010368371f782a4455a9554d9d26
                0f5054bfef00d1c0b300950081808140
                81c001010101023a801871382d40582c
                450029372100001e000000fd00324c1e
                6315000a202020202020000000fc0051
                32353737570a202020202020000000ff
                0041484c4835394130303131383900f0
        BorderDimensions: 4
                supported: 4
        Border: 0 0 0 0
                range: (0, 65535)
        SignalFormat: VGA
                supported: VGA
        ConnectorType: VGA                     
        ConnectorNumber: 2                                           
        _ConnectorLocation: 2                                               
  1920x1080    60.00*+
  1680x1050    59.95 
  1440x900      59.89 
  1280x1024    75.02    60.02 
  1280x960      60.00 
  1280x720      60.00 
  1024x768      75.03    70.07    60.00 
  800x600      75.00    72.19    60.32    56.25 
  640x480      75.00    72.81    59.94 
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
        EDID:
                00ffffffffffff001e6dbf584cbd0300
                0616010380301b78ea9535a159579f27
                0e5054a54b00714f81809500a9c08100
                81c09040b300023a801871382d40582c
                4500dd0c1100001e000000fd00384b1e
                530f000a202020202020000000fc0045
                323234320a20202020202020000000ff
                003230364e444a5837373036380a0019
        BorderDimensions: 4
                supported: 4
        Border: 0 0 0 0
                range: (0, 65535)
        SignalFormat: TMDS
                supported: TMDS
        ConnectorType: DVI-D
        ConnectorNumber: 0
        _ConnectorLocation: 0
  1920x1080    60.00*+
  1680x1050    59.95 
  1600x900      60.00 
  1440x900      59.89 
  1400x1050    59.98 
  1280x1024    75.02    60.02 
  1280x800      59.81 
  1280x720      60.00 
  1152x864      75.00 
  1024x768      75.03    60.00 
  800x600      75.00    60.32 
  640x480      75.00    59.94 
HDMI-0 disconnected (normal left inverted right x axis y axis)
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
        BorderDimensions: 4
                supported: 4
        Border: 0 0 0 0
                range: (0, 65535)
        SignalFormat: TMDS
                supported: TMDS
        ConnectorType: HDMI
        ConnectorNumber: 1
        _ConnectorLocation: 1

Quote:

Sometimes the monitor EDID doesn't provide the driver with the monitor's true capabilities. This shows up in the Xorg.0.log if you care to inspect it. If you want to share that here, upload the contents to https://pastebin.com/ and post the link to it here for others to review.
Xorg.0.log uploaded: https://pastebin.com/EM8Hq11b
Quote:

It is often possible to create a custom display mode and use xrandr commands to set it. This can be made permanent by adding the required commands via an 'autostart script' executed at login...

https://wiki.archlinux.org/index.php/xrandr
https://askubuntu.com/questions/6379...rtup-in-ubuntu
Quote:

Originally Posted by lazydog (Post 5817071)
I have the AOC Q3277 and it is working fine here. You should try to use the DP cable as it allows for a better resolution.

I don't believe the GT710 has a DP port, but I do have DVI and HDMI in addition to the VGA. Do you think changing cables would do the trick?
Quote:

Since you are running the nVidia driver you should be able to open the nVidia Server Setting GUI and in there look under X Screen # for the number of the screen you have the AOC connected to. Look at the Resolution and make sure it shows a setting for 2560x1440.
I've done that and no it does not show 2560x1440. I've tried letting NVIDIA-setting create an xorg.conf file (shown below). Based on other wesite clues I've made the changes shown in lines 86 and 111, but that didn't work. The AOC monitor didn't even show up.
Code:

    1  # nvidia-settings: X configuration file generated by nvidia-settings
    2  # nvidia-settings:  version 387.34  (buildmeister@swio-display-x64-rhel04-15)  Tue Nov 21 03:30:38 PST 2017
    3
    4  Section "ServerLayout"
    5      Identifier    "Layout0"
    6      Screen      0  "Screen0" 0 0
    7      Screen      1  "Screen1" RightOf "Screen0"
    8      InputDevice    "Keyboard0" "CoreKeyboard"
    9      InputDevice    "Mouse0" "CorePointer"
    10      Option        "Xinerama" "0"
    11  EndSection
    12
    13  Section "Files"
    14      FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    15      FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    16      FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    17      FontPath        "/usr/lib64/X11/fonts/misc/"
    18      FontPath        "/usr/lib64/X11/fonts/Type1/"
    19      FontPath        "/usr/lib64/X11/fonts/Speedo/"
    20      FontPath        "/usr/lib64/X11/fonts/100dpi/"
    21      FontPath        "/usr/lib64/X11/fonts/75dpi/"
    22      FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    23      FontPath        "/usr/lib64/X11/fonts/TTF/"
    24  EndSection
    25
    26  Section "Module"
    27      Load          "dbe"
    28      Load          "extmod"
    29      Load          "type1"
    30      Load          "freetype"
    31      Load          "glx"
    32  EndSection
    33
    34  Section "InputDevice"
    35      # generated from default
    36      Identifier    "Mouse0"
    37      Driver        "mouse"
    38      Option        "Protocol" "auto"
    39      Option        "Device" "/dev/psaux"
    40      Option        "Emulate3Buttons" "no"
    41      Option        "ZAxisMapping" "4 5"
    42  EndSection
    43
    44  Section "InputDevice"
    45      # generated from default
    46      Identifier    "Keyboard0"
    47      Driver        "kbd"
    48  EndSection
    49
    50  Section "Monitor"
    51      # HorizSync source: edid, VertRefresh source: edid
    52      Identifier    "Monitor0"
    53      VendorName    "Unknown"
    54      ModelName      "LG Electronics E2242"
    55      HorizSync      30.0 - 83.0
    56      VertRefresh    56.0 - 75.0
    57      Option        "DPMS"
    58  EndSection
    59
    60  Section "Monitor"
    61      # HorizSync source: edid, VertRefresh source: edid
    62      Identifier    "Monitor1"
    63      VendorName    "Unknown"
    64      ModelName      "AOC Q2577W"
    65      HorizSync      30.0 - 99.0
    66      VertRefresh    50.0 - 76.0
    67      Option        "DPMS"
    68  EndSection
    69
    70  Section "Device"
    71      Identifier    "Device0"
    72      Driver        "nvidia"
    73      VendorName    "NVIDIA Corporation"
    74      BoardName      "GeForce GT 710"
    75      BusID          "PCI:1:0:0"
    76      Screen          0
    77  EndSection
    78
    79  Section "Device"
    80      Identifier    "Device1"
    81      Driver        "nvidia"
    82      VendorName    "NVIDIA Corporation"
    83      BoardName      "GeForce GT 710"
    84      BusID          "PCI:1:0:0"
    85      Screen          1
    86      Option        "UseEDID"        "FALSE"
    87  EndSection
    88
    89  Section "Screen"
    90      Identifier    "Screen0"
    91      Device        "Device0"
    92      Monitor        "Monitor0"
    93      DefaultDepth    24
    94      Option        "Stereo" "0"
    95      Option        "nvidiaXineramaInfoOrder" "DFP-0"
    96      Option        "metamodes" "DVI-D-0: nvidia-auto-select +0+0"
    97      Option        "SLI" "Off"
    98      Option        "MultiGPU" "Off"
    99      Option        "BaseMosaic" "off"
  100      SubSection    "Display"
  101          Depth      24
  102      EndSubSection
  103  EndSection
  104
  105  Section "Screen"
  106      Identifier    "Screen1"
  107      Device        "Device1"
  108      Monitor        "Monitor1"
  109      DefaultDepth    24
  110      Option        "Stereo" "0"
  111      Option        "metamodes" "VGA-0: 2560x1440 +0+0 {AllowGSYNC=Off}"
  112      Option        "SLI" "Off"
  113      Option        "MultiGPU" "Off"
  114      Option        "BaseMosaic" "off"
  115      SubSection    "Display"
  116          Depth      24
  117      EndSubSection
  118  EndSection


ferrari 02-07-2018 10:24 PM

Quote:

I'm using VGA for this monitor.
As I suspected might be the case. That is the reason for the limited display resolution.

Quote:

I don't believe the GT710 has a DP port, but I do have DVI and HDMI in addition to the VGA. Do you think changing cables would do the trick?
Yes, I do think it will do the trick (as lazydog also mentioned). Use an HDMI cable if your monitor supports it. :)

mfoley 02-08-2018 12:04 PM

farrari/lazydog: YES! That did it. That was stupid-simple. I simply swapped the VGA and DVI cables between monitors and it picked up the 2560x1440 resolution for the new monitor. It would be nice if all issues were that simple to resolve. So, new fun-fact for me: VGA does not exceed 1920x1080. I didn't know that.

lulc 08-25-2018 06:06 PM

Hello!

I have the same problem with the same screen and latest ubuntu version 18.04. I'm using the screen as an external one for my laptop and the max resolution the system can detect is FHD while the screen supports 2K (Works on windows). OP solved problem by using HDMI, however, I'm already using HDMI and but can't see 2K resolution. I am sure the HDMI cable I'm using can deliver 2K because it works on Windows.

I have tried everything mentioned in this thread without success.

Since I have an optimus setup, I did everything I can to disable nvidia card and only leave the integrated intel HD but still same issue.

Here's output of xrandr:

Quote:

HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 553mm x 311mm
_MUTTER_PRESENTATION_OUTPUT: 0
EDID:
00ffffffffffff0005e3772507040000
341b010380371f782a4455a9554d9d26
0f5054bfef00d1c0b300950081808140
81c001010101565e00a0a0a029503020
350029372100001e000000fd00324c1e
631e000a202020202020000000fc0051
32353737570a202020202020000000ff
0041484c48433941303031303331016d
02031ef14b101f051404130312021101
230907078301000065030c001000023a
801871382d40582c450029372100001e
011d007251d01e206e28550029372100
001e8c0ad08a20e02d10103e96002937
210000188c0ad090204031200c405500
293721000018f03c00d051a035506088
3a0029372100001c0000000000000050
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
non-desktop: 0
range: (0, 1)
link-status: Good
supported: Good, Bad
1920x1080 60.00* 50.00 59.94
1920x1080i 60.00 50.00 59.94
1280x1440 59.91
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
DP-1 disconnected (normal left inverted right x axis y axis)
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
non-desktop: 0
range: (0, 1)
link-status: Good
supported: Good, Bad
HDMI-2 disconnected (normal left inverted right x axis y axis)
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
non-desktop: 0
range: (0, 1)
link-status: Good
supported: Good, Bad
Thanks in advance for your help.

mrmazda 08-26-2018 02:31 AM

What is your output in an Xterm from
Code:

inxi -Gxx

lulc 08-26-2018 05:29 AM

Quote:

Originally Posted by mrmazda (Post 5896018)
What is your output in an Xterm from
Code:

inxi -Gxx

Here it is:

Code:

Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
          bus-ID: 00:02.0 chip-ID: 8086:0416
          Card-2: NVIDIA GK107M [GeForce GT 750M]
          bus-ID: 02:00.0 chip-ID: 10de:0fe4
          Display Server: x11 (X.Org 1.19.6 ) driver: i915
          Resolution: 1920x1080@60.00hz
          OpenGL: renderer: Mesa DRI Intel Haswell Mobile
          version: 4.5 Mesa 18.0.5 (compat-v: 3.0) Direct Render: Yes


onebuck 08-26-2018 10:29 AM

Hi,

Quote:

Originally Posted by lulc (Post 5895917)
Hello!

I have the same problem with the same screen and latest ubuntu version 18.04. I'm using the screen as an external one for my laptop and the max resolution the system can detect is FHD while the screen supports 2K (Works on windows). OP solved problem by using HDMI, however, I'm already using HDMI and but can't see 2K resolution. I am sure the HDMI cable I'm using can deliver 2K because it works on Windows.

No, the OP switched to DVI;
Quote:

Originally Posted by mfoley (Post 5817394)
farrari/lazydog: YES! That did it. That was stupid-simple. I simply swapped the VGA and DVI cables between monitors and it picked up the 2560x1440 resolution for the new monitor. It would be nice if all issues were that simple to resolve. So, new fun-fact for me: VGA does not exceed 1920x1080. I didn't know that.

Quote:

Originally Posted by lulc (Post 5895917)
I have tried everything mentioned in this thread without success.

Try the DVI port?

Quote:

Originally Posted by lulc (Post 5895917)
Since I have an optimus setup, I did everything I can to disable nvidia card and only leave the integrated intel HD but still same issue.

So you tried installing bumblebee for Optimus?
<snip>
Quote:

Thanks in advance for your help.
Hope this helps.
Have fun & enjoy!
:hattip:

lulc 08-28-2018 01:23 AM

Thanks @oneback for your reply.

You're correct. But it still amazes me how something can easily work on Windows but fails to work in Ubuntu. I even extracted the correct EDID binary for my monitor from windows and forced it in Ubuntu with no luck. Right now I'm waiting for a DP->mDP adapter to arrive and I hope it'll work. Having to buy extra cables just to make Ubuntu happy...

No i didn't install bumblebee but I'm pretty sure I'm only running on Intel card and not Nvidia. I also tried my monitor on a different laptop that only have one integrated card and still same issue, so I guess it's not the optimus setup that's causing the issue.

We'll report back once I get my new cable but if anyone has a solution to make it work with HDMI like in Windows I'd be happy to try it.

Thanks.

ferrari 08-28-2018 03:45 AM

I can only speculate here, but the limitation may well be with the kernel (i915) driver itself, or perhaps with this particular monitor's EDID format. For example, here's an Ubuntu thread where the OP mentions that although the 1st EDID block was read successfully (by the graphics driver), use of the 'get-edid' utility reported the existence of an additional EDID block, which could not be read successfully.

https://en.wikipedia.org/wiki/Extend...ification_Data

mrmazda 08-28-2018 04:02 AM

I wonder if there's some obscure setting you could change in your BIOS that would make Xorg able to automatically find 2560x1440? I tried as close as I could to get a similar failure given I have no laptops or 2560x1440 displays. The original HDTV spec didn't allow for modes above 1920x1080, so if your laptop was materially older I would expect this to be a limitation. But you have Intel Haswell, which I'm typing on here. And, I do have a 2560x1080 that shouldn't be supported on older HDMI ports. Here's what I get on Haswell, first with openSUSE 15.0 with X server 1.19.6 (same as *buntu 18.04), then openSUSE Tumbleweed (same PC, server 1.20.0), then on Kaby Lake with *buntu 18.04.1:
Code:

# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Leap 15.0"
# inxi -Gxx
Graphics:  Card: Intel 4th Generation Core Processor Family Integrated Graphics Controller
          bus-ID: 00:02.0 chip-ID: 8086:041e
          Display Server: X.Org 1.19.6 drivers: modesetting (unloaded: fbdev,vesa)
          Resolution: 2560x1080@60.00hz
          OpenGL: renderer: Mesa DRI Intel Haswell version: 4.5 Mesa 18.0.2 (compat-v: 3.0) Direct Render: Yes
# xrandr | head
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192
VGA-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
  2560x1080    60.00*+
  1920x1080    60.00    60.00    50.00    59.94    24.00    23.98
  1920x1080i    60.00    50.00    59.94
  1680x1050    59.88
# grep onnec /var/log/Xorg.0.log
[    24.628] (II) modeset(0): Output VGA-1 disconnected
[    24.628] (II) modeset(0): Output HDMI-1 disconnected
[    24.628] (II) modeset(0): Output HDMI-2 connected

# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Tumbleweed"
# inxi -Gxx
Graphics:  Card-1: Intel 4th Generation Core Processor Family Integrated Graphics driver: i915 v: kernel
          bus ID: 00:02.0 chip ID: 8086:041e
          Display: server: X.Org 1.20.0 driver: modesetting unloaded: fbdev,vesa alternate: intel
          resolution: 2560x1080~60Hz
          OpenGL: renderer: Mesa DRI Intel Haswell v: 4.5 Mesa 18.1.5 compat-v: 3.0 direct render: Yes
# xrandr | head
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192
VGA-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
  2560x1080    60.00*+
  1920x1080    60.00    60.00    50.00    59.94    24.00    23.98
  1920x1080i    60.00    50.00    59.94
  1680x1050    59.88
# grep onnec /var/log/Xorg.0.log
[    19.737] (II) modeset(0): Output VGA-1 disconnected
[    19.737] (II) modeset(0): Output HDMI-1 disconnected
[    19.737] (II) modeset(0): Output HDMI-2 connected

# grep RETT /etc/os-release
PRETTY_NAME="Ubuntu 18.04.1 LTS"
# inxi -Gxx
Graphics:  Card: Intel HD Graphics 630 bus-ID: 00:02.0 chip-ID: 8086:5912
          Display Server: X.Org 1.19.6 drivers: modesetting (unloaded: fbdev,vesa)
          Resolution: 2560x1080@60.00hz
          OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
          version: 4.5 Mesa 18.0.5 (compat-v: 3.0) Direct Render: Yes
# xrandr | head
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192
HDMI-1 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
  2560x1080    60.00*+
  1920x1080    60.00    60.00    50.00    59.94    24.00    23.98
  1920x1080i    60.00    50.00    59.94
  1680x1050    59.88
# grep onnec /var/log/Xorg.0.log
[  103.141] (II) modeset(0): Output HDMI-1 connected
[  103.141] (II) modeset(0): Output HDMI-2 disconnected
[  103.141] (II) modeset(0): Output DP-1 disconnected
[  103.141] (II) modeset(0): Output HDMI-3 disconnected
[  103.141] (II) modeset(0): Output DP-2 disconnected

You can see that unlike my inxis, yours (v2.3.56-00?) reported neither the xorg driver in use nor the alternates available. As inxi is actually just a script, you might be interested to try the latest version from upstream to see if it does better. I expected to see you using intel(0), and wonder if that is the driver in use, and if so, whether purging xserver-xorg-video-intel, which should employ Xorg's integrated modeset(0) driver if bumblebee isn't installed, might be a software solution?

mrmazda 08-28-2018 04:41 AM

Something else to try: xorg.conf. It always used to work for me with errant or invalid EDID, without needing manually generated modelines. Try this:
Code:

Section "Device"
        Identifier "DefaultDevice"
EndSection

Section "Monitor"
        Identifier        "DefaultMonitor"
        HorizSync        28-91        # get this from the AOC Q2577PWQ manual!!!
        VertRefresh        55-76        # get this from the AOC Q2577PWQ manual!!!
        Option        "PreferredMode" "2560x1440"
EndSection

Section "Screen"
        Identifier        "DefaultScreen"
        Device                "DefaultDevice"
        Monitor                "DefaultMonitor"
EndSection


RockDoctor 08-28-2018 07:08 AM

Another possible addition to xorg.conf: the screen size, something like this:
Code:

Section "Monitor"
    Identifier            "Monitor1"
    DisplaySize            474 296
EndSection

One of my old monitors had a native resolution of 1680x1050 but Xorg wouldn't use it without an explicit statement of the screen size (in mm). I just measured it with a ruler and tweaked it a bit to get the proper aspect ratio.


All times are GMT -5. The time now is 09:57 AM.