You are not logged in.

#1 2021-10-22 12:18:43

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Forcing EDID doesn't work at all

Hello. Recently, I tried to use wayland, but faced with some extremely stupid problem - resolution of my monitor was not higher than 1024x768. After reading several forums and wiki's I tried to change my EDID. But, for some reason, it didn't worked at all. I generated my EDID through this generator. I created a folder in /lib/firmware/edid and inserted this file into edid folder. After that, I changed the kernel boot parameters and rebooted my PC. Weird, but it's not working for whatever reason. I also tried to make some manipulations in mkinitcpio.conf file (changed FILES setting to '/usr/lib/firmware/edid/1440x900.bin'), inserted drm.edid_firmware=edid/1440x900.bin into kernel boot parameters. Using NVIDIA videocard (recent drivers should support both libraries that needed to proper wayland work). Nvidia KMS is also turned on. And yeah, I altered edid_firmware to proper work with KMS. Even without Nvidia KMS it doesn't work. Also, I can't use debugfs instead, because for whatever reason it gives me this thing:

cat: write error: Invalid argument error

What I can do with it?
Here's some output:

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ac7b7769-cf52-4bb8-888e-3f269dfeae80 rw loglevel=3 quiet drm.edid_firmware=edid/1440x900.bin nvidia-drm.modeset=1
[    0.067725] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ac7b7769-cf52-4bb8-888e-3f269dfeae80 rw loglevel=3 quiet drm.edid_firmware=edid/1440x900.bin nvidia-drm.modeset=1
[root@atimonder1 edid]# dmesg|grep -i edid
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ac7b7769-cf52-4bb8-888e-3f269dfeae80 rw loglevel=3 quiet drm.edid_firmware=edid/1440x900.bin nvidia-drm.modeset=1
[    0.067725] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ac7b7769-cf52-4bb8-888e-3f269dfeae80 rw loglevel=3 quiet drm.edid_firmware=edid/1440x900.bin nvidia-drm.modeset=1
[    4.469133] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[    4.485902] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[    8.455369] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[    9.707674] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   11.424236] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   15.773573] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   16.197390] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   17.264343] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   19.650789] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   27.732173] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   31.859243] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   32.926192] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   34.146721] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   45.709988] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   45.951507] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[   47.041506] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[  294.226950] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0

Last edited by atimonder1 (2021-10-22 12:25:48)

Offline

#2 2021-10-22 12:57:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

"some manipulations in mkinitcpio.conf" w/o running mkinitcpio does nothing.

lsinitcpio /boot/initramfs-linux.img | grep -iE '(nvidia|edid)'

Online

#3 2021-10-22 14:28:45

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

"some manipulations in mkinitcpio.conf" w/o running mkinitcpio does nothing.

lsinitcpio /boot/initramfs-linux.img | grep -iE '(nvidia|edid)'
etc/modprobe.d/edid.conf
usr/lib/firmware/edid/
usr/lib/firmware/edid/1440x900.bin
usr/lib/firmware/nvidia/
usr/lib/firmware/nvidia/470.74/
usr/lib/firmware/nvidia/470.74/gsp.bin
usr/lib/modprobe.d/nvidia.conf
usr/lib/modules/5.14.14-arch1-1/kernel/nvidia-drm.ko
usr/lib/modules/5.14.14-arch1-1/kernel/nvidia.ko
usr/lib/modules/5.14.14-arch1-1/kernel/nvidia-modeset.ko
usr/lib/modules/5.14.14-arch1-1/kernel/nvidia-uvm.ko

I know that it does nothing w/o mkinitcpio. How you see, it's loaded after mkinitcpio. But it for whatever reason doesn't do anything. Even in resolution change it doesn't appear

Offline

#4 2021-10-22 14:43:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

WARNING: GPU:0: Unable to read EDID for display device DVI-I-0

cat: write error: Invalid argument error

The coming latter from

cat 1440x900.bin > /sys/kernel/debug/dri/0/DVI-I-0/edid_override

?
The EDID could be invalid.

Have you btw. tried to pass the mode to the video parameter?
https://wiki.archlinux.org/title/Kernel … cing_modes

Online

#5 2021-10-22 14:51:19

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

Have you btw. tried to pass the mode to the video parameter?
https://wiki.archlinux.org/title/Kernel … cing_modes

Yeah, actually.

video=DVI-I-1:1440x900@65MR

For whatever reason it doesn't work. And yeah, using adapted DVI to VGA. I don't sure that the problem in it, because in xorg.conf with some magic (configuring horizsync and vertrefresh) it works pretty good. Even if EDID is invalid, how i could fix it?

Last edited by atimonder1 (2021-10-22 14:53:58)

Offline

#6 2021-10-22 14:53:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

"Doesn't" work also on the console or only in the wayland compositor (being btw. which one?)

Online

#7 2021-10-22 14:55:15

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

"Doesn't" work also on the console or only in the wayland compositor (being btw. which one?)

Everywhere. It just, for some reason, cannot apply this binary file

Offline

#8 2021-10-22 15:22:48

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

Used other (this) program to generate EDID - still the same error as before
upd. at least, "cat" started to work and no longer throwing me "cat: write error: Invalid argument error"

Last edited by atimonder1 (2021-10-22 15:30:32)

Offline

#9 2021-10-22 20:05:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

Does writing the new edid into the debugfs get you the desired resolution or is only the error gone?
Sure you successfully moved it into the initramfs then (different filename)?

Online

#10 2021-10-23 12:19:35

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

Does writing the new edid into the debugfs get you the desired resolution or is only the error gone?
Sure you successfully moved it into the initramfs then (different filename)?

Unfortunately no. I can't figure out why it doesn't want to work at all. I am doing everything right, it simply does not want to use it for some reason that I do not understand

Offline

#11 2021-10-23 14:04:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

Try to address the output directly

video=DVI-I-0:e drm.edid_firmware=DVI-I-0:edid/1440x900.bin

Online

#12 2021-10-23 16:11:15

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

Try to address the output directly

video=DVI-I-0:e drm.edid_firmware=DVI-I-0:edid/1440x900.bin

It still does not work, I tried DVI-I-1 as well - still, for some reason, does not want to display the screen extension for me. It does not even give any error, except that it cannot find the EDID of my monitor, which you already saw

Offline

#13 2021-10-26 13:18:53

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

So yeah, I didn't find the actual reason how to fix it, lol

Offline

#14 2021-10-26 19:26:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

What's the actual monitor vendor/model/version?
Can you please post an xorg log and the output of "xrandr --verbose" w/ the desired resolution in use?

Online

#15 2021-10-30 08:49:31

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

What's the actual monitor vendor/model/version?
Can you please post an xorg log and the output of "xrandr --verbose" w/ the desired resolution in use?

Hanns-G HW191A. About the output:

Screen 0: minimum 8 x 8, current 1440 x 900, maximum 16384 x 16384
DVI-I-0 connected primary 1440x900+0+0 (0x2e8) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x27d
	Timestamp:  28967
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	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: VGA 
		supported: VGA
	ConnectorType: DVI-I 
	ConnectorNumber: 0 
	_ConnectorLocation: 0 
	non-desktop: 0 
		supported: 0, 1
  1024x768 (0x27e) 78.750MHz +HSync +VSync +preferred
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  2048x1152 (0x27f) 156.750MHz +HSync -VSync
        h: width  2048 start 2096 end 2128 total 2208 skew    0 clock  70.99KHz
        v: height 1152 start 1155 end 1160 total 1185           clock  59.91Hz
  2048x1152 (0x280) 197.000MHz -HSync +VSync
        h: width  2048 start 2184 end 2400 total 2752 skew    0 clock  71.58KHz
        v: height 1152 start 1155 end 1160 total 1195           clock  59.90Hz
  1920x1200 (0x281) 154.000MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  74.04KHz
        v: height 1200 start 1203 end 1209 total 1235           clock  59.95Hz
  1920x1200 (0x282) 193.250MHz -HSync +VSync
        h: width  1920 start 2056 end 2256 total 2592 skew    0 clock  74.56KHz
        v: height 1200 start 1203 end 1209 total 1245           clock  59.88Hz
  1920x1080 (0x283) 173.000MHz -HSync +VSync
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz
  1920x1080 (0x284) 138.500MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  66.59KHz
        v: height 1080 start 1083 end 1088 total 1111           clock  59.93Hz
  1680x1050 (0x285) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1680x1050 (0x286) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1600x1200 (0x287) 175.500MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  81.25KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  65.00Hz
  1600x1200 (0x288) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1600x900 (0x289) 118.250MHz -HSync +VSync
        h: width  1600 start 1696 end 1856 total 2112 skew    0 clock  55.99KHz
        v: height  900 start  903 end  908 total  934           clock  59.95Hz
  1600x900 (0x28a) 97.500MHz +HSync -VSync
        h: width  1600 start 1648 end 1680 total 1760 skew    0 clock  55.40KHz
        v: height  900 start  903 end  908 total  926           clock  59.82Hz
  1440x900 (0x2e8) 96.500MHz +HSync -VSync *current
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock  60.31KHz
        v: height  900 start  903 end  907 total  928           clock  64.99Hz
  1400x1050 (0x28b) 155.800MHz +HSync +VSync
        h: width  1400 start 1464 end 1784 total 1912 skew    0 clock  81.49KHz
        v: height 1050 start 1052 end 1064 total 1090           clock  74.76Hz
  1400x1050 (0x28c) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1400x900 (0x28d) 103.500MHz -HSync +VSync
        h: width  1400 start 1480 end 1624 total 1848 skew    0 clock  56.01KHz
        v: height  900 start  903 end  913 total  934           clock  59.96Hz
  1400x900 (0x28e) 86.500MHz +HSync -VSync
        h: width  1400 start 1448 end 1480 total 1560 skew    0 clock  55.45KHz
        v: height  900 start  903 end  913 total  926           clock  59.88Hz
  1368x768 (0x28f) 85.250MHz -HSync +VSync
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
  1368x768 (0x290) 72.250MHz +HSync -VSync
        h: width  1368 start 1416 end 1448 total 1528 skew    0 clock  47.28KHz
        v: height  768 start  771 end  781 total  790           clock  59.85Hz
  1280x1024 (0x291) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x292) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x293) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1280x800 (0x294) 71.000MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  49.31KHz
        v: height  800 start  803 end  809 total  823           clock  59.91Hz
  1280x800 (0x295) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x296) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1280x720 (0x297) 63.750MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  44.27KHz
        v: height  720 start  723 end  728 total  741           clock  59.74Hz
  1152x864 (0x298) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x299) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x29a) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  1024x576 (0x29b) 46.500MHz -HSync +VSync
        h: width  1024 start 1064 end 1160 total 1296 skew    0 clock  35.88KHz
        v: height  576 start  579 end  584 total  599           clock  59.90Hz
  1024x576 (0x29c) 42.000MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  35.47KHz
        v: height  576 start  579 end  584 total  593           clock  59.82Hz
  1024x576 (0x29d) 78.375MHz +HSync -VSync DoubleScan
        h: width  1024 start 1048 end 1064 total 1104 skew    0 clock  70.99KHz
        v: height  576 start  577 end  580 total  592           clock  59.96Hz
  1024x576 (0x29e) 98.500MHz -HSync +VSync DoubleScan
        h: width  1024 start 1092 end 1200 total 1376 skew    0 clock  71.58KHz
        v: height  576 start  577 end  580 total  597           clock  59.95Hz
  960x600 (0x29f) 77.000MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  74.04KHz
        v: height  600 start  601 end  604 total  617           clock  60.00Hz
  960x600 (0x2a0) 96.625MHz -HSync +VSync DoubleScan
        h: width   960 start 1028 end 1128 total 1296 skew    0 clock  74.56KHz
        v: height  600 start  601 end  604 total  622           clock  59.93Hz
  960x540 (0x2a1) 37.250MHz +HSync -VSync
        h: width   960 start 1008 end 1040 total 1120 skew    0 clock  33.26KHz
        v: height  540 start  543 end  548 total  556           clock  59.82Hz
  960x540 (0x2a2) 40.750MHz -HSync +VSync
        h: width   960 start  992 end 1088 total 1216 skew    0 clock  33.51KHz
        v: height  540 start  543 end  548 total  562           clock  59.63Hz
  960x540 (0x2a3) 69.250MHz +HSync -VSync DoubleScan
        h: width   960 start  984 end 1000 total 1040 skew    0 clock  66.59KHz
        v: height  540 start  541 end  544 total  555           clock  59.99Hz
  960x540 (0x2a4) 86.500MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1124 total 1288 skew    0 clock  67.16KHz
        v: height  540 start  541 end  544 total  560           clock  59.96Hz
  864x486 (0x2a5) 32.500MHz -HSync +VSync
        h: width   864 start  888 end  968 total 1072 skew    0 clock  30.32KHz
        v: height  486 start  489 end  494 total  506           clock  59.92Hz
  864x486 (0x2a6) 30.500MHz +HSync -VSync
        h: width   864 start  912 end  944 total 1024 skew    0 clock  29.79KHz
        v: height  486 start  489 end  494 total  500           clock  59.57Hz
  840x525 (0x2a7) 73.125MHz -HSync +VSync DoubleScan
        h: width   840 start  892 end  980 total 1120 skew    0 clock  65.29KHz
        v: height  525 start  526 end  529 total  544           clock  60.01Hz
  840x525 (0x2a8) 59.500MHz +HSync -VSync DoubleScan
        h: width   840 start  864 end  880 total  920 skew    0 clock  64.67KHz
        v: height  525 start  526 end  529 total  540           clock  59.88Hz
  832x624 (0x2a9) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0x2aa) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x2ab) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x2ac) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x2ad) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  800x450 (0x2ae) 59.125MHz -HSync +VSync DoubleScan
        h: width   800 start  848 end  928 total 1056 skew    0 clock  55.99KHz
        v: height  450 start  451 end  454 total  467           clock  59.95Hz
  800x450 (0x2af) 48.750MHz +HSync -VSync DoubleScan
        h: width   800 start  824 end  840 total  880 skew    0 clock  55.40KHz
        v: height  450 start  451 end  454 total  463           clock  59.82Hz
  720x405 (0x2b0) 22.500MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  25.11KHz
        v: height  405 start  408 end  413 total  422           clock  59.51Hz
  720x405 (0x2b1) 21.750MHz +HSync -VSync
        h: width   720 start  768 end  800 total  880 skew    0 clock  24.72KHz
        v: height  405 start  408 end  413 total  419           clock  58.99Hz
  700x525 (0x2b2) 77.900MHz +HSync +VSync DoubleScan
        h: width   700 start  732 end  892 total  956 skew    0 clock  81.49KHz
        v: height  525 start  526 end  532 total  545           clock  74.76Hz
  700x525 (0x2b3) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  700x450 (0x2b4) 51.750MHz -HSync +VSync DoubleScan
        h: width   700 start  740 end  812 total  924 skew    0 clock  56.01KHz
        v: height  450 start  451 end  456 total  467           clock  59.96Hz
  700x450 (0x2b5) 43.250MHz +HSync -VSync DoubleScan
        h: width   700 start  724 end  740 total  780 skew    0 clock  55.45KHz
        v: height  450 start  451 end  456 total  463           clock  59.88Hz
  684x384 (0x2b6) 42.625MHz -HSync +VSync DoubleScan
        h: width   684 start  720 end  788 total  892 skew    0 clock  47.79KHz
        v: height  384 start  385 end  390 total  399           clock  59.88Hz
  684x384 (0x2b7) 36.125MHz +HSync -VSync DoubleScan
        h: width   684 start  708 end  724 total  764 skew    0 clock  47.28KHz
        v: height  384 start  385 end  390 total  395           clock  59.85Hz
  640x480 (0x2b8) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x2b9) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  492 total  520           clock  72.81Hz
  640x480 (0x2ba) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  640x400 (0x2bb) 35.500MHz +HSync -VSync DoubleScan
        h: width   640 start  664 end  680 total  720 skew    0 clock  49.31KHz
        v: height  400 start  401 end  404 total  411           clock  59.98Hz
  640x400 (0x2bc) 41.750MHz -HSync +VSync DoubleScan
        h: width   640 start  676 end  740 total  840 skew    0 clock  49.70KHz
        v: height  400 start  401 end  404 total  415           clock  59.88Hz
  640x360 (0x2bd) 37.250MHz -HSync +VSync DoubleScan
        h: width   640 start  672 end  736 total  832 skew    0 clock  44.77KHz
        v: height  360 start  361 end  364 total  374           clock  59.86Hz
  640x360 (0x2be) 31.875MHz +HSync -VSync DoubleScan
        h: width   640 start  664 end  680 total  720 skew    0 clock  44.27KHz
        v: height  360 start  361 end  364 total  370           clock  59.83Hz
  512x384 (0x2bf) 37.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  664 skew    0 clock  56.48KHz
        v: height  384 start  385 end  388 total  403           clock  70.07Hz
  512x384 (0x2c0) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  512x288 (0x2c1) 23.250MHz -HSync +VSync DoubleScan
        h: width   512 start  532 end  580 total  648 skew    0 clock  35.88KHz
        v: height  288 start  289 end  292 total  299           clock  60.00Hz
  512x288 (0x2c2) 21.000MHz +HSync -VSync DoubleScan
        h: width   512 start  536 end  552 total  592 skew    0 clock  35.47KHz
        v: height  288 start  289 end  292 total  296           clock  59.92Hz
  480x270 (0x2c3) 18.625MHz +HSync -VSync DoubleScan
        h: width   480 start  504 end  520 total  560 skew    0 clock  33.26KHz
        v: height  270 start  271 end  274 total  278           clock  59.82Hz
  480x270 (0x2c4) 20.375MHz -HSync +VSync DoubleScan
        h: width   480 start  496 end  544 total  608 skew    0 clock  33.51KHz
        v: height  270 start  271 end  274 total  281           clock  59.63Hz
  432x243 (0x2c5) 16.250MHz -HSync +VSync DoubleScan
        h: width   432 start  444 end  484 total  536 skew    0 clock  30.32KHz
        v: height  243 start  244 end  247 total  253           clock  59.92Hz
  432x243 (0x2c6) 15.250MHz +HSync -VSync DoubleScan
        h: width   432 start  456 end  472 total  512 skew    0 clock  29.79KHz
        v: height  243 start  244 end  247 total  250           clock  59.57Hz
  400x300 (0x2c7) 25.000MHz +HSync +VSync DoubleScan
        h: width   400 start  428 end  488 total  520 skew    0 clock  48.08KHz
        v: height  300 start  318 end  321 total  333           clock  72.19Hz
  360x202 (0x2c8) 11.250MHz -HSync +VSync DoubleScan
        h: width   360 start  372 end  404 total  448 skew    0 clock  25.11KHz
        v: height  202 start  204 end  206 total  211           clock  59.51Hz
  360x202 (0x2c9) 10.875MHz +HSync -VSync DoubleScan
        h: width   360 start  384 end  400 total  440 skew    0 clock  24.72KHz
        v: height  202 start  204 end  206 total  209           clock  59.13Hz
  320x240 (0x2ca) 15.750MHz -HSync -VSync DoubleScan
        h: width   320 start  332 end  352 total  416 skew    0 clock  37.86KHz
        v: height  240 start  244 end  246 total  260           clock  72.81Hz
  320x240 (0x2cb) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
DVI-I-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x2cc
	Timestamp:  28967
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	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: DVI-I 
	ConnectorNumber: 0 
	_ConnectorLocation: 0 
	non-desktop: 0 
		supported: 0, 1
HDMI-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x2cd
	Timestamp:  28967
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	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 
	non-desktop: 0 
		supported: 0, 1
DP-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x2ce
	Timestamp:  28967
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	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: DisplayPort 
	ConnectorNumber: 2 
	_ConnectorLocation: 2 
	non-desktop: 0 
		supported: 0, 1
DVI-D-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x2cf
	Timestamp:  28967
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	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: DVI-D 
	ConnectorNumber: 3 
	_ConnectorLocation: 3 
	non-desktop: 0 
		supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x2d0
	Timestamp:  28967
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	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: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 2 
	_ConnectorLocation: 2 
	non-desktop: 0 
		supported: 0, 1

At the moment I'm using the xrandr session, changing horizsync and vertrefresh in order to be able to add a custom screen resolution. There is no such thing in wayland though

Offline

#16 2021-10-30 13:39:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

Hanns-G HW191A

And yeah, using adapted DVI to VGA

I missed that edit(?) - what is the adapter? (The monitor is irrelevant now)
Do you have a VGA port somewhere so you could dump the EDID from the monitor?

Online

#17 2021-10-30 14:22:23

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

what is the adapter? (The monitor is irrelevant now)

DVI-I to VGA adapter. Most likely, this is the problem, but I can't replace it in any way (delivery of another adapter will take a month from aliexpress)

seth wrote:

Do you have a VGA port somewhere so you could dump the EDID from the monitor?

Probably. There is a built-in videocard in the motherboard. Everything is fine with the screen resolution if I use this card (it's obvious that I can't use this videocard, because of its slowness). How can I dump the EDID image from the monitor, though? Even if I will extract this, what I'll need to do then? Or just simply try to use this image in the boot arguments?

Last edited by atimonder1 (2021-10-30 14:27:31)

Offline

#18 2021-10-30 15:18:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

DVI-I to VGA adapter.

I meant more like "the brand" (vendor/model)

How can I dump the EDID image from the monitor, though?

https://archlinux.org/packages/communit … read-edid/

In X11 your're running at

  1440x900 (0x2e8) 96.500MHz +HSync -VSync *current
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock  60.31KHz
        v: height  900 start  903 end  907 total  928           clock  64.99Hz

Which is kinda between the regular and the reduced blanking modeline - what modeline(s) did you use to generate the EDID?

Online

#19 2021-10-30 15:48:12

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

I meant more like "the brand" (vendor/model)

