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

Safari freeze on some web sites (Radeon RX 5600 XT 6 GB ITX ?) #7

Open
picov opened this issue Jan 2, 2024 · 8 comments
Open

Safari freeze on some web sites (Radeon RX 5600 XT 6 GB ITX ?) #7

picov opened this issue Jan 2, 2024 · 8 comments

Comments

@picov
Copy link

picov commented Jan 2, 2024

I've the same mobo with i7-12700, Radeon RX 5600 XT 6 GB ITX, opencore 0.9.7, latest kext, Sonoma 14.2.
I'm using your EFI with some tweaks (es. I've disabled cfg-lock in bios, I'm using the build-in WIFI/BT card with OpenIntelWireless /BT kext, customised serial...).
Al works very well except Safari that freeze after some web surfing: the system stop responding, the mouse still move and after a while the watchdog daemon fire a restart (it seems that the window server stop responding).
All other browsers work well.

I'had the same problem in the past on another hackintosh with a Radeon RX5500 XT ITX after the Catalina system upgrade (Mojave worked well and an old RX570 GPU on the same Catalina system/hardware also worked well).
The only way to resolve the problem was a system update to Big Sur: now that PC run Monterey without any issues.
For this reason I suspect some problem related to GPU driver.
Any ideas ?

@WuLongMiTaoLaiYiDa
Copy link

WuLongMiTaoLaiYiDa commented Jan 4, 2024

edit config.plist
NVRAM -- UUID -- 7C436110-AB2A-4BBB-A880-FE41995C9F82 -- boot-args
add: -wegnoigpu
save config.plist then reboot and test

@picov
Copy link
Author

picov commented Jan 4, 2024

I’ve already added that boot arg.
I’ll try to switch the gpu with an rx570 and I’ll update my post.

@picov
Copy link
Author

picov commented Jan 5, 2024

After my test I can confirm that the same system with the RX570 is stable: no Safari freeze -> reboot.
Switch back to the RX5600 the problem with Safari occurs: sometime after some minutes of web surfing and sometime just after a fresh reboot followed by a fresh Safari opening.

Note that the RX5600 works well when I boot with Win10 SSD.

With other apps I've no problem with both RX570 and RX5600 GPU.
I've made some stress and bench test with no problem.

Some results for the curious:
HARDWARE:
Asus B760I | Latest BIOS | Intel i7-12700 | 32GB RAM XMP Enabled | dual 1TB SSD (WD_BLACK SN850X and WD_BLACK SN850X HS) | Opencore 0.9.7 and latest kext | Sonoma 14.2.
GPU #1: Sapphire PULSE RX570 ITX 4GB
GPU #2: PowerColor RX5600 XT ITX 6GB

Note: Asus performance enhancements is set to limit at 90 degrees in BIOS (I've a small ITX case with Noctua fans set for maximum silence).

Cinebench R15
CPU: 3233
RX 570 OPEN GL: 180 fps
RX 5600 OPEN GL: 237 fps

Cinebench R2024
CPU MULTI : 1167
CPU SINGLE: 115

GeekBench 5.5
CPU SINGLE : 1926
CPU MULTI: 15767
RX 570 OPEN CL: 30117
RX 570 METAL: 31362
RX 5600 OPEN CL: 54212
RX 5600 METAL: 60165

GeekBench 6.2.2
CPU SINGLE : 2598
CPU MULTI: 15165
RX 570 OPEN CL: 36330
RX 570 METAL: 42937
RX 5600 OPEN CL: 53829
RX 5600 METAL: 81183

@WuLongMiTaoLaiYiDa
Copy link

WuLongMiTaoLaiYiDa commented Jan 11, 2024

After my test I can confirm that the same system with the RX570 is stable: no Safari freeze -> reboot. Switch back to the RX5600 the problem with Safari occurs: sometime after some minutes of web surfing and sometime just after a fresh reboot followed by a fresh Safari opening.

Note that the RX5600 works well when I boot with Win10 SSD.

With other apps I've no problem with both RX570 and RX5600 GPU. I've made some stress and bench test with no problem.

Some results for the curious: HARDWARE: Asus B760I | Latest BIOS | Intel i7-12700 | 32GB RAM XMP Enabled | dual 1TB SSD (WD_BLACK SN850X and WD_BLACK SN850X HS) | Opencore 0.9.7 and latest kext | Sonoma 14.2. GPU #1: Sapphire PULSE RX570 ITX 4GB GPU #2: PowerColor RX5600 XT ITX 6GB

Note: Asus performance enhancements is set to limit at 90 degrees in BIOS (I've a small ITX case with Noctua fans set for maximum silence).

Cinebench R15 CPU: 3233 RX 570 OPEN GL: 180 fps RX 5600 OPEN GL: 237 fps

Cinebench R2024 CPU MULTI : 1167 CPU SINGLE: 115

GeekBench 5.5 CPU SINGLE : 1926 CPU MULTI: 15767 RX 570 OPEN CL: 30117 RX 570 METAL: 31362 RX 5600 OPEN CL: 54212 RX 5600 METAL: 60165

GeekBench 6.2.2 CPU SINGLE : 2598 CPU MULTI: 15165 RX 570 OPEN CL: 36330 RX 570 METAL: 42937 RX 5600 OPEN CL: 53829 RX 5600 METAL: 81183

I searched for Safari related posts on the PCBETA forum, and some people reported that they had a similar situation with you, but did not mention the graphics card model used. Is your Sonoma system newly installed or an OTA upgrade? If it is an OTA upgrade, you can consider splitting a partition and installing a new Sonoma system for testing. Thank you for your feedback

@picov
Copy link
Author

picov commented Jan 11, 2024

My Sonoma was a fresh install over a new SSD.
During the next WE I'll try to install Ventura and I'll update my post.

@picov
Copy link
Author

picov commented Jan 12, 2024

Ventura freshly installed and tested.
I was on the verge of saying the problem didn't arise when suddenly it happened.
Safari runs for longer without problem but finally the problem still occurs: the system begin to slow down, after a few seconds the GUI stop responding and after a while a reboot is fired (at reboot the macOS hardware problem multi-language screen appears).
Other browser still works well.
Swapping the RX5600 with an RX570 on same system the problem not occurs.

It could be a macOS bug or an hardware incompatibility with that card model that fire when Safari try to call some GPU "special" features but another relevant information is the following:
I've the same exact card model on another hack (Gigabyte B360N WIFI i7-8700 running Ventura 13.6.1) and is it the most stable "Mac" I've ever had (and I have had and have many many many... did I already say many?... real Macs).
This could suggest some incompatibility between the Asus B760I motherboard and the GPU or some incorrect BIOS setting.

@WuLongMiTaoLaiYiDa
Copy link

Ventura freshly installed and tested. I was on the verge of saying the problem didn't arise when suddenly it happened. Safari runs for longer without problem but finally the problem still occurs: the system begin to slow down, after a few seconds the GUI stop responding and after a while a reboot is fired (at reboot the macOS hardware problem multi-language screen appears). Other browser still works well. Swapping the RX5600 with an RX570 on same system the problem not occurs.

It could be a macOS bug or an hardware incompatibility with that card model that fire when Safari try to call some GPU "special" features but another relevant information is the following: I've the same exact card model on another hack (Gigabyte B360N WIFI i7-8700 running Ventura 13.6.1) and is it the most stable "Mac" I've ever had (and I have had and have many many many... did I already say many?... real Macs). This could suggest some incompatibility between the Asus B760I motherboard and the GPU or some incorrect BIOS setting.

Thank you for your patient testing
Please change config.plist--Booter -- ResizeAppleGpuBars = 0
and turn on bios Resize BAR Support : Enabled
have try

@picov
Copy link
Author

picov commented Jan 19, 2024

@WuLongMiTaoLaiYiDa I've tried with your mod using latest Sonoma 14.2.1 but the problem still occurs.

panic(cpu 12 caller 0xffffff801fe9089b): userspace watchdog timeout: no successful checkins from WindowServer (2 induced crashes) in 120 seconds
WindowServer has not exited since first loaded
service: logd, total successful checkins in 2662 seconds: 255, last successful checkin: 0 seconds ago
service: WindowServer (2 induced crashes), total successful checkins in 2630 seconds: 239, last successful checkin: 120 seconds ago
service: opendirectoryd, total successful checkins in 2662 seconds: 254, last successful checkin: 0 seconds ago
service: configd, total successful checkins in 2662 seconds: 254, last successful checkin: 0 seconds ago

Panicked task 0xffffff9057630848: 3 threads: pid 106: watchdogd
Backtrace (CPU 12), panicked thread: 0xffffff95238340c8, Frame : Return Address
0xffffffa897bc3510 : 0xffffff801d236c41 
0xffffffa897bc3560 : 0xffffff801d395310 
0xffffffa897bc35a0 : 0xffffff801d384a5c 
0xffffffa897bc3620 : 0xffffff801d1d3971 
0xffffffa897bc3640 : 0xffffff801d236f2d 
0xffffffa897bc3730 : 0xffffff801d2365d3 
0xffffffa897bc3790 : 0xffffff801d9d8d2e 
0xffffffa897bc3880 : 0xffffff801fe9089b 
0xffffffa897bc3890 : 0xffffff801fe90364 
0xffffffa897bc38b0 : 0xffffff801fe8f42b 
0xffffffa897bc39e0 : 0xffffff801d94e326 
0xffffffa897bc3a10 : 0xffffff801d94e69d 
0xffffffa897bc3b80 : 0xffffff801d3404cf 
0xffffffa897bc3ca0 : 0xffffff801d20f8a0 
0xffffffa897bc3d60 : 0xffffff801d2276b8 
0xffffffa897bc3dd0 : 0xffffff801d227d28 
0xffffffa897bc3ef0 : 0xffffff801d36a052 
0xffffffa897bc3fa0 : 0xffffff801d1d3dd6 
      Kernel Extensions in backtrace:
         com.apple.driver.watchdog(1.0)[F1797B78-7645-3FC6-AD29-624DD0826DA0]@0xffffff801fe8e000->0xffffff801fe90fff

Process name corresponding to current thread (0xffffff95238340c8): watchdogd
Boot args: agdpmod=pikera alcid=15 -wegnoigpu -ctrsmt

Mac OS version:
23C71

Safari worked well for several minutes also by closing and reopening it multiple times.
I've left the system alone for about 30 min and it goes in stop mode.
After the system wake up I've reopened Safari and the problem happened very soon.
It could be related to stop/wake, however I remember many situations when the freezes occurs just after a fresh restart.

As I said, other browsers seems to work well but I plan to make a stress test with Chrome and Firefox in order to clearly and definitely understand if this is a Safari only related behaviour.

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