Skip to content

Commit 3f5624b

Browse files
authored
linting and style corrections (#48)
* linting and style corrections * minor correction
1 parent d5e8e10 commit 3f5624b

File tree

7 files changed

+584
-384
lines changed

7 files changed

+584
-384
lines changed

Manual/FAQ.Chart.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
#### DRM Compatibility Chart for 10.15
1+
# DRM Compatibility Chart for 10.15
22

3-
| Configuration | Mode | iTunes Trailers | iTunes Movies | TV+ | Prime Trailers | Prime/Netflix | IQSV |
4-
|:----------------|:---------------|:----------------|:--------------|:-------|:---------------|---------------|------|
5-
| AMD+IGPU, IM/MM | `shikigva=16` | SW1 | SW2 | HW4 | HW | NO | OK |
6-
| AMD+IGPU, IM/MM | `shikigva=80` | SW1 | SW2 | HW4 | HW3 | HW3 | OK |
7-
| AMD, IMP/MP | | SW1 | SW2 | HW4 | HW3 | HW3 | NO |
8-
| AMD, IMP/MP | `shikigva=128` | HW1 | HW2 | HW4 | HW3 | HW3 | NO |
9-
| NV+IGPU, IM/MM | | SW1 | SW2 | NO | HW | NO | OK |
10-
| NV, IMP/MP | `shikigva=256` | SW1 | SW2 | SW3 | HW | NO | NO |
11-
| IGPU, IM/MM | | SW1 | NO | NO | HW | NO | OK |
3+
| Configuration | Mode | iTunes Trailers | iTunes Movies | TV+ | Prime Trailers | Prime/Netflix | IQSV |
4+
| :-------------- | :------------- | :-------------- | :------------ | :--- | :------------- | ------------- | ---- |
5+
| AMD+IGPU, IM/MM | `shikigva=16` | SW1 | SW2 | HW4 | HW | NO | OK |
6+
| AMD+IGPU, IM/MM | `shikigva=80` | SW1 | SW2 | HW4 | HW3 | HW3 | OK |
7+
| AMD, IMP/MP | | SW1 | SW2 | HW4 | HW3 | HW3 | NO |
8+
| AMD, IMP/MP | `shikigva=128` | HW1 | HW2 | HW4 | HW3 | HW3 | NO |
9+
| NV+IGPU, IM/MM | | SW1 | SW2 | NO | HW | NO | OK |
10+
| NV, IMP/MP | `shikigva=256` | SW1 | SW2 | SW3 | HW | NO | NO |
11+
| IGPU, IM/MM | | SW1 | NO | NO | HW | NO | OK |
1212

1313
- SW - software unencrypted decoder, works everywhere
1414
- HW - hardware unencrypted decoder, works with any compatible GPU

Manual/FAQ.GeForce.en.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
1+
# Nvidia GeForce FAQs
2+
13
- _What are the system requirements?_
24
while there are no particular limitations, this FAQ does not include the specific information regarding GPUs before Kepler (i.e. older than 6xx series).
35
In general it appears to be less convenient to use CPUs newer than Ivy and Haswell with NVIDIA GPUs.
46
For GPUs newer than Kepler (e.g. Maxwell or Pascal) you need [NVIDIA Web Driver](http://www.nvidia.com/download/driverResults.aspx/125379/en-us). Use `nv_disable=1` boot argument to install it.
57

68
- _What is the general idea?_
7-
If you have builtin Intel GPU, make sure to rename it to IGPU and enable with connector-less frame first. Then choose a most suitable mac model and install WhateverGreen.kext. It also used for hardware video decoding, please read [Shiki FAQ](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Shiki.en.md) carefully to get a good understanding.
9+
If you have builtin Intel GPU, make sure to rename it to IGPU and enable with connector-less frame first. Then choose a most suitable mac model and install WhateverGreen.kext. It also used for hardware video decoding, please read [Shiki FAQ](./FAQ.Shiki.en.md) carefully to get a good understanding.
810

9-
- _How to properly choose a mac model?_
10-
If you have Ivy Bridge or Haswell CPU you should go with iMac13,2 or iMac14,2. Otherwise choose the model you prefer, but keep this in mind:
11-
* If you have Intel GPU, especially if Ivy Bridge or newer, choose the model (by `board-id`) that has `forceOfflineRenderer` set to YES (true) in /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/Info.plist.
12-
* Models other than iMac13,2 and iMac14,2 require patches, which are though normally automated in WhateverGreen (see below)
13-
* CPUs newer than Haswell require Shiki patches for hardware video decoding (see below).
11+
- _How to properly choose a mac model?_
12+
If you have Ivy Bridge or Haswell CPU you should go with iMac13,2 or iMac14,2. Otherwise choose the model you prefer, but keep this in mind:
13+
- If you have Intel GPU, especially if Ivy Bridge or newer, choose the model (by `board-id`) that has `forceOfflineRenderer` set to YES (true) in /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/Info.plist.
14+
- Models other than iMac13,2 and iMac14,2 require patches, which are though normally automated in WhateverGreen (see below)
15+
- CPUs newer than Haswell require Shiki patches for hardware video decoding (see below).
1416

1517
- _Why should I use Intel GPU with a connector-less frame?_
1618
Nvidia GPUs newer than 2xx do not implement hardware video decoder in macOS, also starting with 10.13 dual-GPU setups often cause a bootloop. If you absolutely need your IGPU with connector-full frame you will have to determine correct ig-platform-id and `shikigva=1` bootarg OR a model without `forceOfflineRenderer`.
17-
Read the [Shiki FAQ](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Shiki.en.md)
19+
Read the [Shiki FAQ](./FAQ.Shiki.en.md)
1820

1921
- _How to use Intel GPU with a connector-less frame?_
20-
Please refer to [Shiki FAQ](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Shiki.en.md) for full details. You could use SSDT to rename GFX0 to IGPU by creating a proper IGPU device and setting STA of the existing one to Zero:
22+
Please refer to [Shiki FAQ](./FAQ.Shiki.en.md) for full details. You could use SSDT to rename GFX0 to IGPU by creating a proper IGPU device and setting STA of the existing one to Zero:
23+
2124
```
2225
Scope (GFX0) {
2326
Name (_STA, Zero) // _STA: Status
2427
}
25-
```
28+
```
2629

2730
- _What patches do I need for mac models other than iMac13,2 and iMac14,2?_
2831
AppleGraphicsDisplayPolicy.kext contains a check against its Info.plist and determines which mode should be used for a specific board-id. It is dependent on the GPU which mode is suitable and is normally determined experimentally. WhateverGreen contains several ways to configure to set power management modes:
@@ -56,8 +59,8 @@ He discovered that when the 0x488 magic bit is not set, the gfx device advertise
5659
After the bit is set, the device advertises as multi-function.
5760
So, after setting the magic bit, removing the device will cause Linux to re-probe it during the next rescan
5861
taking note at that point that it is a multi-function device
59-
on linux theres a fix use: setpci -s 01:00.0 0x488.l=0x2000000:0x2000000"
60-
on mac os he added:
62+
on linux theres a fix use: setpci -s 01:00.0 0x488.l=0x2000000:0x2000000" on mac os he added:
63+
6164
```
6265
Device (PEG0)
6366
{
@@ -74,7 +77,9 @@ Device (PEG0)
7477
}
7578
}
7679
```
80+
7781
NHDA is declared here:
82+
7883
```
7984
Scope (_SB.PCI0.PEG0)
8085
{
@@ -88,4 +93,6 @@ Scope (_SB.PCI0.PEG0)
8893
, 1,
8994
NHDA, 1
9095
}
96+
}
97+
}
9198
```

0 commit comments

Comments
 (0)