Skip to content

Navi 21 rendering glitches, macOS Sequoia #95

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

Closed
larini opened this issue Nov 14, 2024 · 74 comments
Closed

Navi 21 rendering glitches, macOS Sequoia #95

larini opened this issue Nov 14, 2024 · 74 comments

Comments

@larini
Copy link

larini commented Nov 14, 2024

macOS Version

Sequoia

What is your CPU's model?

Ryzen 3700X

What is your GPU's model?

RX 6950 XT

Please describe the behaviour in detail.

My GPU is a XFX RX 6950 XT Merc 319.
Works perfect with Sonoma, but after upgrade to Sequoia, the machine is very slow, and full of strange artifacts on screen.
This is a bug of this model or Sequoia breaking change?

IMG_4650
IMG_4651
IMG_4654

What should've happened instead?

Works like Sonoma.

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

No response

@VisualEhrmanntraut
Copy link
Member

@larini Which macOS 15 version to be precise, 15.1?

@larini
Copy link
Author

larini commented Nov 20, 2024

@VisualEhrmanntraut Yes, version 15.1.

I already tried a fresh install, but same results.

@VisualEhrmanntraut
Copy link
Member

Uh well I told some people with Navi 22 to test and they don't have any issues. So I'm not sure what I broke with Navi 21. I'll have to take a look at a later point.

@shrisha108
Copy link

shrisha108 commented Nov 21, 2024

After seeing this issue I've got a bit hesitated but still decide to try and want to report that all is fine here.
Before was using spoofing in device properties in OC but just deleted that entry, disabled WhateverGreen and added nootRX kext. Rebooted and cleared NVRAM once.
Freshly (just yesterday) installed Sequoia 15.1.1
Screenshot 2024-11-21 at 12 15 53

AMD Radeon RX 6950 XT:

Chipset Model: AMD Radeon RX 6950 XT
Type: GPU
Bus: PCIe
Slot: Slot-1
PCIe Lane Width: x16
VRAM (Total): 16 GB
Vendor: AMD (0x1002)
Device ID: 0x73a5
Revision ID: 0x00c0
ROM Revision: 113-D4124100_102
Metal Support: Metal 3
Displays:
Acer ET322QK:
Resolution: 5120 x 2880 (5K/UHD+ - Ultra High Definition Plus)
UI Looks like: 2560 x 1440 @ 60.00Hz
Framebuffer Depth: 30-Bit Color (ARGB2101010)
Main Display: Yes
Mirror: Off
Online: Yes
Rotation: Supported
Connection Type: Thunderbolt/DisplayPort

@VisualEhrmanntraut
Copy link
Member

Thanks for the test. Maybe his card is just fried then?

@shrisha108
Copy link

I think he have to try other method, spoofing, etc and see. If his card is fried he would noticed it in Windows, right?
I decide to try NootRX after I'm getting sometimes kernel panics caused by bluetoothd. Someone was mentioned on Reddit that weirdly enough somehow it is related to GPU. So I hope your kext will fix it. Fingers crossed. Thank you so much for your work by the way.

@shrisha108

This comment was marked as off-topic.

@shrisha108
Copy link

Should I open new issue?

@VisualEhrmanntraut
Copy link
Member

VisualEhrmanntraut commented Nov 23, 2024

No, I am not the developer of these drivers therefore it's not my responsibility. Same for bugs in AMD's firmware.

@shrisha108
Copy link

shrisha108 commented Nov 23, 2024

Ok, got it. Seems to me it's related to NootRX.kext. I rebooted with spoofed OC config again after and results was back to high as it was. So I thought it's related...

@VisualEhrmanntraut
Copy link
Member

No, it's not a bug with the kext. The kext uses the existing drivers just as WhateverGreen does, with the exception of firmware and setting updates extracted from the Windows drivers. If performance regressions are introduced by these changes, it's AMD's fault.

@VisualEhrmanntraut
Copy link
Member

Also, I do have a firmware update pending, but none of the internal quality control testers have tested it yet.

@shrisha108
Copy link

shrisha108 commented Nov 23, 2024

That's nice, will wait for updated kext then . Or I can test it for you if it's compiled.

@VisualEhrmanntraut
Copy link
Member

Sure, here's a build.
NootRX-1.0.0-RESEARCH_RELEASE.zip

@shrisha108
Copy link

Great! Will report in a half an hour.

@shrisha108
Copy link

shrisha108 commented Nov 23, 2024

Ok, Geekbench result didn't changed :( Same, twice lower. Also got kernel panic "WindowServer" with testing kext on first boot. Second boot went fine. I'm getting same kernel panic occasionally without nootrx.kext anyway. But if you interested to look at it I'm attaching it. Also forgot to mention. GPU is for 10 degrees hotter with kext compared to spoofed entry.
panic.txt

@VisualEhrmanntraut
Copy link
Member

That panic is usually either memory corruption or attempt to free memory that can't be freed.

@VisualEhrmanntraut
Copy link
Member

@shrisha108 Could you also try this?
NootRX-1.0.0-RESEARCH_RELEASE.zip

@shrisha108
Copy link

Oh, thank you. So my whitelisting of MMIO is not proper probably?

@shrisha108
Copy link

@shrisha108 Could you also try this? NootRX-1.0.0-RESEARCH_RELEASE.zip

sure

@VisualEhrmanntraut
Copy link
Member

Oh, thank you. So my whitelisting of MMIO is not proper probably?

Can't say for sure, it could also be one of the kexts being written bad.

@shrisha108
Copy link

shrisha108 commented Nov 23, 2024

