-
Notifications
You must be signed in to change notification settings - Fork 159
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
4K video playback laggy and stuttering. #262
Comments
Is there any DRM on these videos? Btw doesn’t have to be paid content to have DRM. |
Hmm, these are cut from a youtube video, but I re-rendered these videos in the Adobe media encoder and other software... So BTW, I had no problem playing the original video. |
I've encountered this issue when playing some 1080P videos, but not many and not that severe. (I am sure those don't have DRM.) I think it's something to do with the codec. |
tested on 4k screen with dp port, 10.5.4. h264 4k 120fps:laggy on quicktime,fine on iina 1.0.4 (hw decode set to auto or disable So I think the issue is related to either quicktime or the video itself. For the 4k 120fps video, as your video file is variable frame-rate (vfr), maybe there is some bug in the timecodes that quicktime cannot play correctly (with hw/sw)? |
Software decoding works fine for both videos. So I think this issue only happens when using HW decode.
When iina decode is set to auto, both video laggy:
I agree that these videos are not good examples. But both two can play smoothly on a real MacBook Pro, and my friend had no problem decoding them using a mac supported AMD card. And I do have experienced stutters playing some other 1080P BDRIPs (10bit HEVC videos from https://vcb-s.com/), but they're just not that severe.
As I mentioned, the AMD Radeon VII had no issue decoding them using whatever players. |
Nvm if this is hard to fix since I can always turn off HW decode. :) |
According to your phenomenon, I suppose there might be some issue with hw decoding.
I tried with a hackintosh laptop running 10.15.3, with kabylake cpu and intel hd620.
|
Is this instantaneous? Or over time? I have an issue where the system stutters (audio + video) after being powered on for more than a day. |
Yes, it happens instantaneously. I have also experienced similar problems you described, and I found this happens immediately when I launch some games like Minecraft, which I believe should not be that resource-demanding... |
I am able to get the video to play correctly using AMD Codec (be sure to also check reset boot-args when switching codec). |
Thanks! I will have it a try and feedback here. Btw, can I use this driver update with Intel codec? Cuz I really want the sidecar working. |
I think the problem is in the Intel encoder. Does sidecar not work for AMD codec? I haven’t tested it but maybe it works in the new drivers? |
Tested, and it works.
It's not working with AMD codec, and it only shows a black screen. |
The reason seems to be that the maximum frequency of HD630 is only 0.5Ghz. I tried to use the boot-args parameter 'igfxfw=2' to load AppleGuC but it didn't work. |
Ah, good point. I’ve seen this as well. Btw I’ve tried loading GuC before and this is as far as I’ve gotten acidanthera/bugtracker#586 (comment) Does |
Reopening pending proper fix in acidanthera/WhateverGreen#47 |
I Used Hacmini2.11,and it is Splash screen(Screen flash) on my LG 4K Display. I have to use Intel Codec(form Hacmini2.10) to fix it. Reboot and use The QuickTime Fix,It is ok now. HaC Mini version : 2.11 |
You don’t need QuickTime fix on 2.11 |
but when I setup Hacmini2.11,boot and come in 10.15.6,the screen flash and flash agian,i can not to use. but put com.apple.AppleGVA to the Library Reboot again. The screen is not flash. It is fine |
I don’t think that’s related. You need to install the screen flicking workaround. QuickTime Fix only affects video playback. The flickering problem is a macos issue. |
But I do not know the reason.i use the Quicktime fix,it never flick again. May I ask how to install the screen flicking workaround? |
It’s an option in the hac mini installer. QuickTime fix does nothing on latest release and has been released. |
I see then it seems like the problem is still not fixed :( I’ll port the workaround. |
You said it seems to be fixed in Big Sur while he's running Catalina. |
Oh in that case, are you sure it’s installed properly? Can you see if there’s a file called SLForceFPS in /usr/local/bin ? |
No,it is not here. But I log off my account again or restart the computer, Excuse me, see if I can solve this problem, Thank you very much for your labor. |
Then you didn’t install the workaround. Maybe a Chinese user can help you figure it out. |
@13months Customize -> Workarounds -> check Reduce screen flickering |
Describe the bug
4K video playback stutters, lots of frame drops.
I think it's some configuration problems...
Video links:https://1drv.ms/u/s!Aj4tLSaqxvfdwjASwip9MKVr3I2o?e=sY6t90
password: hacmini
(just some random videos for testing...)
Expected behavior
Should decoding correctly and playing smoothly.
Configuration
Modifications
I tried the both AMD codec and Intel codec of the HacMini Installer, nothing changed.
It only plays these videos smoothly when HW acc is not available...(Using software decoding).
(Later, I changed my PlatformInfo to iMac18,3, which is nothing to do with this problem tho.
Btw, I saw you have talked about the iMac18,3 and USB-C DP in some Issues, but I've tested and it works fine. Would you like to consider making the iMac18,3 option available in the installer?)
The text was updated successfully, but these errors were encountered: