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

Compute crashes on macOS 14 and newer #235

Open
4 tasks done
darthsian opened this issue Mar 13, 2024 · 31 comments
Open
4 tasks done

Compute crashes on macOS 14 and newer #235

darthsian opened this issue Mar 13, 2024 · 31 comments
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@darthsian
Copy link

darthsian commented Mar 13, 2024

macOS Version

Sonoma

What is your CPU's model?

AMD Ryzen 7 5700U

Please describe the behaviour in detail.

There is a beach ball on the login screen for about 20 sec (gpuRestart) and I can't log in. Similar behavior is in System Settings/Wallpaper, when loading Pictures there is a macOS lag and in the Console you can see gpuRestart several times. If only Color is selected as wallpaper, there is no problem on the login screen.

What should've happened instead?

Not restarting GPU

If applicable, attach the .gpuRestart, .panic, etc file related to this issue.

gpuRestart.zip

Bug report submission terms

  • I am using the latest version of NootedRed.
  • I am on the latest minor and patch version of macOS (ex. 7 is the minor and 10 is the patch of macOS 11.7.10).
  • The bug only happens with NootedRed enabled.
  • I have ruled out any external factors that could interfere, including, but not limited to, using OCLP or WhateverGreen.
@darthsian darthsian added the Bug Something isn't working label Mar 13, 2024
@darthsian darthsian changed the title macOS Sonoma, gpuRestart on the login screen or in System Preferences/Wallpaper macOS Sonoma, gpuRestart on the login screen or in System Settings/Wallpaper Mar 13, 2024
@darthsian
Copy link
Author

So the gpu restart on the login screen occurs even when Wallpaper is selected with Color only. I attach the gpuRestart that occurs in this case.
Kernel_2024-03-14-005616_SPARKnano.gpuRestart.zip

@darthsian
Copy link
Author

Similar behaviour when I want to change the Avatar image in System Settings/Users & Groups.
Kernel_2024-03-14-012201_SPARKnano.gpuRestart.zip

@darthsian
Copy link
Author

So I just found out that the gpu restart on the login screen is caused when a user has a Memoji as their avatar picture. If everyone just has a picture, everything works.

@VisualEhrmanntraut VisualEhrmanntraut changed the title macOS Sonoma, gpuRestart on the login screen or in System Settings/Wallpaper Severe compute crashes on macOS 14 Mar 14, 2024
@darthsian
Copy link
Author

After commit 274ba77.
gpuRestart after logging in (this is new one)
After-logging-in-Kernel_2024-03-14-112858_SPARKnano.gpuRestart.zip

gpuRestart System Settings/Wallpaper
Wallpaper-Kernel_2024-03-14-112622_SPARKnano.gpuRestart.zip

gpuRestart AvatarPicker (selecting avatar in System Setting/Users & Groups or selecting avatar in System Setting/Apple ID
Avatar-picker-Kernel_2024-03-14-112741-1_SPARKnano.gpuRestart.zip

@darthsian
Copy link
Author

NootedRed is really having quite a bit of trouble on Sonoma. I've discovered other problems in iMovie where freezing and gpurestart occur. Every now and then the gpu restarts in Safari as well, for example when I try to open a video as “Enter Picture-in-Picture.” in YouTube.
iMovie-Kernel_2024-03-14-214925_SPARKnano.gpuRestart.zip
Safari-Kernel_2024-03-14-220325_SPARKnano.gpuRestart.zip

@darthsian
Copy link
Author

I forgot to mention that these crashes don't happen on Ventura.

@VisualEhrmanntraut
Copy link
Member

I know.

@darthsian
Copy link
Author

I know.

Otherwise, great work. Thank you so much for doing this.

@VisualEhrmanntraut
Copy link
Member

Has there been an improvement on the latest commit?

@darthsian
Copy link
Author

Has there been an improvement on the latest commit?

Commit 8967a8d.
Unfortunately, still the same compute crashes.

@macintelk
Copy link

Yes it as less crashes. Thanks for your work

@idoan
Copy link

idoan commented Jun 15, 2024

Yes it as less crashes. Thanks for your work

Do you guys still have occasional crashes due to Sonoma's incompability with nootedred, or is it thoroughly fixed by now?

@Rix565
Copy link

Rix565 commented Jun 19, 2024

Yes, same problems all over again

@VisualEhrmanntraut VisualEhrmanntraut added this to the Version 1.0.0 milestone Jul 23, 2024
@VisualEhrmanntraut VisualEhrmanntraut changed the title Severe compute crashes on macOS 14 Severe compute crashes on macOS 14 (Sonoma) Aug 13, 2024
@VisualEhrmanntraut
Copy link
Member

I have some ideas but because of Lilu's limitations I can't quite implement them yet.

@darthsian
Copy link
Author

Hi, after a quick test of Sequoia I can confirm that this issue is still present. I will do more extensive testing later.

MiniPC, Ryzen 7 5800H, macOS 15.0

@darthsian darthsian changed the title Severe compute crashes on macOS 14 (Sonoma) Severe compute crashes on macOS 14-15 (Sonoma, Sequoia) Sep 20, 2024
@VisualEhrmanntraut
Copy link
Member

VisualEhrmanntraut commented Sep 20, 2024

Thanks for testing. I will update the issues accordingly.

@VisualEhrmanntraut VisualEhrmanntraut changed the title Severe compute crashes on macOS 14-15 (Sonoma, Sequoia) Severe compute crashes on macOS 14 and newer Sep 20, 2024
@darthsian
Copy link
Author

So compute errors are even more common on Sequoia than on Sonoma. I can't even use the App Store properly.

gpuRestart AppStore
Kernel_2024-09-20-121831_.gpuRestart.zip

@darthsian
Copy link
Author

gpuRestart VTDecoderXPCServ
Kernel_2024-09-22-184117.gpuRestart.zip

@jalavoui
Copy link

This happens randomly on app store when a movie fails to play. Do you have any kernel panic log related to VTDecoderXPCServ ? What happens if you use process monitor to kill VTDecoderXPCServ ?

@darthsian
Copy link
Author

This happens randomly on app store when a movie fails to play. Do you have any kernel panic log related to VTDecoderXPCServ ? What happens if you use process monitor to kill VTDecoderXPCServ ?

I haven't had a Kernel Panic related to VTDecoderXPCServ yet. Only gpuRestart.

@epokuser
Copy link

epokuser commented Oct 4, 2024

hi I see opening safari and doing video playback on youtube then open new tab causes crash too!

@darthsian
Copy link
Author

hi I see opening safari and doing video playback on youtube then open new tab causes crash too!

Yes, I can confirm that.
These crashes are indeed very bothersome and occur in many other operations. I hope that @VisualEhrmanntraut can resolve this in the future. As it is, macOS from Sonoma above is very hard to use.

@VisualEhrmanntraut
Copy link
Member

@darthsian
Copy link
Author

@darthsian Await https://github.com/orgs/ChefKissInc/discussions/58.

@VisualEhrmanntraut Yes, an excellent project. I wish you a lot of strength, because it’s incredible that you are managing all of this on your own.

@moishiteru
Copy link

moishiteru commented Oct 19, 2024

so we need to wait for a newer version of nootedred.kext or the artic tosh project?
i think i will return to Ventura and wait for arctic project

@nononymousse
Copy link

i see that they are new commits on NootedRed so i guess both are been worked on

@VisualEhrmanntraut
Copy link
Member

yeah I wouldn't just leave the projects in a buggy state

@nononymousse
Copy link

thanks a lot, can’t wait to see the first release of Arcintosh ^^

@jalavoui
Copy link

jalavoui commented Oct 27, 2024

this is a panic from latest NRed. Can you disable this call ?

Captura de ecrã 2024-10-27, às 20 41 34

ok. logs do help. this is the exact address of the crash (0x00070893). Wanna consider some kind of validation to avoid kp and still produce some kind of log?

Captura de ecrã 2024-10-27, às 21 13 23

@VisualEhrmanntraut
Copy link
Member

No, I need these logs to be able to diagnose GPU crashes.

@VisualEhrmanntraut VisualEhrmanntraut changed the title Severe compute crashes on macOS 14 and newer Compute crashes on macOS 14 and newer Nov 5, 2024
@VisualEhrmanntraut VisualEhrmanntraut pinned this issue Nov 5, 2024
@Win10Q
Copy link

Win10Q commented Nov 6, 2024

Macos15sequoia on raven when i open the settings it has panic
this is my panic log
mp_kdp_enter() timed-out on cpu 2, NMI-ing
mp_kdp_enter() NMI pending on cpus: 0 1 3 4 5 6 7
mp_kdp_enter() timed-out during locked wait after NMI;expected 8 acks but received 1 after 163083 loops in 244013819 ticks
panic(cpu 2 caller 0xffffff801af53db5): mp_rv_action() entry: 6 of 8 responses, start: 0xdb27e103db, cur: 0xdb620e70f4 @mp.c:902
Panicked task 0xffffff8b666ff4c0: 3 threads: pid 524: MTLCompilerServi
Backtrace (CPU 2), panicked thread: 0xffffff94fdf600e0, Frame : Return Address
0xffffffca3bdbdab0 : 0xffffff801adebc91
0xffffffca3bdbdb00 : 0xffffff801af58a0c
0xffffffca3bdbdb40 : 0xffffff801af482b3
0xffffffca3bdbdc10 : 0xffffff801ad81971
0xffffffca3bdbdc30 : 0xffffff801adebf87
0xffffffca3bdbdd30 : 0xffffff801adeb622
0xffffffca3bdbdda0 : 0xffffff801b5d4078
0xffffffca3bdbde90 : 0xffffff801af53db5
0xffffffca3bdbdec0 : 0xffffff801af53122
0xffffffca3bdbdf20 : 0xffffff801af52c96
0xffffffca3bdbdf60 : 0xffffff801af51c6a
0xffffffca3bdbdf80 : 0xffffff801af47845
0xffffffca3bdbdfe0 : 0xffffff801ad81a9a
0xffffffbe0f76ffa0 : 0xffffff801ad8189f

Process name corresponding to current thread (0xffffff94fdf600e0): MTLCompilerService
Boot args: -v npci=0x3000 revpatch=sbvmm,cpuname,auto darkwake=no brcmfx-country=CN

Mac OS version:
24B83

Kernel version:
Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:27 PDT 2024; root:xnu-11215.41.3~2/RELEASE_X86_64
Kernel UUID: 15F8E5B4-41DF-31C2-8CF5-F486066C59B9
roots installed: 0
KernelCache slide: 0x000000001aa00000
KernelCache base: 0xffffff801ac00000
Kernel slide: 0x000000001aae4000
Kernel text base: 0xffffff801ace4000
__HIB text base: 0xffffff801ab00000
System model name: MacBookPro16,3 (Mac-E7203C0F68AA0004)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 435394499890
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000000655f896021
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x00000007033932c9 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff8031144000 - 0xffffffa031144000
. PGZ : 0xffffff8031144000 - 0xffffff8033945000
. VM : 0xffffff8033945000 - 0xffffff8500011000
. RO : 0xffffff8500011000 - 0xffffff86997aa000
. GEN0 : 0xffffff86997aa000 - 0xffffff8b65e76000
. GEN1 : 0xffffff8b65e76000 - 0xffffff9032543000
. GEN2 : 0xffffff9032543000 - 0xffffff94fec10000
. GEN3 : 0xffffff94fec10000 - 0xffffff99cb2dd000
. DATA : 0xffffff99cb2dd000 - 0xffffffa031144000
Metadata: 0xffffffa051954000 - 0xffffffa071954000
Bitmaps : 0xffffffa071954000 - 0xffffffa075554000
Extra : 0 - 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

10 participants