Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于外接HDMI 显示器的问题 #5

Closed
whhjdi opened this issue Aug 17, 2019 · 6 comments
Closed

关于外接HDMI 显示器的问题 #5

whhjdi opened this issue Aug 17, 2019 · 6 comments

Comments

@whhjdi
Copy link

whhjdi commented Aug 17, 2019

使用hanckintool生成的补丁外界显示器是有问题的,
可以替换我找到的这个
<key>Properties</key> <dict> <key>PciRoot(0)/Pci(0x02,0)</key> <dict> <key>## patch0</key> <string>开机鼠标卡顿</string> <key>## patch1</key> <string>Enable internal display after sleep for 0x0a2e000a, 0x0a26000a</string> <key>##### 开启128M DVMT-prealloc,外接4k显示器需要,但是内置屏幕会狂闪</key> <string>0</string> <key>#####framebuffer-fbmem</key> <data> AAAAAg== </data> <key>#####framebuffer-stolenmem</key> <data> AAAACA== </data> <key>####framebuffer-fbmem</key> <data> AAAAAw== </data> <key>####framebuffer-stolenmem</key> <data> AAAABg== </data> <key>###framebuffer-fbmem</key> <data> AACQAA== </data> <key>###framebuffer-stolenmem</key> <data> AABgAA== </data> <key>#hda-gfx</key> <string>onboard-1</string> <key>AAPL,ig-platform-id</key> <data> BgAmCg== </data> <key>AAPL00,override-no-edid</key> <data> AP///////wAGrz0UAAAAAAAXAQSVHxF4Arv1lFVUkCcj UFQAAAABAQEBAQEBAQEBAQEBAQEBsDaASnE4NEAwIDUA Na0QAAAYAAAADwAAAAAAAAAAAAAAAAAgAAAA/gBBVU8K ICAgICAgICAgAAAA/gBCMTQwSFROMDEuNCAKAOY= </data> <key>device-id</key> <data> EgQAAA== </data> <key>enable-hdmi20</key> <data> AQAAAA== </data> <key>framebuffer-con1-enable</key> <integer>1</integer> <key>framebuffer-con1-flags</key> <data> BgAAAA== </data> <key>framebuffer-con1-pipe</key> <data> EgAAAA== </data> <key>framebuffer-con1-type</key> <data> AAgAAA== </data> <key>framebuffer-cursormem</key> <data> AACQAA== </data> <key>framebuffer-patch-enable</key> <integer>1</integer> <key>framebuffer-patch0-enable</key> <integer>1</integer> <key>framebuffer-patch0-find</key> <data> AgQJAAAEAACHAAAA </data> <key>framebuffer-patch0-replace</key> <data> /wAJAAAEAACHAAAA </data> <key>framebuffer-patch1-enable</key> <integer>1</integer> <key>framebuffer-patch1-find</key> <data> AQAAAEAAAAAeAgAABQUJAQ== </data> <key>framebuffer-patch1-replace</key> <data> AQAAAEAAAAAfAgAABQUJAQ== </data> <key>framebuffer-patch2-enable</key> <data> AQAAAA== </data> <key>framebuffer-patch2-find</key> <data> AwAiDQADAwMAAAACAAAwAQAAAAAAAABgmRQ= </data> <key>framebuffer-patch2-replace</key> <data> AwAiDQADAwMAAAAIAAAAAgAAAAAAAACAmRQ= </data> <key>framebuffer-unifiedmem</key> <data> AAAAgA== </data> <key>model</key> <string>Intel HD Graphics 4600</string> </dict> </dict>

@1zilc
Copy link
Owner

1zilc commented Aug 21, 2019

外接hdmi有什么问题,具体表现是什么

@whhjdi
Copy link
Author

whhjdi commented Aug 21, 2019

外接显示器的尺寸识别错误,我的是24寸2k,识别成27的1080
之前我用ym2008的efi也有这种问题,我换了缓冲帧修补的代码才解决

@whhjdi
Copy link
Author

whhjdi commented Aug 22, 2019

下边这两个dvmt相关的可以不打,就没问题了
framebuffer-fbmem
AACQAA==
framebuffer-stolenmem
AAAwAQ==

@1zilc
Copy link
Owner

1zilc commented Aug 22, 2019

关于这两项,你可以根据自己的情况来设置,去掉应该是太不可能的
建议:

  • framebuffer-fbmem
    一般屏幕设置成9M:00009000 -> AACQAA==
    高分屏设置成48M:00000003 -> AAAAAw==

  • framebuffer-stolenmem
    1080P,设置为48M:00003001 -> AAAwAQ==
    2k,设置为64M:00000004 -> AAAABA==
    4K,要设置为128M:00000008 -> AAAACA==

@whhjdi
Copy link
Author

whhjdi commented Aug 22, 2019

关于这两项,你可以根据自己的情况来设置,去掉应该是太不可能的
建议:

  • framebuffer-fbmem
    一般屏幕设置成9M:00009000 -> AACQAA==
    高分屏设置成48M:00000003 -> AAAAAw==
  • framebuffer-stolenmem
    1080P,设置为48M:00003001 -> AAAwAQ==
    2k,设置为64M:00000004 -> AAAABA==
    4K,要设置为128M:00000008 -> AAAACA==

这是whatevergreen提供的hd4600的一个配置,只需要在增加framebuffer-unifiedmem,把显存提高到2048M就行,不弄也行
这两项真的可以去掉的,修补这两项其实没啥用(可能bios的问题)
https://github.com/acidanthera/WhateverGreen/blob/master/Manual/AzulPatcher4600_equivalent.plist

@whhjdi whhjdi closed this as completed Nov 26, 2019
@yzy-1995
Copy link

我更新了最新版的efi之后 外接显示器就黑屏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants