You are not logged in.
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
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
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
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