搜索
查看: 1602|回复: 16

[其它] OCAuxiliaryTools更新,增加两个选项,进来看看。 [复制链接]

Rank: 2Rank: 2

UID
2853684
帖子
471
PB币
325
贡献
0
技术
0
活跃
558
发表于 2021-10-12 11:49:16 |显示全部楼层
快御云安全
本帖最后由 daliansky 于 2021-10-13 15:48 编辑

        OCAT更新了,新增两个项,ResizeAppleGpuBars、ResizeGpuBars。我个人理解是不是调整GPU显存。        看了文档还是不是很理解。还希望大佬们解惑。


ResizeAppleGpuBars
Type: plist integer
Failsafe: -1
Description: Reduce GPU PCI BAR sizes for compatibility with macOS.
[size=9.92773pt]      This quirk reduces GPU PCI BAR sizes for Apple macOS up to the specified value or lower if it is unsupported.
      The specified value follows PCI Resizable BAR spec. Use 0 for 1 MB, 1 for 2 MB, 2 for 4 MB, and so on up to [size=9.9626pt]19 [size=9.9626pt]for 512 GB.   
[size=9.9626pt]      Apple macOS supports 1 GB maximum, which is [size=9.9626pt]10[size=9.9626pt]. Use [size=9.9626pt]-1 [size=9.9626pt]to disable this quirk.
Note: See ResizeGpuBars quirk for general GPU PCI BAR size configuration and more details about the [size=9.9626pt]technology.
[size=9.9626pt]

ResizeGpuBars
Type: plist integer
Failsafe: -1
Description: Configure GPU PCI BAR sizes.
      This quirk sets GPU PCI BAR sizes as specified or chooses the largest available below the ResizeGpuBars value.
The specified value follows PCI Resizable BAR spec. Use 0 for 1 MB, 1 for 2 MB, 2 for 4 MB, and so on up to [size=9.9626pt]19 [size=9.9626pt]for 512 GB.
[size=9.9626pt]

      Resizable BAR technology allows to ease PCI device programming by mapping a configurable memory region,[size=9.99747pt]BAR, into CPU address space (e.g. VRAM to RAM) as opposed to a fixed memory region. This technology is [size=9.86297pt]necessary, because one cannot map the largest memory region by default, for the reasons of backwards compatibility [size=9.86796pt]with older hardware not supporting 64-bit BARs. Consequentially devices of the last decade use BARs up to 256 [size=9.98252pt]MB by default (4 remaining bits are used by other data) but generally allow resizing them to both smaller and [size=9.9626pt]larger powers of two (e.g. from 1 MB up to VRAM size).
[size=10.0323pt]

[size=10.0323pt]      Operating systems targeting x86 platforms generally do not control PCI address space, letting UEFI firmware [size=9.94766pt]decide on the BAR addresses and sizes. This illicit practice resulted in Resizable BAR technology being unused [size=9.9626pt]up until 2020 despite being standardised in 2008 and becoming widely available in the hardware soon after.
[size=9.86297pt]

[size=9.86297pt]      Modern UEFI firmware allow the use of Resizable BAR technology but generally restrict the configurable options [size=10.0622pt]to failsafe default ([size=9.9626pt]OFF[size=10.0622pt]) and maximum available ([size=9.9626pt]ON[size=10.0622pt]). This quirk allows to fine-tune this value for testing and [size=9.9626pt]development purposes.
Note 1 : This quirk shall not be used to workaround macOS limitation to address BARs over 1 GB. ResizeAppleGpuBars
should be used instead.
Note 2 : While this quirk can increase GPU PCI BAR sizes, this will not work on most firmware as is, because
the quirk does not relocate BARs in memory, and they will likely overlap. Contributions to improve this feature
are welcome.






附件: 你需要登录才可以下载或查看附件。没有帐号?注册

上校

Rank: 2Rank: 2

UID
1101942
帖子
258
PB币
273
贡献
0
技术
0
活跃
483
发表于 2021-10-12 15:05:44 |显示全部楼层
同问…………

Rank: 7Rank: 7Rank: 7

UID
4859289
帖子
2457
PB币
2741
贡献
0
技术
0
活跃
638
发表于 2021-10-12 16:10:08 |显示全部楼层
前来顶帖

Rank: 5Rank: 5Rank: 5

UID
796213
帖子
773
PB币
564
贡献
0
技术
14
活跃
1152
发表于 2021-10-12 16:33:48 |显示全部楼层
这不是老黄搞的CPU直读显存的技术么,苹果现在不支持N卡为啥要弄这个玩意?

Rank: 5Rank: 5Rank: 5

UID
4855219
帖子
674
PB币
172
贡献
0
技术
0
活跃
302
发表于 2021-10-12 17:21:14 |显示全部楼层
看看怎么调

Rank: 5Rank: 5Rank: 5

UID
3577382
帖子
1153
PB币
2953
贡献
0
技术
13
活跃
1296
发表于 2021-10-12 17:28:56 |显示全部楼层
这儿有说明,不过好像对苹果系统没用。

https://www.amd.com/zh-hans/technologies/smart-access-memory

Rank: 5Rank: 5Rank: 5

UID
796213
帖子
773
PB币
564
贡献
0
技术
14
活跃
1152
发表于 2021-10-12 17:55:55 |显示全部楼层
SoftXing 发表于 2021-10-12 17:28
这儿有说明,不过好像对苹果系统没用。

https://www.amd.com/zh-hans/technologies/smart-access-memory ...

原来如此。OC0.7.4之前,bios这个选项都要关掉的,打开就卡在引导了。

Rank: 5Rank: 5Rank: 5

UID
3577382
帖子
1153
PB币
2953
贡献
0
技术
13
活跃
1296
发表于 2021-10-12 18:27:10 |显示全部楼层
chflame 发表于 2021-10-12 17:55
原来如此。OC0.7.4之前,bios这个选项都要关掉的,打开就卡在引导了。

是,不关闭,卡引导。
另:支持该功能的显卡,烫手








附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 5Rank: 5Rank: 5

UID
796213
帖子
773
PB币
564
贡献
0
技术
14
活跃
1152
发表于 2021-10-12 23:40:12 |显示全部楼层

试了一下,设置到上限1G,BIOS打开ResizeBar了。OC引导正常。这个功能还不知如何测试
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 2Rank: 2

UID
2853684
帖子
471
PB币
325
贡献
0
技术
0
活跃
558
发表于 2021-10-13 10:28:24 |显示全部楼层
chflame 发表于 2021-10-12 23:40
试了一下,设置到上限1G,BIOS打开ResizeBar了。OC引导正常。这个功能还不知如何测试

我开的-1关了,哈哈哈

Rank: 2Rank: 2

UID
1404314
帖子
181
PB币
13
贡献
0
技术
0
活跃
240
发表于 2021-10-14 19:51:00 |显示全部楼层
我的就是开机引导这两个地方报错且不显示主题然后进行启动项选择,我设置为-1和设置为10都不行,看了下BIOS里没有对应的选项应该怎么弄

折腾无止境

Rank: 9

UID
4214129
帖子
4005
PB币
3912
贡献
0
技术
15
活跃
2523
发表于 2021-10-14 21:03:06 |显示全部楼层
有解决办法吗?

点评

傲骨虚怀  我是两个 -1 顺利启动!  发表于 2021-10-14 21:21

Rank: 1

UID
4844518
帖子
29
PB币
116
贡献
0
技术
0
活跃
62
发表于 2021-10-22 13:33:32 |显示全部楼层
我也存在这个问题,现在参数不管是-1还是10,开机进引导依旧报错,但是都可以进主题然后正常进系统,就是开机的时候0.5s一闪而过报了两条错。。。强迫症犯了想解决这个问题

折腾无止境

Rank: 9

UID
4214129
帖子
4005
PB币
3912
贡献
0
技术
15
活跃
2523
发表于 2021-10-22 13:35:04 来自手机 |显示全部楼层
Craige 发表于 2021-10-22 13:33
我也存在这个问题,现在参数不管是-1还是10,开机进引导依旧报错,但是都可以进主题然后正常进系统,就是开 ...

确实是这样!

Rank: 2Rank: 2

UID
4859361
帖子
360
PB币
832
贡献
0
技术
0
活跃
470
发表于 2021-10-22 19:13:25 |显示全部楼层
我的也是两项报错 怎么关闭啊

Rank: 2Rank: 2

UID
594454
帖子
149
PB币
215
贡献
0
技术
0
活跃
194
发表于 2021-10-23 17:47:59 |显示全部楼层
本帖最后由 lrgcx 于 2021-10-23 17:49 编辑

同样的情况,点保存后又好像正常?

Rank: 7Rank: 7Rank: 7

UID
3211340
帖子
1762
PB币
16
贡献
0
技术
12
活跃
1519
发表于 2021-10-24 08:15:04 |显示全部楼层
bios里没有这个选项怎么办?
回顶部
Copyright (C) 2005-2021 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