HGL
xenial-black

hogwarts legacy very poor performance

I recently switched to linux mint and i'm trying to run hogwarts legacy (bought in epic games store) via heroic. The game launches but when i open system monitor and radeontop the cpu and gpu usage is almost zero it also crashes when playing for a while. I have a 265k and a 7900xt.
Solution:
just had to put DXVK_FILTER_DEVICE_NAME=AMD Radeon RX 7900 XT instead of DXVK_FILTER_DEVICE_NAME=7900xt...
Jump to solution
58 Replies
exotic-emerald
exotic-emerald3mo ago
"key": "RADV_PERFTEST",
"value": "gpl"
"key": "RADV_PERFTEST",
"value": "gpl"
"key": "VKD3D_CONFIG",
"value": "dxr11"
"key": "VKD3D_CONFIG",
"value": "dxr11"
remove these Add DXVK_FILTER_DEVICE_NAME="7900XT"
xenial-black
xenial-blackOP3mo ago
how do i do that
exotic-emerald
exotic-emerald3mo ago
Same way you added other env variables before?
xenial-black
xenial-blackOP3mo ago
oh wait never mind i get it had a brain fart "failed to initialize DirectX 12. Graphics drivers may require an update, or graphics adapter may not be supported."
exotic-emerald
exotic-emerald3mo ago
You simply miss driver then.
inxi -SMGxx
inxi -SMGxx
Post this output from terminal
xenial-black
xenial-blackOP3mo ago
System: Host: Kenneth-Pc Kernel: 6.14.0-29-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin dm: LightDM Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble Machine: Type: Desktop System: ASRock product: Z890 Pro-A v: N/A serial: <superuser required> Mobo: ASRock model: Z890 Pro-A serial: <superuser required> UEFI: American Megatrends LLC. v: 3.04 date: 04/22/2025 Graphics: Device-1: Intel Arrow Lake-S [Intel Graphics] vendor: ASRock driver: i915 v: kernel arch: Gen-15 ports: active: none empty: DP-4, DP-5, DP-6, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:7d67 Device-2: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] vendor: XFX driver: amdgpu v: 6.12.12 arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2, DP-3, HDMI-A-1, Writeback-1 bus-ID: 04:00.0 chip-ID: 1002:744c Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu,modesetting unloaded: fbdev,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 2560x1440 s-dpi: 96 Monitor-1: DP-1 mapped: DisplayPort-0 model: 27E6QC res: 2560x1440 dpi: 109 diag: 685mm (27") API: EGL v: 1.4 platforms: surfaceless: drv: advanced x11: drv: advanced inactive: gbm,wayland API: OpenGL v: 4.6.0 vendor: ati v: N/A glx-v: 1.4 direct-render: yes renderer: Radeon RX 7900 XT
exotic-emerald
exotic-emerald3mo ago
API: OpenGL v: 4.6.0 vendor: ati v: N/A glx-v: 1.4 direct-render: yes
renderer: Radeon RX 7900 XT
API: OpenGL v: 4.6.0 vendor: ati v: N/A glx-v: 1.4 direct-render: yes
renderer: Radeon RX 7900 XT
How did you try to install driver before? inb4 amd official website
xenial-black
xenial-blackOP3mo ago
$ amdgpu-install --usecase=workstation -y --vulkan=pro --opencl=rocr
exotic-emerald
exotic-emerald3mo ago
yep, you screwed your driver setup Default installed Mesa drivers are the ones that AMD and Intel users should use.
xenial-black
xenial-blackOP3mo ago
I was trying to get HIP working in blender wich does work now, but apparently that broke them for this
exotic-emerald
exotic-emerald3mo ago
yup Fwiw such stuff is lots easier on arch based distros
xenial-black
xenial-blackOP3mo ago
i reverted back to the default drivers but i still get the dx12 error when using DXVK_FILTER_DEVICE_NAME="7900XT" without it it does lauch but still has poor performance
exotic-emerald
exotic-emerald3mo ago
Post inxi again
xenial-black
xenial-blackOP3mo ago
System: Host: Kenneth-Pc Kernel: 6.14.0-29-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin dm: LightDM Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble Machine: Type: Desktop System: ASRock product: Z890 Pro-A v: N/A serial: <superuser required> Mobo: ASRock model: Z890 Pro-A serial: <superuser required> UEFI: American Megatrends LLC. v: 3.04 date: 04/22/2025 Graphics: Device-1: Intel Arrow Lake-S [Intel Graphics] vendor: ASRock driver: i915 v: kernel arch: Gen-15 ports: active: none empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:7d67 Device-2: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] vendor: XFX driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-4 empty: DP-5, DP-6, HDMI-A-3, Writeback-1 bus-ID: 04:00.0 chip-ID: 1002:744c Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu,modesetting unloaded: fbdev,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 2560x1440 s-dpi: 96 Monitor-1: DP-4 mapped: DisplayPort-3 model: 27E6QC res: 2560x1440 dpi: 109 diag: 685mm (27") API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: iris device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XT (radeonsi navi31 LLVM 20.1.2 DRM 3.61 6.14.0-29-generic) device-ID: 1002:744c
exotic-emerald
exotic-emerald3mo ago
It seems nice on this front for now, can you check usr/share/vulkan/icd.d folder And post contents of it
xenial-black
xenial-blackOP3mo ago
names of the files or just all the files
exotic-emerald
exotic-emerald3mo ago
Names A screenshot would do fine also
xenial-black
xenial-blackOP3mo ago
No description
exotic-emerald
exotic-emerald3mo ago
Nice, vulkaninfo --summary > vlk.txt This will create said txt in your home partition
xenial-black
xenial-blackOP3mo ago
exotic-emerald
exotic-emerald3mo ago
It is fine there too. Now close Heroic, do flatpak update After it is done, open heroic again and try again
xenial-black
xenial-blackOP3mo ago
flatpak update says nothing to do
exotic-emerald
exotic-emerald3mo ago
Then it should have been working. If not, post log again
xenial-black
xenial-blackOP3mo ago
xenial-black
xenial-blackOP3mo ago
and this popup
No description
exotic-emerald
exotic-emerald3mo ago
home/kenneth/.var/app/com.heroicgameslauncher.hgl
home/kenneth/.var/app/com.heroicgameslauncher.hgl
Either this location or directly home partition itself should have the real log Steam0 etc in name
xenial-black
xenial-blackOP3mo ago
xenial-black
xenial-blackOP3mo ago
there is also this log
exotic-emerald
exotic-emerald3mo ago
warn: DXVK: No adapters found. Please check your device filter settings
warn: and Vulkan drivers. A Vulkan 1.3 capable setup is required.
err: Failed to initialize DXVK.
warn: DXVK: No adapters found. Please check your device filter settings
warn: and Vulkan drivers. A Vulkan 1.3 capable setup is required.
err: Failed to initialize DXVK.
Hmm, pulling up big guns then Go to Games/Heroic/Prefixes/HogwartsLegacy and delete it
xenial-black
xenial-blackOP3mo ago
home/kenneth/games/heroic/prefixes/default/hogwarts legacy ? or somewhere else i moved it to trash and ran the game again and it just gives the same error
xenial-black
xenial-blackOP3mo ago
xenial-black
xenial-blackOP3mo ago
xenial-black
xenial-blackOP3mo ago
logs seem different though
exotic-emerald
exotic-emerald3mo ago
Weird Device filter there doesnt work correct Just remove device filter env var It skips 7900xt as well While it shouldnt have
xenial-black
xenial-blackOP3mo ago
how do i remove it
exotic-emerald
exotic-emerald3mo ago
💀 Way you added but in reverse
xenial-black
xenial-blackOP3mo ago
oh you mean the dxvk thing 🤦‍♂️
exotic-emerald
exotic-emerald3mo ago
Yep
xenial-black
xenial-blackOP3mo ago
it launches but has really bad performance
xenial-black
xenial-blackOP3mo ago
also barely uses the gpu
No description
xenial-black
xenial-blackOP3mo ago
exotic-emerald
exotic-emerald3mo ago
sudo intel_gpu_top When game is running
xenial-black
xenial-blackOP3mo ago
seems like its at 99%
xenial-black
xenial-blackOP3mo ago
No description
xenial-black
xenial-blackOP3mo ago
i disabled "use dedicated graphics card" in heroic and now both seem to be idle
No description
exotic-emerald
exotic-emerald3mo ago
And still awful perf?
xenial-black
xenial-blackOP3mo ago
yeah
exotic-emerald
exotic-emerald3mo ago
Weird af but likely correlated to previous other driver install still affects the games some way You are new to Mint and Linux?
xenial-black
xenial-blackOP3mo ago
mint is new to me, i have used ubuntu abd debian for school though. This is a brand new pc and i didnt want to use windows 11
exotic-emerald
exotic-emerald3mo ago
You made the wrong distro choice thats all.
exotic-emerald
exotic-emerald3mo ago
CachyOS — Blazingly Fast OS based on Arch Linux
🚀 CachyOS is an Arch Linux-based distribution that offers an easy installation, several customization options to suit every user, and special optimizations for improved performance while remaining simple.
xenial-black
xenial-blackOP3mo ago
games launched via steam work fine
exotic-emerald
exotic-emerald3mo ago
Which game for example?
xenial-black
xenial-blackOP3mo ago
jedi survivor
exotic-emerald
exotic-emerald3mo ago
Hmm, that is also UE4 and DX12 Then just try with Appimage heroic Because i assume your steam is not flatpak While your heroic is
xenial-black
xenial-blackOP3mo ago
k, ill try changing it
Solution
xenial-black
xenial-black2mo ago
just had to put DXVK_FILTER_DEVICE_NAME=AMD Radeon RX 7900 XT instead of DXVK_FILTER_DEVICE_NAME=7900xt works fine now even with flatpak

Did you find this page helpful?