Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434336 - [x11 overlay] x11-drivers/xf86-video-intel-9999: add uxa USE flag
Summary: [x11 overlay] x11-drivers/xf86-video-intel-9999: add uxa USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-09-08 13:53 UTC by Reinis Danne
Modified: 2012-09-10 20:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for live ebuild (xf86-video-intel-9999.ebuild_uxa.patch,555 bytes, patch)
2012-09-08 13:55 UTC, Reinis Danne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reinis Danne 2012-09-08 13:53:53 UTC
UXA acceleration method is built and used by default requiring xorg.conf changes to use SNA. Also second video card is not used by xserver on optimus systems if xorg.conf is present, which prohibits PRIME usage.

There is no reason to set it by default for recent versions since SNA performes so much better and it is also in need of more widespread testing.

Reproducible: Always
Comment 1 Reinis Danne 2012-09-08 13:55:33 UTC
Created attachment 323210 [details, diff]
Patch for live ebuild

It might be good to set it also in ~arch for new releases.
Comment 2 Andreas Sturmlechner gentoo-dev 2012-09-08 15:01:07 UTC
Thx, this is also at least true for 2.20.6, but UXA code was reintroduced well before that (was it 2.20.3?).
Comment 3 Andreas Sturmlechner gentoo-dev 2012-09-08 15:05:33 UTC
Sorry did I just write that? DDX-UXA mixup...

Will try your patch!
Comment 4 Andreas Sturmlechner gentoo-dev 2012-09-08 16:41:03 UTC
Works fine.

And we can add a few other USE-flags to be able to disable them:

dga (why not?)
kms_only (doesn't build libI810XvMC.so.1.0.0 then)
xaa (that was removed from xorg-server-1.13 anyway)

Together that shaved off a whopping ~0.4 MiB from xf86-video-intel. :D
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-10 20:09:05 UTC
Fixed in 2.20.7