-
Notifications
You must be signed in to change notification settings - Fork 267
Add Performance related settings #707
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. Thanks! :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be cool if the options were disabled if the user didn't have the necessary packages installed (or if they don't have a discrete gpu), but maybe it's more trouble than it's worth to implement, so it's fine
thank u!
I am open to implement that if there is a good way to do it. For gamemode we could simply query the current status and disable it if its an error code. I don't know what would could be done for the discrete gpu. |
For the discrete gpu, an option would be using something like lspci (or using some of the GPLv2 licensed code that is in it) lspci has the option -mm for "machine readable output" trying to search for "VGA comppatible controller" should list all gpus, if 2 or more are detected, it should be available Relevant source code for it here |
I don't think shelling out to lspci is the right way to do this.
This will probably cause false positives on Desktop Computers with a Dedicated GPU and integrated Graphics where the Dedicated GPU is the default. |
Personally when i have my dGPU as main gpu, the iGPU is disabled and replaced with a dummy device (that dosn't count) |
i guess we already have |
Gpl2 isn't automatically compatible with the GPL3, and it's incompatible with gpl3 if there's no later version clause, like in this case |
@Jan200101 You need to sign-off your commit. Otherwise we can't merge it. See https://github.com/PolyMC/PolyMC/pull/707/checks?check_run_id=7208080226 |
That is annoying, will do in a second |
Integrates support for Feral Gamemode, discrete GPU support for Mesa and the proprietary Nvidia driver and MangoHud support Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
Thanks! |
Integrates support for Feral Gamemode, discrete GPU support for Mesa and the proprietary Nvidia driver and MangoHud support
closes #253