Control GPU fan settings on a multiple GPUs, multiple monitors machine












0















I have 2 NVIDIA GPUs, and 2 monitors connects to 1 of them. I cannot change the fan settings of the GPU, the one with no monitors connected to. Here's my /etc/X11/xorg.conf:



# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 410.78

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 415.25

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2080 Ti"
BusID "PCI:66:0:0"
Option "Coolbits" "4"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2080 Ti"
BusID "PCI:10:0:0"
Option "Coolbits" "4"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection


The problem is that even in this config, the section Option "Coolbits" "4" is on both Devices, but I can only control the fan settings of the Device connected to the monitor!



I have tried to separate the two monitors into 2 GPUs (ie. one monitor per GPU), the fan control on both GPUs work, but this setting has one monitor being "black" with "x" pointer on log in, or sometimes it doesn't boot at all. Running:



cd /etc/X11
sudo nvidia-xconfig --enable-all-gpus
sudo nvidia-xconfig --cool-bits=4
reboot


also yield the same errors.



How to I actually manage to get to control 2 GPU fansettings, and keeping the monitors work in X session as well?










share|improve this question



























    0















    I have 2 NVIDIA GPUs, and 2 monitors connects to 1 of them. I cannot change the fan settings of the GPU, the one with no monitors connected to. Here's my /etc/X11/xorg.conf:



    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 410.78

    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 415.25

    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"
    EndSection

    Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
    EndSection

    Section "InputDevice"

    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection

    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce RTX 2080 Ti"
    BusID "PCI:66:0:0"
    Option "Coolbits" "4"
    EndSection

    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce RTX 2080 Ti"
    BusID "PCI:10:0:0"
    Option "Coolbits" "4"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    Section "Screen"
    Identifier "Screen1"
    Device "Device0"
    Monitor "Monitor1"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection


    The problem is that even in this config, the section Option "Coolbits" "4" is on both Devices, but I can only control the fan settings of the Device connected to the monitor!



    I have tried to separate the two monitors into 2 GPUs (ie. one monitor per GPU), the fan control on both GPUs work, but this setting has one monitor being "black" with "x" pointer on log in, or sometimes it doesn't boot at all. Running:



    cd /etc/X11
    sudo nvidia-xconfig --enable-all-gpus
    sudo nvidia-xconfig --cool-bits=4
    reboot


    also yield the same errors.



    How to I actually manage to get to control 2 GPU fansettings, and keeping the monitors work in X session as well?










    share|improve this question

























      0












      0








      0








      I have 2 NVIDIA GPUs, and 2 monitors connects to 1 of them. I cannot change the fan settings of the GPU, the one with no monitors connected to. Here's my /etc/X11/xorg.conf:



      # nvidia-xconfig: X configuration file generated by nvidia-xconfig
      # nvidia-xconfig: version 410.78

      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings: version 415.25

      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0"
      Screen 1 "Screen1" RightOf "Screen0"
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      EndSection

      Section "Files"
      EndSection

      Section "Module"
      Load "dbe"
      Load "extmod"
      Load "type1"
      Load "freetype"
      Load "glx"
      EndSection

      Section "InputDevice"

      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"

      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 33.0
      VertRefresh 43.0 - 72.0
      Option "DPMS"
      EndSection

      Section "Monitor"
      Identifier "Monitor1"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 33.0
      VertRefresh 43.0 - 72.0
      Option "DPMS"
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce RTX 2080 Ti"
      BusID "PCI:66:0:0"
      Option "Coolbits" "4"
      EndSection

      Section "Device"
      Identifier "Device1"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce RTX 2080 Ti"
      BusID "PCI:10:0:0"
      Option "Coolbits" "4"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection

      Section "Screen"
      Identifier "Screen1"
      Device "Device0"
      Monitor "Monitor1"
      DefaultDepth 24
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection


      The problem is that even in this config, the section Option "Coolbits" "4" is on both Devices, but I can only control the fan settings of the Device connected to the monitor!



      I have tried to separate the two monitors into 2 GPUs (ie. one monitor per GPU), the fan control on both GPUs work, but this setting has one monitor being "black" with "x" pointer on log in, or sometimes it doesn't boot at all. Running:



      cd /etc/X11
      sudo nvidia-xconfig --enable-all-gpus
      sudo nvidia-xconfig --cool-bits=4
      reboot


      also yield the same errors.



      How to I actually manage to get to control 2 GPU fansettings, and keeping the monitors work in X session as well?










      share|improve this question














      I have 2 NVIDIA GPUs, and 2 monitors connects to 1 of them. I cannot change the fan settings of the GPU, the one with no monitors connected to. Here's my /etc/X11/xorg.conf:



      # nvidia-xconfig: X configuration file generated by nvidia-xconfig
      # nvidia-xconfig: version 410.78

      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings: version 415.25

      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0"
      Screen 1 "Screen1" RightOf "Screen0"
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      EndSection

      Section "Files"
      EndSection

      Section "Module"
      Load "dbe"
      Load "extmod"
      Load "type1"
      Load "freetype"
      Load "glx"
      EndSection

      Section "InputDevice"

      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"

      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 33.0
      VertRefresh 43.0 - 72.0
      Option "DPMS"
      EndSection

      Section "Monitor"
      Identifier "Monitor1"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 33.0
      VertRefresh 43.0 - 72.0
      Option "DPMS"
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce RTX 2080 Ti"
      BusID "PCI:66:0:0"
      Option "Coolbits" "4"
      EndSection

      Section "Device"
      Identifier "Device1"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce RTX 2080 Ti"
      BusID "PCI:10:0:0"
      Option "Coolbits" "4"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection

      Section "Screen"
      Identifier "Screen1"
      Device "Device0"
      Monitor "Monitor1"
      DefaultDepth 24
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection


      The problem is that even in this config, the section Option "Coolbits" "4" is on both Devices, but I can only control the fan settings of the Device connected to the monitor!



      I have tried to separate the two monitors into 2 GPUs (ie. one monitor per GPU), the fan control on both GPUs work, but this setting has one monitor being "black" with "x" pointer on log in, or sometimes it doesn't boot at all. Running:



      cd /etc/X11
      sudo nvidia-xconfig --enable-all-gpus
      sudo nvidia-xconfig --cool-bits=4
      reboot


      also yield the same errors.



      How to I actually manage to get to control 2 GPU fansettings, and keeping the monitors work in X session as well?







      nvidia xorg multiple-monitors






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 26 at 10:18









      Tat-Dat TranTat-Dat Tran

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113021%2fcontrol-gpu-fan-settings-on-a-multiple-gpus-multiple-monitors-machine%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113021%2fcontrol-gpu-fan-settings-on-a-multiple-gpus-multiple-monitors-machine%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          張江高科駅