Wrong monitor resolution detected

That should be the right one: https://paste.centos.org/view/26575013
It seems to be this Hz in the HorizSync line of the iiyama monitor section

Maybe there should be a space between the numbers and Hz.
According to documentation kHz is default. You could change the numbers to 0.015-114 without the unit name, I suppose.

I think have misread one of your earlier logs. I think the numbers should be 15-114
I have edited my posts regarding to that line. Now they show the correct values.

i first forgot the .conf file ending but now added that.

it`s now booting without any problems, but the the monitor is still not working with the modline from the conf file. In the log file it seems like its only using the first Screen section, but im not sure if thats the Problem. It also doesnt output the wanted Resolution in the probed modes for HDMI-1 section.
Logfile: https://paste.centos.org/view/9e609b76

okay it seems to use the monitor section iiyama for HDMI-1 but doesnt apply the modline to the output?
Edit: i added the following line:
Modeline "2560x1080_60.00" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync
this resolution is now available in the monitor settings but its not applied at boot

It seems it doesn’t like:
Modeline "3440x1440_30.00" 196.25 3440 3600 3952 4464 1440 1443 1453 1468 -hsync +vsync
according to this:
[ 24.879] (II) modeset(0): Not using mode "3440x1440_30.00" (vrefresh out of range)
and according to the calculated VertRefresh = 196,250,000 / (3440x1440) = 38.1 Hz it is not within the 48-76 Hz range.

Try to run startx with options from a new console (tty) session. Switch to another console window (e.g. ctrl-alt-f3), login as a regular user and run command:
startx -- -logverbose 6
Check if you can find lines with full EDID (dispay) information in Xorg log files /var/log/Xorg.0.log similar to this:

EDID Version                 : 1.3
Manufacturer                 : PHL
Monitor Name                 : Philips 170S
Product ID                   : 2078
32-bit Serial Number         : 693129
Serial Number String         :  CF  693129
Manufacture Date             : 2003, week 32
DPMS Capabilities            : Standby Suspend Active Off
Prefer first detailed timing : Yes
Supports GTF                 : No
Maximum Image Size           : 340mm x 270mm
Valid HSync Range            : 30.0 kHz - 82.0 kHz
Valid VRefresh Range         : 56 Hz - 76 Hz
EDID maximum pixel clock     : 140.0 MHz

Validating Mode "1280x1024":
  1280 x 1024 @ 60 Hz
  Mode Source: EDID
    Pixel Clock      : 108.00 MHz
    HRes, HSyncStart : 1280, 1328
    HSyncEnd, HTotal : 1440, 1688
    VRes, VSyncStart : 1024, 1025
    VSyncEnd, VTotal : 1028, 1066
    H/V Polarity     : +/+
  Mode is valid.
1 Like

I think I found the correct modelines for your highest resolution:

ModeLine "3440x1440_75"  438.54  3440 3584 3680 3880  1440 1478 1482 1506 +HSync -VSync
ModeLine "3440x1440_60"  319.75  3440 3488 3520 3600  1440 1443 1453 1481 +HSync -VSync

edid-decode from GitHub - timvideos/edid-decode: Mirror of https://git.linuxtv.org/edid-decode.git did the trick!

my problem is that my notebook only has a HDMI 1.4 Port and the highest resolution i can get from it is 3440x1440 and 30 Hz. I tried higher Framerates but than get this error: GdBus.Error:org.gtk.GDBUS.UnmappedGError.Quark._gnome_2ddr_2derror_2dquark.Code2: configuration for CRTC >>64<< could not be applied
So the only solution I see is to life with the 2560x1080 60Hz resolution or to get the 3440x1440 30Hz working without it applying it manually in terminal after boot

Do you get the above error also if you apply a modeline manually with a refresh rate of 60 or 75 Hz?
I believe that error is related to the position of the screens relative to each other, or the total of both resolutions.
I think the Monitor section of your xorg.conf file needs more information if you want to extend the desktop to your external monitor. For example, which monitor is on the left and which one on the right.

These lines suggest that you have same output on both displays.

[    24.880] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[    24.880] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080i +0+0

I wonder if you start your system with the modelines from my previous post what your Xorg.0.log will be.

both of these modes dont work if I apply them manually with this terminal output: xrandr: Configure crtc 1 failed
Thats the log: https://paste.centos.org/view/11e87cf3

I have the iiyama screen on top and the notebook screen centered below it

It is accepting the modelines set in the xorg.conf file, except modeline “3440x1440_30.00”

[    24.558] (II) modeset(0): Not using mode "3440x1440_30.00" (vrefresh out of range)
[    24.558] (II) modeset(0): Printing probed modes for output HDMI-1
[    24.558] (II) modeset(0): Modeline "3440x1440_75"x75.1  438.54  3440 3584 3680 3880  1440 1478 1482 1506 +hsync -vsync (113.0 kHz)
[    24.558] (II) modeset(0): Modeline "3440x1440_60"x60.0  319.75  3440 3488 3520 3600  1440 1443 1453 1481 +hsync -vsync (88.8 kHz)
[    24.558] (II) modeset(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[    24.558] (II) modeset(0): Modeline "2560x1080_60.00"x60.0  230.00  2560 2720 2992 3424  1080 1083 1093 1120 -hsync +vsync (67.2 kHz)

Some interesting errors. It could be that the total size of both displays matters:

[  3853.119] (II) modeset(0): Allocate new frame buffer 3440x2160 stride
[  3853.291] (EE) modeset(0): failed to set mode: Invalid argument
[  3853.611] (II) modeset(0): Allocate new frame buffer 3440x2520 stride
[  3854.719] (II) modeset(0): EDID vendor "LGD", prod id 1389
[  3854.719] (II) modeset(0): Printing DDC gathered Modelines:
[  3854.719] (II) modeset(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
[  3854.747] (--) modeset(0): HDMI max TMDS frequency 300000KHz
[  3870.098] (II) modeset(0): Allocate new frame buffer 3440x2160 stride
[  3870.257] (EE) modeset(0): failed to set mode: Invalid argument
[  3870.577] (II) modeset(0): Allocate new frame buffer 3440x2520 stride

I have added information about the position of the monitors. That might prevent the GdBus error.

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"
    SubSection "Display"
        Virtual 5360 2520
    EndSubSection
EndSection

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

Section "Monitor"
    Identifier  "Laptop display"
    Option "Position" "760 1440"
EndSection

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

    ModeLine "3440x1440_75"  438.54  3440 3584 3680 3880  1440 1478 1482 1506 +HSync -VSync
    ModeLine "3440x1440_60"  319.75  3440 3488 3520 3600  1440 1443 1453 1481 +HSync -VSync

    Option "Position" "0 0"
EndSection

Examples and more info about multi monitor setup at Multihead - ArchWiki and X/Config/Resolution - Ubuntu Wiki

i tried it with your updated config but it`s still the same result. Trying to apply the modes via Terminal leads to this error:

