rotating the screen

Edscott Wilson Garcia edscott at xfce.org
Tue Jun 14 01:02:36 CEST 2005


El lun, 13-06-2005 a las 15:19 -0700, Brian J. Tarricone escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Edscott Wilson Garcia wrote:
> > Hi Olivier,
> > 
> > El lun, 13-06-2005 a las 20:58 +0200, Olivier Fourdan escribió: 
> > 
> >>Hi Edscott,
> >>
> >>Just for the record, dunno if that's the same:
> >>
> >>http://bugzilla.xfce.org/show_bug.cgi?id=941
> >>
> > 
> > 
> > Nope. Rotation by means of xorg and the nv driver works fine (albeit
> > slow, but that is normal for nv driver). This is for the closed source
> > nvidia driver (7174), where you can use 
> > 
> >         Option      "RandRRotation" "on"
> > 
> > And then do "xrandr -o right" in xinitrc before xfce starts up.
> > After rotation, the new desktop size is not updated:
> > 
> > 
> >  SZ:    Pixels          Physical       Refresh
> > *0   1024 x 768    ( 302mm x 232mm )  *60  
> >  1    800 x 600    ( 302mm x 232mm )   60  
> >  2    640 x 480    ( 302mm x 232mm )   60  
> > Current rotation - right
> > Current reflection - none
> > Rotations possible - normal left inverted right 
> > Reflections possible - none
> > 
> > Maybe it should be up to applications to figure out that
> > "rotation=right|left" implies that width and height fields should be
> > reversed, but that does not seem right. More likely to be a nvidia bug.
> 
> I'd strongly suspect an nvidia bug too, but perhaps that's not supposed
> to be how it works.  Maybe the server-reported screen size doesn't
> change (and perhaps there's no event indicating a screen size change),
> but there's a rotation event, and the WM is expected to keep track of
> the rotation and adjust itself internally.  But what do I know; I
> haven't looked at the XRANDR spec in a long time...

That does sound like a possibility, but it would impact more than the
wm. I haven't looked at how the panel figures out what width to use, but
my guess is that it asks the Xserver about the root window geometry. 

Since xrandr rotation is quite new for nvidia driver, probably a bug and
the report at the nvidia forum that says that xrandr rotation works in
kde is bogus.

regards,
 

-- 
Edscott Wilson Garcia <edscott at xfce.org>




More information about the Xfce mailing list