chriz74 Posted September 15, 2015 Share Posted September 15, 2015 Hello, I have a laptop with integrated 2nd gen intel graphics, not the Arrandale one, the cpu is a Pentium b960 and the chipset is Sandy Bridge HM70. I booted into linux and fetched vga properties then I booted this machine (HD4000 graphics) and fetched same properties, also did same for hd3000. As you can see the driver Ubuntu is using is the same i915. The only things that differ from 2nd to 3rd are IRQ and memory allocations. Now, wouldn't it be possible to modify the AppleIntel kexts to read such locations and enable also this 2nd gen vga? INTEL HD: ubuntu-gnome@ubuntu-gnome:~$ sudo lspci -v | grep "VGA" -A 12 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Acer Incorporated [ALI] Device 0649 Flags: bus master, fast devsel, latency 0, IRQ 24 Memory at c0000000 (64-bit, non-prefetchable) Memory at b0000000 (64-bit, prefetchable) I/O ports at 2000 Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [a4] PCI Advanced Features Kernel driver in use: i91500:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) INTEL HD3000 ubuntu-gnome@ubuntu-gnome:~$ sudo lspci -v | grep "VGA" -A 12 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 844d Flags: bus master, fast devsel, latency 0, IRQ 34 Memory at f7400000 (64-bit, non-prefetchable) Memory at e0000000 (64-bit, prefetchable) I/O ports at f000 Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [a4] PCI Advanced Features Kernel driver in use: i91500:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04) INTEL HD4000: ubuntu-gnome@ubuntu-gnome:~$ sudo lspci -v | grep "VGA" -A 12 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 14f7 Flags: bus master, fast devsel, latency 0, IRQ 27 Memory at f7800000 (64-bit, non-prefetchable) Memory at e0000000 (64-bit, prefetchable) I/O ports at f000 Expansion ROM at <unassigned> [disabled] Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [a4] PCI Advanced Features Kernel driver in use: i91500:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) Also I think this 2nd gen hd graphics is a gen6 as the hd3000, here's what appears on ubuntu typing sudo intel_reg_dumper ..... GEN6_RP_CONTROL: 0x00000d92 (enabled) GEN6_RPNSWREQ: 0x2a000000 GEN6_RP_DOWN_TIMEOUT: 0x0000c350 GEN6_RP_INTERRUPT_LIMITS: 0x16000000 GEN6_RP_UP_THRESHOLD: 0x00001a90 GEN6_RP_UP_EI: 0x00001f40 GEN6_RP_DOWN_EI: 0x000061a8 GEN6_RP_IDLE_HYSTERSIS: 0x0000000a GEN6_RC_STATE: 0x00000000 GEN6_RC_CONTROL: 0x88040000 GEN6_RC1_WAKE_RATE_LIMIT: 0x03e80000 GEN6_RC6_WAKE_RATE_LIMIT: 0x0028001e GEN6_RC_EVALUATION_INTERVAL: 0x0001e848 GEN6_RC_IDLE_HYSTERSIS: 0x00000019 GEN6_RC_SLEEP: 0x00000000 GEN6_RC1e_THRESHOLD: 0x000003e8 GEN6_RC6_THRESHOLD: 0x0000c350 GEN6_RC_VIDEO_FREQ: 0x00000000 GEN6_PMIER: 0x00000070 GEN6_PMIMR: 0xffffff8f GEN6_PMINTRMSK: 0x0000000a and this is the plist for hd3000 in appleintel kext .. see? The gpu id of this Intel HD is 01068086 and the info.plist of appleintelhd3000graphics.kext has that id in IOPCIPrimaryMatch ... here's documentation regarding graphic drivers (intel open source) https://01.org/linuxgraphics/documentation/hardware-specification-prms look under Intel® Open Source HD Graphics Programmer's Reference Manual (PRM) for 2011Intel Core Processor Family That documentation comprises all sandy bridge graphic chip included the stripped down Intel HD Graphics of those b960 and the likes cpus. Link to comment https://www.insanelymac.com/forum/topic/308071-unsupported-2nd-gen-intel-vs-supported-3rd-gen-intel-comparison-possible-solution/ Share on other sites More sharing options...
wegface Posted September 15, 2015 Share Posted September 15, 2015 sandybridge is supported in osx :-S Link to comment https://www.insanelymac.com/forum/topic/308071-unsupported-2nd-gen-intel-vs-supported-3rd-gen-intel-comparison-possible-solution/#findComment-2168148 Share on other sites More sharing options...
chriz74 Posted September 16, 2015 Author Share Posted September 16, 2015 sandybridge is supported in osx :-S I know that, so? Link to comment https://www.insanelymac.com/forum/topic/308071-unsupported-2nd-gen-intel-vs-supported-3rd-gen-intel-comparison-possible-solution/#findComment-2168304 Share on other sites More sharing options...
Pike R. Alpha Posted September 16, 2015 Share Posted September 16, 2015 Is the driver loaded? Check the output of kextstat. Did you set AAPL,snb-platform-id on the IGPU device? Link to comment https://www.insanelymac.com/forum/topic/308071-unsupported-2nd-gen-intel-vs-supported-3rd-gen-intel-comparison-possible-solution/#findComment-2168312 Share on other sites More sharing options...
chriz74 Posted September 16, 2015 Author Share Posted September 16, 2015 hello, the driver is not loaded, I tried to inject 0x01068086 through clover, the result during boot is SNB something (three times) unload. ps. how do you set set AAPL,snb-platform-id ? I set the device in clover as 00030010 and 0000100 (AAPL,snb...) result: SNB framework did not show up, unload. gfx is seen ad intel 0x0106 rev 0x0009 4mb, no kext loaded Link to comment https://www.insanelymac.com/forum/topic/308071-unsupported-2nd-gen-intel-vs-supported-3rd-gen-intel-comparison-possible-solution/#findComment-2168316 Share on other sites More sharing options...
chriz74x Posted September 16, 2015 Share Posted September 16, 2015 Maybe patching snb kext to use diff irq and addresses? Link to comment https://www.insanelymac.com/forum/topic/308071-unsupported-2nd-gen-intel-vs-supported-3rd-gen-intel-comparison-possible-solution/#findComment-2168430 Share on other sites More sharing options...
Recommended Posts