From: "Alexander E. Patrakov" <patrakov@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: xrandr scaling bug
Date: Sat, 15 May 2010 11:00:20 +0600 [thread overview]
Message-ID: <4BEE2A64.8050203@gmail.com> (raw)
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@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@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@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@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@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@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@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@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
reply other threads:[~2010-05-15 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BEE2A64.8050203@gmail.com \
--to=patrakov@gmail.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).