master-compat: Compile i915 DRM for out-of-tree. Optimus laptops need it.
PATCH 1/1 master-compat: Compile i915 DRM for out-of-tree. Optimus laptops need it.
Hi, a machine with both an Intel and Nvidia GPU needs both drivers built as modules otherwise the former will not work properly.
- Eric
nouveau/Makefile +1 -1
@@ -59,7 +59,7 @@ DRMCFG := \ CONFIG_DRM_MGA=n \ CONFIG_DRM_I810=n \ CONFIG_DRM_I830=n \ - CONFIG_DRM_I915=n \ + CONFIG_DRM_I915=m \ CONFIG_DRM_SIS=n \ CONFIG_DRM_SAVAGE=n \ CONFIG_DRM_VIA=n \
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Quoted 3 lines · Eric Appleman
Hi, a machine with both an Intel and Nvidia GPU needs both drivers built as modules otherwise the former will not work properly.
- Eric
Sorry, Thunderbird is bad with attachments.
nouveau/Makefile +1 -1
@@ -59,7 +59,7 @@ DRMCFG := \ CONFIG_DRM_MGA=n \ CONFIG_DRM_I810=n \ CONFIG_DRM_I830=n \ - CONFIG_DRM_I915=n \ + CONFIG_DRM_I915=m \ CONFIG_DRM_SIS=n \ CONFIG_DRM_SAVAGE=n \ CONFIG_DRM_VIA=n \
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Quoted 7 lines · On Fri, 11 Nov 2011 05:25:17 -0500 Eric Appleman…
Quoted 5 lines · Eric Appleman
Hi, a machine with both an Intel and Nvidia GPU needs both drivers built as modules otherwise the former will not work properly.
- Eric
Sorry, Thunderbird is bad with attachments.
Sorry, I'm not going to apply this.
This way of installing is meant only for nouveau, and building i915 is for most people useless.
If you want both nouveau and i915, I would recommend building the whole kernel with both of these from either Nouveau linux tree, or Linus' tree. Or some other upstream tree.
Thanks.
Signature · 2 lines
Pekka Paalanen http://www.iki.fi/pq/
Quoted 10 lines · On Sat, 12 Nov 2011 05:19:03 -0500 Eric Appleman…
I agree with your rationale, but consider the following case that has become increasingly important. Let's say a user wants to test bleeding-edge Nouveau DRM on a Sandy Bridge laptop with Optimus but doesn't have the knowledge or patience to roll an entire kernel or wait for a packaged one. Building nouveau and i915 at the same time would make for a convenient alternative and would permit faster testing as Optimus solutions such as windump,
dma_buf, and Bumblebee continue to mature. TheMakefilecertainly allows for it. Would a wiki comment be an acceptable alternative to inclusion of this patch?
Yeah, sure, documenting it in the wiki would be nice. But please do check all the i915 dependencies in the Kconfig files to make sure that i915 gets what it needs. The Makefile probably overrides many sanity checks in the kernel config system.
Thanks.
Signature · 2 lines
Pekka Paalanen http://www.iki.fi/pq/