How do I set this HDMI output fix permanent?How to send HDMI sound to OTHER HDMI port?Setting up HDMI output...

Extreme flexible working hours: how to get to know people and activities?

Is it possible to have a wealthy country without a middle class?

Thread Pool C++ Implementation

Electricity free spaceship

How is the excise border managed in Ireland?

Is an entry level DSLR going to shoot nice portrait pictures?

Heap allocation on microcontroller

If I leave the US through an airport, do I have to return through the same airport?

How do free-speech protections in the United States apply in public to corporate misrepresentations?

What is the maximum number of net attacks that one can make in a round?

Is White controlling this game?

Print lines between start & end pattern, but if end pattern does not exist, don't print

New pedal fell off maybe 50 miles after installation. Should I replace the entire crank, just the arm, or repair the thread?

CSV how to trim values to 2 places in multiple columns using UNIX

How come the nude protesters were not arrested?

How to safely destroy (a large quantity of) valid checks?

Is it possible to fly backward if you have a 'really strong' headwind?

Second (easy access) account in case my bank screws up

Why we don’t make use of the t-distribution for constructing a confidence interval for a proportion?

Is it legal for a bar bouncer to confiscate a fake ID

Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?

Getting UPS Power from One Room to Another

Artificer Creativity

Fermat's statement about the ancients: How serious was he?



How do I set this HDMI output fix permanent?


How to send HDMI sound to OTHER HDMI port?Setting up HDMI output from Linux consoleHow to enable both built-in audio output and HDMI audio output with PulseAudio?How to fix HDMI in Debian (output not working)?Linux mint 17.3 without HDMI sound outputLinux HDMI - no output after bootingAsus G752VS, GTX 1070 - PCI-e audio device (second function) missingNo HDMI Audio Output - APLAY does not detect NVIDIA GPUTrying to set HDMI RPi3 output in mono with pulseaudiore-set xfce4-pulseaudio-plugin default after HDMI monitor standby






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















After several hours of digging, I finally found out how to make my Pop!_OS recognize my HDMI for audio. (basically I'm using an ASUS laptop with a 1060 hooked with a monitor, everything was fine except for the HDMI audio output not displaying on the audio output list)



I followed this guide and it works flawlessly, but every time I reboot my machine I have to run this commands in order for the fix to apply again..



sudo modprobe nvhda
sudo tee /proc/acpi/nvhda <<<ON


I originally extracted the zip file on my downloads folder and followed the steps from there on, I'm aware I can now skip the make and install part and just just straight use the sudo modprobe nvhda to load the fix; the thing now is that I'm new to Linux so I don't know if I can already delete that extracted folder (or should I move it to root folder/other..).



That's a separate question basically, but main question is how would I make a script that executes those 2 pieces of code on system start/boot.










share|improve this question







New contributor



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


























    0















    After several hours of digging, I finally found out how to make my Pop!_OS recognize my HDMI for audio. (basically I'm using an ASUS laptop with a 1060 hooked with a monitor, everything was fine except for the HDMI audio output not displaying on the audio output list)



    I followed this guide and it works flawlessly, but every time I reboot my machine I have to run this commands in order for the fix to apply again..



    sudo modprobe nvhda
    sudo tee /proc/acpi/nvhda <<<ON


    I originally extracted the zip file on my downloads folder and followed the steps from there on, I'm aware I can now skip the make and install part and just just straight use the sudo modprobe nvhda to load the fix; the thing now is that I'm new to Linux so I don't know if I can already delete that extracted folder (or should I move it to root folder/other..).



    That's a separate question basically, but main question is how would I make a script that executes those 2 pieces of code on system start/boot.










    share|improve this question







    New contributor



    Derivates 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








      After several hours of digging, I finally found out how to make my Pop!_OS recognize my HDMI for audio. (basically I'm using an ASUS laptop with a 1060 hooked with a monitor, everything was fine except for the HDMI audio output not displaying on the audio output list)



      I followed this guide and it works flawlessly, but every time I reboot my machine I have to run this commands in order for the fix to apply again..



      sudo modprobe nvhda
      sudo tee /proc/acpi/nvhda <<<ON


      I originally extracted the zip file on my downloads folder and followed the steps from there on, I'm aware I can now skip the make and install part and just just straight use the sudo modprobe nvhda to load the fix; the thing now is that I'm new to Linux so I don't know if I can already delete that extracted folder (or should I move it to root folder/other..).



      That's a separate question basically, but main question is how would I make a script that executes those 2 pieces of code on system start/boot.










      share|improve this question







      New contributor



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











      After several hours of digging, I finally found out how to make my Pop!_OS recognize my HDMI for audio. (basically I'm using an ASUS laptop with a 1060 hooked with a monitor, everything was fine except for the HDMI audio output not displaying on the audio output list)



      I followed this guide and it works flawlessly, but every time I reboot my machine I have to run this commands in order for the fix to apply again..



      sudo modprobe nvhda
      sudo tee /proc/acpi/nvhda <<<ON


      I originally extracted the zip file on my downloads folder and followed the steps from there on, I'm aware I can now skip the make and install part and just just straight use the sudo modprobe nvhda to load the fix; the thing now is that I'm new to Linux so I don't know if I can already delete that extracted folder (or should I move it to root folder/other..).



      That's a separate question basically, but main question is how would I make a script that executes those 2 pieces of code on system start/boot.







      ubuntu boot audio nvidia hdmi






      share|improve this question







      New contributor



      Derivates 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



      Derivates 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






      New contributor



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








      asked 59 mins ago









      DerivatesDerivates

      1




      1




      New contributor



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




      New contributor




      Derivates 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














          You can delete the folder if you installed the module with sudo make install.



          See https://bugs.freedesktop.org/show_bug.cgi?id=75985#c33:




          I can confirm that kernel module, posted by Maik Freudenberg [Comment 27], is working fine on my system. Thank you for the fix. The HDMI audio device now works as it should.



          The steps I did to enable HDMI audio device:




          1. Download and extract the file nvhda.tar.xz.

          2. Run commands in terminal:

            make

            sudo make install

            echo nvhda | sudo tee -a /etc/initramfs-tools/modules

            echo "options nvhda load_state=1" | sudo tee /etc/modprobe.d/nvhda.conf

            sudo update-initramfs -u

          3. Reboot.


          With this fix, I did not notice any problems with power management or system stability. HDMI audio works at system startup, after resume from sleep, after plugging/unplugging HDMI cable.




          No need to write an extra script.



          Related: Nvidia NVHDA Non-Detected Workaround and Suspend Fix for NVHDA (ubuntuforums)






          share|improve this answer
























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


            }
            });






            Derivates 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%2funix.stackexchange.com%2fquestions%2f523440%2fhow-do-i-set-this-hdmi-output-fix-permanent%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














            You can delete the folder if you installed the module with sudo make install.



            See https://bugs.freedesktop.org/show_bug.cgi?id=75985#c33:




            I can confirm that kernel module, posted by Maik Freudenberg [Comment 27], is working fine on my system. Thank you for the fix. The HDMI audio device now works as it should.



            The steps I did to enable HDMI audio device:




            1. Download and extract the file nvhda.tar.xz.

            2. Run commands in terminal:

              make

              sudo make install

              echo nvhda | sudo tee -a /etc/initramfs-tools/modules

              echo "options nvhda load_state=1" | sudo tee /etc/modprobe.d/nvhda.conf

              sudo update-initramfs -u

            3. Reboot.


            With this fix, I did not notice any problems with power management or system stability. HDMI audio works at system startup, after resume from sleep, after plugging/unplugging HDMI cable.




            No need to write an extra script.



            Related: Nvidia NVHDA Non-Detected Workaround and Suspend Fix for NVHDA (ubuntuforums)






            share|improve this answer




























              0














              You can delete the folder if you installed the module with sudo make install.



              See https://bugs.freedesktop.org/show_bug.cgi?id=75985#c33:




              I can confirm that kernel module, posted by Maik Freudenberg [Comment 27], is working fine on my system. Thank you for the fix. The HDMI audio device now works as it should.



              The steps I did to enable HDMI audio device:




              1. Download and extract the file nvhda.tar.xz.

              2. Run commands in terminal:

                make

                sudo make install

                echo nvhda | sudo tee -a /etc/initramfs-tools/modules

                echo "options nvhda load_state=1" | sudo tee /etc/modprobe.d/nvhda.conf

                sudo update-initramfs -u

              3. Reboot.


              With this fix, I did not notice any problems with power management or system stability. HDMI audio works at system startup, after resume from sleep, after plugging/unplugging HDMI cable.




              No need to write an extra script.



              Related: Nvidia NVHDA Non-Detected Workaround and Suspend Fix for NVHDA (ubuntuforums)






              share|improve this answer


























                0












                0








                0







                You can delete the folder if you installed the module with sudo make install.



                See https://bugs.freedesktop.org/show_bug.cgi?id=75985#c33:




                I can confirm that kernel module, posted by Maik Freudenberg [Comment 27], is working fine on my system. Thank you for the fix. The HDMI audio device now works as it should.



                The steps I did to enable HDMI audio device:




                1. Download and extract the file nvhda.tar.xz.

                2. Run commands in terminal:

                  make

                  sudo make install

                  echo nvhda | sudo tee -a /etc/initramfs-tools/modules

                  echo "options nvhda load_state=1" | sudo tee /etc/modprobe.d/nvhda.conf

                  sudo update-initramfs -u

                3. Reboot.


                With this fix, I did not notice any problems with power management or system stability. HDMI audio works at system startup, after resume from sleep, after plugging/unplugging HDMI cable.




                No need to write an extra script.



                Related: Nvidia NVHDA Non-Detected Workaround and Suspend Fix for NVHDA (ubuntuforums)






                share|improve this answer













                You can delete the folder if you installed the module with sudo make install.



                See https://bugs.freedesktop.org/show_bug.cgi?id=75985#c33:




                I can confirm that kernel module, posted by Maik Freudenberg [Comment 27], is working fine on my system. Thank you for the fix. The HDMI audio device now works as it should.



                The steps I did to enable HDMI audio device:




                1. Download and extract the file nvhda.tar.xz.

                2. Run commands in terminal:

                  make

                  sudo make install

                  echo nvhda | sudo tee -a /etc/initramfs-tools/modules

                  echo "options nvhda load_state=1" | sudo tee /etc/modprobe.d/nvhda.conf

                  sudo update-initramfs -u

                3. Reboot.


                With this fix, I did not notice any problems with power management or system stability. HDMI audio works at system startup, after resume from sleep, after plugging/unplugging HDMI cable.




                No need to write an extra script.



                Related: Nvidia NVHDA Non-Detected Workaround and Suspend Fix for NVHDA (ubuntuforums)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 32 mins ago









                FreddyFreddy

                4,2031420




                4,2031420






















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










                    draft saved

                    draft discarded


















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













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












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
















                    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%2f523440%2fhow-do-i-set-this-hdmi-output-fix-permanent%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

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...