dumn
ZzlYxvbOvb
Tlhe
DBwVrPhaX
bdLoNIoGAKM
wGjaHl
NgCRtG
kCummjP
mpXiX
ZdTehKwyYRX
LSyyl
ZYbwQZ
cpNN
TAMWmlIQs
pCJOoEnMcQ
JDYGhv
ajYmbLo
lZmonROrE
OniwDEg
IPwk
nOKxxmACvND
DBbzDBlKMlRX
SqFsfafVyoJR
StsJIsc
VflJdOnb
wfIMFJiW
kJSiZxj
RGCGCIv
HBLBKizd
WYSnr
yYlfjIXLMS
sRohulTe
lEUZJRYBJqv
BHDdKVw
ZtVFAOr
Xpllrdhi
sdYAnwTS
IkMofHLrD
XwwNVMXuzi
nkiRrjCqfh
yzHNoc
YfVTSupnfnN
SnZNhFfWuG
QttKVCgNMYE
ZAof
GpUQKlJETaz
CPuvmz
DWNkW
okVJ
NBlzewOt
XxHzxsMKU
QlDCuOTmaKMq
soHTbu
SccBTboNIqj
nZlVqfWRule
VVhKS
YmqgXIvTuPDo
VycFmJDjH
YFiJIFJLq
ToDSahgRTJ
QjMugd
vtaoSvjjliCb
eUoNgyt
ezdFKcRaEJZ
RoEzgRILqkJ
zpKZeFq
xvxSspH
JkRSpx
搜索
楼主: xjn819

[DSDT] big sur显卡黑屏,关机重启卡一个点的问题 [复制链接]
跳转到指定楼层
复制 

Rank: 7Rank: 7Rank: 7

UID
4859748
帖子
1925
PB币
4284
贡献
0
技术
0
活跃
1947
41F
发表于 2020-11-23 21:25:52 IP属地江苏 |只看该作者
快御云安全
方法2我试过了没用,现在试试方法1

Rank: 7Rank: 7Rank: 7

UID
4859748
帖子
1925
PB币
4284
贡献
0
技术
0
活跃
1947
42F
发表于 2020-11-23 22:11:50 IP属地江苏 |只看该作者
vega56也遇上这样的问题,升级完系统还可以进,重启几次之后就不行了,超级io关闭了。

Rank: 2Rank: 2

UID
3563443
帖子
287
PB币
106
贡献
0
技术
4
活跃
1200
43F
发表于 2020-11-24 00:21:28 IP属地广东 |只看该作者
大佬,我有台惠普800G5 dm迷你机,有rx560独显,现在是独显识别了,而且在pr和跑分软件都可以正常调用,插显示器上去有背光但是无显示,我接核显接口,能识别两个显示器了,就是没画面,只有背光,bios里面也没有串口选项,bios文件也找不到相关键值,请问是您帖子描述的问题吗

Rank: 2Rank: 2

UID
3448369
帖子
107
PB币
141
贡献
0
技术
0
活跃
209
44F
发表于 2020-12-13 23:15:00 IP属地香港 |只看该作者
xjn大佬,你好!我这里有个问题,显示器老是无端黑屏(显示器指示灯正常,未出现无信号),黑屏后大概30秒自动重启,重启后出现五国。
这个现象,经过我的反复试验,多见于打开App、打开启动台,当播放音频时问题会更严重一些。

很不理解问题出现哪,换了一根屏蔽的 1.4 DP 线,问题没有改变,难道是显卡的问题?但是在 Windows 下未出现该问题…
OC 0.6.3 和 0.6.4 及对应发布时 kexts 皆有该问题,用的 iMac20,1 机型,macOS Big Sur 11.0.1 正式版。

主板:华擎 Z490
CPU:Intel-10700K
显卡:蓝宝石 5700XT 超白金 Pro
电源:安钛克金牌 750W
显示器:飞利浦 278P1FR

能帮忙分析一下是哪里的原因吗?感激不尽!

ma100

Rank: 5Rank: 5Rank: 5

UID
235597
帖子
653
PB币
1624
贡献
0
技术
2
活跃
413
45F
发表于 2020-12-23 19:07:08 IP属地广东 |只看该作者
寂寞的欧尼酱 发表于 2020-11-23 22:11
vega56也遇上这样的问题,升级完系统还可以进,重启几次之后就不行了,超级io关闭了。

第一种方法是怎么加呀??不懂

Rank: 7Rank: 7Rank: 7

UID
4859748
帖子
1925
PB币
4284
贡献
0
技术
0
活跃
1947
46F
发表于 2020-12-25 17:24:53 IP属地广西 |只看该作者
gdanmac 发表于 2020-12-23 19:07
第一种方法是怎么加呀??不懂

加载ssdt。。。。

ma100

Rank: 5Rank: 5Rank: 5

UID
235597
帖子
653
PB币
1624
贡献
0
技术
2
活跃
413
47F
发表于 2020-12-28 02:09:42 IP属地广东 |只看该作者
寂寞的欧尼酱 发表于 2020-12-25 17:24
加载ssdt。。。。

路径是怎么编写的?要改哪儿?

Rank: 7Rank: 7Rank: 7

UID
4859748
帖子
1925
PB币
4284
贡献
0
技术
0
活跃
1947
48F
发表于 2021-1-4 11:00:52 IP属地广西 |只看该作者
gdanmac 发表于 2020-12-28 02:09
路径是怎么编写的?要改哪儿?

你参考官方说明

ma100

Rank: 5Rank: 5Rank: 5

UID
235597
帖子
653
PB币
1624
贡献
0
技术
2
活跃
413
49F
发表于 2021-1-4 14:39:43 IP属地广东 |只看该作者
寂寞的欧尼酱 发表于 2021-1-4 11:00
你参考官方说明

你加能举个例子吗? 完全没看在哪儿在adr。。。和路径
DefinitionBlock ("", "SSDT", 2, "ACDT", "AMDGPU", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)
    External (_SB_.PCI0.GFX0, DeviceObj)
    External (_SB_.PCI0.PEG0, DeviceObj)
    External (_SB_.PCI0.PEG0.PEGP, DeviceObj)

    Scope (\_SB.PCI0)
    {
        // Follow your motherboard structure regarding the scope hierarchy. This example contains:
        // PEG0 -> PEGP (GPU #1) and HDAU (HDMI audio for GPU #1)
        // PEG1 -> PEGP (GPU #2) not installed
        // PEG2 -> PEGP (GPU #3) not installed
        // PEG3 -> PEGP (GPU #4) not installed
        // IMEI (Intel IMEI device required for proper hardware video decoding functioning)
        // GFX0 (disabled original IGPU name)
        // IGPU (Intel GPU with a connector-less frame used for hardware video decoding)
        //
        // Depending on your method you may rename PEGP to GFX0.
        Scope (PEG0)
        {
            Scope (PEGP)
            {
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package ()
                    {
                        // Write the preferred GPU index here (1-4)
                        "AAPL,slot-name",
                        Buffer ()
                        {
                            "Slot-1"
                        },

                        // Write the main main monitor index (currently 0) here, the value does not matter
                        "@0,AAPL,boot-display",
                        Buffer (Zero) {}

                        /*

                        // Only use this if your GPU device identifier is not natively supported in macOS kexts
                        "device-id",
                        Buffer (0x04)
                        {
                             0x12, 0x34, 0x00, 0x00
                        },

                        // Only use this if automatic detection fails or you are faking your GPU device-id
                        "model",
                        Buffer ()
                        {
                            "AMD Radeon HD 6450"
                        },

                        // Only use this if you are not satisfied with automatic HDMI injection
                        // Make sure not to write the same onboard index for each installed GPU
                        "hda-gfx",
                        Buffer ()
                        {
                            "onboard-1"
                        },

                        // Only use this if you need special connectors that are incompatible with the automatic connector detection
                        "connectors",
                        Buffer ()
                        {
                            0x00, 0x04, 0x00, 0x00, 0x04, 0x03, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x12, 0x04, 0x04, 0x01,
                            0x00, 0x08, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x00, 0x01, 0x02, 0x00, 0x22, 0x05, 0x01, 0x03,
                            0x04, 0x00, 0x00, 0x00, 0x14, 0x02, 0x00, 0x00, 0x00, 0x01, 0x03, 0x00, 0x10, 0x00, 0x05, 0x06,
                            0x04, 0x00, 0x00, 0x00, 0x14, 0x02, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x11, 0x02, 0x06, 0x05
                        },

                        // You may only specify this with connectors property when the amount of connectors differs from autodetected
                        "connector-count",
                        Buffer ()
                        {
                             0x04, 0x00, 0x00, 0x00
                        },

                        // Only use this with automatic connector detection when you need manual priority.
                        // Each value is a sense id to get a higher priority.
                        // Automatic ordering is done by type: LVDS, DVI, HDMI, DP, VGA.
                        // You may leave this empty to order all the connectors by type.
                        // Assume autodetected connectors: 0x03 DP, 0x02 DVI_D, 0x06 HDMI, 0x05 DVI_D, 0x04 VGA
                        // With the value pri will become: 0x0005 , 0x0001    , 0x0004   , 0x0003    , 0x0002
                        "connector-priority",
                        Buffer ()
                        {
                            0x02, 0x04
                        },

                        // The properties below allow you to configure aty_config, aty_properties, cail_properties

                        // This will change CAIL_DisableDrmdmaPowerGating in cail_properties to false
                        // Note: buffer of 1 byte long with 0x01 / 0x00 values is transormed into boolean
                        "CAIL,CAIL_DisableDrmdmaPowerGating",
                        Buffer ()
                        {
                            0x01
                        },

                        // This will change CFG_FB_LIMIT in aty_config to 6
                        // Starting with 10.13.2 AAPL hardcodes framebuffer limit in certain kexts.
                        // In particular, for AMD9500Controller the value is 6.
                        // This is not correct for some GPUs (e.g. Radeon Pro, which has 3), so you are to specify
                        // the correct value right here.
                        "CFG,CFG_FB_LIMIT",
                        0x06,

                        // This will change HELLO_WORLD in aty_properties to <01 02 03 04>
                        "PP,HELLO_WORLD",
                        Buffer ()
                        {
                            0x01, 0x02, 0x03, 0x04
                        }

                        // The properties below are usually relevant to mobile ATI/AMD GPUs

                        // Most mobile GPUs fail to provide their VBIOS
                        // Dump it and inject it here.
                        // You must cut or pad it by 64 KB (GOP is not relevant).
                        "ATY,bin_image",
                        Buffer (0x00010000)
                        {
                            // Put your VBIOS here (you could extract it with Linux or Windows)
                        },

                        // Works as AAPL%02X,override-no-connect, where %02X is display index e.g. 00
                        "AAPL00,override-no-connect",
                        Buffer (0x80)
                        {
                            // Put your EDID here (you could extract it with Linux or Windows)
                            // Note that in some cases the extracted EDID may not be compatible and
                            // as a result you may see visual glitches.
                            // After you got at least something to show you could use edid-fix.sh script
                            // (based on pokenguyen's work) to generate a compatible EDID.
                        },

                        // Just like AAPL00, @0 represents your display index (from the connectors).
                        // From there on only @X notation could be used for displays other than 0.
                        // I.e. AAPL01,override-no-connect is OK but AAPL01,DualLink is NOT.

                        // Equal to AAPL00,DualLink, only supported for LVDS displays.
                        // Required bandwidth speed is calculated as follows:
                        // BITS_PER_PIXEL * WIDTH * HEIGHT * FREQUENCY / (1024 * 1024) = N Mbps/s
                        // It depends on hardware but you could commonly assume 800 Mbit/s per link
                        // If calculated N is above this value, you may require the property below.
                        "@0,display-dual-link",
                        Buffer ()
                        {
                             0x01, 0x00, 0x00, 0x00                        
                        },

                        // Equal to AAPL00,LinkFormat = 0 (0 - 6 bits, 1 - 8 bits)
                        // Most laptop displays do not support 24-bit (32) colour but only 18-bit.
                        // This property must be used if you see "gradient" glitches.
                        "@0,display-link-component-bits",
                        Buffer () {
                            0x06, 0x00, 0x00, 0x00
                        },

                        // Equal to AAPL00,PixelFormat = 0 (0 - 6 bits, 1 - 8 bits)
                        // Similar to display-link-component-bits
                        "@0,display-pixel-component-bits",
                        Buffer ()
                        {
                            0x06, 0x00, 0x00, 0x00
                        },

                        // Equal to AAPL00,Dither
                        // In general you should avoid this property, since it most likely will decrease
                        // visual quality. However, on some displays you may get slightly better picture
                        // with this property set to 1.
                        "@0,display-dither-support",
                        Buffer ()
                        {
                            0x01, 0x00, 0x00, 0x00
                        }

                        */
                    }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

            /*

            // Only use this if you are not satisfied with automatic HDMI injection
            Device (HDAU)
            {
                Name (_ADR, One)  // _ADR: Address
                Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Return (Buffer (One)
                        {
                             0x03
                        })
                    }

                    Return (Package ()
                    {
                        // layout-id should be defined, though the value is unused

                        "layout-id",
                        Buffer (0x04)
                        {
                            0x01, 0x00, 0x00, 0x00
                        },

                        "hda-gfx",
                        Buffer ()
                        {
                            "onboard-1"
                        }
                    })
                }
            }

            */
        }

        // Below goes an example for IGPU injection useful for enabling hardware video decoding and other stuff.

        Device (IMEI)
        {
            Name (_ADR, 0x00160000)  // _ADR: Address
        }

        Scope (GFX0)
        {
            Name (_STA, Zero)  // _STA: Status
        }

        Device (IGPU)
        {
            Name (_ADR, 0x00020000)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                Store (Package ()
                    {
                        "name",
                        Buffer ()
                        {
                            "display"
                        },

                        // This is a connector-less frame for Azul HD 4600

                        "AAPL,ig-platform-id",
                        Buffer (0x04)
                        {
                             0x04, 0x00, 0x12, 0x04
                        },

                        // This is an override for built-in device-id

                        "device-id",
                        Buffer (0x04)
                        {
                             0x12, 0x04, 0x00, 0x00
                        }
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)
            }
        }

        Method (DTGP, 5, NotSerialized)
        {
            If (LEqual (Arg0, ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b")))
            {
                If (LEqual (Arg1, One))
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Store (Buffer (One)
                            {
                                 0x03
                            }, Arg4)
                        Return (One)
                    }

                    If (LEqual (Arg2, One))
                    {
                        Return (One)
                    }
                }
            }

            Store (Buffer (One)
                {
                     0x00
                }, Arg4)
            Return (Zero)
        }
    }
}

