Skip to content

Instantly share code, notes, and snippets.

@jhonoryza
Last active January 4, 2023 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhonoryza/d22ce7875d66c911e8a1815206be57e1 to your computer and use it in GitHub Desktop.
Save jhonoryza/d22ce7875d66c911e8a1815206be57e1 to your computer and use it in GitHub Desktop.
<key>DeviceProperties</key>
<dict>
	<key>Add</key>
	<dict>
		<key>PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)</key>
		<dict>
			<key>shikigva</key>
			<integer>80</integer>
		</dict>
		<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
		<dict>
			<key>AAPL,ig-platform-id</key>
			<data>BwCbPg==</data>
			<key>framebuffer-patch-enable</key>
			<data>AQAAAA==</data>
			<key>framebuffer-con2-enable </key>
			<data>AQAAAA==</data>
			<key>framebuffer-con2-type</key>
			<data>AAIAAA==</data>
			<key>framebuffer-con0-enable </key>
			<data>AQAAAA==</data>
			<key>framebuffer-con0-type</key>
			<data>AAgAAA==</data>
			<key>AAPL,slot-name</key>
			<string>Internal@0,2,0</string>
			<key>device-id</key>
			<data>mz4AAA==</data>
			<key>device_type</key>
			<string>VGA compatible controller</string>
			<key>enable-hdmi20</key>
			<data>AQAAAA==</data>
			<key>framebuffer-camellia</key>
			<data>AAAAAA==</data>
			<key>framebuffer-con0-busid</key>
			<data>BQAAAA==</data>
			<key>framebuffer-con0-flags</key>
			<data>xwMAAA==</data>
			<key>framebuffer-con0-index</key>
			<data>AQAAAA==</data>
			<key>framebuffer-con0-pipe</key>
			<data>EgAAAA==</data>
			<key>framebuffer-con1-busid</key>
			<data>BAAAAA==</data>
			<key>framebuffer-con1-enable</key>
			<data>AQAAAA==</data>
			<key>framebuffer-con1-flags</key>
			<data>xwMAAA==</data>
			<key>framebuffer-con1-index</key>
			<data>AgAAAA==</data>
			<key>framebuffer-con1-pipe</key>
			<data>EgAAAA==</data>
			<key>framebuffer-con1-type</key>
			<data>AAgAAA==</data>
			<key>framebuffer-con2-busid</key>
			<data>BgAAAA==</data>
			<key>framebuffer-con2-flags</key>
			<data>xwMAAA==</data>
			<key>framebuffer-con2-index</key>
			<data>AwAAAA==</data>
			<key>framebuffer-con3-busid</key>
			<data>AAAAAA==</data>
			<key>framebuffer-con3-enable</key>
			<data>AQAAAA==</data>
			<key>framebuffer-con3-flags</key>
			<data>IAAAAA==</data>
			<key>framebuffer-con3-index</key>
			<data>/////w==</data>
			<key>framebuffer-con3-pipe</key>
			<data>AAAAAA==</data>
			<key>framebuffer-con3-type</key>
			<data>AQAAAA==</data>
			<key>framebuffer-fbmem</key>
			<data>AAAAAA==</data>
			<key>framebuffer-flags</key>
			<data>AhOAAA==</data>
			<key>framebuffer-memorycount</key>
			<data>AwAAAA==</data>
			<key>framebuffer-mobile</key>
			<data>AAAAAA==</data>
			<key>framebuffer-pipecount</key>
			<data>AwAAAA==</data>
			<key>framebuffer-portcount</key>
			<data>AwAAAA==</data>
			<key>framebuffer-stolenmem</key>
			<data>AACQAw==</data>
			<key>framebuffer-unifiedmem</key>
			<data>AAAAgA==</data>
			<key>model</key>
			<string>Intel UHD Graphics 630 (Mobile)</string>
		</dict>
		<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
		<dict>
			<key>layout-id</key>
			<data>BAAAAA==</data>
		</dict>
	</dict>
	<key>Delete</key>
	<dict/>
</dict>

framebuffer

Bit	Name	Value
Bit 1	Port	01
Bit 2	Bus ID	05
Bit 3-4	Pipe Number	0900
Bit 5-8	Connector Type	00040000
Bit 9-12	Flags	C7030000
  • The 3 software connectors are called con0, con1, and con2.

  • The 3 physical ports 5, 6, and 7 are available to us as software Indexes 1, 2, and 3.

  • Software Index 1 always refers to physical Port 5.

  • Software Index 2 always refers to physical Port 6.

  • Software Index 3 always refers to physical Port 7.

  • HDMI and DVI are considered to be the same. Set Type to HDMI for both HDMI and DVI physical ports.

  • DP and VGA are considered to be the same. Set Type to DP for both DP and VGA physical ports.

  • DisplayPort is the most flexible. BusIDs 0x02, 0x04, 0x05, 0x06 are permitted. Any of these values should work on any motherboard. These values apply to VGA as well.

  • HDMI is very restrictive. Only BusIDs 0x01, 0x02, 0x04, 0x06 are permitted but some motherboards will only accept one or two of these possibilities. The Gigabyte Designare Z390, for instance, only accepts 0x04.

  • DVI is the same as HDMI. The same BusIDs and even the same Type are used.

  • con0 —> port 5
  • con1 —> port 6
  • con2 —> port 7
  • DP : BusIDs 0x02, 0x04, 0x05, 0x06
  • HDMI/DVI: BusIDs 0x01, 0x02, 0x04, 0x06

3E9B0007

[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[3] busId: 0x06, pipe: 8, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
01050900 00040000 C7030000
02040A00 00040000 C7030000
03060800 00040000 C7030000

default after install:

framebuffer-con2-alldata | 03061800 00080000 C7030000

common:

AAPL,ig-platform-id | 3E9B0007
framebuffer-con0-enable | 01000000
framebuffer-con1-enable | 01000000
framebuffer-con2-enable | 01000000
framebuffer-patch-enable | 01000000
framebuffer-stolenmem | 00003001

default whatever doc:

framebuffer-con0-alldata | 01050900 00040000 C7030000
framebuffer-con1-alldata | 02040A00 00040000 C7030000
framebuffer-con2-alldata | 03060800 00040000 C7030000

catalina :

framebuffer-con0-alldata | 01050900 00080000 C7030000
framebuffer-con1-alldata | 02040A00 00080000 C7030000
framebuffer-con2-alldata | 03060800 00020000 C7030000

test ventura blm bisa dual screen tp terdetek di hackintool device tsb:

framebuffer-con0-alldata | 01060900 00080000 C7030000 //dvi bus 06 con 0
framebuffer-con1-alldata | 02040A00 00080000 C7030000 //hdmi bus 04 con 1
framebuffer-con2-alldata | 03060800 01000000 C7030000 //not used
@jhonoryza
Copy link
Author

Screen Shot 2023-01-03 at 20 38 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment