Polling Rate of Mouse Creating Frequency Noise?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I'll begin with an overview of my system:



  • Generic Corsair case

  • Asus Z170 AR Motherboard

  • 8gb x 2 (16gb) Ballistix RAM

  • i5 6600k

  • Radeon RTX 480 4gb

  • EVGA 650W Gold

  • Logitech G403 mouse

  • 144hz monitor

  • Headset with external sound card

I have been using various flavors of Linux on this build for quite some time in a dual boot setup, and have finally settled on Fedora. Originally I started with the full Workstation 29 install (with no issue), but decided to do a minimal install for more control over the packages. I started by giving Wayland and Sway a try, only to first encounter my issue:




This "grinding" or "scratching" noise coming from somewhere near my motherboard/PSU only when I move the mouse, scroll, or drag a window.




I initially chalked it up to bad drivers and Wayland, so I went with a full fresh install (probably over-kill) and installed X with i3. Everything seemed fine, but after about 30 minutes the noise came back.



Now, I've seen a LOT of posts online talking about grounding the case and motherboard power savings modes, but none of those have worked - with one exception. When I used a low quality 125hz mouse the noise goes away. Aha! I found it! Not quite... I followed the Arch wiki to pass mouse polling rate parameters into my kernel on boot (using this link) and confirmed that my 1000hz gaming mouse was now polling at 125hz. The noise was still there.




Why do I encounter a grinding, frequency noise when using a window manager, but not a regular desktop environment?




I have never experienced this with KDE, XFCE, or GNOME, but as soon as I switch to Sway or i3 it comes back. The polling rate of the mouse does not appear to impact it. I have tried using alsamixer to disable all sound cards except the external one for my headset to no avail. This issue is not related to distribution or even OS (not reproducible on Windows).



EDIT:



After installing a compositor (compton), the noise is much quieter. I'm wondering if maybe this was just the processor working overtime instead of pushing the tasks off to the GPU? The noise is still noticeable however. I will continue to tweak.










