CRTSwitchRes on Vulkan

Hi,

Time ago, I use RetroArch with the Vulkan graphics driver on GNU/Linux, using KMS/DRM (no X11).

However, I can’t see the SwitchRes options in Settings->Video->CRT SwitchRes

So, is Vulkan capable of setting video mode and refresh rate by itself and SwitchRes is not necessary? Is there another way of setting a custom refresh rate for a core which I can save as an override? For example, the VirtualBoy core would need a ~50Hz video mode to avoid audio skew.

Thanks!

I haven’t used switchres with vulkan, myself, but I think it leverages some xrandr stuff outside of Raspberry Pi, so I don’t think you can do it without X11.

1 Like

It does not show you the options because we use Wayland, it is only compatible with Xorg. I have used them in the 3 and I have not seen difference between the video, Vulkan, GL or Glcore drivers.

1 Like

How comes? It’s perfectly possible to do videomode changes on KMSDRM with drmModeSetCrtc()

In fact, SwitchRes seems to be ready to work outside stinky X11:

This is a new implementation and I think the priority is to make it work well in X11. Anyway, the portability and the Nvidia driver have a lot to do.