[Cin] OT: Switcheroo-Control for Multi-GPU switching

Andrew Randrianasulu randrianasulu at gmail.com
Sat Jan 11 23:37:05 CET 2025


вс, 12 янв. 2025 г., 01:25 Terje J. Hanssen via Cin <
cin at lists.cinelerra-gg.org>:

> Extracted info from referenced documents:
>
> The Switcheroo-Control is a D-Bus service to check the availability of
> hybrid GPU configurations and integrate with the desktop environment. This
> tool is the recommended solution to manage GPU switching on systems with
> multiple GPUs.
>
> Users are encouraged to move away from legacy tools like prime, bbswitch,
> and bumblebee, as they can cause more harm than good on modern systems.
>
> switcherooctl integrates well with Wayland and Xorg, is a lightweight
> userspace utility and its functionality extends across both Intel + NVIDIA
> and AMD + NVIDIA setups. By using switcherooctl, users can easily select
> which GPU to use for specific applications and eliminate the need for
> complex scripts or environment variables.
> ------------
>
> https://negativo17.org/prime-optimus-laptops-and-multi-gpu-systems/
> https://news.opensuse.org/2024/12/09/gpu-switching-game-changing/
>
> For openSUSE on SkyLake with Nvidia dGPU + integrated Intel iGPU I
> followed this installation and setup guide
> SDB:NVIDIA Switcheroo Control
> https://en.opensuse.org/SDB:NVIDIA_Switcheroo_Control
>
> After installing the switcheroo-control package, it had to be enabled as a
> service and then reboot:
>      systemctl enable switcheroo-control.service
>
> -------
>
> According to its online help info
>
> switcherooctl version
> 2.6
>
> switcherooctl help list
> Usage:
>   switcherooctl list
>
> List the known GPUs.
>
> switcherooctl help launch
> Usage:
>   switcherooctl launch [COMMAND…]
>
> Launch a command on a specific GPU.
>
> Options:
>   -g, --gpu=GPU-ID                The GPU to launch on
>
> The default GPU to launch on will be the first discrete GPU, or the
> default GPU if there’s only one. Identifiers can be found using the
> list command.
>
> ------------
> Example:
>
> switcherooctl list
>
> Device: 0
>   Name:        Intel® HD Graphics 530
>   Default:     yes
>   Environment: DRI_PRIME=pci-0000_00_02_0
>
> Device: 1
>   Name:        NVIDIA Corporation GM206 [GeForce GTX 960]
>   Default:     no
>   Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia
> __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
>
> -----------
>
> I have not so far any example command(s) to launch(?)
>

May be at opensuse forums someone already posted how to use it? I think
those forums will be best place to ask, due to user concentration.




>
>
>
>
>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250112/77e97301/attachment.htm>


More information about the Cin mailing list