[Bug 2965] New: xrandr: RRScreenChangeNotify event has incorrect
geometry after rotation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 11 20:47:39 EST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2965
Summary: xrandr: RRScreenChangeNotify event has incorrect
geometry after rotation
Product: xorg
Version: 6.8.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Server/general
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: l.lunak at suse.cz
I can reproduce this problem only with the 'nvidia' driver version 7167. Xrandr
rotation doesn't seem to work here with the 'nv' driver and in fact I haven't been able
to find any other case when rotation would work except for the nvidia driver. If the
problem is specific to the driver, then please close and I'll report to nvidia.
As demonstrated by the attached testcase, the width and height fields of the
XRRScreenChangeNotifyEvent structure don't reflect rotation. If I run it and then
rotate the screen, the reported width and height always match the unrotated
geometry.
[normal rotation]
kde2 at magic:~> /tmp/a.out
[ xrandr -o left in another konsole]
SIZE1: 1280 960
EVENT: 1280 960
SIZE2: 1280 960
[ xrandr -o normal ]
SIZE1: 1280 960
EVENT: 1280 960
SIZE2: 1280 960
[ xrandr -o left before ]
kde2 at magic:~> /tmp/a.out
[ xrandr -o normal ]
SIZE1: 960 1280
EVENT: 1280 960
SIZE2: 1280 960
In the second case XDisplayWidth()/XDisplayHeight() even initially have proper
values, but after any rotation they're always set to match unrotated geometry.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list