Skip to content

Commit 7ef316d

Browse files
committed
- Add more spoof id(Can boot but can't drive). Useful for Sandy/Ivy Bridge (and more non AVX2) with polaris/navi/vega cards
1 parent 993413c commit 7ef316d

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

oclp_r/datasets/pci_data.py

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class nvidia_ids:
239239
0x0CB0, # GT215 [GTS 350M]
240240
0x0CB1, # GT215 [GTS 360M]
241241
0x0CBC, # GT215 [FX 1800M]
242-
0x1020, # Cant boot ,you can use it
242+
243243
# GT216
244244
0x0A20, # GT216 [GT 220]
245245
0x0A22, # GT216 [315]
@@ -257,7 +257,7 @@ class nvidia_ids:
257257
0x0A35, # GT216 [GT 325M]
258258
0x0A38, # GT216 [400]
259259
0x0A3C, # GT216 [FX 880M]
260-
0x1021, # Cant boot ,you can use it
260+
261261
# GT218
262262
0x0A60, # GT218 [G210]
263263
0x0A62, # GT218 [205]
@@ -286,7 +286,7 @@ class nvidia_ids:
286286
0x10C3, # GT218 [8400GS]
287287
0x10C5, # GT218 [405]
288288
0x10D8, # GT218 [NVS 300]
289-
0x1022, # Cant boot ,you can use it
289+
290290
# MCP89 GPU
291291
0x08A0, # MCP89 GPU [320M]
292292
0x08A2, # MCP89 GPU [320M]
@@ -311,7 +311,7 @@ class nvidia_ids:
311311
0x06DD, # GF100 [4000]
312312
0x06DE, # GF100 [T20]
313313
0x06DF, # GF100 [M2070-Q]
314-
0x1111, # Cant boot ,you can use it
314+
0x1111, # Cant drive,you can use it
315315
# GF104
316316
0x0E22, # GF104 [GTX 460]
317317
0x0E23, # GF104 [GTX 460 SE]
@@ -361,6 +361,7 @@ class nvidia_ids:
361361
0x124B, # GF116 [GT 640 OEM]
362362
0x124D, # GF116 [GT 555M]
363363
0x1251, # GF116 [GTX 560M]
364+
0x1114, # Cant drive,you can use it
364365
# GF108
365366
0x0DE0, # GF108 [GT 440]
366367
0x0DE1, # GF108 [GT 430]
@@ -391,6 +392,7 @@ class nvidia_ids:
391392
0x0F00, # GF108 [GT 630]
392393
0x0F01, # GF108 [GT 620]
393394
0x0F02, # GF108 [GT 730]
395+
0x1115,# Cant drive,you can use it
394396
# GF110
395397
0x1080, # GF110 [GTX 580]
396398
0x1081, # GF110 [GTX 570]
@@ -405,6 +407,7 @@ class nvidia_ids:
405407
0x1096, # GF110GL [Tesla C2050 / C2075]
406408
0x109A, # GF110 [5010M]
407409
0x109B, # GF110 [7000]
410+
0x1116, # Cant drive,you can use it
408411
# GF119
409412
0x1040, # GF119 [GT 520]
410413
0x1042, # GF119 [510]
@@ -426,6 +429,7 @@ class nvidia_ids:
426429
0x105B, # GF119M [705M]
427430
0x107C, # GF119 [NVS 315]
428431
0x107D, # GF119 [NVS 310]
432+
0x1117,# Cant drive,you can use it
429433
# GF117
430434
0x1140, # GF117 [GT 620M]
431435
]
@@ -670,7 +674,7 @@ class nvidia_ids:
670674
0x13f9, # GM204GLM [Quadro M4000M]
671675
0x13fa, # GM204GLM [Quadro M3000M]
672676
0x13fb, # GM204GLM [Quadro M5500]
673-
677+
0x4444,# Cant drive,you can use it
674678
0x1401, # GM206 [GTX 960]
675679
0x1402, # GM206 [GTX 950]
676680
0x1404, # GM206 [GTX 960 FAKE]
@@ -691,7 +695,7 @@ class nvidia_ids:
691695
0x15f7, # GP100GL [Tesla P100 PCIe 12GB]
692696
0x15f8, # GP100GL [Tesla P100 PCIe 16GB]
693697
0x15f9, # GP100GL [Tesla P100 SXM2 16GB]
694-
698+
0x4445,# Cant drive,you can use it
695699
0x1b00, # GP102 [TITAN X]
696700
0x1b01, # GP102 [GTX 1080 Ti 10GB]
697701
0x1b02, # GP102 [TITAN Xp]
@@ -800,6 +804,7 @@ class amd_ids:
800804
gcn_7000_ids = [
801805
# GCN v1
802806
# AMDPitcairnGraphicsAccelerator - AMD7000Controller
807+
0x1222,# Cant drive,you can use it
803808
0x6800, # HD 7970M
804809
0x6801, # HD 8970M
805810
0x6806, # Unknown
@@ -832,6 +837,7 @@ class amd_ids:
832837
gcn_8000_ids = [
833838
# GCN v2
834839
# AMDBonaireGraphicsAccelerator - AMD8000Controller
840+
0x1223,# Cant drive,you can use it
835841
0x6640, # M6100
836842
0x6641, # HD 8930M
837843
0x6646, # R9 M280X / W6170M
@@ -847,6 +853,7 @@ class amd_ids:
847853
gcn_9000_ids = [
848854
# GCN v3
849855
# AMDFijiGraphicsAccelerator - AMD9000Controller
856+
0x1233,# Cant drive,you can use it
850857
0x7300, # R9 FURY / NANO
851858
0x730F, # Unknown
852859
# AMDTongaGraphicsAccelerator - AMD9000Controller
@@ -883,13 +890,13 @@ class amd_ids:
883890
0x67CA, # Unknown
884891
0x67CC, # Unknown
885892
0x67CF, # Unknown
886-
0x4321, # Cant boot ,you can use it
887893
0x1234,# Cant boot ,you can use it
888894
]
889895

890896
polaris_spoof_ids = [
891897
# Polaris 12 (Lexa)
892898
0x6981, # Lexa XT [Radeon PRO WX 3200]
899+
0x4321, # Cant boot ,you can use it
893900
]
894901

895902
vega_ids = [
@@ -924,6 +931,7 @@ class amd_ids:
924931
0x66A3, # Pro Vega II/ Pro Vega II Duo
925932
0x66A7, # Unknown
926933
0x66AF, # VII
934+
0x5657, # Cant boot ,you can use it
927935
]
928936

929937
navi_ids = [
@@ -953,13 +961,15 @@ class amd_ids:
953961
0x73E3, # Pro W6600
954962
0x73FF, # 6600/6600 XT/6600M
955963
0x73E0, # Unknown
964+
0x7777,# Cant boot ,you can use it
956965
]
957966

958967
r500_ids = [
959968
0x7187, # X1300/X1550
960969
0x7146, # X1300/X1550
961970
0x71c5, # Mobile X1600
962971
0x7249, # X1900 XT
972+
0x8888,# Cant boot ,you can use it
963973
]
964974

965975
terascale_1_ids = [
@@ -997,6 +1007,7 @@ class amd_ids:
9971007
0x9552, # HD 4330/4350/4550 (mobile)
9981008
0x9553, # HD 4530/4570/545v (mobile)
9991009
0x94A0, # HD 4830
1010+
0x8989,# Cant boot ,you can use it
10001011
]
10011012

10021013
terascale_2_ids = [
@@ -1029,6 +1040,7 @@ class amd_ids:
10291040
0x6740, # HD 6730M/6770M/7690M XT
10301041
0x6741, # HD 6630M/6650M/6750M/7670M/7690M
10311042
0x6745, # Unknown
1043+
0x9099,# Cant boot ,you can use it
10321044
]
10331045

10341046

@@ -1039,16 +1051,19 @@ class intel_ids:
10391051
0x2592, # 915GM
10401052
0x2772, # 945G
10411053
0x27A2, # 945GM
1054+
0x8891,# Cant boot ,you can use it
10421055
]
10431056

10441057
gma_x3100_ids = [
10451058
0x2a02, # 965GM
1059+
0x8890,# Cant boot ,you can use it
10461060
]
10471061

10481062
iron_ids = [
10491063
# AppleIntelHDGraphics IDs
10501064
0x0044, # Unknown
10511065
0x0046, # HD Graphics
1066+
0x8887,# Cant boot ,you can use it
10521067
]
10531068

10541069
sandy_ids = [
@@ -1059,6 +1074,7 @@ class intel_ids:
10591074
0x0116, # HD Graphics 3000
10601075
0x0102, # HD Graphics 2000
10611076
0x0126, # HD Graphics 3000
1077+
0x8886,# Cant boot ,you can use it
10621078
]
10631079

10641080
ivy_ids = [
@@ -1068,6 +1084,7 @@ class intel_ids:
10681084
0x0156, # HD Graphics 2500
10691085
0x0162, # HD Graphics 4000
10701086
0x0166, # HD Graphics 4000
1087+
0x8885,# Cant boot ,you can use it
10711088
]
10721089

10731090
haswell_ids = [
@@ -1078,6 +1095,7 @@ class intel_ids:
10781095
0x0A2E, # Iris Graphics 5100
10791096
0x0D22, # Iris Pro Graphics 5200
10801097
0x0412, # HD Graphics 4600
1098+
0x8884,# Cant boot ,you can use it
10811099
]
10821100

10831101
broadwell_ids = [
@@ -1093,6 +1111,7 @@ class intel_ids:
10931111
0x1622, # Iris Pro Graphics 6200
10941112
0x1612, # HD Graphics 5600
10951113
0x162B, # Iris Graphics 6100
1114+
0x8883,# Cant boot ,you can use it
10961115
]
10971116

10981117
skylake_ids = [
@@ -1107,6 +1126,7 @@ class intel_ids:
11071126
0x1917, # Unknown
11081127
0x193B, # Iris Pro Graphics 580
11091128
0x191B, # HD Graphics 530
1129+
0x8882,# Cant boot ,you can use it
11101130
]
11111131

11121132
kaby_lake_ids = [
@@ -1119,6 +1139,7 @@ class intel_ids:
11191139
0x5926, # Iris Plus Graphics 640
11201140
0x5927, # Iris Plus Graphics 650
11211141
0x5923, # HD Graphics 635
1142+
0x8881,# Cant boot ,you can use it
11221143
]
11231144

11241145
coffee_lake_ids = [
@@ -1129,12 +1150,14 @@ class intel_ids:
11291150
0x3E92, # UHD Graphics 630
11301151
0x3E91, # UHD Graphics 630
11311152
0x3E98, # UHD Graphics 630
1153+
0x8880,# Cant boot ,you can use it
11321154
]
11331155

11341156
comet_lake_ids = [
11351157
0x9BC8, # UHD Graphics 630
11361158
0x9BC5, # UHD Graphics 630
11371159
0x9BC4, # UHD Graphics
1160+
0x8879,# Cant boot ,you can use it
11381161
]
11391162

11401163
ice_lake_ids = [
@@ -1149,6 +1172,7 @@ class intel_ids:
11491172
0x8A53, # Iris Plus Graphics G7
11501173
0x8A5A, # Iris Plus Graphics G4
11511174
0x8A5B, # Unknown
1175+
0x8878,# Cant boot ,you can use it
11521176
]
11531177

11541178
AppleIntel8254XEthernet = [

oclp_r/support/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def _validate_sys_patch(self) -> None:
233233

234234
atexit.register(self._unmount_dmg)
235235

236-
for supported_os in [os_data.os_data.big_sur, os_data.os_data.monterey, os_data.os_data.ventura, os_data.os_data.sonoma, os_data.os_data.sequoia, os_data.os_data.tahoe]:
236+
for supported_os in [os_data.os_data.big_sur, os_data.os_data.monterey, os_data.os_data.ventura, os_data.os_data.sonoma, os_data.os_data.sequoia]:
237237
for i in range(0, 10):
238238
self._validate_root_patch_files(supported_os, i)
239239

0 commit comments

Comments
 (0)