HGL
stormy-gold

Unable to launch Hogwarts Legacy

Hey, all! I'm 100% new to linux gaming and the heroic games launcher. I got Hogwarts Legacy on sale from Epic Games and it is not launching at all. I keep getting a "Microsoft Runtime C++" error on Heroic. I tried adding it to steam and running it with Proton, no luck there either. I already did some googling and found that it might be a vcrun issue, so now winetricks in Heroic has vcrun2019 installed, but I'm not sure how to update it to vcrun2022 or if that's even the issue at all. I tried other tinkering with selecting different Proton options, but nothing seems to work. https://0x0.st/8-Jd.log
5 Replies
metropolitan-bronze
metropolitan-bronze5mo ago
GitHub
Installing Visual C Runtime
A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS. - Heroic-Games-Launcher/HeroicGamesLauncher
stormy-gold
stormy-goldOP5mo ago
That did clear the Runtime C++ error, now I'm getting a "failed to initialize directx 12" popup
metropolitan-bronze
metropolitan-bronze5mo ago
try this: - install proton-ge-latest in the wine manager (sidebar of heroic), you are using proton 9 beta which is kinda old and meant only for steam - go to settings > advanced and enable the umu experimental feature - configure the game to use proton-ge-latest - delete this folder /home/racekr/Games/Heroic/Prefixes/default/Hogwarts Legacy (it's the prefix, not the game files) - launch the game if it still fails, share a new log
stormy-gold
stormy-goldOP5mo ago
Here is the new log file! https://0x0.st/8-tO.log Seems to have gotten further that time, but still has the "failed to initialize directx 12" popup
dependent-tan
dependent-tan4mo ago
Heres some solutions: Make sure you have GE-Proton9-22 selected for Hogwarts Legacy (install in the Wine manager). UMU experimental might not work, but try launching Hogwarts Legacy with UMU on and off. If you have an NVIDIA GPU, set these launch options: PROTON_LOG=1 NV_PRIME_RENDER_OFFLOAD=1 GLX_VENDOR_LIBRARY_NAME=nvidia VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.x86_64.json PROTON_HIDE_NVIDIA_GPU=0 VKD3D_CONFIG=dxr,force_bindless_tex PROTON_ENABLE_NVAPI=1 PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 DXVK_ASYNC=1 DXVK_STATE_CACHE=1 PROTON_FORCE_LARGE_ADDRESS_AWARE=1 gamemoderun mangohud %command% --- These personally worked for me after literally MONTHS of trying other things. If you don't want the mangohud (the little box with FPS and graphs) you can delete the mangohud line in the launch options. If you need clarification or if this doesn't work, ping me by all means! Good luck!

Did you find this page helpful?