Jump to content

black.dragon74

Members
  • Content Count

    19
  • Joined

  • Last visited

Everything posted by black.dragon74

  1. black.dragon74

    Glitches and Lags with UHD 620

    Hey there! I am struggling to get UHD 620 working properly on macOS Mojave 10.14.2. The graphic drivers are loading and system report says "Intel HD Graphics 620 1536 MB". I will try my best to explain the situation I am facing. So the system boots up pretty fast till first stage Apple Logo, At the second stage, when the screen flickers for a tiny bit of second, progress bar always seems to get stuck. After waiting for a couple of seconds, the mouse pointer comes, stating the login screen has loaded. Then I can type in the password and hit enter to login, I'll just see a spinning bar overlapping the Apple Logo and then, we can see a very faded out desktop. As the desktop fades in to screen normally, in my case, it get's stuck at the initial fade state. At this point if I plugin in HDMI cable, the screen becomes normal and I get display both on HDMI and internal display. Then, I get stutters and lags like, If I delete a file from desktop, it would be deleted but the icon still stays there until I relaunch Finder or Navigate the same location from the Finder window. The launchpad opening and closing is very smooth, like it is when the graphics is working normally. The lags can be more specifically said to be rendering delays. As in, the actual stuff is happening only it is not being visually updated. When we open System Prefs any of the sub prefs will not load or it will load and the title would say "Loading General, Loading Displays or Loading XYZ" But we can access the prefpane if we open it directly by right clicking on System Pref icon and choosing the appropriate option. If I type something in 'Terminal' a few letters will be (visually) shown while in the background, everything is working, If I minimize terminal or resize it's window, the text get's rendered/updated. I have also tried with Skylake spoofing with both on HS and Mojave, The issue is the same. Also, If I adjust the graphics brightness from the prefpane, If I directly click at the point that I want, the display behaves normally whereas if I slide gradually, entire window crashes and I am sent back to the login screen. Same crash happens when I use the brightness keys to adjust the brightness. One thing to note: In any case, when some freeze happens, I can connect or disconnect HDMI to get the screen back to normal. I am being this vague as I seriously can't understand what is happening in this case. Tried with fixing EDID, changing color depth, and what not. The issue prevails. Please have a look and guide me on what to do next. I am attaching the full PR files for the review. Also, here is a video in case my explanation was not quite clear: https://www.youtube.com/watch?v=UYaJbJhl8kU P.S: Specs are not in my signature as I do not own this machine. Specs can be found in preboot.log Regards debug_25780.zip
  2. black.dragon74

    Glitches and Lags with UHD 620

    Same lag on both the displays
  3. black.dragon74

    Glitches and Lags with UHD 620

    I face no such problems when running Windows / Linux Yes. Tried using it too. The problem is Graphics Drivers load fine but then, I still keep on facing glitches, The glitches start from after the second stage Apple logo. I suspect that eDP connector type might be an issue? I am a developer myself so I can assure that I am using the appropriate patches. I don't know about IGPU registers and stuff and hence I'm not able to figure it out. Can you also confirm that your display connector type? How to find the connector type: Open Windows Right Click and select "Intel Graphics Settings" In "UHD Graphics control panel", select options and support. Select "Built-in Display" from the drop down on the left Look for "Connector Type" Also regarding the hardware problem, look at the video at: @vit9696 Sorry to quote you but can you please have a look at the files once for me and maybe suggest something to try. My debug files are attached here Regards
  4. black.dragon74

    Intel Framebuffer patching using WhateverGreen

    Guys I am also struggling to make UHD 620 work on my machine. The Graphics drivers load correctly and System Info also shows graphics as: UHD 620 1536 MB But I am facing too much glitches. I will try to describe it in the best way possible. So the system boots up pretty fast till first stage Apple Logo, At the second stage, when the screen flickers for a tiny bit of second, progress bar always seems to get stuck. After waiting for a couple of seconds, the mouse pointer comes, stating the login screen has loaded.Then I can type in the password and hit enter to login, I'll just see a spinning bar overlapping the Apple Logo and then, we can see a very faded out desktop.As the desktop fades in to screen normally, in my case, it get's stuck at the initial fade state. At this point if I plugin in HDMI cable, the screen becomes normal and I get display both on HDMI and internal display.Then, I get stutters and lags like, If I delete a file from desktop, it would be deleted but the icon still stays there until I relaunch Finder or Navigate the same location from the Finder window.The launchpad opening and closing is very smooth, like it is when the graphics is working normally. The lags can be more specifically said to be rendering delays. As in, the actual stuff is happening only it is not being visually updated.When we open System Prefs any of the sub prefs will not load or it will load and the title would say "Loading General, Loading Displays or Loading XYZ"But we can access the prefpane if we open it directly by right clicking on System Pref icon and choosing the appropriate option.If I type something in 'Terminal' a few letters will be (visually) shown while in the background, everything is working, If I minimize terminal or resize it's window, the text get's rendered/updated.I have also tried with Skylake spoofing with both on HS and Mojave, The issue is the same.Also, If I adjust the graphics brightness from the prefpane, If I directly click at the point that I want, the display behaves normally whereas if I slide gradually, entire window crashes and I am sent back to the login screen.Same crash happens when I use the brightness keys to adjust the brightness.One thing to note: In any case, when some freeze happens, I can connect or disconnect HDMI to get the screen back to normal.I am being this vague as I seriously can't understand what is happening in this case.Tried with fixing EDID, changing color depth, and what not. The issue prevails. Please have a look and guide me on what to do next.I am attaching the full PR files for the review along with a AGDCDiagnose report. NOTE: I have also tried with the HDMI after disconnecting the internal display (clamshell mode) and the similar lags happen and hence I am sure that it is not related to connector type being eDP. Also, removing AlwaysConnected flag leads to a black screen but the similar lags happen (tested via screen sharing) Hope someone can help fix my what-can-be-termed-as rendering lags on this machine.Also, here is a video in case my explanation was not quite clear: (Please watch the video till the end as lags are sadly mostly visible towards the end, 1080p resolution is recommended)https://www.youtube.com/watch?v=UYaJbJhl8kU debug_12516.zip diag.txt
  5. black.dragon74

    Glitches and Lags with UHD 620

    @MaLd0n @Allan @Hervé @"Sniki" @Austere.J Anyone that might help?
  6. Last update: 2 Dec 2017 Hello guys, I have seen many instances where people start a thread with the problem they are facing on their hack. They try to describe the issue in their own way that most of the times, is not able to properly describe what's going wrong with their system. The developers and other members can point out the problem exactly when they have a set of files, called problem reporting files. These are basically a set of files that contain various logs and some other components. Many a times a normal user can not generate those files properly and it leads to a lot of wastage of good time, frustrated by this, I wrote a script to generate proper problem reporting files. You can have a look here The purpose of this guide is to tell the normal user on how to generate those files properly for debugging. I wrote a script that automatically installs that debug report generator script and then gives you a .zip output. If you are seeking help about a problem and you are not attaching your problem reporting files, you will be redirected to this thread. How to generate debug report:- It is very simple, you just have to download the attached script and run it. The script in attachment will install the tool for you and will then prompt if you want to generate the files. If you want to generate files next time, you just have to invoke: "gen_debug" from terminal (without quotes) How to download and run attached script :- Unzip the downloaded zip file Open terminal Assuming your script is in Downloads folder, type the following code :- chmod a+x ~/Downloads/install_tools.sh ~/Downloads/install_tools.sh Note: It is recommended to attach output of gen_debug whenever you are reporting a new problem (helps to debug and saves a lot of time). Whenever you change anything, it is compulsory to attach NEW output of gen_debug. Note 2: It is recommended to update your copy of gen_debug every alternate month (for fixes and new features). To do so, If you are running version 2.1 or above, you can simply type "gen_debug -u" (without quotes) in terminal. If you are running version 2.0 or less, you can use the attached script to update your copy. Note 3: To check gen_debug version you can run it and then you will see version in the output. CHANGELOGS: Update 2.3 - 2 Dec 2017: Fixed an issue where timestamp of dump was overridden with current system time, reported by RehabMan. Update using "gen_debug -u" Update 2.2 - 27Nov 2017: Added option to generate system information dump as requested by Jake, like # To generate normal report gen_debug # To include system dump gen_debug -sysprofile # To include system dump but in txt format gen_debug -sysprofile txt # Default format is .spx so that the dump opens up with System Information.app # Any option other than txt will be ignored as script will fallback to .SPX extension Update 2.1 - 27Nov 2017: Fixed an issue where IOREG was not saved on some machines You can now update your copy of OSX-Debug by using "-u" arg, like gen_debug -u Regards Notice to mods: Can you please move it to appropriate section HERE and then delete this line? install_tools.zip
  7. Oh! If still wanting to debug this, sent u a PM.
  8. Okay. So you have a different hardware, this is the last try. It will fix it or I'm afraid we can't do anything about it. First, replace the files in EFI/CLOVER/ACPI/patched with the ones attached. Changes I have done: Added battery fix Disabled NVIDIA card as it is useless in macOS Added Audio patches Added IRQ patches Added Mutex patches Added PRW for USB Added XHCI properties After that, reset your network interfaces by, opening terminal and typing: sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist sudo rm /Library/Preferences/SystemConfiguration/preferences.plist Reboot. You will have working Wi-Fi. All the best! Regards Nancy2.zip
  9. Delete everything from EFI/CLOVER/ACPI/origin then reboot. At the clover screen press F4 to extract origin tables. The tables you have provided are the old ones. There is no need to provide separate origin.zip as it if present is included in my OSX-Debug report. According to your IOREG, Wifi is loading up fine! Maybe you have a different card. Can you attach a screenshot of PCI device in DPCI manager? Search google for DPCI Manager. Secondly, update OSX-Debug from my github and then, generate a report using gen_debug -sysprofile We've almost fixed it. P.S: Are you trying to connect to a 5Ghz network? Regards
  10. Sorry buddy, I can't diagnose the problem just by looking at two images (I wish I could). Attach output of: https://github.com/black-dragon74/OSX-Debug Regards Restore vanilla corecapture.kext You got stuck on dropping OEM SSDTs because maybe they are a bit too old. Something must have changed with your BIOS. At clover screen press F4 to extract origin tables (once again). Then attach EFI/CLOVER/ACPI/origin folder here. (Whenever you change anything in your BIOS you will need to re-extract ACPI tables and patch them again) A gentle reminder, please follow exactly what I say and tell me what I need to know. As, you still haven't updated CLOVER (I asked you to update as your config.plist has several configs that are only available in the recent versions of CLOVER. Also, it is a good idea to keep your boot loader up to date) You haven't told me yet about your system specs (A link to product page on ASUS's website will be much more helpful). Your system's info in your signature is a must have when asking for help. Cheers!
  11. Apparently, in attempt to do right thing you messed up. You need to restore your vanilla IO80211Family kext. Also, U didn't delete the kexts I asked you to remove. If you want your wifi to work, I expect you to follow what I say. Your Lilu.kext and ATH9KFixup aren't compatible with each other (Coz you didn't follow what I said). Download and install the 3 kexts from attached zip to /S/L/E P.S: You can use pacifist to extract IO80211Family kext from macOS installer. Else, If you are running Sierra I can provide you the same. Note: Update your CLOVER to latest or else set DropOem to true in config.plist under ACPI > SSDT. Wifi Kexts.zip
  12. Your setup is a mess. SMBIOS is not generated properly. You are using both patched AirportAtheros40 and ATH9KFixup No ATH9KInjector in kextcache output. Tons of ACPI errors related to incorrect DSDT for ACPIBatteryManager. (We will fix these later) Here is what you need to do:- Remove AirPortAtheros40.kext from wherever you installed. Remove WhateverGreen.kext (Needed only in ATI/Radeon. Your's is a laptop. Definitely not needed.) Install ATH9KInjector.kext (You can download from my repo) to /System/Library/Extensions Why are you using both AppleHDA and VoodooHDA (Remove either one) Replace your config.plist in EFI/CLOVER with the one I am attaching. I have fixed your SMBIOS and added stuffs needed for ATH9KFixup. After doing all of the above, rebuild caches and reboot. Also, your ACPI tables are a mess. You might consider patching them manually. Let's first fix you Wi-Fi issue and then I'll help you tune up your hack P.S: Also tell me your system configuration. Does it have a discrete GPU? (If not, there are a lot of stuffs that could be removed) Regards Here are your patched ACPI files (Battery information will show up now) I need to know your System's spec in order to carry on further with the patches. Tell me full specs (If you could provide a link to your Laptop's product page, that would be best) Download the attached zip file and place it in CLOVER/ACPI/patched config.plist.zip ACPI_Nancy1.zip
  13. Sorry if that was a typo, still: sudo kextcache -i / ^--> There needs to be a space between -i and / Regards
  14. AR956x is AR9565 to be precise. Your debug output is missing IOReg maybe you cancelled while my script was doing it's thing. Note that IORegistryExplorer will open and a few click and button press will be simulated upon running my debug script. Let that finish please. I see no AirPortAtheros kext in kextcache output nor are you hot patching in clover's config.plist. Your SMBIOS in incorrect. Please generate a proper one. Suggest you to download and install ATH9KFixup and ATH9KInjector along with Lilu.kext (must be version 1.2.0 or above) then boot with boot-flag "-ath9565" (without quotes) Download ATH9KFixup and ATH9KInjector: https://github.com/black-dragon74/ATH9KFixup/releases Download Lilu: https://github.com/vit9696/Lilu/releases And next time, report with proper problem reporting files. For proper files, you would attach output of: https://github.com/black-dragon74/OSX-Debug Regards Well, glad that you got it working! I was just gonna reply to you about installing LILU + ATH9KFixup. On a second note, the pastebin report was old one (where the kext wasn't loading due to improper permissions) Regards Although there might be third party tools for the same, I don't recommend those as a lot have changed with macOS and those tools are pretty old. To rebuild kernel caches you would normally:- # For 10.11+ sudo kextcache -i / # For earlier versions sudo touch /S*/L*/E* && sudo kextcache -u / To install kexts you would:- # On 10.11+ sudo cp -rf SomeFile.kext /L*/E* # On previous versions sudo cp -rf SomeFile.kext /S*/L*/E* Regards
  15. If you have an AR9565 card it will work for sure. Let’s debug your issie. Attach output of: https://github.com/b...gon74/OSX-Debug to get started. Cheers Check releases tab on my GitHub repo. Regards
  16. Run sudo kextutil -v /System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros40.kext and post output here. Attach output of: https://github.com/black-dragon74/OSX-Debug Attach output of: https://github.com/black-dragon74/OSX-Debug
  17. Use LILU plugin with -ath9565 boot flags. https://github.com/black-dragon74/ATH9KFixup/blob/master/README.md
  18. Hello everyone, As everybody was asking for updates to the ATH9KFixup for Lilu 1.2.0 I have forked the repository and updated the support for Lilu 1.2.0 It is working fine on my system with AR9565 Have a look at: https://github.com/black-dragon74/ATH9KFixup You can download the updated plugins from the releases page on the above link. Regards
×