batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

Screenshots with Vulkan driver produces "black" screenshots #3795

Open wholee opened 3 years ago

wholee commented 3 years ago

Hi,

Raspberry Pi 4 2Gb Batocera 31-dev 2021/04/22 21:42

Taking screenshots with Vulkan driver enabled produces "black" screenshots: Super Mario Bros  (World)-210416-190133

Setting global.retroarch.video_gpu_screenshot=false in batocera.conf resolves the issue:

Super Mario Bros  (World)-210423-122823

https://github.com/batocera-linux/batocera.linux/blob/95f96803e04027b7996c73ae05b40a891dad0ca9/package/batocera/core/batocera-configgen/configgen/configgen/generators/libretro/libretroRetroarchCustom.py#L46 This sets the flag for all Libretro emulators and it has to be turned off manually through batocera.conf if using Vulkan driver.

nadenislamarre commented 3 years ago

i'll test and fix this one.

nadenislamarre commented 3 years ago

true or false => it doesn't work for rpi4/vulkan.

n2qz commented 11 months ago

Can't reproduce on v39. I recommend closing.

EDIT: I did reproduce an issue. Using RA screenshot, the screenshot is corrupted (not black).

Originally I had made a screenshot with batocera-screenshot, which works fine.