changing monitor with mode lines kills acceleration?

Elixer

Lifer
May 7, 2002
10,371
762
126
This is driving me nuts, this monitor doesn't have EDID.
The specs show
Code:
Dos-mode 640 × 350 31.47kHz 70Hz
Dos-mode 720 × 400 31.47kHz 70Hz
VGA
640 × 480 31.47kHz 60Hz
640 × 480 35.00kHz 66.6Hz
640 × 480 37.50kHz 75Hz
640 × 480 37.86kHz 72Hz
SVGA
800 × 600 37.879kHz 60Hz
800 × 600 46.875kHz 75Hz
800 × 600 35.16kHz 56Hz
800 × 600 48.01kHz 72Hz
832 × 624 49.725kHz 75Hz
XGA
1024 × 768 48.363kHz 60Hz
1024 × 768 56.476kHz 70Hz
1024 × 768 60.02kHz 75Hz
SXGA
1280 × 1024 64.00kHz 60Hz
1280 × 1024 80.00kHz 75Hz

Code:
Driving system TFT Color LCD
LCD Panel Size 48cm(19")
Pixel pitch 0.294mm( H ) × 0.294mm( V )
Video R,G,B Analog Interface
Input Separate Sync. H/V TTL
H-Frequency 30kHz – 80kHz
V-Frequency 55-75Hz
Display Colors 16.2M Colors
Dot Clock 135MHz
Max. Resolution 1280 × 1024 @75Hz
Plug & Play VESA DDC2BTM
Maximum Screen Size Horizontal : 376.32mm
Vertical: 301.056mm
When I enter that information, and reboot the system, the next time it boots, I am in 640x480 and have no hardware acceleration.
I then need to nuke xorg.conf, and restart the display manager to get things working again, but that is in 1024x768, and it won't allow me to go any higher.
Using Nvidia's binary blobs, and the vid card is a 750.

My modelines are
Code:
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync

In windows, same monitor, all is fine, I can even rotate the monitor, and that works as well.

Looking at windows inf file for the monitor it shows
Code:
HKR,"MODES\1280,1024",Mode1,,"24.0-80.0,55.0-75.0,+,+"
Manually trying it I get:
Code:
v@FXE_X4 ~ $ xrandr | grep -e " connected [^(]" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/"
DVI-I-0
v@FXE_X4 ~ $ cvt 1280 1024 60
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
v@FXE_X4 ~ $ xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync 
v@FXE_X4 ~ $ 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:  37
  Current serial number in output stream:  38

Argh.
Anyone got any ideas?
 

lxskllr

No Lifer
Nov 30, 2004
59,424
9,944
126
I never spent much time hand tweaking xorg. I just do stuff after searching the web, and it starts working(or not).Have you tried the free driver?
 

Elixer

Lifer
May 7, 2002
10,371
762
126
No, haven't tried the nouveau drivers yet, still playing around with the binary blobs.

Yeah, saw that one Jodell, didn't help.

There are lots of people getting the 'X Error of failed request: BadMatch (invalid parameter attributes)' error, but, there don't seem to be a common solution to this.
I wonder if Wayland will be better?