xf86-intel-i810 2.0.0 rotation problems

Keith Packard keithp at keithp.com
Tue Apr 24 11:16:30 PDT 2007

On Tue, 2007-04-24 at 17:52 +0100, Barry Scott wrote:
> First. What do I need to write in the xorg config file to force the 
> driver to rotate
> the screen on startup of Xorg? The old Option Rotate is not honored any 
> more.

Rotation is now per-monitor; place the "Rotate" option in the monitor
section of the associated output.

> In portrait the xorg process is using 99% on its own and xine movie 
> playback
> is obviously very slow.

Changing the video playback code to *not* sync before uploading a new
image solved this for me (Xorg no longer even shows up in 'top').

diff --git a/src/i830_video.c b/src/i830_video.c
index d2f9724..08a87d2 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -2355,7 +2355,7 @@ I830PutImage(ScrnInfoPtr pScrn,
        * acceleration to finish before writing the new video data into
        * framebuffer.
-      i830WaitSync(pScrn);
+/*      i830WaitSync(pScrn); */
    switch (id) {

The 'right' way to fix this is to block waiting for the hardware to
finish the video texture paint before uploading a new image, the sync
call does this, but it also does much more, and at huge expense.

For movie playback, I don't think this will cause any problems though.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20070424/ab81c350/attachment.pgp>

More information about the xorg mailing list