<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Den 11.01.2025 23:37, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky42onZK-NfFs7QAJ2jxahWH12iAH9b5-=sENPMMsiJjQQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote gmail_quote_container">
            <div dir="ltr" class="gmail_attr">вс, 12 янв. 2025 г., 01:25
              Terje J. Hanssen via Cin <<a
                href="mailto:cin@lists.cinelerra-gg.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
            </div>
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div> Extracted info from referenced documents:<br>
                <br>
                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. <br>
                <br>
                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. <br>
                <br>
                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.<br>
                ------------<br>
                <br>
                <a
href="https://negativo17.org/prime-optimus-laptops-and-multi-gpu-systems/"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true" class="moz-txt-link-freetext">https://negativo17.org/prime-optimus-laptops-and-multi-gpu-systems/</a><br>
                <a
href="https://news.opensuse.org/2024/12/09/gpu-switching-game-changing/"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true" class="moz-txt-link-freetext">https://news.opensuse.org/2024/12/09/gpu-switching-game-changing/</a><br>
                <br>
                For openSUSE on SkyLake with Nvidia dGPU + integrated
                Intel iGPU I followed this installation and setup guide
                <br>
                SDB:NVIDIA Switcheroo Control<br>
                <a
href="https://en.opensuse.org/SDB:NVIDIA_Switcheroo_Control"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true" class="moz-txt-link-freetext">https://en.opensuse.org/SDB:NVIDIA_Switcheroo_Control</a><br>
                <br>
                After installing the switcheroo-control package, it had
                to be enabled as a service and then reboot:<br>
                <font face="Courier New, Courier, monospace">    
                  systemctl enable switcheroo-control.service</font><br>
                <br>
                -------<br>
                <br>
                According to its online help info<br>
                <br>
                switcherooctl version<br>
                2.6<br>
                <br>
                switcherooctl help list<br>
                Usage:<br>
                  switcherooctl list<br>
                <br>
                List the known GPUs.<br>
                <br>
                switcherooctl help launch<br>
                Usage:<br>
                  switcherooctl launch [COMMAND…]<br>
                <br>
                Launch a command on a specific GPU.<br>
                <br>
                Options:<br>
                  -g, --gpu=GPU-ID                The GPU to launch on<br>
                <br>
                The default GPU to launch on will be the first discrete
                GPU, or the<br>
                default GPU if there’s only one. Identifiers can be
                found using the<br>
                list command.<br>
                <br>
                ------------<br>
                Example:<br>
                <br>
                <font face="Courier New, Courier, monospace">switcherooctl
                  list<br>
                  <br>
                  Device: 0<br>
                    Name:        Intel® HD Graphics 530<br>
                    Default:     yes<br>
                    Environment: DRI_PRIME=pci-0000_00_02_0<br>
                  <br>
                  Device: 1<br>
                    Name:        NVIDIA Corporation GM206 [GeForce GTX
                  960]<br>
                    Default:     no<br>
                    Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia
                  __NV_PRIME_RENDER_OFFLOAD=1
                  __VK_LAYER_NV_optimus=NVIDIA_only<br>
                </font><br>
                -----------<br>
                <br>
                I have not so far any example command(s) to launch(?)<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">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.</div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    <br>
    Well, yes, I am there (also), and found the SDB document how to
    enable the tool's service.<br>
    <br>
    I see I should not have added the question mark, as my post merely
    was targeted as info about this generic Linux tool ;)<br>
    One feature mentioned in the references is Selecting the GPU to use
    when running a program from the desktop.<br>
    <br>
  </body>
</html>