You are not logged in.
Pages: 1
Hi there. My GPU is GTX650, my native resolution is 1280x1024, but I can't set it.
[duckerman@duck ~]$ xrandr --addmode DVI-I-0 1280x1024_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: 35
Current serial number in output stream: 36
I use DVI-to-VGA adapter
Solution:
Add custom EDID file
Last edited by DuckerMan (2020-06-13 15:15:12)
Offline
Did you create a valid modeline for it?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Did you create a valid modeline for it?
Yep, I've tried
sudo xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
Last edited by DuckerMan (2020-06-12 18:26:39)
Offline
May be my monitor generates wrong EDID?
Offline
a) wrong use of sudo
b) Post the output of "xrandr -q" and your xorg log, please.
Offline
Screen 0: minimum 8 x 8, current 1280 x 800, maximum 16384 x 16384
DVI-I-0 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00 +
1600x900 59.82
1400x900 59.88
1368x768 59.88 59.85
1280x800 59.91* 59.81
1280x720 59.86 59.74
1024x576 59.90 59.82
960x540 59.82 59.63
864x486 59.92 59.57
800x600 72.19 60.32 56.25
800x450 59.82
700x450 59.88
684x384 59.88 59.85
640x480 59.94
640x400 59.98 59.88
640x360 59.86 59.83
512x384 60.00
512x288 60.00 59.92
480x270 59.82 59.63
432x243 59.92 59.57
400x300 72.19
320x240 60.05
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
1280x1024_60.00 (0x2e1) 109.000MHz -HSync +VSync
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz
v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz
Offline
and your xorg log, please
Offline
Where can I get it?
Offline
seth wrote:and your xorg log, please
Offline
drm.edid_firmware=edid/1280x1024.bin
What is that file?
[ 26.052] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 26.052] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 26.212] (==) ServerLayout "Layout0"
[ 26.212] (**) |-->Screen "Screen0" (0)
[ 26.212] (**) | |-->Monitor "Monitor0"
[ 26.254] (**) | |-->Device "Device0"
[ 26.285] (**) |-->Input Device "Keyboard0"
[ 26.286] (**) |-->Input Device "Mouse0"
You somewhere have an xorg.conf written by nvidia-xconfig (or the settings gui), please post that.
[ 28.112] (**) NVIDIA(0): Option "ConnectedMonitor" "DVI-I-0"
[ 29.598] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[ 29.609] (WW) NVIDIA(0): CRT-0 does not have an EDID, or its EDID does not contain a
[ 29.609] (WW) NVIDIA(0): maximum image size; cannot compute DPI from CRT-0's EDID.
What brings us to the core of the problem.
What monitor (vendor/model) is that?
If you have a proper EDID file for it, you can make use of
Option "CustomEDID" "string"
Otherwise use the "AllowNonEdidModes" or "ModeValidation" options, see /usr/share/doc/nvidia/README
Offline
It's default EDID, I guess (I've already deleted it)
My xorg.conf is:
[duckerman@duck ~]$ cat /etc/X11/xorg.conf.d/20-nvidia.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 440.82
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
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"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ConnectedMonitor" "DVI-I-0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "COMPOSITE" "Disable"
EndSection
I dont know where to get EDID file
What monitor (vendor/model) is that?
Acer V173
Last edited by DuckerMan (2020-06-13 07:17:48)
Offline
# generated from default
Yeah, it's a bunch of pointless cruft
I dont know where to get EDID file
https://github.com/linuxhw/EDID
https://github.com/linuxhw/EDID/tree/ma … er/ACR0019
I'm not sure whether there are meaningful differences in the variants.
Try sth. like this
Section "Device"
Identifier "Default nvidia Device"
Driver "nvidia"
Option "NoLogo" "True" # not strictly necessary ;-)
Option "CustomEDID" "CRT-0:/path/to/edid1.bin"
EndSection
The binary edid is the hex block on the top, you can use an hexeditor or https://aur.archlinux.org/packages/hex2bin/ to generate the binary file.
Offline
# generated from default
Yeah, it's a bunch of pointless cruft
I dont know where to get EDID file
https://github.com/linuxhw/EDID
https://github.com/linuxhw/EDID/tree/ma … er/ACR0019I'm not sure whether there are meaningful differences in the variants.
Try sth. like this
Section "Device" Identifier "Default nvidia Device" Driver "nvidia" Option "NoLogo" "True" # not strictly necessary ;-) Option "CustomEDID" "CRT-0:/path/to/edid1.bin" EndSection
The binary edid is the hex block on the top, you can use an hexeditor or https://aur.archlinux.org/packages/hex2bin/ to generate the binary file.
https://github.com/linuxhw/EDID/tree/ma … er/ACR0019
So which one do I have to choose?
Offline
Also I cant convert it:
sudo hex2bin -i 07747D598FF9.txt -o edid.bin
terminate called after throwing an instance of 'std::invalid_argument'
what(): stol
Offline
I thinks it's wrong location, it must be https://github.com/linuxhw/EDID/tree/ma … er/ACR0023
So how can I make `.bin` file?
Last edited by DuckerMan (2020-06-13 08:41:57)
Offline
And why do you think that?
The first link has
Acer ACR0019 V173 1280x1024 340x270mm 17.1 2011 0941B
If your txt looks like
00 ff ff ff ff ff ff 00 04 72 19 00 08 ca 7d 83
25 12 01 03 08 22 1b 78 ea dc 55 a3 59 48 9e 24
11 50 54 bf ef 80 71 4f 01 01 01 01 01 01 01 01
01 01 01 01 01 01 30 2a 00 98 51 00 2a 40 30 70
13 00 52 0e 11 00 00 1e 00 00 00 fd 00 38 4b 1e
53 0e 00 0a 20 20 20 20 20 20 00 00 00 ff 00 4c
42 4e 30 43 30 32 33 34 30 30 32 0a 00 00 00 fc
00 56 31 37 33 0a 20 20 20 20 20 20 20 20 00 79
Use "hex2bin -l 47 …" - and please stop abusing sudo. Sudo is not a "make it work" fix.
Offline
And why do you think that?
Because my display in analog. They are listed there: https://github.com/linuxhw/EDID/blob/ma … Display.md
Last edited by DuckerMan (2020-06-13 11:16:19)
Offline
So???
Acer ACR0019 V173 1280x1024 340x270mm 17.1 2010 20614
Acer ACR0019 V173 1280x1024 340x270mm 17.1 2009 49EB7
Acer ACR0019 V173 1280x1024 340x270mm 17.1 2008 07747
Offline
So???
Acer ACR0019 V173 1280x1024 340x270mm 17.1 2010 20614 Acer ACR0019 V173 1280x1024 340x270mm 17.1 2009 49EB7 Acer ACR0019 V173 1280x1024 340x270mm 17.1 2008 07747
So, I add what you said and..
It works, thanks! If I change any settings in nvidia-settings, will I have to add EDID again?
Offline
Only if you use it to over/write an xorg config - what your should not do in general (because it creates a static server layout full of cruft)
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1