Volume icon eats CPU

Forum Forums General Software Volume icon eats CPU

  • This topic has 4 replies, 5 voices, and was last updated Dec 15-1:16 pm by macondo.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #47449
    Member
    Antix_user

      At the moment my volume icon controls the volume of the internal audio card. But I’m using external USB card for convenience . Weird thing is volume icon consumes one of my CPU cores entirely. Any reason to do that ?

      • This topic was modified 2 years, 4 months ago by Antix_user.
      Attachments:
      #47452
      Forum Admin
      Dave
        Helpful
        Up
        0
        ::

        Maybe it was updated (or modified) while running and not reloaded afterward. It seems like the process is hung.

        Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

        #47457
        Member
        userzero
          Helpful
          Up
          0
          ::

          Para evitar malentendidos permítame expresar en mi idioma. Recuerdo haber visto este bug hace tiempo,

          “If you unplug your soundcard, volumeicon goes into an infinite loop when ALSA can’t see the card. This causes CPU usage to go to 100%
          (bug is also in ‘official release 0.5.0’ – the code responsible for this hasn’t changed at all even in Git release)”

          La instalación full de antiX instala por defecto,

          volumeicon-alsa-icons/buster,buster 0.1.0 all
            Extra icons for volumeicon-alsa-legacy
          
          volumeicon-alsa-legacy/buster 0.4.6-2.4 amd64
            systray volume icon for alsa

          Ignoro si incluye el parche, Pass G_IO_ERR to asound_poll_cb … Si este es el problema, posiblemente una solución sea remover volumeicon-alsa-legacy e instalar la versión,

          volumeicon-alsa/buster 0.5.1+git20170117-1mx17+1 amd64
            systray volume icon for alsa

          Como nota final debo mencionar que no es necesario volumeicon* para controlar el audio del sistema (aumentar/disminuir),

          #key "XF86AudioLowerVolume"	amixer sset Master 5%-
          #key "XF86AudioRaiseVolume"	amixer sset Master 5%+
          #key "XF86AudioMute"		amixer sset Master toggle

          Esto es posible si las teclas multimedia son reconocidas por el sistema.

          Saludos.

          #47484
          Member
          ex_Koo
            Helpful
            Up
            0
            ::
            #key "XF86AudioLowerVolume"	amixer sset Master 5%-
            #key "XF86AudioRaiseVolume"	amixer sset Master 5%+
            #key "XF86AudioMute"		amixer sset Master toggle

            Esto es posible si las teclas multimedia son reconocidas por el sistema.

            Saludos.

            With my T430 laptop the above won’t work running antiX 19. I use the below and all media keys work. Also this using i3wm..

            bindsym XF86AudioRaiseVolume exec –no-startup-id “amixer -q sset Master,0 2+ unmute”
            bindsym XF86AudioLowerVolume exec –no-startup-id “amixer -q sset Master,0 2- unmute”
            bindsym XF86AudioMute exec –no-startup-id “amixer -q sset Master,0 toggle”

            #47487
            Member
            macondo
              Helpful
              Up
              0
              ::

              After doing the alsamixer dance, this works for me:

              #Sound
              key “Ctrl+Down” amixer -q set Master 9%- # lower volume
              key “Ctrl+Up” amixer -q set Master 9%+ # raise volume

              antiX Core 64 Bit Runit IceWM

              "Sometimes a man finds his destiny on the road he took to avoid it."

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.