question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mac with AMD GPU partly display video and screen flickers

See original GitHub issue

Bug Report

What’s the issue you encountered?

Most of the screen is black, sometime the screen flickers and the remaining picture appears and disappears quickly image You can see in the picture in left-up corner looks fine, and the remaining black part only sometime flickers the image

How can the issue be reproduced?

Freshly installed after configuration. Start the game.

Log file

00:00:00.102 |N| Application PrintSystemInfo: Ryujinx Version:  1.1.0-macos1
00:00:00.115 |N| Application Print: Operating System: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 (X64)
00:00:00.115 |N| Application Print: CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz ; 12 logical
00:00:00.116 |N| Application Print: RAM: Total 16384 MiB ; Available Unknown
00:00:00.119 |N| Application PrintSystemInfo: Logs Enabled: Info, Warning, Error, Guest, Stub
00:00:00.119 |N| Application PrintSystemInfo: Launch Mode: UserProfile
00:00:00.217 |I| Gpu : Backend Threading (Auto): True
00:00:00.643 |N| Application LoadGuestApplication: Using Firmware Version: 15.0.1
00:00:00.643 |I| Application LoadGuestApplication: Loading as NSP.

00:00:02.167 |N| GUI.RenderThread Gpu PrintGpuInformation: AMD AMD Radeon Pro 5300M (Vulkan v1.2.231, Driver v0.2.2008)
00:00:02.199 |I| GPU.MainThread Gpu LoadShaders: Loading 29 shaders from the cache...
00:00:02.800 |I| GPU.MainThread Gpu LoadShaders: Shader cache loaded.
00:00:03.224 |I| HLE.GuestThread.16 Ptc LoadTranslations: 17889 translated functions loaded
00:00:03.403 |S| HLE.OsThread.17 ServiceAm GetAppletResourceUserId: Stubbed. {appletResourceUserId: 1}
00:00:03.408 |S| HLE.OsThread.17 ServiceAm AcquireForegroundRights: Stubbed. 
00:00:03.408 |S| HLE.OsThread.17 ServiceAm SetFocusHandlingMode: Stubbed. {unknownFlag1: False ; unknownFlag2: False ; unknownFlag3: True}
00:00:03.409 |S| HLE.OsThread.17 ServiceAm SetOutOfFocusSuspendingEnabled: Stubbed. {outOfFocusSuspendingEnabled: False}
00:00:03.422 |S| HLE.OsThread.17 ServicePctl Initialize: Stubbed. 
00:00:05.478 |S| HLE.OsThread.17 ServiceAm SetPerformanceModeChangedNotification: Stubbed. {performanceModeChangedNotification: True}
00:00:06.783 |S| HLE.OsThread.10 ServiceNv FinishInitialize: Stubbed. 
00:00:06.803 |S| HLE.OsThread.10 ServiceNv InitializeEx: Stubbed. 
00:00:06.822 |S| HLE.OsThread.10 ServiceNv GetActiveSlotMask: Stubbed. 
00:00:06.889 |S| HLE.OsThread.10 ServiceNv SetNvMapFd: Stubbed. 
00:00:06.890 |S| HLE.OsThread.10 ServiceNv AllocGpfifoEx2: Stubbed. 
00:00:06.891 |S| HLE.OsThread.10 ServiceNv AllocObjCtx: Stubbed. 
00:00:06.891 |S| HLE.OsThread.10 ServiceNv SetTimeout: Stubbed. 
00:00:06.893 |S| HLE.OsThread.10 ServiceNv SetErrorNotifier: Stubbed. 
00:00:06.893 |S| HLE.OsThread.10 ServiceNv SetUserData: Stubbed. 
00:00:06.893 |S| HLE.OsThread.10 ServiceNv SetTimeslice: Stubbed. 
00:00:06.895 |S| HLE.OsThread.10 ServiceNv ZcullBind: Stubbed. 
00:00:06.995 |I| HLE.OsThread.17 SurfaceFlinger CreateLayerFromId: Creating layer 1
00:00:07.026 |S| HLE.OsThread.10 ServiceNv SetNvMapFd: Stubbed. 
00:00:07.027 |S| HLE.OsThread.10 ServiceNv AllocGpfifoEx2: Stubbed. 
00:00:07.027 |S| HLE.OsThread.10 ServiceNv AllocObjCtx: Stubbed. 
00:00:07.027 |S| HLE.OsThread.10 ServiceNv SetTimeout: Stubbed. 
00:00:07.027 |S| HLE.OsThread.10 ServiceNv SetErrorNotifier: Stubbed. 
00:00:07.027 |S| HLE.OsThread.10 ServiceNv SetUserData: Stubbed. 
00:00:07.027 |S| HLE.OsThread.10 ServiceNv SetTimeslice: Stubbed. 
00:00:07.028 |S| HLE.OsThread.10 ServiceNv ZcullBind: Stubbed. 
00:00:07.588 |S| HLE.OsThread.5 ServiceBsd RegisterClient: Stubbed. 
00:00:07.588 |S| HLE.OsThread.5 ServiceBsd StartMonitoring: Stubbed. {unknown0: 0}
00:00:07.743 |I| HLE.OsThread.6 AudioRenderer AcquireSessionId: Registered new renderer (0)
00:00:07.746 |I| HLE.OsThread.6 AudioRenderer Initialize: Initializing with REV6
00:00:07.771 |I| AudioProcessor.Worker AudioRenderer Work: Starting audio processor
00:00:07.771 |I| AudioRendererManager.Worker AudioRenderer SendCommands: Starting audio renderer
00:00:07.774 |S| HLE.OsThread.6 ServiceAudio QueryAudioDeviceOutputEvent: Stubbed. 
00:00:07.803 |I| HLE.OsThread.6 AudioRenderer Start: Starting renderer id 0
00:00:07.832 |I| AudioProcessor.Worker Audio EnsureAudioStreamSetup: New audio stream setup with a target sample count of 240
00:00:08.251 |S| HLE.OsThread.17 ServiceAcc InitializeApplicationInfo: Stubbed. {TitleId: 72151946046701568}
00:00:08.256 |S| HLE.OsThread.17 ServiceAcc IsUserAccountSwitchLocked: Stubbed. 
00:00:08.405 |S| HLE.OsThread.9 ServiceHid ActiveNpadImpl: Stubbed. {appletResourceUserId: 1 ; revision: 2}
00:00:08.406 |S| HLE.OsThread.9 ServiceHid SetSupportedNpadStyleSet: Stubbed. {pid: 93 ; appletResourceUserId: 1 ; type: ProController, Handheld, JoyconPair}
00:00:08.411 |S| HLE.OsThread.9 ServiceHid SetSupportedNpadIdType: Stubbed. 2 Players: Handheld,Player1
00:00:19.431 |W| HLE.GuestThread.18 KernelSvc : SendSyncRequest() = ThreadTerminating
00:00:19.431 |W| HLE.GuestThread.20 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.431 |W| HLE.GuestThread.22 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.21 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.31 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.24 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.25 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.30 KernelSvc : WaitSynchronization(handleIndex: 0x00000000) = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.26 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.27 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.32 KernelSvc : WaitSynchronization(handleIndex: 0xFFFFFFFF) = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.28 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.29 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.35 KernelSvc : SendSyncRequest() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.33 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.34 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.36 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.432 |W| HLE.GuestThread.37 KernelSvc : WaitProcessWideKeyAtomic() = ThreadTerminating
00:00:19.439 |E| HLE.OsThread.13 SurfaceFlinger DequeueBuffer: No available buffer slots
00:00:19.440 |E| HLE.OsThread.13 SurfaceFlinger OnTransact: Error returned by transaction DequeueBuffer: Busy
00:00:19.445 |I| HLE.OsThread.6 AudioRenderer Stop: Stopping renderer id 0
00:00:19.448 |I| HLE.OsThread.6 AudioRenderer Stop: Stopped renderer id 0
00:00:19.449 |I| HLE.OsThread.6 AudioRenderer ReleaseSessionId: Unregistered renderer (0)
00:00:19.454 |I| AudioProcessor.Worker AudioRenderer Work: Stopping audio processor
00:00:19.455 |W| GUI.WindowThread ServiceNv Close: Closing channel
00:00:19.553 |I| HLE.OsThread.6 AudioRenderer StopLocked: Stopped audio renderer

Environment?

  • Ryujinx version: 1.1.0-macos1
  • Game version: 1.0, 1.2. both same issue
  • System Specs:
    • OS: macOS 12.5.1
    • CPU: I7-9750H
    • GPU: AMD Radeon Pro 5300M 4 GB
    • RAM: 16GiB
  • Applied Mods : No

Additional context?

just freshly installed, no additional configure

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:2
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gdkchancommented, Dec 1, 2022

I don’t think it’s odd considering that the m1 Macs has the same CPU architecture as the Switch, so it can just run the code directly rather than using a recompiler to translate it to x86. There are some things the Intel Macs should be better at in theory, including the GPU, but the Metal feature set seems to be more limited on the Intel Macs, which is the cause of some of those issues.

1reaction
gabjaufcommented, Dec 1, 2022

Same issue here on Super Mario Party 1.0.0, I think it is linked to the AMD Radeon Pro (I have AMD Radeon Pro 5500M 8 Go)

Capture d’écran 2022-12-01 à 02 22 02

Try on the Intel GPU, it worked for me Capture d’écran 2022-12-01 à 02 24 24

Read more comments on GitHub >

github_iconTop Results From Across the Web

Big Sur update is causing extensive screen flickering
Go to Settings - Accessibility - Display -> Change the size of the cursor bigger ! After that little change, the flickering stopped....
Read more >
MacBook's Screen Flickering? 10 Fixes to Try
While your MacBook's screen flickering issues may often be a sign of faulty hardware, the macOS software can also sometimes be the culprit....
Read more >
MacBook Pro M1 external screen flickering | Page 5
There can be multiple reasons for the screen flickering/blinking issue on your Mac. Some common reasons for the issue is in-display resolution...
Read more >
Five tips to fix a screen flicker
If you're experiencing a flickering display while using your monitor, try these troubleshooting steps to fix the problem.
Read more >
MacBook Pro 2017 Display Glitching Very Badly
Basically today I was using my macbook pro and the screen suddenly started flickering green and pink horizontal lines and sometimes it shows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found