HGL
extended-salmon
Cant use the Nvidia GPU
I have a laptop, with a integrated GPU (intel UHD) and the nvidia gtx 1650
I play genshin, but it keeps using the intel GPU instead of the nividia one, i tried to change some options in the launcher like adding some arguments to force nvidia gpu but ig it didnt go well or i did it wrong coz the game didnt open after that,
Ubuntu 24.04 LTS
38 Replies
To help you, we need a game log. Please see the following images on how to get it.






extended-salmonOP•2w ago
https://0x0.st/KiIo.log
everything works fine but its just the gpu
Please send the following into this channel:
- A recent game log (with verbose logging enabled), if not sent already
- The output of the following commands:
-
flatpak run --command=vulkaninfo com.heroicgameslauncher.hgl --summary
- flatpak run --command=vkcube com.heroicgameslauncher.hgl
- nvidia-smi
- flatpak list --runtime -v
(no need to run the vkcube one really)
fair-rose•2w ago
That log indicates flatpak nv driver is missing so wouldnt
flatpak update
just resolve it?Assuming their host driver is working correctly, yes
fair-rose•2w ago
But ofc it depends on nvidia-smi
Ye
extended-salmonOP•2w ago
That's why I like to confirm that is the issue before trying to resolve it like that
Yup, that's the issue
Run
flatpak update
That should make you install org.freedesktop.Platform.GL.nvidia-575-64-03
and org.freedesktop.Platform.GL32.nvidia-575-64-03
and remove org.freedesktop.Platform.GL.nvidia-535-247-01
and org.freedesktop.Platform.GL32.nvidia-535-247-01
extended-salmonOP•2w ago
is a reboot needed?
No
You will have to restart any Flatpak apps though
Also, you can now manually remove the old drivers with
to save a bit of disk space
fair-rose•2w ago
Imo a better way to handle it
In my experience that just ends up doing nothing sometimes, even if an older driver is installed
fair-rose•2w ago
It has this kind of catch ( from my experience ) once every flatpak app is launched with new runtime that command works 🐸
Odd but it worked that way for me
extended-salmonOP•2w ago
hmmm

extended-salmonOP•2w ago
ill send logs
https://0x0.st/KiIA.log
fair-rose•2w ago
info: Presenter: Got VK_ERROR_OUT_OF_DATE_KHR, recreating swapchainNow your NV driver works but it seems it has some problems on wsi side
extended-salmonOP•2w ago
hm:thonk:
fair-rose•2w ago
Basically not something any human being here can resolve, only can offer workarounds. It is a windowing problem i think, you got in game, it resized window and boom
@CommandMC What was the flatpak command to install gamescope?
extended-salmonOP•2w ago
oh ye it gone boom black flashed a bit then crashed
fair-rose•2w ago
Do you play game in fullscreen?
Or windowed mode?
extended-salmonOP•2w ago
full screen
fair-rose•2w ago
Try windowed mode first
extended-salmonOP•2w ago
okay
I tried borderless the same happened, I'll restart the game and try windowed
extended-salmonOP•2w ago
same

fair-rose•2w ago
Then wait for commandmc to return so you can try with gamescope
extended-salmonOP•2w ago
okie
fair-rose•2w ago
Until then
DXVK_FILTER_DEVICE_NAME="630"
Should make the game run on intel oneextended-salmonOP•2w ago
argument to put in the game settings?
the laucher settings
fair-rose•2w ago
Game setting page in heroic, advanced
Environment variables
DXVK_FILTER_DEVICE_NAME
is key , "630"
is valuefair-rose•2w ago
@termnh ^
Do this
Restart heroic
After that you should have toggle to turn on/off gamescope visible/interactable
extended-salmonOP•2w ago
okay
extended-salmonOP•2w ago

extended-salmonOP•2w ago
It works so finee
Thanks
fair-rose•2w ago
You removed dxvk filter env right?
extended-salmonOP•2w ago
yes
fair-rose•2w ago
👍