pulse audio not playing sound in i3wm / Arch












0















I am using Arch Linux with i3wm. Before, I was using Gnome, and audio was working fine. However, after switching to i3wm, sound is not coming out of my speakers.



I installed pavucontrol, and the visualizer bars appear to be reacting (bouncing up and down) correctly when I have sound playing, e.g. a video playing in Firefox.



Output of pactl stat:



Server String: /run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 6
Tile Size: 65472
User Name: daveliu
Host Name: latitude_arch
Server Name: pulseaudio
Server Version: 11.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: b963:c6e8


Also, I added my user to the audio group and that didn't help either. There does not appear to be any indication that my sound card or pulseaudio is having any issues; the only thing is no sound is playing.



What do I need to get sound to work?










share|improve this question



























    0















    I am using Arch Linux with i3wm. Before, I was using Gnome, and audio was working fine. However, after switching to i3wm, sound is not coming out of my speakers.



    I installed pavucontrol, and the visualizer bars appear to be reacting (bouncing up and down) correctly when I have sound playing, e.g. a video playing in Firefox.



    Output of pactl stat:



    Server String: /run/user/1000/pulse/native
    Library Protocol Version: 32
    Server Protocol Version: 32
    Is Local: yes
    Client Index: 6
    Tile Size: 65472
    User Name: daveliu
    Host Name: latitude_arch
    Server Name: pulseaudio
    Server Version: 11.1
    Default Sample Specification: s16le 2ch 44100Hz
    Default Channel Map: front-left,front-right
    Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
    Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
    Cookie: b963:c6e8


    Also, I added my user to the audio group and that didn't help either. There does not appear to be any indication that my sound card or pulseaudio is having any issues; the only thing is no sound is playing.



    What do I need to get sound to work?










    share|improve this question

























      0












      0








      0








      I am using Arch Linux with i3wm. Before, I was using Gnome, and audio was working fine. However, after switching to i3wm, sound is not coming out of my speakers.



      I installed pavucontrol, and the visualizer bars appear to be reacting (bouncing up and down) correctly when I have sound playing, e.g. a video playing in Firefox.



      Output of pactl stat:



      Server String: /run/user/1000/pulse/native
      Library Protocol Version: 32
      Server Protocol Version: 32
      Is Local: yes
      Client Index: 6
      Tile Size: 65472
      User Name: daveliu
      Host Name: latitude_arch
      Server Name: pulseaudio
      Server Version: 11.1
      Default Sample Specification: s16le 2ch 44100Hz
      Default Channel Map: front-left,front-right
      Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
      Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
      Cookie: b963:c6e8


      Also, I added my user to the audio group and that didn't help either. There does not appear to be any indication that my sound card or pulseaudio is having any issues; the only thing is no sound is playing.



      What do I need to get sound to work?










      share|improve this question














      I am using Arch Linux with i3wm. Before, I was using Gnome, and audio was working fine. However, after switching to i3wm, sound is not coming out of my speakers.



      I installed pavucontrol, and the visualizer bars appear to be reacting (bouncing up and down) correctly when I have sound playing, e.g. a video playing in Firefox.



      Output of pactl stat:



      Server String: /run/user/1000/pulse/native
      Library Protocol Version: 32
      Server Protocol Version: 32
      Is Local: yes
      Client Index: 6
      Tile Size: 65472
      User Name: daveliu
      Host Name: latitude_arch
      Server Name: pulseaudio
      Server Version: 11.1
      Default Sample Specification: s16le 2ch 44100Hz
      Default Channel Map: front-left,front-right
      Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
      Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
      Cookie: b963:c6e8


      Also, I added my user to the audio group and that didn't help either. There does not appear to be any indication that my sound card or pulseaudio is having any issues; the only thing is no sound is playing.



      What do I need to get sound to work?







      linux audio arch-linux pulse-audio






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 2 '18 at 2:56









      xdavidliuxdavidliu

      11417




      11417






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Since you get output using pactl info PulseAudio is running and because it worked in GNOME before a permission or driver problem can most likely be ruled out.



          In pavucontrol you can check the tab "Output Devices" if your speakers or headphones are shown (and or plugged in) or have been muted. If you set the volume regulater to 100% PulseAudio should unmute and set the Master Volume, the PCM and the Device volume back to 100% as well.



          You can also unmute and set this with alsamixer (you may have to select the sound card first).



          Hope this helps, but since audio problems can have a number of reasons, I'd suggest you also take a look at the PulseAudio/Troubleshooting page in the Archlinux Wiki.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1309969%2fpulse-audio-not-playing-sound-in-i3wm-arch%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Since you get output using pactl info PulseAudio is running and because it worked in GNOME before a permission or driver problem can most likely be ruled out.



            In pavucontrol you can check the tab "Output Devices" if your speakers or headphones are shown (and or plugged in) or have been muted. If you set the volume regulater to 100% PulseAudio should unmute and set the Master Volume, the PCM and the Device volume back to 100% as well.



            You can also unmute and set this with alsamixer (you may have to select the sound card first).



            Hope this helps, but since audio problems can have a number of reasons, I'd suggest you also take a look at the PulseAudio/Troubleshooting page in the Archlinux Wiki.






            share|improve this answer






























              0














              Since you get output using pactl info PulseAudio is running and because it worked in GNOME before a permission or driver problem can most likely be ruled out.



              In pavucontrol you can check the tab "Output Devices" if your speakers or headphones are shown (and or plugged in) or have been muted. If you set the volume regulater to 100% PulseAudio should unmute and set the Master Volume, the PCM and the Device volume back to 100% as well.



              You can also unmute and set this with alsamixer (you may have to select the sound card first).



              Hope this helps, but since audio problems can have a number of reasons, I'd suggest you also take a look at the PulseAudio/Troubleshooting page in the Archlinux Wiki.






              share|improve this answer




























                0












                0








                0







                Since you get output using pactl info PulseAudio is running and because it worked in GNOME before a permission or driver problem can most likely be ruled out.



                In pavucontrol you can check the tab "Output Devices" if your speakers or headphones are shown (and or plugged in) or have been muted. If you set the volume regulater to 100% PulseAudio should unmute and set the Master Volume, the PCM and the Device volume back to 100% as well.



                You can also unmute and set this with alsamixer (you may have to select the sound card first).



                Hope this helps, but since audio problems can have a number of reasons, I'd suggest you also take a look at the PulseAudio/Troubleshooting page in the Archlinux Wiki.






                share|improve this answer















                Since you get output using pactl info PulseAudio is running and because it worked in GNOME before a permission or driver problem can most likely be ruled out.



                In pavucontrol you can check the tab "Output Devices" if your speakers or headphones are shown (and or plugged in) or have been muted. If you set the volume regulater to 100% PulseAudio should unmute and set the Master Volume, the PCM and the Device volume back to 100% as well.



                You can also unmute and set this with alsamixer (you may have to select the sound card first).



                Hope this helps, but since audio problems can have a number of reasons, I'd suggest you also take a look at the PulseAudio/Troubleshooting page in the Archlinux Wiki.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 9 '18 at 2:43

























                answered Apr 9 '18 at 2:37









                StefanStefan

                1715




                1715






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1309969%2fpulse-audio-not-playing-sound-in-i3wm-arch%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

                    Список кардиналов, возведённых папой римским Каликстом III

                    Deduzione

                    Mysql.sock missing - “Can't connect to local MySQL server through socket”