You are not logged in.

#1 2022-07-04 09:29:20

harnis
Member
Registered: 2021-10-09
Posts: 5

Steam Flatpak need to be reinstall after Nvidia driver update

hi everyone,
sorry if i post this topic in the wrong section.
I have a question
I use the combo EnvyControl/Nvidia-dkms/Steam(Flatpak)
After every nvidia driver upgrade, i have to reinstall the steam flatpak to launch game. (just the flatpak, not the games)
do you think a kind of hook is it possible (i think not but i don't really know) ?
A bash script is it possible ? How to write it (i know nothing about programming) and where to locate and how to execute this script to automaticaly reinstall the steam flatpak ?
Sorry if it's a dumb question.
Thanks

Offline

#2 2022-07-04 13:54:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,114

Re: Steam Flatpak need to be reinstall after Nvidia driver update

https://wiki.archlinux.org/title/Pacman#Hooks
You put a shebang ("#!/bin/sh") at the top and then the flatpak installation commands, https://wiki.archlinux.org/title/Steam# … stallation

However: *why* do you "have to reinstall the steam flatpak" "after every nvidia driver upgrade" - that sounds wrong (though not surprising, given everything else flatschpak…)

Offline

#3 2022-07-04 15:47:53

harnis
Member
Registered: 2021-10-09
Posts: 5

Re: Steam Flatpak need to be reinstall after Nvidia driver update

i'm a newbee.
I tried to install steam "normaly" with the wiki.
Everythings worked well either with a nvidia-dkms driver update.
But someday, after an upgrade, Steam do not launch any game.
I tried to figure out and i never found a solution.
So this time i tried Steam Flatpak. All the games launch.
After an update of nvidia, here we go again... no game launch.
i just do : Flatpak uninstall com.valvesoftware.Steam && flatpak install com.valvesoftware.Steam
and it worked. I don't why. This is my solution. I know it certainly not perfect but it work. So...

Thank you for your answer. I will try with a hook

Last edited by harnis (2022-07-04 15:48:52)

Offline

#4 2022-07-04 16:18:35

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: Steam Flatpak need to be reinstall after Nvidia driver update

A bit off-topic, but I would recommend you reading https://wiki.archlinux.org/title/Steam carefully, and then posting any error messages/logs you get after meeting a failed startup of Steam (non-flatpak).

$HOME/.local/share/Steam/logs/steamwebhelper.log might contain something of interest on such case, or output in your terminal after invoking Steam.

Last edited by Irets (2022-07-04 16:23:04)

Offline

Board footer

Powered by FluxBB