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
fascinating-indigo
fascinating-indigoOP8mo ago
deep-jade
deep-jade8mo 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 thing
fascinating-indigo
fascinating-indigoOP8mo ago
Still didn't work. Here is the new log file:
fascinating-indigo
fascinating-indigoOP8mo ago
fascinating-indigo
fascinating-indigoOP8mo ago
Also it keeps saying that DirectX 12 cannot be started in a small popup window, too.
rare-sapphire
rare-sapphire8mo ago
"enviromentOptions": [

{

"key": "DXVK_FILTER_DEVICE_NAME",

"value": "\"NVIDIA GeForce RTX 3060 Laptop GPU\" gamemoderun %command%"

}
"enviromentOptions": [

{

"key": "DXVK_FILTER_DEVICE_NAME",

"value": "\"NVIDIA GeForce RTX 3060 Laptop GPU\" gamemoderun %command%"

}
Did you just copy this from ProtonDB? Remove it
fascinating-indigo
fascinating-indigoOP8mo ago
Yeah I did
fascinating-indigo
fascinating-indigoOP8mo ago
Let me remove it, also this was the DirectX 12 error message:
No description
rare-sapphire
rare-sapphire8mo ago
post a new log after removal
fascinating-indigo
fascinating-indigoOP8mo 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.
rare-sapphire
rare-sapphire8mo ago
that's not needed. DirectX support is provided by VKD3D
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
try enabling Use Dedicated GPU and DXVK-NVAPI to see if that changes behavior
fascinating-indigo
fascinating-indigoOP8mo ago
Ok
fascinating-indigo
fascinating-indigoOP8mo ago
fascinating-indigo
fascinating-indigoOP8mo ago
Still launches a black screen and then crashes.
rare-sapphire
rare-sapphire8mo ago
I'm thinking that your nvidia drivers are out of date. 550.107.2 isn't the most recent of any branch
fascinating-indigo
fascinating-indigoOP8mo ago
Really? Oh
fascinating-indigo
fascinating-indigoOP8mo ago
No description
rare-sapphire
rare-sapphire8mo ago
550.120 is the most recent non-beta version verify that your flatpak driver matches that version number
fascinating-indigo
fascinating-indigoOP8mo ago
In my Driver Manager 550.107.02 is the most recent.
rare-sapphire
rare-sapphire8mo ago
flatpak list | grep Nvidia such is the life of mint/ubuntu
fascinating-indigo
fascinating-indigoOP8mo ago
That command returns nothing. Lol, maybe I can install something more recent from my terminal? Or just install a different distro...
rare-sapphire
rare-sapphire8mo ago
can you show a screenshot?
fascinating-indigo
fascinating-indigoOP8mo ago
Yea
fascinating-indigo
fascinating-indigoOP8mo ago
No description
rare-sapphire
rare-sapphire8mo ago
my mistake, should be lowercase nvidia
fascinating-indigo
fascinating-indigoOP8mo ago
Lowercase nvidia returns something
No description
rare-sapphire
rare-sapphire8mo ago
flatpak list | grep hgl at the end of that response, does it say system or user?
fascinating-indigo
fascinating-indigoOP8mo ago
No description
fascinating-indigo
fascinating-indigoOP8mo ago
system system for both
rare-sapphire
rare-sapphire8mo 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
fascinating-indigo
fascinating-indigoOP8mo ago
No description
fascinating-indigo
fascinating-indigoOP8mo ago
This?
rare-sapphire
rare-sapphire8mo 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
fascinating-indigo
fascinating-indigoOP8mo ago
Ok
fascinating-indigo
fascinating-indigoOP8mo ago
fascinating-indigo
fascinating-indigoOP8mo ago
Still launches a black screen and then crashes. Also I got a way to install other drivers, and this is on the PPA:
fascinating-indigo
fascinating-indigoOP8mo ago
No description
fascinating-indigo
fascinating-indigoOP8mo ago
Tried the same process again, deleted prefix, verify/repair game files, and ran it again. Log:
fascinating-indigo
fascinating-indigoOP8mo ago
fascinating-indigo
fascinating-indigoOP8mo 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:
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
the new log doesn't have any references to using the nvidia driver second, where did you get PROTON_NO_OPENXR from?
fascinating-indigo
fascinating-indigoOP8mo ago
I thought I could try something to fix some errors about openxr
rare-sapphire
rare-sapphire8mo ago
where did you get that specific variable from?
fascinating-indigo
fascinating-indigoOP8mo ago
Oh, ChatGPT.
rare-sapphire
rare-sapphire8mo ago
please don't do that
fascinating-indigo
fascinating-indigoOP8mo ago
Ok... lol I'll delete it
rare-sapphire
rare-sapphire8mo ago
PROTON_NO_OPENXR does not exist on the Proton github code or readme
fascinating-indigo
fascinating-indigoOP8mo 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:
fascinating-indigo
fascinating-indigoOP8mo ago
fascinating-indigo
fascinating-indigoOP8mo ago
Welp, I just installed it in a different way and that seemed to fix lots of graphical errors.
rare-sapphire
rare-sapphire8mo ago
try enabling use dedicated gpu now
fascinating-indigo
fascinating-indigoOP8mo ago
Ok Still crashes, log:
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
it's not attempting to use your GPU at all. what version driver are you using?
fascinating-indigo
fascinating-indigoOP8mo ago
Let's see.
fascinating-indigo
fascinating-indigoOP8mo ago
No description
rare-sapphire
rare-sapphire8mo 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
rare-sapphire
rare-sapphire8mo ago
555 is the newer production branch then run flatpak update when you're live again
fascinating-indigo
fascinating-indigoOP8mo ago
Thats the Reddit post that I looked at to get those drivers I used the commands there
rare-sapphire
rare-sapphire8mo ago
did you use the ppa?
fascinating-indigo
fascinating-indigoOP8mo ago
Yes, installing nvidia-driver-555 (Version 555.58.02-0ubuntu0~gpu24.04.1) right now
rare-sapphire
rare-sapphire8mo ago
ok, run flatpak update when you're up again then run flatpak list | grep nvidia to ensure 555.58.02 is installed
fascinating-indigo
fascinating-indigoOP8mo 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:
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
Winetricks packages: w_workaround_wine_bug-50894, ucrtbase2019, vcrun2019, andale, arial, comicsans, courier, georgia, impact, times, trebuchet, verdana, webdings, corefonts, d3dcompiler_43, d3dx9, d3dcompiler_47, dxvk, vkd3d
Winetricks packages: w_workaround_wine_bug-50894, ucrtbase2019, vcrun2019, andale, arial, comicsans, courier, georgia, impact, times, trebuchet, verdana, webdings, corefonts, d3dcompiler_43, d3dx9, d3dcompiler_47, dxvk, vkd3d
Which if these did you do yourself?
fascinating-indigo
fascinating-indigoOP8mo 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:
fascinating-indigo
fascinating-indigoOP8mo ago
conscious-sapphire
conscious-sapphire8mo 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
fascinating-indigo
fascinating-indigoOP8mo ago
Ok How can I delete them?
rare-sapphire
rare-sapphire8mo ago
delete the prefix would be the easiest way
fascinating-indigo
fascinating-indigoOP8mo 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.
fascinating-indigo
fascinating-indigoOP8mo ago
No description
fascinating-indigo
fascinating-indigoOP8mo 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:
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
The Nvidia GPU isn’t being used at all there
fascinating-indigo
fascinating-indigoOP8mo 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...
fascinating-indigo
fascinating-indigoOP8mo ago
No description
fascinating-indigo
fascinating-indigoOP8mo 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:
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
That’s the intent behind the use dedicated GPU toggle
fascinating-indigo
fascinating-indigoOP8mo ago
Yeah, but I've read it doesn't work anymore. I also just tried using it, no change from what I can see.
rare-sapphire
rare-sapphire8mo 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
fascinating-indigo
fascinating-indigoOP8mo ago
Ok
CommandMC
CommandMC8mo ago
Run the following command & send the output into here:
flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary
flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary
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
fascinating-indigo
fascinating-indigoOP8mo ago
fascinating-indigo
fascinating-indigoOP8mo ago
That is from running the command, flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary
CommandMC
CommandMC8mo ago
What does flatpak list --runtime say (ideally maximize your terminal before running that)
fascinating-indigo
fascinating-indigoOP8mo ago
rare-sapphire
rare-sapphire8mo ago
it's missing 32 bit mesa, and would Nvidia's driver be there?
CommandMC
CommandMC8mo ago
Not sure what you mean, both of those are there @Quantum Chromatic Resonance Alright, now what does nvidia-smi say?
rare-sapphire
rare-sapphire8mo ago
ah, preview didn't expand far enough I guess in that same vein, there is no 64 bit nvidia
fascinating-indigo
fascinating-indigoOP8mo 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.
fascinating-indigo
fascinating-indigoOP8mo ago
No description
CommandMC
CommandMC8mo 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
fascinating-indigo
fascinating-indigoOP8mo ago
Ok, updated.
CommandMC
CommandMC8mo ago
What does flatpak list --runtime say now?
fascinating-indigo
fascinating-indigoOP8mo ago
CommandMC
CommandMC8mo ago
Okay, looks good. What does flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary say now?
fascinating-indigo
fascinating-indigoOP8mo ago
CommandMC
CommandMC8mo 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
fascinating-indigo
fascinating-indigoOP8mo 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?
CommandMC
CommandMC8mo ago
Gonna need a new game log to suggest anything
fascinating-indigo
fascinating-indigoOP8mo ago
Alr
fascinating-indigo
fascinating-indigoOP8mo ago
CommandMC
CommandMC8mo ago
That's not the full log file. Please send in the actual file, don't copy its contents
HeroicBot
HeroicBot8mo ago
To help you, we need a game log. Please see the following images on how to get it.
From An unknown user
From An unknown user
From An unknown user
CommandMC
CommandMC8mo ago
Alternatively, you can also hit "Upload log file" in the log viewer and send in the link
fascinating-indigo
fascinating-indigoOP7mo ago
Well, that's just great. THe game doesn't launch anymore after some days.
fascinating-indigo
fascinating-indigoOP7mo ago
fascinating-indigo
fascinating-indigoOP3mo 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!).

Did you find this page helpful?