Wrong monitor resolution detected

I have bought a new Monitor ( iiyama ProLite XUB3493WQSU-B1), which has a resolution of 3440x1440 but in my settings the maximal resolution i can choose is 2560x1440. xrandr says the following :
HDMI-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 800mm x 345mm

2560x1440 59.95*
1720x1440 75.00
2048x1152 60.00
1920x1200 59.95
1920x1080 60.00 60.00 50.00 59.94
1920x1080i 60.00 50.00 59.94
1600x1200 60.00
1600x900 60.00
1280x1024 75.02 60.02
1280x800 59.91
1152x864 75.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
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08

Do i have to make a new xrandr profile and when yes how do i do that?

1 Like

Please test with a Live Media.  Maybe it’s just some old config makes that.

It seems your graphics card does not support the resolution you want.
Try to find out which maximum resolution your graphic cards supports.

Or you have indeed an old config. Check in /etc/X11/xorg.conf.d for config files. You could rename the conf files which configures your old monitor.

1 Like

   Indeed, and just in case:  The graphics cards do support a limited amount of displays simultaneously connected.  Like one want a three-heads setup, but GPU can only two-heads.
   One may see a “# of Displays Supported” on the Intel’s ark, for an example.

@vits95
I don’t think that’s the reason. I have an Lenovo notebook and it’s the only Monitor connected to it
@tachi
The only config file in that directory is for my keyboard

If you have only an iGPU (integrated GPU by Intel) it could be still your graphics card. What are the hardware specifications of your Lenovo? Specifically, CPU and GPU?

Notebook: Lenovo v320 17ikb
CPU: Intel® Core™ i5-8250U
GPU: Intel® UHD-Graphics 620
→ Max Resolution (HDMI 1.4): 4096x2304@24Hz
the monitor is connected to the HDMI Port

Can you try with another cable?

1 Like

The manual of your monitor states:

The source graphic card must be capable of supporting 3440 Ă— 1440 resolution at 60Hz / 75Hz

I cannot find the information if your iGPU supports that.
What type of HDMI cable did you use? Could also be the issue.

I asked the Lenovo Support for the supported HDMI specifications and wait for the answer.
i used the cable that was delivered with the monitor and a High Speed HDMI Cable with Ethernet
testing it with a live Image showed the same result (resolution of 2560x1440)

It looks like that HDMI 1.4 does not have native support for your desired resolution.

You could check if the system detects native resolution support for your monitor at startup. If so, you could add it to an xorg.conf file in /etc/X11/xorg.conf.d/ and see if that works.
I believe you can check the contents of /var/log/Xorg.0.log and similar files to see what the system detects. The number is the number of your screen.

1 Like

That’s the output for HDMI:

[    25.106] (II) modeset(0): Printing probed modes for output HDMI-1
[    25.106] (II) modeset(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[    25.106] (II) modeset(0): Modeline "1720x1440"x75.0  219.12  1720 1792 1840 1940  1440 1478 1482 1506 +hsync -vsync (112.9 kHz e)
[    25.106] (II) modeset(0): Modeline "2048x1152"x60.0  162.00  2048 2074 2154 2250  1152 1153 1156 1200 +hsync +vsync (72.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080i"x60.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080i"x50.0   74.25  1920 2448 2492 2640  1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[    25.106] (II) modeset(0): Modeline "1920x1080i"x59.9   74.18  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e)
[    25.106] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    25.106] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[    25.106] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[    25.106] (II) modeset(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    25.106] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    25.106] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    25.106] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[    25.106] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[    25.106] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    25.106] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    25.106] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    25.106] (II) modeset(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[    25.106] (II) modeset(0): Modeline "720x576i"x50.0   13.50  720 732 795 864  576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[    25.106] (II) modeset(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    25.106] (II) modeset(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[    25.106] (II) modeset(0): Modeline "720x480i"x60.0   13.51  720 739 801 858  480 488 494 525 interlace -hsync -vsync (15.8 kHz e)
[    25.106] (II) modeset(0): Modeline "720x480i"x59.9   13.50  720 739 801 858  480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[    25.106] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    25.106] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    25.106] (II) modeset(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[    25.106] (II) modeset(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    25.106] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    25.106] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    25.106] (II) modeset(0): Output eDP-1 connected

You’re right it doesn’t detect the the native resolution. But I also noticed that it detects only resolutions for a 16:9 screen and not for a 21:9 as I need it. Getting a smaller resolution but one that fits the monitors side to side ratio would help me a lot.

Edit: It`s now working with a resolution of 2560x1080. I added a profile to xrandr via terminal. How do i add it to the xorg.conf file?

Are these the only lines starting with modeset(0) ?
Are there other lines with timings?
If the log is too long to post here you could use https://paste.centos.org/ and share the link.

I uploaded the complete file to pastebin: https://paste.centos.org/view/d9df0266

These lines are important for you. You could use xrandr to add a profile and check if it works.

[    25.106] (II) modeset(0): Supported detailed timing:
[    25.106] (II) modeset(0): clock: 438.5 MHz   Image Size:  800 x 345 mm
[    25.106] (II) modeset(0): h_active: 3440  h_sync: 3584  h_sync_end 3680 h_blank_end 3880 h_border: 0
[    25.106] (II) modeset(0): v_active: 1440  v_sync: 1478  v_sync_end 1482 v_blanking: 1506 v_border: 0
[    25.106] (II) modeset(0): Serial No: 1171401500024
[    25.106] (II) modeset(0): Ranges: V min: 48 V max: 76 Hz, H min: 15 H max: 114 kHz, PixClock max 605 MHz
[    25.106] (II) modeset(0): Monitor name: PL3493WQ
[    25.106] (II) modeset(0): Supported detailed timing:
[    25.106] (II) modeset(0): clock: 319.8 MHz   Image Size:  800 x 345 mm
[    25.106] (II) modeset(0): h_active: 3440  h_sync: 3488  h_sync_end 3520 h_blank_end 3600 h_border: 0
[    25.106] (II) modeset(0): v_active: 1440  v_sync: 1443  v_sync_end 1453 v_blanking: 1481 v_border: 0

Bare with me. This is something I have not done often. Little mistakes and/or omissions could slip in my example for your xorg.conf file.

Above would result in something like below and could be added to the Monitor section of a xorg.conf file. Unfortunately, I would not know what hsync and vsync should be. That could be derived from the EDID (in hex) information.

Example for a file name: /etc/X11/xorg.conf.d/31-monitor.conf

Section "Monitor"
    Identifier   "iiyama"
    HorizSync    15-114
    VertRefresh  48-76
    DisplaySize  800 345

    ModeLine "3440x1440_75"  438.50  3440 3584 3680 3880  1440 1478 1482 1506
    ModeLine "3440x1440_60"  319.80  3440 3488 3520 3600  1440 1443 1453 1250
EndSection

These sections are also needed in your conf file:

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "modesetting"
EndSection

Section "Screen"
    Identifier  "Second screen"
    Device	    "Intel Graphics"
    Monitor     "iiyama"
EndSection

More info about xorg.conf in https://www.x.org/releases/X11R7.7/doc/man/man5/xorg.conf.5.xhtml

i use cvt to generate the Modeline. For a resolution of 3440x1440 and 30 Hy it works. but when i use your example for the config file my notebook won`t start. It boots up to the point where the lenovo logo appears and then it stays there. is this because of the differetn Identifier in the Screen and monitor sections?

1 Like

Hmm, so your system hangs at the Lenovo logo? Do you see anything happening on your external monitor?

In my example I did not make the display of your laptop part of the setup. Then it would be something like this I think:

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "modesetting"
    Screen      0
    Option      "Monitor-eDP-1" "Laptop display"
    Option      "Monitor-HDMI-1" "iiyama"
EndSection

Section "Screen"
    Identifier  "Laptop screen"
    Device	    "Intel Graphics"
    Monitor     "Laptop display"
EndSection

Section "Screen"
    Identifier  "Second screen"
    Device	    "Intel Graphics"
    Monitor     "iiyama"
EndSection

Section "Monitor"
    Identifier  "Laptop display"
EndSection

Section "Monitor"
    Identifier   "iiyama"
    HorizSync    15-114
    VertRefresh  48-76
    DisplaySize  800 345

    # HSync and VSync unknown yet
    ModeLine "3440x1440_75"  438.50  3440 3584 3680 3880  1440 1478 1482 1506
    ModeLine "3440x1440_60"  319.80  3440 3488 3520 3600  1440 1443 1453 1250
EndSection

If the previous setup example did not work (no video output) you could check what went wrong during that boot with option -b -1. If you want to go back further, increase the negative number.
sudo journalctl -b -1
https://www.freedesktop.org/software/systemd/man/journalctl.html

Or check /var/log/Xorg.0.log again.

I tried your example with the working modline (tested it with xrandr and it`s working) and named it iiyama-monitor.conf:

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "modesetting"
    Screen      0
    Option      "Monitor-eDP-1" "Laptop display"
    Option      "Monitor-HDMI-1" "iiyama"
EndSection

Section "Screen"
    Identifier  "Laptop screen"
    Device	    "Intel Graphics"
    Monitor     "Laptop display"
EndSection

Section "Screen"
    Identifier  "Second screen"
    Device	    "Intel Graphics"
    Monitor     "iiyama"
EndSection

Section "Monitor"
    Identifier  "Laptop display"
EndSection

Section "Monitor"
    Identifier   "iiyama"
    HorizSync    15-114000Hz
    VertRefresh  48-76
    DisplaySize  800 345

   Modeline "3440x1440_30.00"  196.25  3440 3600 3952 4464  1440 1443 1453 1468 -hsync +vsync
EndSection

it stopped booting like before with both monitors showing the same image and I had to remove the file to get it working. I uploaded the journalctl output to the pastbin: https://paste.centos.org/view/7c4718b3 To me it seems like Xorg has a problem with the chosen Modline but i can`t really get the reason for it

I think you can better check the xorg log files. I could not find any lines regarding Xorg or modesetting for that matter.

Hmm, what am I missing?