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





























    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



























      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
















      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















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 23 '18 at 22:54









      mature

      1,704524




      1,704524










      asked Dec 23 '18 at 19:51









      Horror VacuiHorror Vacui

      11




      11






















          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























            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%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




























              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


























                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













                Restarting alsa seemed to resolve the issue.



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







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 23 '18 at 20:05









                Horror VacuiHorror Vacui

                11




                11






























                    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%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

                    Ellipse (mathématiques)

                    Quarter-circle Tiles

                    Mont Emei