[Intel-gfx] Help to enable Iris Pro on Retina MBP 11.3

Lu, Ran hephooey at gmail.com
Wed Jan 8 15:53:08 CET 2014


Hi,

On Wednesday 08 January 2014 19:18:03, Dave Airlie wrote:
> On Wed, Jan 8, 2014 at 7:12 PM, Jani Nikula <jani.nikula at linux.intel.com> 
wrote:
> > On Tue, 07 Jan 2014, "Lu, Ran" <hephooey at gmail.com> wrote:
> >> Hi Jani,
> >> 
> >> As a matter of fact, I tried kernel from 3.9 to 3.13-rc6, all of them
> >> cannot read the pci information from 0:2.0, and lspci do not have Iris
> >> Pro as a video controller. I put in the attachment dmesg output from
> >> 3.12.6, I added some printk to show the results from
> >> pci_bus_read_dev_vendor_id, otherwise it is a vanilla kernel. I do not
> >> think I get any extra information by adding drm.debug=0xe because the
> >> pci device is never registered properly, but it was there anyway.The
> >> weird thing is grub can read pci device fine, I took a picture since I
> >> do not know how to save outputs in grub console. I did some test with
> >> another laptop with a working HD 4600. It seems even if I use setpci -s
> >> 0:2.0 4.b=0 to disable the device, it is still responsive to further
> >> setpci and I can bring it back by setting 4.b=7. Now it does not look
> >> like the video card is disable. I guess maybe something wrong in the
> >> ACPI table triggered the kernel to read the wrong place. But still
> >> strange it only missed that particular bus. In case you are interested,
> >> I also put the dsdt table in the attachment, I can provide other tables
> >> if they are important.
> > 
> > I don't have much clues here. Are there any bios settings you could
> > tweak? Did you try without the nvidia driver loaded?
> 
> The EFI disables it, at least as on the previous model.
> 
> It was possible to install an ap under OSX set the intel gfx as the default,
> and reboot.

Thanks Dave and Jani, turns out there is a patch for grub [1]  to fake a mac 
system so the efi enables everything. I can use IGPU after grub was patched. It 
seems I cannot use external monitor though, only the nouveau driver found 
external monitor like DP-2, I heard it is because intel GPU are not wired 
physically to the port (which is a bit weird since it is also a thunderbolt 
port). Other than that everything is fine and the battery drain reduced about 
30%. The new dmesg is in the attachment in case you are interested.

[1] http://lists.gnu.org/archive/html/grub-devel/2013-12/msg00442.html

-- 
Best Regards,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: text/x-log
Size: 77775 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140108/10d06972/attachment.bin>


More information about the Intel-gfx mailing list