Please automatically install optimus-manager

When a user installs garuda-linux , after first boot during setup system asks if you want to install nvidia-driver and if user select yes it installs nvidia driver and configs ,

In my opinion it should also automatically install optimus-manager or envycontrol preconfigured on system it detects have two gpus and install necessary dependecy and configs too with a tray icon to change from hybrid mode to integrated mode or nvidia only mode .

Benefits -

  1. Low power use when nvidia is turned off by acpi call and only intel is used
  2. Wayland works great without bugs in integrated mode
  3. User need not to mess with these installations which are default in some distributions
  4. When needed user can switch back to nvidia only mode where gpu can be overclocked (it cant be in hybrid)

Side-effects-

  1. You tell me

Hybrid mode is not a complete solution it has the drawbacks of both ( less useful than nvidia only and less stable/battery_efficient than integrated only )
optimus-manager would neagte these drawbacks by giving user choice to select mode.

Why don’t you take a poll here to find out how many need something like this in the Garuda Linux universe and how many tick “Bloat”.

Then we can see if it is worth the effort.

Then whoever has the ability to implement it can…

Wait, XY problem, do we have someone in the team who can do this and also has the time for it?

By, default if I remember correctly then it conflicts with some other pre-installed nvidia packages, that are in the system by default.

So they are removed while installation, other than that I usually face some glitches when I go with optimus :slightly_frowning_face:

I guess this will lead to endless debates :eyes:

As not all hardwares are same .

:: garuda-optimus-manager-config-2:1.1.6-1 and garuda-nvidia-prime-config-2:1.1.6-1 are in conflict. Remove garuda-nvidia-prime-config? [y/N] 
1 Like

Perhaps buying more Linux friendly hardware would be the more advantageous solution. Even 25 years ago when I mostly used Windows, I always tried to purchase the most Linux friendly hardware. I knew that eventually all my old hardware would be running Linux, (not Windows), so best to make sure the hardware was optimized to run Linux when purchasing.

2 Likes

Nvidia is getting friendly and I did not know or thought about using linux when i purchased nvidia

That is what I am saying garuda preinstalled packages conflict with it

It wone be bloat for nvidia optimus users , only install on those systems by default ,
And you founder of garuda linux you know more , I doubt there are many garuda users who have optimus setup , some stats of percentage of garuda users would be nice .

But you can still easily install it just by typing ‘y’
When it asks for removing other packages

Hmm, It depends on whether user wants that package by default.
For example, you would like it , but I am not in favour

Hmm… will need to ask M$ to learn how to collect data of users :wink:

And once again :

I am my ownself example of this thing :wink:

2 Likes

My guess is you could write the code to add it to the driver auto installer as its own button or something. But yea my answer would be to just install it manually after a fresh install an skip the nvidia installer.

1 Like

The recommendation from the Garuda team is to not use Optimus Manager. See the relevant entry from the Garuda Wiki here: Switching between integrated and dedicated graphics | Garuda Linux wiki

Common misconceptions and antipatterns

Quite often, software such as “optimus-manager” or “optimus-switch” is used instead of PRIME. Although they feature “hybrid mode”, they also feature modes that exclusively switch to the dedicated or iGPU. Using these modes is an usually not recommended, because

  1. If your NVIDIA driver ever fails to load, your system will be unable to enter a graphical session
  2. In NVIDIA mode, the dedicated GPU is always used and therefore always turned on even if no software that could properly take advantage of it is running. The iGPU is much better suited for running low power common desktop applications.
  3. Switching modes requires logging out and logging back in or otherwise restarting X11. Meanwhile PRIME can be used without restarting X11.
2 Likes

Loogging out is not a big deal , but forced to run hybrid only is .

That could be done but offering support by default for newbies like PopOS does in Quick Setting Menu will definitely gets positive feedback from it without need for commandline.

I have not faced any in standalone modes (nvidia only and integrated only) , some glitches that do appear are due to nvidia being nvidia and wayland still being not as stable as x11

A site wide poll of registered forum users asking what edition they use the most and some other pertinent details like opensuse does in its forum would provide good outlook.