Can't switch sound to HDMI any more in Xubuntu 18.04












0














I was able to find a solution, when I was writing this question/post, though it was not easy. Since I have already written it, I leave it here as reference.





I am not able to make HDMI my sound output. Previously I had switched manually in the sound settings to HDMI sound output, and later I installed the sound switch indicator (2.1.1). It worked last time when I tried, which was a few months ago. Due to the time passed since then, I can not tell what has been changed. I do not know how to debug it.



Alsamixer recognizes the HDMI sound output as card 0



Volume Control Configuration also sees it



Volume Control Output Devices can only switch port for the built-in speakers or headphones. No option for HDMI



The sound switch indicators debug output tells me the following



INF # Card[0], port `hdmi-output-1` selected
ERR Failed to map card[0], port `hdmi-output-1` to a stream


Getting the possible output names with aplay -L and testing them, I was able to test the sound on the HDMI.



speaker-test -D hdmi:CARD=HDMI,DEV=1 -c 2


The HDMI sound works, I just do not know how to channel the sound from the browser to the HDMI output.



On the other hand pulse audio does not sees this output:



zoltan@aprosag ~ $ pactl list short sinks  
2 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


After restarting alsa with



sudo alsa force-reload


Pulseaudio sees the HDMI output both in command line and in the graphical interface:



$ pactl list short sinks  
0 alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 44100Hz IDLE
1 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


After that the indicator switch works as well.










share|improve this question









New contributor




Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0














    I was able to find a solution, when I was writing this question/post, though it was not easy. Since I have already written it, I leave it here as reference.





    I am not able to make HDMI my sound output. Previously I had switched manually in the sound settings to HDMI sound output, and later I installed the sound switch indicator (2.1.1). It worked last time when I tried, which was a few months ago. Due to the time passed since then, I can not tell what has been changed. I do not know how to debug it.



    Alsamixer recognizes the HDMI sound output as card 0



    Volume Control Configuration also sees it



    Volume Control Output Devices can only switch port for the built-in speakers or headphones. No option for HDMI



    The sound switch indicators debug output tells me the following



    INF # Card[0], port `hdmi-output-1` selected
    ERR Failed to map card[0], port `hdmi-output-1` to a stream


    Getting the possible output names with aplay -L and testing them, I was able to test the sound on the HDMI.



    speaker-test -D hdmi:CARD=HDMI,DEV=1 -c 2


    The HDMI sound works, I just do not know how to channel the sound from the browser to the HDMI output.



    On the other hand pulse audio does not sees this output:



    zoltan@aprosag ~ $ pactl list short sinks  
    2 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


    After restarting alsa with



    sudo alsa force-reload


    Pulseaudio sees the HDMI output both in command line and in the graphical interface:



    $ pactl list short sinks  
    0 alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 44100Hz IDLE
    1 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


    After that the indicator switch works as well.










    share|improve this question









    New contributor




    Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0







      I was able to find a solution, when I was writing this question/post, though it was not easy. Since I have already written it, I leave it here as reference.





      I am not able to make HDMI my sound output. Previously I had switched manually in the sound settings to HDMI sound output, and later I installed the sound switch indicator (2.1.1). It worked last time when I tried, which was a few months ago. Due to the time passed since then, I can not tell what has been changed. I do not know how to debug it.



      Alsamixer recognizes the HDMI sound output as card 0



      Volume Control Configuration also sees it



      Volume Control Output Devices can only switch port for the built-in speakers or headphones. No option for HDMI



      The sound switch indicators debug output tells me the following



      INF # Card[0], port `hdmi-output-1` selected
      ERR Failed to map card[0], port `hdmi-output-1` to a stream


      Getting the possible output names with aplay -L and testing them, I was able to test the sound on the HDMI.



      speaker-test -D hdmi:CARD=HDMI,DEV=1 -c 2


      The HDMI sound works, I just do not know how to channel the sound from the browser to the HDMI output.



      On the other hand pulse audio does not sees this output:



      zoltan@aprosag ~ $ pactl list short sinks  
      2 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


      After restarting alsa with



      sudo alsa force-reload


      Pulseaudio sees the HDMI output both in command line and in the graphical interface:



      $ pactl list short sinks  
      0 alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 44100Hz IDLE
      1 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


      After that the indicator switch works as well.










      share|improve this question









      New contributor




      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I was able to find a solution, when I was writing this question/post, though it was not easy. Since I have already written it, I leave it here as reference.





      I am not able to make HDMI my sound output. Previously I had switched manually in the sound settings to HDMI sound output, and later I installed the sound switch indicator (2.1.1). It worked last time when I tried, which was a few months ago. Due to the time passed since then, I can not tell what has been changed. I do not know how to debug it.



      Alsamixer recognizes the HDMI sound output as card 0



      Volume Control Configuration also sees it



      Volume Control Output Devices can only switch port for the built-in speakers or headphones. No option for HDMI



      The sound switch indicators debug output tells me the following



      INF # Card[0], port `hdmi-output-1` selected
      ERR Failed to map card[0], port `hdmi-output-1` to a stream


      Getting the possible output names with aplay -L and testing them, I was able to test the sound on the HDMI.



      speaker-test -D hdmi:CARD=HDMI,DEV=1 -c 2


      The HDMI sound works, I just do not know how to channel the sound from the browser to the HDMI output.



      On the other hand pulse audio does not sees this output:



      zoltan@aprosag ~ $ pactl list short sinks  
      2 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


      After restarting alsa with



      sudo alsa force-reload


      Pulseaudio sees the HDMI output both in command line and in the graphical interface:



      $ pactl list short sinks  
      0 alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 44100Hz IDLE
      1 alsa_output.pci-0000_00_1b.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz IDLE


      After that the indicator switch works as well.







      sound pulseaudio hdmi






      share|improve this question









      New contributor




      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Dec 23 at 22:54









      mature

      1,629422




      1,629422






      New contributor




      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Dec 23 at 19:51









      Horror Vacui

      11




      11




      New contributor




      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Restarting alsa seemed to resolve the issue.



          I am replying to me post, in order to make it appear "solved".






          share|improve this answer








          New contributor




          Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















            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
            });


            }
            });






            Horror Vacui is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104077%2fcant-switch-sound-to-hdmi-any-more-in-xubuntu-18-04%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














            Restarting alsa seemed to resolve the issue.



            I am replying to me post, in order to make it appear "solved".






            share|improve this answer








            New contributor




            Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.























              0














              Restarting alsa seemed to resolve the issue.



              I am replying to me post, in order to make it appear "solved".






              share|improve this answer








              New contributor




              Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                0












                0








                0






                Restarting alsa seemed to resolve the issue.



                I am replying to me post, in order to make it appear "solved".






                share|improve this answer








                New contributor




                Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                Restarting alsa seemed to resolve the issue.



                I am replying to me post, in order to make it appear "solved".







                share|improve this answer








                New contributor




                Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered Dec 23 at 20:05









                Horror Vacui

                11




                11




                New contributor




                Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Horror Vacui is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                    Horror Vacui is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Horror Vacui is a new contributor. Be nice, and check out our Code of Conduct.













                    Horror Vacui is a new contributor. Be nice, and check out our Code of Conduct.












                    Horror Vacui is a new contributor. Be nice, and check out our Code of Conduct.
















                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f1104077%2fcant-switch-sound-to-hdmi-any-more-in-xubuntu-18-04%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

                    數位音樂下載

                    格利澤436b

                    When can things happen in Etherscan, such as the picture below?