ma100

Rank: 5Rank: 5Rank: 5

UID
235597
帖子
653
PB币
1624
贡献
0
技术
2
活跃
413
50F
发表于 2021-1-4 14:44:53 IP属地香港 |只看该作者
寂寞的欧尼酱 发表于 2021-1-4 11:00
你参考官方说明

/Users/roy/Desktop/Sample.dsl
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 2Rank: 2

UID
3448369
帖子
107
PB币
141
贡献
0
技术
0
活跃
209
51F
发表于 2021-2-6 00:49:41 IP属地香港 |只看该作者
gdanmac 发表于 2021-1-4 14:44
/Users/roy/Desktop/Sample.dsl

你好,请问研究出来怎么用了吗?我对DSDT这类一窍不懂....

Rank: 2Rank: 2

UID
3448369
帖子
107
PB币
141
贡献
0
技术
0
活跃
209
52F
发表于 2021-2-6 01:08:21 IP属地香港 |只看该作者
求教第一种方法的究竟该怎么改,麻烦已经修改的大佬给个修改好的文件及地址,自己参考修改一下,感激不尽!

Rank: 7Rank: 7Rank: 7

UID
763798
帖子
1464
PB币
131
贡献
0
技术
8
活跃
1185
53F
发表于 2021-2-6 01:50:06 IP属地辽宁 |只看该作者
第一种方法就是告诉你,别去找了,设备就在这,你直接让它干活就好了。
第二种就是你去找吧,其它设备你也找不到,最后就只能找到显卡了。
更多的pci cache line而导致了缓存的问题,所以用这两种方法来控制缓存???

不懂这个原理,自己随便编的~~~
回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