-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A questions about gpuchooser #1
Comments
Oof, I haven't touched this code in a long time. Basically it opens the drirc file in the home directory Back in the day when I wrote this, you would run the I believe mesa is now looking at both, local versions of drirc files and system wide installed drirc files, and it will apply all settings from the system wide installed drirc, but the local ones can override single settings. A newer tool called adriconf does this, it only saves single settings in ~/.drirc when they differ from the system wide file. gpuchooser here might still work with this approach, but I haven't tried it in a very long time, the xml tags it's looking for might not be there in this slimmer format of the drirc file. It would probably be better if the feature to select a GPU for an application would be implemented in a proper tool like adriconf. For wine I am not entirely sure. I think that using the windows Anyway, as you may have seen, there is some code to parse the steam configuration and get the location of all steam libraries, and then find all executable files in those directories, but there turned out to be some games that just put +x on everything... There probably is a way to get all the runnable games from steam though. And of course it would also be nice to have a list of non steam games. Random ideas:
|
Adding the names of the games work just right even with Windows games. I don't know how service/daemon can watch for running applications, and identify if it is a game or not, because native Linux games don't have an extension to identify them, the operating system identify an application by giving it execute permission, and the first launch of the game will not be switched automatically to the external GPU, it will be switched to the external GPU at the second launch after being added to ~/.drirc file unless we have drirc file with all game filenames, but every user will need to replace device id with his/her device id. |
Where does gpuchooser store the added applications?
How can I make a database of native Linux games for gpuchooser, so anyone can use it?
If I want to add WINE application to gpuchooser, How can I do that?
The text was updated successfully, but these errors were encountered: