Lime-3DS-Emulator icon indicating copy to clipboard operation
Lime-3DS-Emulator copied to clipboard

Red and Blue channels are swapped for screenshots taken with Vulkan API

Open RocketRobz opened this issue 7 months ago • 4 comments
trafficstars

Is there an existing issue for this?

  • [x] I have searched the existing issues

Affected Build(s)

2120

Description of Issue

Screenshots taken with Vulkan set as the Graphics API will have the Red and Blue channels swapped. Setting OpenGL as the Graphics API works around the issue (at the cost of emulation speed).

OpenGL (correct output): Image

Vulkan (wrong output): Image

Expected Behavior

Screenshot output should be the same as OpenGL, with no swapped color channels.

Reproduction Steps

  1. Click Emulation -> Configure
  2. Click Graphics -> Advanced
  3. Set Vulkan as Graphics API
  4. Open a game
  5. Take a screenshot
  6. Open the screenshots folder, and you'll see the screenshot has the red and blue channels swapped.

Log File

azahar_log.txt

System Configuration

CPU: AMD Ryzen 5 5600G GPU/Driver: AMD Radeon RX 6650 XT RAM: 16GB OS: Windows 10

RocketRobz avatar Mar 22 '25 05:03 RocketRobz

Can not reproduce on Linux.

Image

CPU: AMD Ryzen 7 3700X GPU/Driver: AMD Radeon RX 7600 / Mesa 25.0.1 RAM: 16GB OS: Fedora 41 KDE

SeppNel avatar Mar 25 '25 13:03 SeppNel

Cannot reproduce as well, screenshots look fine in Vulkan on my end as well.

CPU: AMD Ryzen 5600X GPU: NVIDIA RTX 3080 (572.60) RAM: 32GB OS: Win10

toksn avatar Apr 01 '25 21:04 toksn

Just repro'd.

Image Image

Operating System: EndeavourOS KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.9.0 Kernel Version: 6.14.4-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 3 3100 4-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1050 Ti

azahar_log.txt

FlitPix avatar May 04 '25 01:05 FlitPix

I managed to reproduce this issue a couple of weeks ago but forgot to mention it here

OpenSauce04 avatar May 04 '25 12:05 OpenSauce04