I don't actually know (or remember?), bought this thing over 3-4 years ago. I suppose, it doesn't support EDID extracting?

seth wrote:

Which is kinda between the regular and the reduced blanking modeline - what modeline(s) did you use to generate the EDID?

??? If we're talking about the programs that used to create the EDID, I used this (to create 1440x900 resolution).
If we're talking about the actual resolution - created it by UMC (umc 1440 900 65 --rbt), because default "cvt" command can't create reduced blanking normally.

Offline

#20 2021-10-30 19:32:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

It allows you to generate an EDID from a (some) modelines, incl. actually the Xorg log (I guess from the script)
Of course cvt can produce reduced blanking modelines, cvt12 even v1.2 of them - https://aur.archlinux.org/packages/cvt12-git/
And the regular reduced blanking modeline (w/ a lower pixelclock than the one you're using) even shows up in the xrandr output:

  1400x900 (0x28e) 86.500MHz +HSync -VSync
        h: width  1400 start 1448 end 1480 total 1560 skew    0 clock  55.45KHz
        v: height  900 start  903 end  913 total  926           clock  59.88Hz

So, what was the exact modeline(s) you provided to the edid generator?

Also: did you create it w/ "umc 1440 900 65 --rbt" ie. for a 65Hz frequency??

Online

#21 2021-10-31 07:49:00

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

So, what was the exact modeline(s) you provided to the edid generator?

This, I guess?

"1440x900" 96.500000 1440 1488 1520 1600 900 903 907 928 +HSync -VSync
seth wrote:

Also: did you create it w/ "umc 1440 900 65 --rbt" ie. for a 65Hz frequency??

Yes, do not pay attention (60Hz seems too "ragged" for me, because of rhythm games)

Offline

#22 2021-10-31 07:53:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

You cannot just willy nilly create bogus edids w/ invalid frequencies and eg. the v1.0 reduced blanking is only specified for multiples of 60Hz to begin with…

% cvt12 1440 900 60
# 1440x900 @ 60.000 Hz (CVT) field rate 59.887 Hz; hsync: 55.935 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync
% cvt12 1440 900 60 -r
# 1440x900 @ 60.000 Hz Reduced Blank (CVT) field rate 59.901 Hz; hsync: 55.469 kHz; pclk: 88.75 MHz
Modeline "1440x900_60.00_rb1"  88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync
% cvt12 1440 900 60 -b
# 1440x900 @ 60.000 Hz Reduced Blank (CVT) field rate 60.000 Hz; hsync: 55.560 kHz; pclk: 84.45 MHz
Modeline "1440x900_60.00_rb2"  84.45  1440 1448 1480 1520  900 912 920 926 +hsync -vsync
% cvt12 1440 900 65
# 1440x900 @ 65.000 Hz (CVT) field rate 64.896 Hz; hsync: 60.807 kHz; pclk: 116.75 MHz
Modeline "1440x900_65.00"  116.75  1440 1528 1680 1920  900 903 909 937 -hsync +vsync
% cvt12 1440 900 65 -b
# 1440x900 @ 65.000 Hz Reduced Blank (CVT) field rate 65.000 Hz; hsync: 60.320 kHz; pclk: 91.69 MHz
Modeline "1440x900_65.00_rb2"  91.69  1440 1448 1480 1520  900 914 922 928 +hsync -vsync

Online

#23 2021-10-31 08:13:49

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

You cannot just willy nilly create bogus edids w/ invalid frequencies and eg. the v1.0 reduced blanking is only specified for multiples of 60Hz to begin with…

It turns out that the whole problem is in the wrong image?

Offline

#24 2021-10-31 12:28:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,241

Re: Forcing EDID doesn't work at all

Possibly, but I'd certainaly try an EDID w/ sane modelines first (or ideally the actual one from the monitor)

Online

#25 2021-10-31 13:10:34

atimonder1
Member
From: Ukraine, Volyns'ka oblast
Registered: 2021-01-13
Posts: 17

Re: Forcing EDID doesn't work at all

seth wrote:

Possibly, but I'd certainaly try an EDID w/ sane modelines first (or ideally the actual one from the monitor)

It still doesn't work. Even if I try to use an images with an integrated video card, it will not apply it. It is very strange

Offline

Board footer

Powered by FluxBB