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

Can not get 4k60hz #7

Closed
kb-hat-tuan opened this issue Aug 28, 2022 · 3 comments
Closed

Can not get 4k60hz #7

kb-hat-tuan opened this issue Aug 28, 2022 · 3 comments

Comments

@kb-hat-tuan
Copy link

@extric99
Hi,
Thank you for sharing your hard work.
I'm have same NUC and using your EFI, but I can not select 60hz on 4k monitor.
Maximum frame rate of 1080p~4k is 30hz.
Only 720p have 60hz.
My HDMI cable work normal on other PC.

Do you have same problem?

Best regard,
HT

@kb-hat-tuan
Copy link
Author

I just found that Intel HD 620 only support 4k24hz on HDMI
https://ark.intel.com/content/www/us/en/ark/products/124968/intel-core-i78650u-processor-8m-cache-up-to-4-20-ghz.html
dragonflylee/Yoga730-hackintosh#21

But in Ubuntu 22.04, I can get 4k60hz.

@extric99
Copy link
Owner

extric99 commented Aug 29, 2022

I tested and can can replicate the issue
On a 1440p monitor i can use 60hz at 1440p
However on a 4k monitor you need to drop down to 720p to get 60hz

Only thing i can think of is to change the framebuffer as suggested in the github thread. Suggest you try this.
i dont have a lot of time to play with this now so please try test yourself. I will try to look at it later

Technically the NUC supports 4k according to https://ark.intel.com/content/www/us/en/ark/products/130392/intel-nuc-kit-nuc7i7dnke.html as it seems to be using the display port to drive the HDMI. More precisely
Dual HDMI 2.0a, 4-lane eDP 1.4

Seems the nuc is using the LSPCON controller to drive the HDMI from the DP (see p20) so it should be possible to enable 4k with the correct
https://www.intel.com/content/dam/support/us/en/documents/mini-pcs/nuc-kits/NUC7i7DN_TechProdSpec.pdf

see

https://www.tonymacx86.com/threads/an-idiots-guide-to-lilu-and-its-plug-ins.260063/#4K

add "-cdfon" as a MacOS boot argument

add below to the device properties of the graphics adaptor

            <key>framebuffer-unifiedmem</key>
            <data>
            AAAAgA==
            </data>

@extric99
Copy link
Owner

extric99 commented Sep 23, 2022

image

If you use below it works, Can play 60fps YouTube with no issue

As framebuffer

		<dict>
                            <key>AAPL,ig-platform-id</key>
			<data>CQClPg==</data>
			<key>AAPL,slot-name</key>
			<string>Internal@0,2,0</string>    
			<key>device-id</key>
			<data>pT4AAA==</data>
			<key>device_type</key>
			<string>VGA compatible controller</string>
			<key>model</key>
			<string>HD Graphics 620</string>
			<key>framebuffer-patch-enable</key>
			<data>AQAAAA==</data>                
                            <key>enable-hdmi-dividers-fix</key>
			<data>AQAAAA==</data>
			<key>enable-hdmi20</key>
			<data>AQAAAA==</data>
			<key>enable-lspcon-support</key>
			<data>AQAAAA==</data>
		</dict>

For the boot arguments

			<key>boot-args</key>
			<string>-cdfon</string>

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

2 participants