I start things up on my 22" LCD flatpanel (LCM-22w2) and get 1400x1050, and not 1680x1050. Great, black bars on the side of the monitor. Ok, add a custom modeline.
All the online generators are for CRT monitors, but I finally track down a good, clear modeline:
Code: Select all
Modeline "1680x1050" 146.36 1680 1784 1960 2240 1050 1053 1059 1089
Seems to work fine, close to 60hz as I can get. But now, anything using Xv (X video extension) fails to work. When attempting to call XGetGeometry or XShmPutImage, the program crashes with:
Code: Select all
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 117
Current serial number in output stream: 118
xorg.0.log:
Code: Select all
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.so
(II) Module i2c: vendor="X.Org Foundation"
compiled for 6.9.0, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.8
...
(II) NV(0): I2C bus "DDC" initialized.
(II) NV(0): Probing for analog device on output A...
(--) NV(0): ...can't find one
(II) NV(0): Probing for analog device on output B...
(--) NV(0): ...found one
(II) NV(0): Probing for EDID on I2C bus A...
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "DDC:ddc2" removed.
(II) NV(0): ... none found
(II) NV(0): Probing for EDID on I2C bus B...
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "DDC:ddc2" removed.
(II) NV(0): ... none found
(--) NV(0): CRTC 0 is currently programmed for DFP
(II) NV(0): Using DFP on CRTC 0
(--) NV(0): Panel size is 1680 x 1050
(II) NV(0): Panel is TMDS
(--) NV(0): VideoRAM: 131072 kBytes
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): My Monitor: Using hsync range of 31.50-82.00 kHz
(II) NV(0): My Monitor: Using vrefresh range of 50.00-100.00 Hz
(II) NV(0): Clock range: 12.00 to 400.00 MHz
Code: Select all
(II) NV(0): Not using mode "1680x1050" (no mode of this name)