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
Remove barrier on Intel if control flow is potentially divergent #5044
Conversation
Download the artifacts for this pull request: Experimental GUI (Avalonia)GUI-less (SDL2)Only for Developers
|
Can confirm it allows the game to boot on a i5-1035G1 (ICL GT1) on Mesa 23.0.3 (Fedora), but it effectively crashes after a few minutes (don't think the log contains the error since it just hangs until the process' killed). Vulkan is desperately slow, almost unplayable, but OpenGL otherwise works just fine. |
Ryujinx_1.1.0+2343f4d_2023-05-22_22-02-13.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable if this is definitely invalid. I wonder why the shader has this tho, could the intention be to demote
rather than return?
Ryujinx_1.1.0+2343f4d_2023-05-24_18-39-00.log OpenGL has much worse performance and graphical glitches but it runs, had one crash with it but on the second try it worked fine. |
Setting vm.max_map_count to a high value seems to stop the crashing but I can't really confirm, would make sense for the app to segfault rather than report a crash in that case, tho. |
On driver version 4382 (which has this fix: IGCIT/Intel-GPU-Community-Issue-Tracker-IGCIT#159) with an Arc A770, this build has fixed all crashes for me. |
Well, there're still locations that crash ryujinx. Mostly on sky islands. See my comment above. |
Unfortunately I don't think I can test this fix, I only have a UHD 630 integrate Intel GPU here, and apparently it's already out of support since the latest driver on their page is from last year. I don't think there is any harm in merging this though so I will mark it as ready for review. |
isnt the latest driver from 4th may this year im using that because i have an 8th gen cpu |
Hope this gets merged soon, would fix #4922 w/o any known setback. Further issues w/ Intel GPUs (and in general) can be looked up over time, but rn we Intel users are stuck on this somewhat older build, in order to boot up the game. |
crashes on the great sky islands my intel celeron n5100 intel uhd graphics is able to run it on ryujinx on this build the solution to the intro crash is switching to opengl and then save then reload the game with vulkan that works for me |
Apparently, having a
barrier
after return on a shader causes Intel GPUs to hang. As a work around, this change removes the barrier from the shader in those cases.Allows The Legend of Zelda: Tears of the Kingdom to run on Intel GPUs.
However, from my tests it still crashes a few minutes later with DeviceLost error (apparently for a different reason?), so it would be nice to get testing on other Intel GPUs to see if the issue affects all of them.