@shrisha108 Could you also try this? NootRX-1.0.0-RESEARCH_RELEASE.zip

You sure it's another one? Size is fully identical with the one you gave me half an hour ago
Screenshot 2024-11-23 at 09 27 06

@VisualEhrmanntraut
Copy link
Member

Good catch, I guess I forgot to recompile.
NootRX-1.0.0-RESEARCH_RELEASE.zip

@shrisha108
Copy link

shrisha108 commented Nov 23, 2024

Good catch, I guess I forgot to recompile. NootRX-1.0.0-RESEARCH_RELEASE.zip

Sorry but this one is too :)
Screenshot 2024-11-23 at 09 32 31

May be change the release number for something like 1.0.1

@VisualEhrmanntraut
Copy link
Member

VisualEhrmanntraut commented Nov 23, 2024

I'm 100% sure it's a fresh build. It might just be cached info.

@shrisha108
Copy link

I'm 100% sure it's a fresh build. It might just be a coincidence that the size is identical.

Ok, sure.

@shrisha108
Copy link

Yes, that's definitely latest build. I've got hard hang, even reset button didn't work, Have to fully switched off power supply.
Here is a result:

new_panic.txt

@VisualEhrmanntraut
Copy link
Member

"NootRX: @ Failed to find a compatible GPU" How would that be possible? I only changed one line to enable the SMC firmware injection for Navi 21

@shrisha108
Copy link

Got it, so will wait then until #69 will be resolved. Thank you.

@VisualEhrmanntraut VisualEhrmanntraut changed the title RX 6950 XT stops to work after updating to Sequoia. Navi 21 rendering glitches, macOS Sequoia Nov 25, 2024
@VisualEhrmanntraut
Copy link
Member

@larini @shrisha108 try the build of the latest commit

@alvindimas05
Copy link

alvindimas05 commented Nov 27, 2024

The new NootRX gives a better performance for my RX 6600. Around 33% increase of performance.
WhateverGreen (80320)
https://browser.geekbench.com/v6/compute/2712419
Old NootRX (76268)
https://browser.geekbench.com/v6/compute/2712447
New NootRX (107523)
https://browser.geekbench.com/v6/compute/3216761

@28862886
Copy link

hi, the newest NootRX got very slow and hang after wake from sleep if play video, anyone had same issue?
i had test all the builds and issue look like from here --> https://github.com/ChefKissInc/NootRX/actions/runs/11993434769
Older builds are working fine.

@VisualEhrmanntraut
Copy link
Member

You haven't even specified which GPU and which CPU.

@28862886
Copy link

hi, sorry my bad,
i got x299 intel i9-9980xe with Sapphire RX 6950
and the cpu needed TSCSync to work, i think it conflict with new nootrx,
thank you for your help.

@VisualEhrmanntraut
Copy link
Member

Use https://github.com/ChefKissInc/ForgedInvariant

@28862886
Copy link

hi, your super fast reply,
i had try it already and it not even boot in,
may be is my system problems
but i'm good with older build for now,
sorry waste your time,,

@VisualEhrmanntraut
Copy link
Member

When did you try it? I made an update 2 days ago

@VisualEhrmanntraut
Copy link
Member

(And you can't use it along with CpuTscSync)

@VisualEhrmanntraut
Copy link
Member

sorry waste your time,,

I'm just trying to make sure it works properly, don't worry.

@28862886
Copy link

your best creator ever,
can you help me create build use this --> https://github.com/ChefKissInc/NootRX/actions/runs/11941828922
and change "PP_WorkLoadPolicyMask=16" or "PP_WorkLoadPolicyMask=0x10" ,
it make gpu get better performance and skip hang panic for me, can you help please?

@VisualEhrmanntraut
Copy link
Member

16 is 0x10

@VisualEhrmanntraut
Copy link
Member

VisualEhrmanntraut commented Nov 29, 2024

the field takes in decimal, you basically gave it an invalid policy and it fell back to default

@larini
Copy link
Author

larini commented Nov 29, 2024

@larini @shrisha108 try the build of the latest commit

Not work here at all..

Image

@VisualEhrmanntraut
Copy link
Member

Well, you can't be the only one with the rendering glitches. Besides, this GPU is natively supported, NootRX is really just injecting some personalities and updated firmware, which are taken from Windows.

@larini
Copy link
Author

larini commented Nov 30, 2024

Sorry @VisualEhrmanntraut , I don't know what's happen. Sonoma works like a charm... Thanks

@VisualEhrmanntraut
Copy link
Member

The issue could be fixed but the shaders be cached and showing corruption still

@larini
Copy link
Author

larini commented Dec 1, 2024

A strange behavior is that the system becomes slow, broken, sometimes it works and after a while it crashes, then it comes back...
Maybe I'll have to die with Sonoma after all.

@VisualEhrmanntraut
Copy link
Member

@larini Maybe running these will help

find $(getconf DARWIN_USER_CACHE_DIR) -exec sudo rm -rf {} \;
find $(getconf DARWIN_USER_TEMP_DIR) -exec sudo rm -rf {} \;

@larini
Copy link
Author

larini commented Dec 2, 2024

Image

@VisualEhrmanntraut
Copy link
Member

@larini Now restart

@larini
Copy link
Author

larini commented Dec 3, 2024

@VisualEhrmanntraut, I appreciate your attention, but nothing works.
I officially give up this macos version.
thanks.

@VisualEhrmanntraut VisualEhrmanntraut removed their assignment Dec 11, 2024
@VisualEhrmanntraut VisualEhrmanntraut closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants