[Intel-gfx] xrandr scaling bug

Alexander E. Patrakov patrakov at gmail.com
Sat May 15 07:00:20 CEST 2010


Hello,

I tried playing with xrandr transforms on my 1280x1024 screen. 
Intention: simulate a lower-resolution screen, add black bars, keep 
aspect ratio. Result: first it worked, then gave X errors. Also with the 
non-identity transform, in GTK menus, when selecting a menu item, it is 
not fully painted in blue initially (looks like a tiling artifact), this 
corrects itself in half a second or so.

I am using Gentoo ~amd64, xorg-server-1.8.0, xf86-video-intel-2.11.0, 
mesa-7.8.1, linux-2.6.33-gentoo-r2 (contains upstream 2.6.33.3). Here is 
what I did:

aep at home ~ $ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
DVI1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 
338mm x 270mm
    1280x1024      60.0*+   75.0
    1280x960       60.0
    1152x864       75.0
    1024x768       75.1     70.1     60.0
    832x624        74.6
    800x600        72.2     75.0     60.3     56.2
    640x480        72.8     75.0     66.7     60.0
    720x400        70.1
aep at home ~ $ xrandr --fb 1024x768 --output DVI1 --transform 
1,0,128,0,1,128,0,0,1
xrandr: specified screen 1024x768 not large enough for output DVI1 
(1280x1024+128+128)
aep at home ~ $ xrandr --fb 1024x768 --output DVI1 --transform 
1,0,-128,0,1,-128,0,0,1
xrandr: specified screen 1024x768 not large enough for output DVI1 
(1280x1024+-128+-128)
aep at home ~ $ xrandr --fb 1280x960 --output DVI1 --transform 
1,0,0,0,1,-32,0,0,1
xrandr: specified screen 1280x960 not large enough for output DVI1 
(1280x1024+0+-32)
X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  149 (RANDR)
   Minor opcode of failed request:  7 (RRSetScreenSize)
   Serial number of failed request:  24
   Current serial number in output stream:  26
aep at home ~ $ xrandr --fb 1280x960 --output DVI1 --transform 
1,0,0,0,1,-32,0,0,1
xrandr: specified screen 1280x960 not large enough for output DVI1 
(1280x1024+0+-32)
aep at home ~ $ xrandr --auto
X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  149 (RANDR)
   Minor opcode of failed request:  7 (RRSetScreenSize)
   Serial number of failed request:  24
   Current serial number in output stream:  26
aep at home ~ $ xrandr --auto
X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  149 (RANDR)
   Minor opcode of failed request:  7 (RRSetScreenSize)
   Serial number of failed request:  24
   Current serial number in output stream:  26
aep at home ~ $ xrandr --output DVI1 --auto
X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  149 (RANDR)
   Minor opcode of failed request:  7 (RRSetScreenSize)
   Serial number of failed request:  24
   Current serial number in output stream:  25

-- 
Alexander E. Patrakov



More information about the Intel-gfx mailing list