share|improve this question




























    1















    I'll begin with an overview of my system:



    • Generic Corsair case

    • Asus Z170 AR Motherboard

    • 8gb x 2 (16gb) Ballistix RAM

    • i5 6600k

    • Radeon RTX 480 4gb

    • EVGA 650W Gold

    • Logitech G403 mouse

    • 144hz monitor

    • Headset with external sound card

    I have been using various flavors of Linux on this build for quite some time in a dual boot setup, and have finally settled on Fedora. Originally I started with the full Workstation 29 install (with no issue), but decided to do a minimal install for more control over the packages. I started by giving Wayland and Sway a try, only to first encounter my issue:




    This "grinding" or "scratching" noise coming from somewhere near my motherboard/PSU only when I move the mouse, scroll, or drag a window.




    I initially chalked it up to bad drivers and Wayland, so I went with a full fresh install (probably over-kill) and installed X with i3. Everything seemed fine, but after about 30 minutes the noise came back.



    Now, I've seen a LOT of posts online talking about grounding the case and motherboard power savings modes, but none of those have worked - with one exception. When I used a low quality 125hz mouse the noise goes away. Aha! I found it! Not quite... I followed the Arch wiki to pass mouse polling rate parameters into my kernel on boot (using this link) and confirmed that my 1000hz gaming mouse was now polling at 125hz. The noise was still there.




    Why do I encounter a grinding, frequency noise when using a window manager, but not a regular desktop environment?




    I have never experienced this with KDE, XFCE, or GNOME, but as soon as I switch to Sway or i3 it comes back. The polling rate of the mouse does not appear to impact it. I have tried using alsamixer to disable all sound cards except the external one for my headset to no avail. This issue is not related to distribution or even OS (not reproducible on Windows).



    EDIT:



    After installing a compositor (compton), the noise is much quieter. I'm wondering if maybe this was just the processor working overtime instead of pushing the tasks off to the GPU? The noise is still noticeable however. I will continue to tweak.










    share|improve this question


























      1












      1








      1








      I'll begin with an overview of my system:



      • Generic Corsair case

      • Asus Z170 AR Motherboard

      • 8gb x 2 (16gb) Ballistix RAM

      • i5 6600k

      • Radeon RTX 480 4gb

      • EVGA 650W Gold

      • Logitech G403 mouse

      • 144hz monitor

      • Headset with external sound card

      I have been using various flavors of Linux on this build for quite some time in a dual boot setup, and have finally settled on Fedora. Originally I started with the full Workstation 29 install (with no issue), but decided to do a minimal install for more control over the packages. I started by giving Wayland and Sway a try, only to first encounter my issue:




      This "grinding" or "scratching" noise coming from somewhere near my motherboard/PSU only when I move the mouse, scroll, or drag a window.




      I initially chalked it up to bad drivers and Wayland, so I went with a full fresh install (probably over-kill) and installed X with i3. Everything seemed fine, but after about 30 minutes the noise came back.



      Now, I've seen a LOT of posts online talking about grounding the case and motherboard power savings modes, but none of those have worked - with one exception. When I used a low quality 125hz mouse the noise goes away. Aha! I found it! Not quite... I followed the Arch wiki to pass mouse polling rate parameters into my kernel on boot (using this link) and confirmed that my 1000hz gaming mouse was now polling at 125hz. The noise was still there.




      Why do I encounter a grinding, frequency noise when using a window manager, but not a regular desktop environment?




      I have never experienced this with KDE, XFCE, or GNOME, but as soon as I switch to Sway or i3 it comes back. The polling rate of the mouse does not appear to impact it. I have tried using alsamixer to disable all sound cards except the external one for my headset to no avail. This issue is not related to distribution or even OS (not reproducible on Windows).



      EDIT:



      After installing a compositor (compton), the noise is much quieter. I'm wondering if maybe this was just the processor working overtime instead of pushing the tasks off to the GPU? The noise is still noticeable however. I will continue to tweak.










      share|improve this question
















      I'll begin with an overview of my system:



      • Generic Corsair case

      • Asus Z170 AR Motherboard

      • 8gb x 2 (16gb) Ballistix RAM

      • i5 6600k

      • Radeon RTX 480 4gb

      • EVGA 650W Gold

      • Logitech G403 mouse

      • 144hz monitor

      • Headset with external sound card

      I have been using various flavors of Linux on this build for quite some time in a dual boot setup, and have finally settled on Fedora. Originally I started with the full Workstation 29 install (with no issue), but decided to do a minimal install for more control over the packages. I started by giving Wayland and Sway a try, only to first encounter my issue:




      This "grinding" or "scratching" noise coming from somewhere near my motherboard/PSU only when I move the mouse, scroll, or drag a window.




      I initially chalked it up to bad drivers and Wayland, so I went with a full fresh install (probably over-kill) and installed X with i3. Everything seemed fine, but after about 30 minutes the noise came back.



      Now, I've seen a LOT of posts online talking about grounding the case and motherboard power savings modes, but none of those have worked - with one exception. When I used a low quality 125hz mouse the noise goes away. Aha! I found it! Not quite... I followed the Arch wiki to pass mouse polling rate parameters into my kernel on boot (using this link) and confirmed that my 1000hz gaming mouse was now polling at 125hz. The noise was still there.




      Why do I encounter a grinding, frequency noise when using a window manager, but not a regular desktop environment?




      I have never experienced this with KDE, XFCE, or GNOME, but as soon as I switch to Sway or i3 it comes back. The polling rate of the mouse does not appear to impact it. I have tried using alsamixer to disable all sound cards except the external one for my headset to no avail. This issue is not related to distribution or even OS (not reproducible on Windows).



      EDIT:



      After installing a compositor (compton), the noise is much quieter. I'm wondering if maybe this was just the processor working overtime instead of pushing the tasks off to the GPU? The noise is still noticeable however. I will continue to tweak.







      window-manager wayland x






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 18 at 20:29







      bgregs

















      asked Jan 17 at 13:05









      bgregsbgregs

      18310




      18310




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f495047%2fpolling-rate-of-mouse-creating-frequency-noise%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 Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f495047%2fpolling-rate-of-mouse-creating-frequency-noise%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

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?