-
Notifications
You must be signed in to change notification settings - Fork 475
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
Using 4k@60Hz monitor #117
Comments
Hi, you can try to open HiDPI in your external screen. First, insert you screen and close the laptop lid. Screen is not working if we fake with UHD 630 id, and it's not recommended by Clover and Whatevergreen. For example, in https://github.com/acidanthera/WhateverGreen/blob/master/WhateverGreen/kern_model.cpp, you can see |
Hey, thanks for the response. Spoiler: one-key-hidpi script output============================================Note: I don't have an external monitor to ============================================ Backing up... (1) Enable HIDPI Enter your choice [1~3]: 1|********** Choose Icon ***********|(1) iMac Enter your choice [1~5]: 5|********** resolution config ***********|(1) 1080P Display Enter your choice: 3 |
Maybe the script is not perfect yet. You can try to manually add resolution according to Rehabman's instruction. Because I am not able to access an external monitor, I haven't tested yet. |
Thanks for the link. I played a bit with the files and was able to make the monitor settings show higher resolutions. But if I select them, they are still only transmitted at 2560x1600@60Hz max (so I get a stretched screen). That means, macOS is not able to output higher resolutions. |
So, I just received the Xiaomi USBC-to-miniDP Adapter and a 4k-miniDP-to-DP cable and it still does not work. I tried it with the display overrides and switchResX. When I set 4k in switchResX, I get a black screen with sometimes a frame showing up for a fraction of a second (not a 4k frame though). |
@shilch I have the same problem, I have a little progress now. But it's not perfect, because it looks a bit fuzzy, I think this is caused by the graphics driver.
Spoiler: one-key-hidpi script output============================================Note: I don't have an external monitor to ============================================ Enter your choice [1~3]: 1|********** Choose Icon ***********|(1) iMac Enter your choice [1~5]: 5|********** resolution config ***********|(1) 1080P Display Enter your choice: 1 (do not use manual resolution) |
@nanking Thank you! I will check out your configuration once I am next to my monitor and will report back. |
I just had the chance to test the tool. I tried 1080p as well as 2k settings, both just overwrite the default display settings but the output resolution is still limited to 2560x1600. |
你好,我和上面那位仁兄一样尝试了很多种方法,通过typc转miniDP转DP连接4k显示器,windows下可以实现4k60hz,但是黑果下只能实现2560x1600 请问下未来是否有完善的可能。 |
Today, I tested with 4K HDMI, and it works fine in 30Hz. |
@stevezhengshiqi Interesting, thanks the suggestion of increasing DVMT! I will try this later. |
Default is 32 MB. |
I am not sure whether increasing DVMT to 64MB was successful. |
I got, what I would at least call a partial success: While my external monitor is still black via DP, I was able to move the display configuration window over to my laptop screen: The configuration looks different than before as the external monitor is now detected as HiDPI. Changing the resolution doesn't do anything though, the screen is still black. With HDMI, I don't get offered these settings, it's still limited to 2560x1600 and SwitchResX doesn't help either. |
After adding back |
@shilch Try to remove boot argument |
@stevezhengshiqi I don't have |
Maybe you can try to use the latest config in the repository, ACPI tables/SMBIOS model may affect the HDMI. Also don't forget to close the lid for a few seconds and reopen it after connecting to HDMI. |
I just removed my EFI stuff and used the new content from the repository. However, HDMI is still limited as before and DP results in a black screen (when removing |
By the way, I just noticed that in your screenshot it says "Metal: Supported, feature set macOS GPUFamily1 v3" while for me it says "Metal: Supported, feature set macOS GPUFamily2 v1". Does this indicate a difference in graphic configuration? |
bump |
For your information , you are right.
Can i ask something else ? Do you thing setting DVMT to 128 would have benefits ? |
@Mateo1234454545 It looks like it shows "Metal: macOS GPUFamily1 v3" for you as well. Do you mind sharing your EFI or CLOVER folder? |
@shilch That’s my sample screenshot which was quoted by him. I believe the Metal version is related to macOS version and has nothing to do with EFI. I am using 10.13.6. |
By the way, I'm having macOS GPUFamily 2 v1
P.S Mojave 10.14.3
…On Wed, Jan 30, 2019, 1:53 PM Steve Zheng ***@***.*** wrote:
@shilch <https://github.com/shilch> That’s my sample screenshot which was
quoted by him. I believe the Metal version is related to macOS version and
have nothing to do with EFI.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ApNk8xL1JXsbB2jfV6htq4LoErZS8Kh4ks5vIXm_gaJpZM4ZKHar>
.
|
@stevezhengshiqi Oh, my fault 🤦♂️ |
@shilch Sure, but I don't think my EFI folder would help you a lot. I leave only necessary kexts in CLOVER/kexts/Other, and change SMBIOS model to MacBook10,1 for stricter Graphics power control. |
Thanks! I will run diff to see what's different. |
@stevezhengshiqi , would you mind testing smbios macbookair 8,1 ? |
soory, I can't really understand how to try this solution, on the other hand, I also used dp port to connect the monitor, was this solutin only suitable for hdmi 2.0? |
@ZambraDesigner You would have to compile the new code yourself or just wait for a new pre-compiled version of the kext. |
@shilch Are your mac os running in 4k on your monitor now ? |
It is now working in 4k even though I am using a resolution of 2304x1296 @ 60Hz HiDPI. To get to this I first ran the script to increase the 64MB video memory: https://github.com/daliansky/XiaoMi-Pro-Hackintosh/tree/master/BIOS/DVMT_and_0xE2_fix then I enabled HiDPI: https://github.com/daliansky/XiaoMi-Pro-Hackintosh/tree/master/one-key-hidpi and finally installed SwitchResX to improve the resolution |
Thanks for the quick answer, I did everything and yet the HiDPI resolution dont appear in preference system even when ALT is pressed .. Any ideas ? |
Hi, I'm not sorry but I don't know what it depends on. |
@Raphencoder The hidpi script in this repository is only for internal screen. For external screen, please close the lid and run the script in https://github.com/xzhih/one-key-hidpi |
Hello, I think for 4k to work, you have to set vram to 2048mb |
Hello, Can please somebody explain step by step how to do it? Do I have to make changes to the bios? (Right now I have the version 502). Thank you in advance! |
Hello! I have a similar issue, I am on bios 906, Display DELL 4919DW 5120x1440, I have patched the bios for 64MB dvmt. I get 3800 ish by 1080p at maximum, using hidpi I can output 5120x1440 but it's scaled and looks horrible! Charging, mouse and keyboard works fine, 2540 by 1440 also works fine when running PBP |
Anyone have audio over USB C out while on 4K 60hz? |
Thanks for this nice trick with Sleep, but one question remains. Since the hardware is obviously fine (default DVMT etc.), why does this happen only when hot-plugging the USB-C cable for the first time? What is the difference in HW state after the system sleeps & wakes up? Maybe we can all try to observe differences in IORegistryExplorer? |
Examined the difference in the states before & after sleeping the hack, and there's one small difference under I don't know how to do that in OC or Clover, someone else? |
@shilch @daliansky @stevezhengshiqi I have upgraded from EFI 1.3.8 to 1.4.3 and now I notice frequent black screens on the external monitor. The external monitor is a 4k Philips connected via type c (PD) DisplayPort with 4k 60hz resolution. With EFI 1.3.8 black screens happened but very few (2-3 in 8 working hours) With EFI 1.4.3 they are more frequent, even 1-2 every 15 minutes up to complete signal losses which I resolve by disconnecting and reconnecting the type-c display port cable. Black screens last about 1-2 seconds. |
@ZambraDesigner You could try two methods:
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>AAAWWQ==</data>
<key>AAPL,slot-name</key>
<string>Internal</string>
<key>complete-modeset-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>device-id</key>
<data>FlkAAA==</data>
<key>force-online</key>
<data>AQAAAA==</data>
<key>force-online-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>framebuffer-con0-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-flags</key>
<data>mAQAAA==</data>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-flags</key>
<data>xwMAAA==</data>
<key>framebuffer-con1-pipe</key>
<data>CgAAAA==</data>
<key>framebuffer-con1-type</key>
<data>AAgAAA==</data>
<key>framebuffer-con2-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con2-flags</key>
<data>xwMAAA==</data>
<key>framebuffer-flags</key>
<data>CwfDAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
</dict> Change to: <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>BQAcWQ==</data>
<key>AAPL,slot-name</key>
<string>Internal</string>
<key>complete-modeset-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>device-id</key>
<data>FlkAAA==</data>
<key>force-online</key>
<data>AQAAAA==</data>
<key>force-online-framebuffers</key>
<data>AAAAAAAAAAE=</data>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-pipe</key>
<data>CgAAAA==</data>
<key>framebuffer-con1-type</key>
<data>AAgAAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
</dict> |
Thanks @stevezhengshiqi I ran the second method and the black screens have shrunk a lot but occasionally still some. They happen both when the PC is overloaded and the fan starts for a few seconds, and when it seems normal. |
I went straight to modify DVMT-Preallocated values and it simply works! 我直接顺手把CFG和DVMT都修改了,转接DP输出4K@60Hz很完美 |
Hi! Thanks @DavidZhu199 for your reply. How did you modify DVMT-Preallocated values and CFG? What model of Xiaomi do you have? |
Model: MI PRO 2017(TIMI 1701) |
Do you need to put Mac to sleep to active 4k Resolution? |
No.I use usb-c instead of hdmi. |
Great |
我是用18年的xiaomebook pro,其typec口连接typec显示器,连接上了但一直黑屏。hdmitohdmi |
Hey! Have it working fine, but GPU performance is really sluggish, most noticeable on some apps like Microsoft Teams, where resizing the window takes forever. GPU freqs look "fine" to me, applied DVMT 64MB patch, also running with MSR 0xE2 fix, which I suppose it should help with performance? (Correct me if I'm wrong) Even did some undervolting for testing but I think that's not the case at all. |
cool! I will buy a 4k |
Hey,
I am having difficulties getting my Xiaomi Notebook Pro to run with the HP Envy 27s at 4k. It only shows 2560x1600 as max resolution when connecting with either HDMI (which should do 4k@30Hz) or DisplayPort via USB-C-(+Power-Delivery)-Adapter (which should do 4k@60Hz). I also tried to use SwitchResX which didn't help either. I believe this is due to the fact that the UHD 620 is faked to HD 620 which is known to have issues with 4k. There haven't been any issues when I booted from a GParted Live USB, 4k was working flawlessly with the Live USB.
Any ideas? Can we fake the UHD 620 to UHD 630 (which is used in the 2018 MacBooks)?
Thank you in advance!
The text was updated successfully, but these errors were encountered: