Hi,
I’m using batocera ES v34 2022/5/23 on an older gaming laptop of mine. It has a 6-series i7 and an nvidia gtx 970. While using steam, I noticed that games were running quite slowly and I had to turn the graphics settings way down, even on less demanding games like Rocket League. After a bit of poking around I noticed this:

I assume this means it’s using the onboard intel graphics instead of nvidia. I have the nvidia drivers working in batocera:

and this is what flatpak looks like:
[img]
[root@DECAPITRON /userdata/system]# flatpak list --columns=app,runtime,version,branch
Application ID Runtime Version Branch
com.valvesoftware.Steam org.freedesktop.Platform/x86_64/21.08 1.0.0.74 stable
com.valvesoftware.Steam.CompatibilityTool.Proton 7.0-3 stable
com.valvesoftware.Steam.CompatibilityTool.Proton-Exp 7.0-20220728 stable
com.valvesoftware.Steam.CompatibilityTool.Proton-GE 7.28-1 stable
io.github.sharkwouter.Minigalaxy org.gnome.Platform/x86_64/42 1.1.0 stable
net.davidotek.pupgui2 org.kde.Platform/x86_64/6.3 2.6.5 stable
org.freedesktop.Platform 21.08.14 21.08
org.freedesktop.Platform.Compat.i386 21.08
org.freedesktop.Platform.GL.default 21.3.8 21.08
org.freedesktop.Platform.GL.nvidia-510-60-02 1.4
org.freedesktop.Platform.GL32.default 21.08
org.freedesktop.Platform.GL32.nvidia-510-60-02 1.4
org.freedesktop.Platform.VAAPI.Intel 21.08
org.freedesktop.Platform.VAAPI.Intel.i386 21.08
org.freedesktop.Platform.ffmpeg-full 21.08
org.freedesktop.Platform.ffmpeg_full.i386 21.08
org.freedesktop.Platform.openh264 2.1.0 2.0
org.gnome.Platform 42
org.gnome.Platform.Compat.i386 42
org.kde.KStyle.Adwaita 6.3
org.kde.Platform 6.3
org.winehq.Wine.DLLs.dxvk 1.10.3 stable-21.08
org.winehq.Wine.gecko stable-21.08
org.winehq.Wine.mono
I can’t seem to get Steam to use my nvidia card. What can I do to fix this?
Also I installed a few games and set compatibility to linux native runtime instead of proton and now they won’t run at all. Shouldn’t the linux version be better in most cases?
Besides that, I noticed that there seem to be 3 copies of each game in userdata, taking an obscene amount of disk space.
one copy is here:
\DECAPITRON\share\saves\flatpak\data.var\app\com.valvesoftware.Steam.steam\steam\steamapps\common
another copy here:
\DECAPITRON\share\saves\flatpak\data.var\app\com.valvesoftware.Steam.local\share\Steam\steamapps\common
and another copy here:
\DECAPITRON\share\saves\flatpak\data.var\app\com.valvesoftware.Steam\data\Steam\steamapps\common
can I delete 2 of these? Why does it do this?
Any thoughts?
thanks