Alt-Tab Black Screen Fix V1.2.1

Alt-Tab Black Screen Fix

Alt+Tab or click your second monitor without the screen going black (Windowed Borderless, Vulkan). In Fullscreen, it brings Fullscreen and HDR back when you return to the game.

Alt-Tab Black Screen Fix
No more black screen when you Alt+Tab or click your second monitor.

Playing RDR2 in Windowed Borderless on Vulkan, pressing Alt+Tab or clicking your other monitor can turn the screen black for a second or two. Every single time. This mod fixes that: the game switches like any other window, instantly.

How it works
Windowed Borderless (best if you use two monitors)

Vulkan: the mod stops the graphics driver from quietly switching the game to exclusive fullscreen, which is what blacks out the screen. Switching windows is instant.
DirectX 12: Windowed Borderless doesn’t have this problem, so there’s nothing to fix.
HDR in a window: turn on Windows HDR (Win+Alt+B) and the game shows HDR in the window without flashing. With Windows HDR off, the game stays in SDR like your desktop (on Vulkan the mod takes care of that), because a game in HDR on an SDR desktop makes the monitor switch modes, and go black, every time you click away.

Fullscreen (Vulkan and DirectX 12)

When you click your other monitor, the game drops to a window by itself (a bug of the game) and HDR goes off with it. When you click back, the mod presses Alt+Enter for you, so Fullscreen and HDR come back.
Fullscreen takes over the monitor, so every switch still blinks once. For no blinking at all, play in Windowed Borderless.

“Pause game on focus loss” is kept off, so the game keeps running while you’re on the other screen.
Extra options (off by default): ForceFullscreen keeps the game in Fullscreen, and ForceHdr keeps HDR on even in a window. Leave both off if you play in Windowed Borderless.

Requirements
An ASI loader, like the one that comes with ScriptHookRDR2 V2. ScriptHook itself isn’t needed.

Install
Put AltTabBlackScreenFix.asi, AltTabBlackScreenFix.ini and the AltTabBlackScreenFix folder in the game folder (next to RDR2.exe), or install with Vortex. To uninstall, delete them.
Every option can be turned off in AltTabBlackScreenFix.ini, and AltTabBlackScreenFix.log shows what the mod did.

Updating from 1.0
This mod used to be called Borderless Fix (and Second Monitor Fix here). Delete the old BorderlessFix.asi, BorderlessFix.ini, BorderlessFix.log and the BorderlessFix folder. If you forget, the new version switches the old one off by itself.

Credits:

aheadd

Downloads

NameFormatSize
Alt-Tab-Black-Screen-Fix-1.2.1.zipZIP72.99 KB

To start download click the filename. To open archive files use one of these programs: WinRAR, 7-Zip, WinZip. Some mod archives may need to be extracted before the mods will work.

Rate this mod
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted