When SLANG shaders are activated using the Metal video driver and I am using the function keys on an Intel Mac with Intel HD graphics to change the volume/brightness, etc., which pops up an OSD as shown in the image below, emulation slows down drastically from 60 fps to less than 20 fps and severe audio artifacts can be heard until the OSD disappears.
Edit: I have tested this with the gl, vulkan and metal video drivers, and the issue only occurs with the metal driver.
Steps to reproduce the bug
Start a recent nightly build of RetroArch_Metal with default settings on an Intel Mac with Intel HD graphics
Run any SNES or GBA ROM on any suitable core
Press F3 to observe frame rate
Turn on shaders, e.g. ScaleFx
Press volume up/down FN-key and observe drop in frame rate and audio crackling.
Version/Commit
RetroArch: Mac OS Metal Nightly from Jan 26, 2023
Environment information
Mac OS Version: 12.6.2 Monterey
Hardware: Intel CPU Mac with Intel HD Graphics 515
Description
When SLANG shaders are activated using the Metal video driver and I am using the function keys on an Intel Mac with Intel HD graphics to change the volume/brightness, etc., which pops up an OSD as shown in the image below, emulation slows down drastically from 60 fps to less than 20 fps and severe audio artifacts can be heard until the OSD disappears.
Edit: I have tested this with the
gl
,vulkan
andmetal
video drivers, and the issue only occurs with themetal
driver.Steps to reproduce the bug
Version/Commit
RetroArch: Mac OS Metal Nightly from Jan 26, 2023
Environment information
Mac OS Version: 12.6.2 Monterey Hardware: Intel CPU Mac with Intel HD Graphics 515