HGL
Heroic Games Launcherβ€’3mo ago
rare-sapphire

Red Dead Redemption 2 crashes when entering fullscreen on the Vulkan API

In-game log: https://0x0.st/86fB.log (At the end is where it crashes) The Vulkan API doesn't allow me to change resolution and FPS either. Every time I even attempt to switch to fullscreen (without applying changes); it crashes instantly. This also seems to be a bug on windows. However, I was hoping that someone has more information on this bug and can show me something I'm missing; like maybe a missing dependency. Only a few users with the steam version has this issue (I think they never found a solution) (I am using the Epic Games version). Another thing to note, I had to disable umu launcher and use the USE_FAKE_EPIC_EXE environment variable for the game to run in the first place. These are a few things I've tried: - Switching DE: I'm using Hyprland and I switched to Gnome to get worse results - Switching Proton Version: I normally use Proton-GE-Latest but I switched to Proton Experimental and the same thing happened - Used the Steam Runtime: Same issue occurred - Switching Kernel: I use the default arch kernel but I switched to the Bazzite Kernel and the same thing happened - Tried different launch option: When I use the -fullscreen launch option, it just doesn't open - Tried Gamescope: Gamescope also makes the game not launch Switching to DirectX 12 does resolve this issue but it's a theme on my system to get performance issues when using DirectX 12. DirectX 12 even allows me to change the resolution and FPS.
Solution:
Backstory: Vulkan blocked fullscreen/resolution/FPS changes. Switched to DX12 but got rendering bugs (missing ground/snow). Fixed both with this: 1️⃣ Edit system.xml: πŸ” Default path: ~/Games/Heroic/Prefixes/default/Red Dead Redemption 2/pfx/dosdevices/c:/users/steamuser/My Documents/Rockstar Games/Red Dead Redemption 2/Settings/system.xml...
Jump to solution
23 Replies
flat-fuchsia
flat-fuchsiaβ€’3mo ago
Switching Proton Version: I normally use Proton-GE-Latest but I switched to Proton Experimental and the same thing happened Used the Steam Runtime: Same issue occurred
You should use GE-Proton and enable UMU There may just be limits on Vulkan if the version wasn't updated over time
automatic-azure
automatic-azureβ€’3mo ago
Impossible That is what game defaults to on Windows It is more performant than dx12 in that particular game, on windows
Switching to DirectX 12 does resolve this issue but it's a theme on my system to get performance issues when using DirectX 12. DirectX 12 even allows me to change the resolution and FPS.
This bit sounds odd Because that game known to be crashing on Proton wth dx12 unless a specific pr is applied @iSuck Where did your log gone? Doesnt seem to be accesible
rare-sapphire
rare-sapphireOPβ€’3mo ago
I'm sorry about that. I could've sworn I double checked and made sure that it was all there. I'll get them for you as soon as possible.
automatic-azure
automatic-azureβ€’3mo ago
πŸ‘
flat-fuchsia
flat-fuchsiaβ€’3mo ago
good to know thanks
automatic-azure
automatic-azureβ€’3mo ago
πŸ‘
rare-sapphire
rare-sapphireOPβ€’3mo ago
https://0x0.st/86Gl.log Try that. If that doesn't work, I'll use Pastebin or some other file sharing platform.
rare-sapphire
rare-sapphireOPβ€’3mo ago
Right now if I have umu enabled, the game won't launch. It shows what's in the attached image. Before, when I was first downloading the game and I didn't have the USE_FAKE_EPIC_EXE environment variable, it would show "Steam failed to initialize." I was having the exact problem in this post: https://discord.com/channels/812703221789097985/1379898527366381588
No description
automatic-azure
automatic-azureβ€’3mo ago
Log is up πŸ‘ inxi -SMGxx In terminal Intel Arc 750 , lets see other details of this setup to see what causes a wsi issue
rare-sapphire
rare-sapphireOPβ€’3mo ago
$ inxi -SMGxx System: Host: Karls-PC Kernel: 6.15.2-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1 Desktop: Hyprland v: 0.49.0 dm: GDM Distro: Arch Linux Machine: Type: Desktop System: Gigabyte product: B760M C v: -CF serial: <superuser required> Mobo: Gigabyte model: B760M C v: x.x serial: <superuser required> UEFI: American Megatrends LLC. v: F12 date: 09/28/2024 Graphics: Device-1: Intel DG2 [Arc A750] driver: i915 v: kernel arch: Xe-HPG pcie: speed: 2.5 GT/s lanes: 1 ports: active: DP-2 empty: DP-1, DP-3, DP-4, HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 03:00.0 chip-ID: 8086:56a1 Device-2: Logitech Brio 505 driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-1:2 chip-ID: 046d:0919 Display: wayland server: Xwayland v: 24.1.7 compositor: Hyprland v: 0.49.0 driver: gpu: i915 display-ID: 1 Monitor-1: DP-2 model: Dell S3422DWG res: 3440x1440 dpi: 110 diag: 864mm (34") API: EGL Message: EGL data requires eglinfo. Check --recommends. Info: Tools: de: kscreen-doctor x11: xprop,xrandr
automatic-azure
automatic-azureβ€’3mo ago
hyprland, so time to check how it behaves with gamescope @iSuck
rare-sapphire
rare-sapphireOPβ€’3mo ago
How do I do that? I tried it and the game wouldn't open. But the thing is...I don't understand anything about gamescope so I might've done something wrong.
automatic-azure
automatic-azureβ€’3mo ago
gamescope --help on terminal You gotta specify your res, game res, refresh rate @iSuck Any luck? If it still doesnt work, then i guess ( since you are on arch ) you can just try with kwin ( gamescope is easier tho ) Just yesterday played RDR2 at fullscreen on KDE
rare-sapphire
rare-sapphireOPβ€’3mo ago
For the Gamescope thing, it might be something with Hyprland. I am trying to run it from the command line and I am getting this error: [gamescope] [Error] xdg_backend: Couldn't create Wayland input objects. [gamescope] [Error] xdg_backend: Failed to initialize input thread SDL_Vulkan_CreateSurface failed: VK_KHR_wayland_surface extension is not enabled in the Vulkan instance.terminate called without an active exception fish: Job 1, 'gamescope -W 3440 -H 1440 -r 14…' terminated by signal SIGABRT (Abort) I am trying to switch to the sdl backend but I don't think anything is happening. I'll try it with Kwin now. Actually nvm. I restarted my system and it started to work(with the sdl backend). However, it looks a little bit low resolution. Is that normal?
automatic-azure
automatic-azureβ€’3mo ago
You didnt set the res properly i guess Also pass -f to make gamescope window fullscreen @iSuck So can you set fullscreen in in game option with gamescope being used?
rare-sapphire
rare-sapphireOPβ€’3mo ago
Yes, I am getting it fullscreen. I understand what's happening now. I did set the resolution wrong. The game resolution is 1280x720 and I was trying to set it to my native resolution (3440x1440). I guess it just upscaled it by stretching the image. I tried FSR and NIS but my cursor moving around is causing artifacting on FSR and NIS looks deep fried. I'm going to try Kwin and if that doesn't work, I'll have to do DirectX 12 then.
automatic-azure
automatic-azureβ€’3mo ago
By default gamescope uses 720p Deck defaults Unless you specify both game res and screen res on gamescope -w res -h res -W res -H res
rare-sapphire
rare-sapphireOPβ€’3mo ago
That's what I've been doing. The game is stuck on 1280x720 and I'm unable to change the resolution in game. The upscaling via FSR and NIS looks good, however, I've been unable to use my mouse and when I use the force cursor grab, it causes artifacting. I'm not sure what's happening there but I'll use DirectX 12. Thanks for all your help and thanks for showing me Gamescope. I didn't know you could get HDR working through it. Im marking as solved. Just use DirectX 12 if this happens to you. Also Kwin didn't work for me, even with Gamescope(didn't have to use sdl backend tho).
Solution
rare-sapphire
rare-sapphireβ€’3mo ago
Backstory: Vulkan blocked fullscreen/resolution/FPS changes. Switched to DX12 but got rendering bugs (missing ground/snow). Fixed both with this: 1️⃣ Edit system.xml: πŸ” Default path: ~/Games/Heroic/Prefixes/default/Red Dead Redemption 2/pfx/dosdevices/c:/users/steamuser/My Documents/Rockstar Games/Red Dead Redemption 2/Settings/system.xml πŸ“Œ Custom prefixes: Find your prefix's My Documents folder β†’ same Rockstar Games/... path ✏️ Modify: <screenWidthWindowed value="YOUR_WIDTH" />
<screenHeightWindowed value="YOUR_HEIGHT" />
<refreshRateNumerator value="DESIRED_FPS" />
<windowed value="2" />
2️⃣ Enable Gamescope in Heroic: Settings β†’ Gamescope Activate by configuring: βœ“ FPS Limiter (enable + set value) OR βœ“ Upscaling (enable + configure settings) Arguments: -f <!-- REQUIRED for fullscreen! -->
Plus (only if NOT using upscaling): -W MONITOR_WIDTH -H MONITOR_HEIGHT -r REFRESH_RATE
3️⃣ Launch through Heroic and have fun! πŸŽ‰
automatic-azure
automatic-azureβ€’3mo ago
You really should report that Vulkan issue on Mesa tracker https://gitlab.freedesktop.org/mesa/mesa/-/issues With using (anv) in title
rare-sapphire
rare-sapphireOPβ€’3mo ago
Thank you, that is an excellent suggestion. I'll do that now. However, I don't think that'll do much good because I feel like this is some sort of bug on Rockstar's end. But anything can help ig. I kind've figured that this wasn't the forum for this issue when editing the xml file directly worked.
automatic-azure
automatic-azureβ€’3mo ago
Nope as i can switch between fs and windowed just fine here on AMD ( Radv ), not likely to be a game issue. Also does windowing operations fine on my brothers windows machine as well. Thanks for reporting πŸ‘
rare-sapphire
rare-sapphireOPβ€’3mo ago
You're welcome. I just hope that I reported it competentlyπŸ˜…

Did you find this page helpful?