randr: Configure crtc 1 failed

and when i try to apply them in the monitor settings i get this error:

the only high resolution that i can apply is 3440x1440 and 30 Hz (through to the HDMI Port limited to HDMI 1.4).
I think the only solution that is possible for me is to get this mode running at bootup.

Edit: I tried to get the max. Mode and got it with this Modline:

“3440x1440_45.00” 306.75 3440 3664 4024 4608 1440 1443 1453 1480 -hsync +vsync

Let’s focus to get it working with xrandr and focus later to get it permanently working with xorg.conf

What output do you get if you do:

  1. xrandr --verbose
  2. If output HDMI-1 is missing a mode with a resolution 3440x1440 create it with:
    xrandr --newmode "3440x1440" 319.75 3440 3488 3520 3600 1440 1443 1453 1481 +hsync -vsync
    and add it to the HDMI-1 port with:
    xrandr --addmode HDMI-1 3440x1440
  3. Setting both outputs with verbose and assuming that all other modes were present at step 1. If not, a more verbose output will tell more than without verbose.
    xrandr --verbose --output HDMI-1 --mode 3440x1440 --pos 0x0 --above eDP-1 --output eDP-1 --preferred --below HDMI-1

Output:
https://paste.centos.org/view/fc18a7e6

Output:

screen 0: 3440x2520 910x667 mm 95.92dpi
crtc 0: 1920x1080 60.02 +0+1440 “eDP-1”
crtc 1: 3440x1440 59.97 +0+0 “HDMI-1”
xrandr: Configure crtc 1 failed
crtc 0: disable
crtc 1: disable
crtc 2: disable
screen 0: revert
crtc 0: revert
crtc 1: revert
crtc 2: revert

These lines from step 1 xrandr output I find curious:
eDP-1 connected primary 1920x1080+375+1080 (0x45) normal (normal left inverted right x axis y axis) 382mm x 215mm
HDMI-1 connected 2560x1080+0+0 (0x9a) normal (normal left inverted right x axis y axis) 800mm x 345mm
Somehow the systems knows that your laptop display is positioned centered and below your external monitor at coordinates 375,1080 (x,y) and your external monitor is positioned on top at coordinates 0,0.

I think you should rename your xorg.conf file in `/etc/X11/xorg.conf.d/
According to your output it is reading modelines values from your xorg.conf file, isn’t it?

    ModeLine "3440x1440_75"  438.54  3440 3584 3680 3880  1440 1478 1482 1506 +HSync -VSync
    ModeLine "3440x1440_60"  319.75  3440 3488 3520 3600  1440 1443 1453 1250 +HSync -VSync
    ModeLine "2560x1080_60.00"  230.00  2560 2720 2992 3424  1080 1083 1093 1120 -HSync +VSync

Based from your output:

  3440x1440_75 (0x97) 438.540MHz +HSync -VSync
        h: width  3440 start 3584 end 3680 total 3880 skew    0 clock 113.03KHz
        v: height 1440 start 1478 end 1482 total 1506           clock  75.05Hz
  3440x1440_60 (0x98) 319.750MHz +HSync -VSync
        h: width  3440 start 3488 end 3520 total 3600 skew    0 clock  88.82KHz
        v: height 1440 start 1443 end 1453 total 1481           clock  59.97Hz
  2560x1080_60.00 (0x9a) 230.000MHz -HSync +VSync *current
        h: width  2560 start 2720 end 2992 total 3424 skew    0 clock  67.17KHz
        v: height 1080 start 1083 end 1093 total 1120           clock  59.98Hz

I have done some reading on HMDI 1.3/1.4 and its bandwidth is limited to 340 MHz. With this knowledge a resolution of 3440x1440@75Hz will not work, because the pixel clock rate is 438.540MHz. For 3440x1440@60Hz the pixel clock rate is at 319.750MHz, which is below 340MHz. I wonder if there is some other setting that is consuming bandwidth and therefore failing.

i arranged the displays before I executed the command, so the curious lines will come from that.

I think its reading from my xorg.config file so this should be fine. If i have to rename it, what would be a better name, as to my understanding xorg takes every file in that directory and uses it.

I agree with your resarch about HDMI, but I dont know what those errors mean that I get (especially crtc 64 and crtc 1). to know what those are would help a lot to understand whats happening.

To rule things out, it is better to not use settings in your xorg.conf file beforehand. Rename your xorg.conf file by changing the extension. Only files ending with .conf are used for configuration.

Try to get your external monitor with the highest resolution working with xrandr first and apply it later in your xorg.conf file.

CRTC is your display. In your situation crtc 0 is your laptop display and crtc 1 is your external monitor. I do not know why there is a mention of a crtc 64. It makes no sense.

eDP-1 connected primary 1920x1080+375+1080 (0x45) normal (normal left inverted right x axis y axis) 382mm x 215mm
	Identifier: 0x42
	Timestamp:  85049
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2
HDMI-1 connected 2560x1080+0+0 (0x9a) normal (normal left inverted right x axis y axis) 800mm x 345mm
	Identifier: 0x43
	Timestamp:  85049
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1 2

https://www.x.org/releases/X11R7.7/doc/man/man1/xrandr.1.xhtml
In the man page there is a mention of XID. It is the value between parentheses like in this example 1920x1080 (0x45) 138.700MHz +HSync -VSync *current +preferred

Do you need sound on your external monitor? Not sure if that consumes bandwidth, but you could turn it off.
Lowering your color depth could help a lot by setting “max bpc” to 8 bits per channel (= 24 bits per pixel). According to this calculator your bandwidth would be 8.92 Gbps, well under the maximum of 10.2 Gbps.

Based on step 3 from my previous post:
xrandr --output HDMI-1 --mode 3440x1440 --pos 0x0 --above eDP-1 --set "max bpc" 8 --set audio off --output eDP-1 --preferred --below HDMI-1
Maybe you could add before --output, option --fb 3440x2520

Current settings from your output of HDMI-1

max bpc: 12 
	range: (8, 12)
audio: auto 
	supported: force-dvi, off, auto, on

I disabled my config file and tried to get the highest resolution for the external manitor. The highest Mode I can get working is this one:

“3440x1440_45.00” 306.75 3440 3664 4024 4608 1440 1443 1453 1480 -hsync +vsync

I applied it with your three steps from your post.

Edit: trying to use --fb 3440x2520 didnt help with the mode you suggested

That mode will likely not work configured in your xorg.conf. It will be left out, because 45 Hz is out of your monitors range 48-76 Hz.

What happens if you add a mode with resolution 3440x1440@48 Hz? Does it work?
And what happens if you add a mode at 60 Hz but calculated with reduced blanking time?
cvt -r 3440 1440 60