Results 1 to 8 of 8

Thread: Intel + Compiz + Xv

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Sweden
    Posts
    174

    Default Intel + Compiz + Xv

    How about running compiz and watching movies at the same time?
    We all've seen or experienced the cool videos of trasparent cube with live-running videos composed in, using nvidia.
    Will it ever be possible with intel?

  2. #2

    Default

    I am interest on this too, but it seem can't work with intel.

  3. #3
    Join Date
    Sep 2006
    Posts
    714

    Default

    Quote Originally Posted by 1gnome View Post
    I am interest on this too, but it seem can't work with intel.
    It works now with the very recently released Intel 2.2.0 Xorg driver.

    The difference is that EXA support is now stable and the driver defaults to using it. Using EXA acceleration method allows Xv and compiz to work together fine.

    EXA worked so-so for 2.1.xx releases of the drivers, but had performance and stability issues in my experiance. But now everything seems kosher.

    I am using Debian unstable, for the record. I don't know the avialability of the driver on other distributions.

    Besides that other improvements include things like dynamic texture memory support (so that the drivers can allocate memory on the fly for video games) and a mild performance boost for 3D when combined with the latest Mesa stuff (looking at 10-20% using a seat of the pants estimate)

    Unfortunately 3D still suffers from the same problem as Xv using XAA. I don't know a fix for that yet, but I may be missing something. That's not so bad since for games you'll want to disable compiz temporarially for best performance.

  4. #4
    Join Date
    Oct 2007
    Location
    Zürich, Switzerland
    Posts
    5

    Default

    Sorry how did you get EXA with Xv working fine on 2.2.0? I'm running xf86-video-intel 2.2.0, Mesa 7.0.2, EXA enabled, and Xv + Compiz plays extremely slowly...

    It is true, with XAA it was just crashing, but this time is unusable though...

    I forgot, I'm running it on 965GM (X3100).

  5. #5
    Join Date
    Sep 2006
    Posts
    714

    Default

    Well you got me a bit.

    I didn't realise it, but I switched to the xorg.conf to 16bit graphics a while ago for better gaming performance.

    It works fast enough for that, but with 24bit it's not very good.

  6. #6
    Join Date
    Sep 2006
    Posts
    714

    Default

    Also I've been looking up some stuff.

    Looks like the ultimate end point for Linux driver development would be invovling Glucose running on top of a Gallium3D-based driver.

    Currently you have Mesa-based DRI drivers doing acceleration for OpenGL graphics. Then you have a seperate Intel driver that provides either XAA or EXA rendering methods. So this is effectively 3 different rendering methods using two seperate drivers running at the same time on the same card.

    Glucose, if I am right, provides a 2-D rendering method based on OpenGL and it avoids a lot of replication.

    Gallium3D is a single driver, replacing DRI, that can handle multiple forms of rendering (OpenGL, OpenVR, DirectX, Glucose, etc)

    So ultimately this is the way to go.. one driver, multiple rendering methods. More suited for modern architecture then the older DRI method.

    EXA is a sort of stop-gap.. it allows easy way to get 2-D acceleration compared to the XAA stuff which is mostly old and busted. If we had to wait for all the Gallium3D stuff to get this working it'd be another year at least, maybe two.

  7. #7
    Join Date
    Feb 2008
    Posts
    1

    Default X3100 -> use 'greedy' option in intel xorg driver.

    Quote Originally Posted by lionheart View Post
    Sorry how did you get EXA with Xv working fine on 2.2.0? I'm running xf86-video-intel 2.2.0, Mesa 7.0.2, EXA enabled, and Xv + Compiz plays extremely slowly...

    It is true, with XAA it was just crashing, but this time is unusable though...

    I forgot, I'm running it on 965GM (X3100).

    The solution for this bug tells what you'd like to know:
    https://bugs.launchpad.net/ubuntu/+s...el/+bug/177492

    Just edit your /etc/X11/xorg.conf, adding to your Intel 'Device' section:
    Option "AccelMethod" "EXA"
    Option "ExaNoComposite" "false"
    Option "MigrationHeuristic" "greedy"

    with Intel X3100 graphics adding INTEL_BATCH="1" to /etc/environment increases framerates by 33%.

    "Scrolling firefox is fast as in gutsy, compiz works, no window shadow corruption and xv videos work as well."

  8. #8
    Join Date
    May 2007
    Location
    Germany
    Posts
    76

    Default

    Thanks. Now I can enjoy the benefits of EXA while using Compiz on my laptop.

    But there's a little tearing-effect in the middle of each window. In Compiz I set the refresh-rate to 60hz, activated Vsync and Xv-videos slow my cursor-response-time down. Nothing one can do about that, huh?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •