(In reply to comment #5) > After the sandybridge shadow changes it is working. > > [ 75.441] (WW) intel(0): Disabling Xv because no adaptors could be > initialized.
--- a/src/intel_video.c +++ b/src/intel_video.c @@ -363,7 +363,7 @@ void I830InitVideo(ScreenPtr screen) * supported hardware. */ if (scrn->bitsPerPixel >= 16 && - (IS_I9XX(intel) || IS_I965G(intel)) && + (IS_I9XX(intel) || (IS_I965G(intel) && !IS_GEN6(intel))) && !intel->use_shadow) { texturedAdaptor = I830SetupImageVideoTextured(screen); if (texturedAdaptor != NULL) {
The reason is that && has a higher precedence than || in C. I guess we want to fix commit 8784c4f5a1524fb979b00c7ce7981cbc1dcf0ec0 instead. ;-)
(In reply to comment #5)
> After the sandybridge shadow changes it is working.
>
> [ 75.441] (WW) intel(0): Disabling Xv because no adaptors could be
> initialized.
--- a/src/intel_video.c ScreenPtr screen)
!intel- >use_shadow) {
texturedAdapt or = I830SetupImageV ideoTextured( screen) ;
+++ b/src/intel_video.c
@@ -363,7 +363,7 @@ void I830InitVideo(
* supported hardware.
*/
if (scrn->bitsPerPixel >= 16 &&
- (IS_I9XX(intel) || IS_I965G(intel)) &&
+ (IS_I9XX(intel) || (IS_I965G(intel) && !IS_GEN6(intel))) &&
if (texturedAdaptor != NULL) {
The reason is that && has a higher precedence than || in C. I guess we want 979b00c7ce7981c bc1dcf0ec0 instead. ;-)
to fix commit 8784c4f5a1524fb