HGL
stormy-gold
Hogwarts Legacy Black Screen || Wine - wine-ge-8-26-x86_64
I am running wine-ge-8-26-x86_64 on Linux Mint with Heroic Games Launcher v2.15.2, I am trying to launch Hogwarts Legacy, but when I do my screen turns black for ~1 or less than 1 second, and then the game crashes.
113 Replies
stormy-goldOP•13mo ago
unwilling-turquoise•13mo ago
disable the
Use Dedicated GPU
option in the settings, DXVK should be smart enough to pick the correct GPU, that option is meant to be used only when DXVK does the wrong thingstormy-goldOP•12mo ago
Still didn't work. Here is the new log file:
stormy-goldOP•12mo ago
stormy-goldOP•12mo ago
Also it keeps saying that DirectX 12 cannot be started in a small popup window, too.
conscious-sapphire•12mo ago
Did you just copy this from ProtonDB? Remove it
stormy-goldOP•12mo ago
Yeah I did
stormy-goldOP•12mo ago
Let me remove it, also this was the DirectX 12 error message:

conscious-sapphire•12mo ago
post a new log after removal
stormy-goldOP•12mo ago
Alr
I removed it and I also ran the DirectX installation .exe from Microsoft on the prefix.
Now it doesn't show the DirectX 12 error anymore, but it launches a black screen for some seconds and stops working.
conscious-sapphire•12mo ago
that's not needed. DirectX support is provided by VKD3D
stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
try enabling Use Dedicated GPU and DXVK-NVAPI to see if that changes behavior
stormy-goldOP•12mo ago
Ok
stormy-goldOP•12mo ago
stormy-goldOP•12mo ago
Still launches a black screen and then crashes.
conscious-sapphire•12mo ago
I'm thinking that your nvidia drivers are out of date.
550.107.2 isn't the most recent of any branch
stormy-goldOP•12mo ago
Really?
Oh
stormy-goldOP•12mo ago

conscious-sapphire•12mo ago
550.120 is the most recent non-beta version
verify that your flatpak driver matches that version number
stormy-goldOP•12mo ago
In my Driver Manager 550.107.02 is the most recent.
conscious-sapphire•12mo ago
flatpak list | grep Nvidia
such is the life of mint/ubuntustormy-goldOP•12mo ago
That command returns nothing.
Lol, maybe I can install something more recent from my terminal?
Or just install a different distro...
conscious-sapphire•12mo ago
can you show a screenshot?
stormy-goldOP•12mo ago
Yea
stormy-goldOP•12mo ago

conscious-sapphire•12mo ago
my mistake, should be lowercase
nvidia
stormy-goldOP•12mo ago
Lowercase nvidia returns something

conscious-sapphire•12mo ago
flatpak list | grep hgl
at the end of that response, does it say system or user?stormy-goldOP•12mo ago

stormy-goldOP•12mo ago
system
system for both
conscious-sapphire•12mo ago
ok looks like the versions match up
ok go back and disable use dedicated gpu, delete your prefix, reverify game files, then run it again
stormy-goldOP•12mo ago

stormy-goldOP•12mo ago
This?
conscious-sapphire•12mo ago
I think you're looking at winetricks there, but I'd just go into my file browser to delete
/home/sebas/Games/Heroic/Prefixes/default/Hogwarts Legacy
stormy-goldOP•12mo ago
Ok
stormy-goldOP•12mo ago
stormy-goldOP•12mo ago
Still launches a black screen and then crashes.
Also I got a way to install other drivers, and this is on the PPA:
stormy-goldOP•12mo ago

stormy-goldOP•12mo ago
Tried the same process again, deleted prefix, verify/repair game files, and ran it again.
Log:
stormy-goldOP•12mo ago
stormy-goldOP•12mo ago
Still shows black screen after some seconds and crashes for anyone new helping :/
Also for more info to anyone wanting to help: The game was bought on the Epic Games store.
UPDATE!
I managed to fix lots of the errors by installing drivers in a different way, the new log is much shorter but the game still does not run.
Here is the new log for anyone wanting to help:
stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
the new log doesn't have any references to using the nvidia driver
second, where did you get
PROTON_NO_OPENXR
from?stormy-goldOP•12mo ago
I thought I could try something to fix some errors about openxr
conscious-sapphire•12mo ago
where did you get that specific variable from?
stormy-goldOP•12mo ago
Oh, ChatGPT.
conscious-sapphire•12mo ago
please don't do that
stormy-goldOP•12mo ago
Ok... lol
I'll delete it
conscious-sapphire•12mo ago
PROTON_NO_OPENXR
does not exist on the Proton github code or readmestormy-goldOP•12mo ago
The game is probably launching but crashing fast because my fans go crazy and then die down after it crashes.
Ok, thanks.
New log without the variable:
stormy-goldOP•12mo ago
stormy-goldOP•12mo ago
Welp, I just installed it in a different way and that seemed to fix lots of graphical errors.
conscious-sapphire•12mo ago
try enabling use dedicated gpu now
stormy-goldOP•12mo ago
Ok
Still crashes, log:
stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
it's not attempting to use your GPU at all. what version driver are you using?
stormy-goldOP•12mo ago
Let's see.
stormy-goldOP•12mo ago

conscious-sapphire•12mo ago
those are still backdated in their respective branches. Maybe try this ppa https://www.reddit.com/r/linux_gaming/comments/1bl6xk9/how_do_you_guys_install_nvidia_drivers/kw3xn74/
Reddit
BulletDust's comment on "How do you guys install Nvidia drivers?"
Explore this conversation and more from the linux_gaming community
conscious-sapphire•12mo ago
555 is the newer production branch
then run
flatpak update
when you're live againstormy-goldOP•12mo ago
Thats the Reddit post that I looked at to get those drivers
I used the commands there
conscious-sapphire•12mo ago
did you use the ppa?
stormy-goldOP•12mo ago
Yes, installing nvidia-driver-555 (Version 555.58.02-0ubuntu0~gpu24.04.1) right now
conscious-sapphire•12mo ago
ok, run flatpak update when you're up again
then run
flatpak list | grep nvidia
to ensure 555.58.02 is installedstormy-goldOP•12mo ago
Ok
Up and running again
Ran flatpak update and the list command
nvidia-555-58-02 org.freedesktop.Platform.GL.nvidia-555-58-02 1.4 system
nvidia-550-107-02 org.freedesktop.Platform.GL32.nvidia-550-107-02 1.4 system
nvidia-555-58-02 org.freedesktop.Platform.GL32.nvidia-555-58-02 1.4 system
THE GAME WORKS!
Although it is stuck on the Warning: Read Before Playing...
It works with the new drivers sorta!
Well that was nice, the game is stuck on the WARNING forever.
At least it can launch properly now, here is the log:
stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
Which if these did you do yourself?
stormy-goldOP•12mo ago
I did the corefonts, dxvk, and vkd3d
Also a bad update, the game launched, got past the WARNING, loaded shaders and started opening to the menu but then it closed, and Heroic Games Launcher also closed itself, so I thought that my integrated graphics in my CPU couldn't handle it, so I switched the computer to use NVIDIA Performance Mode on my GPU, and when I launched the game again it crashed and gave the error it was giving before, here is the log, I am going to try and go back to CPU graphics:
stormy-goldOP•12mo ago
graceful-blue•12mo ago
you don't need any of that
probably will cause you more problems
turn off the dedicated gpu setting
it doesn't work anymore
it's meant for older drivers which didn't work without it
stormy-goldOP•12mo ago
Ok
How can I delete them?
conscious-sapphire•12mo ago
delete the prefix would be the easiest way
stormy-goldOP•12mo ago
Alr
I got the game running and played a little bit of the intro.
The FPS is great... If ~10 FPS is great lol
Is there any way to fix the FPS?
I used to play this game on Windows natively before switching to Linux completely, it ran very good, near 100 FPS.
Oh well, I think I found the problem.
stormy-goldOP•12mo ago

stormy-goldOP•12mo ago
I can't change it from my CPU graphics to GPU graphics, that would probably fix everything.
I am running my desktop environment using my CPU graphics, if I switch to GPU that will probably fix the settings thing.
But when I switch to GPU it completely breaks again and gives that error shown in the last log I think.
New log on GPU:
stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
The Nvidia GPU isn’t being used at all there
stormy-goldOP•12mo ago
Yeah, sadly.
It can't detect it maybe? I don't know, if I try and switch to using my GPU for graphics the game can't even launch...
stormy-goldOP•12mo ago

stormy-goldOP•12mo ago
I use this little icon in the taskbar to switch through.
Also, I though I could force the game to use the GPU using something like PRIME offloading?
When I try to run the game again using my dedicated GPU selected in the PRIME profile, literally only that as a difference, the game can't even launch. Here is the log:
stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
That’s the intent behind the use dedicated GPU toggle
stormy-goldOP•12mo ago
Yeah, but I've read it doesn't work anymore.
I also just tried using it, no change from what I can see.
conscious-sapphire•12mo ago
I never remember the dividing line for where it does work
If it doesn’t work, post the log, then turn it back off
stormy-goldOP•12mo ago
Ok
Run the following command & send the output into here:
Native OpenGL / Vulkan games. Anything not using DXVK/VKD3D-Proton
Even then, most of those are smart enough to pick the dedicated GPU. The option is only intended for games where that isn't happening
stormy-goldOP•12mo ago
stormy-goldOP•12mo ago
That is from running the command, flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary
What does
flatpak list --runtime
say (ideally maximize your terminal before running that)stormy-goldOP•12mo ago
conscious-sapphire•12mo ago
it's missing 32 bit mesa, and would Nvidia's driver be there?
Not sure what you mean, both of those are there
@Quantum Chromatic Resonance Alright, now what does
nvidia-smi
say?conscious-sapphire•12mo ago
ah, preview didn't expand far enough
I guess in that same vein, there is no 64 bit nvidia
stormy-goldOP•12mo ago
sebas@sebastian-TUF-Gaming-FX505GT:~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
But I am using my UHD Intel graphics right now, let me switch hold on.
stormy-goldOP•12mo ago

First of all do a
flatpak update
If that doesn't show anything, do a flatpak install flathub org.freedesktop.Platform.GL32.nvidia-550-120 org.freedesktop.Platform.GL.nvidia-550-120
stormy-goldOP•12mo ago
Ok, updated.
What does
flatpak list --runtime
say now?stormy-goldOP•12mo ago
Okay, looks good. What does
flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary
say now?stormy-goldOP•12mo ago
Not sure what's up with that first line, but it was there before so I guess we'll just ignore it
Alright, try launching your game now
stormy-goldOP•12mo ago
It works!
Thank you.
The menu is still pretty glitchy though, I wonder if I can fix that. I don't know if the game has low FPS yet.
If we can fix the FPS, I'll put this as resolved.
Can anyone help with the FPS?
Gonna need a new game log to suggest anything
stormy-goldOP•12mo ago
Alr
stormy-goldOP•12mo ago
That's not the full log file. Please send in the actual file, don't copy its contents
To help you, we need a game log. Please see the following images on how to get it.



Alternatively, you can also hit "Upload log file" in the log viewer and send in the link
stormy-goldOP•12mo ago
Well, that's just great.
THe game doesn't launch anymore after some days.
stormy-goldOP•12mo ago
stormy-goldOP•8mo ago
It just crashes.
Just an update... Nobody reads this probably, but for anyone who needs it, HERE IS THE SOLUTION:
- Use GE-Proton9-22
- Make sure you have mangohud and gamemoderun installed (Nobara Linux comes with both, I recommend it!)
- Put the launch options as:
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%
NOTE! If you don't want an annoying GPU, CPU, FPS, etc... overview on your screen, replace the launch options with:
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 %command%
ALL that did was remove mangohud. Good luck! You can ping me with questions.
Another note: These options make sure that the DirectX12 error won't happen, they are modified from the ProtonDB post by ReBel98 (THANK YOU ReBel98 SO MUCH!).