I got a few updates for Ubuntu and my Nvidea drivers. I put these updates off because I knew that Lutris was going to break if I did that. I bit the bullet and did it today, lo and behold Lutris breaks. It now for some reason can’t detect my GPU to the point that the Hardware Information tab in the Lutris settings wouldn’t pick up anything. After install/reinstall/apt update etc etc it “fixed” itself in that department without any clear reason as to how or why but still wouldn’t launch my game due to to now not picking up my runner according to the runtime logs. Uninstalled the the runner/reinstalled the runner etc etc and I just had it. I uninstalled flatpack lutris and then finally flatpack then installed Lutris normally through a .deb and suddenly all issues are gone and my game runs like a dream after cacheing shaders. Lutris picks up the GPU, the runner is suddenly present. These problems aren’t new either. It’s a whole new wrestling match wondering through help forums just to get flatpak Lutris to do things after the most minor tweaks and updates. I actually left windows because Windows likes to break itself for funnsies every other update. I shouldn’t be back in the help forums every other week while I’m not doing anything new or obscure.
tl;dr Flatpak Lutris is a nightmare on Ubuntu 22.04
I don’t run Ubuntu but I do know that the Nvidia drivers on your system have to match the Nvidia drivers installed through Flatpak as in version. If there is a mismatch you are going to have issues running games, I’ve never had issues with the Lutris Flatpak though.
No. Whenever the Nvidia driver on your system is updated there will be an update for your Flatpaks as well, so when you run “flatpak update” the nvidia package installed through Flatpak will be updated as well. I have never had to do any maintance of my Flatpaks, I just update them and that’s it.
I had an experience recently where I updated to Ubuntu 23.04, and upgraded my nvidia driver to 525, which netted me version 525.125.06. But then my Flatpak apps that depended on nvidia broke, as discussed above. No problem, I thought, I’ll just upgrade the Flatpak nvidia driver to match… but the Flatpak repo did not have 525.125.06… the newest at the time was 525.116 if I recall correctly. So it was not possible to make my Flatpak apps work again with that nvidia driver version. Maybe the Flatpak packages were simply behind, release-wise? But it doesn’t really matter why—what matters is that it is indeed more fragile than apps installed outside of Flatpak. It’s not Lutris’s fault, it’s just how Flatpak works. In my case, I actually ended up uninstalling Flatpak in frustration, and installing the needed apps in other ways.
I’ve never had the Nvidia driver break with my Flatpak setup though, not on Fedora en not on EndeavourOS. So must count myself lucky but it sounds that version of the Nvidia driver was behind on Flatpak with what you ran into. Here’s a link to a reply of someone who sorted out the whole Nvidia Flatpak problem.
I have many many problems with 3d games. Performances are horrible. At begining i was thinking it was a problem with my “old” PC. (7 years). So i buy a new Stuff for gaming…and its worst xD
It is more slow. For old game or 2D is ok, but others… I change the emulator, (Proton, wine…) and i donwload last version.
I think is a similar problem.
But i dont understand the process at do.
Can you re-explain your process @BlurayHD please ?
Also @Cphusion I try to do the line code in your link…but for the first stuff "sudo: dnf : command not found " So what can i do ?
All mafia trilogy, (definitive edition, and original mafia 2), “A plague tales”. Impossible to play. Sound is horrible, and looooooow.
But is strange because i have no problem for old 3D Game (Battlefront 2). I test fallout 3 and all is ok for introduction.
For the story, 6 month ago, for no reason, battlefront runed at (litterally) 7 fps…and i thinks it was repair by uptades.
I linked to a forum post where someone explained the issue with Nvidia drivers when it comes to Flatpak, that was on the Rocky Linux forums. Rocky Linux uses dnf as package manager, if you use another Linux distribution you will need to use whatever package manager comes with the distribution that you use.
Seriously, can someone help me with these command lines?
Or if someone tells me that everything is going well with another distro with an nvidia config I’m ready.
(I’m ready to change, I was thinking about going to debian).
You need to add “sudo” in front of that. What you are trying to do is not going to work because what that person doing there is installing a third-party repo for Rocky Linux, which is a rpm based repo and which won’t work for you since you are running PopOS a Deb-based distribution which is based on Ubuntu.
The whole point to what the person explains in that link is, is that Flatpak Nvidia drivers installed on your system have to match the Nvidia drivers version on your system. So normally when you do a driver update on your system and then do a flatpak update the flatpak drivers will be updated to that same version to match that version. That person was explaining that they were using the Nvidia developer repo and that the driver got update to 520.x.x which was not available for Flatpak causing a mismatch between the system Nvidia driver and the Flatpak Nvidia driver. They then manually install the system driver for the 515.x.x driver to match the Flatpak version available. Then he goes on in explaining that this isn’t a problem when using the Nvidia driver on distributions like Ubuntu(and others) because these distributions use the LTS version of the drivers in their repo
So in short it shouldn’t be a problem for you. You can just check this by looking at the driver version of the system and of the driver version for Flatpak installed.
Check system nvidia drivers: dpkg --list |grep nvidia
Check flatpak nvidia drivers: flatpak list |grep nvidia
Thanks @Cphusion Cphusion. (i was writ "sudo but forgot to copy xD)
If i understand is it just…a litlle problem offset between nvidia and flatpack drivers?
But Its strange because actually, i think i have the same drivers.
dpkg --list |grep nvidia
ii libnvidia-cfg1-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-525 525.116.04-1pop0~1686770941~22.04~ac14717 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA libcompute package
ii libnvidia-compute-525:i386 525.116.04-1pop0~1686770941~22.04~ac14717 i386 NVIDIA libcompute package
ii libnvidia-decode-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-525:i386 525.116.04-1pop0~1686770941~22.04~ac14717 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-egl-wayland1:amd64 1:1.1.9-1.1 amd64 Wayland EGL External Platform library -- shared library
ii libnvidia-encode-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-525:i386 525.116.04-1pop0~1686770941~22.04~ac14717 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-525:i386 525.116.04-1pop0~1686770941~22.04~ac14717 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-525:amd64 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-525:i386 525.116.04-1pop0~1686770941~22.04~ac14717 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA compute utilities
ii nvidia-dkms-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA DKMS package
ii nvidia-driver-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA kernel source package
ii nvidia-settings 510.47.03-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18.2 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-525 525.116.04-1pop0~1686770941~22.04~ac14717 amd64 NVIDIA binary Xorg driver
and
flatpak list |grep nvidia
nvidia-525-116-04 org.freedesktop.Platform.GL.nvidia-525-116-04 1.4 user
nvidia-525-89-02 org.freedesktop.Platform.GL.nvidia-525-89-02 1.4 user
nvidia-525-116-04 org.freedesktop.Platform.GL32.nvidia-525-116-04 1.4 user
nvidia-525-89-02 org.freedesktop.Platform.GL32.nvidia-525-89-02 1.4 user
If I understand, i need to Re install mannuelly ? (by terminal )
Yes so you don’t have an issue since your flatpak Nvidia driver(525.116.04) matches the system Nvidia driver(also 525.116.04). If it were a problem you would have a mismatch between those two and you wouldn’t be able to run any games on Lutris or Steam that would require the Nvidia drivers.
I do not really remember what I have installed it on, I will come back to this later, but if I reinstall will it remove my library? Or is there an option to keep it?