VLC is not working with AMD gpu in 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command



DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4



the output I am getting is this-



output.png



But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?







share|improve this question


























    up vote
    2
    down vote

    favorite












    Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command



    DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4



    the output I am getting is this-



    output.png



    But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?







    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command



      DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4



      the output I am getting is this-



      output.png



      But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?







      share|improve this question














      Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command



      DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4



      the output I am getting is this-



      output.png



      But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 4 at 18:48

























      asked May 4 at 17:16









      pie

      113




      113




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          This is related to hardware video acceleration.
          The issue is caused by (at least) one of these alternatives:



          1. VLC is misconfigured.

          2. Hardware acceleration is not set up properly for your AMD graphics card.

          Quick Fix



          Turn off hardware acceleration:



          • Go to VLC > Tools > Preferences > Input & Codecs Settings.

          • Set Hardware-accelerated decoding to Disable.

          This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.



          Check Setup



          Install the packages vdpauinfo and vainfo.
          These two are of great help when debugging hardware acceleration related issues.



          Now open a terminal and run



          vdpauinfo


          as well as



          vainfo


          This gives a lot of insight to your current setup.



          Fix



          I can't get into details here, there's way too many possibilities.
          Take the output from the previous section as an indication which route to take.



          Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.



          Here's a valuable page to get some more info: VLX GPU Decoding






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1032083%2fvlc-is-not-working-with-amd-gpu-in-18-04%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            This is related to hardware video acceleration.
            The issue is caused by (at least) one of these alternatives:



            1. VLC is misconfigured.

            2. Hardware acceleration is not set up properly for your AMD graphics card.

            Quick Fix



            Turn off hardware acceleration:



            • Go to VLC > Tools > Preferences > Input & Codecs Settings.

            • Set Hardware-accelerated decoding to Disable.

            This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.



            Check Setup



            Install the packages vdpauinfo and vainfo.
            These two are of great help when debugging hardware acceleration related issues.



            Now open a terminal and run



            vdpauinfo


            as well as



            vainfo


            This gives a lot of insight to your current setup.



            Fix



            I can't get into details here, there's way too many possibilities.
            Take the output from the previous section as an indication which route to take.



            Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.



            Here's a valuable page to get some more info: VLX GPU Decoding






            share|improve this answer


























              up vote
              2
              down vote













              This is related to hardware video acceleration.
              The issue is caused by (at least) one of these alternatives:



              1. VLC is misconfigured.

              2. Hardware acceleration is not set up properly for your AMD graphics card.

              Quick Fix



              Turn off hardware acceleration:



              • Go to VLC > Tools > Preferences > Input & Codecs Settings.

              • Set Hardware-accelerated decoding to Disable.

              This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.



              Check Setup



              Install the packages vdpauinfo and vainfo.
              These two are of great help when debugging hardware acceleration related issues.



              Now open a terminal and run



              vdpauinfo


              as well as



              vainfo


              This gives a lot of insight to your current setup.



              Fix



              I can't get into details here, there's way too many possibilities.
              Take the output from the previous section as an indication which route to take.



              Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.



              Here's a valuable page to get some more info: VLX GPU Decoding






              share|improve this answer
























                up vote
                2
                down vote










                up vote
                2
                down vote









                This is related to hardware video acceleration.
                The issue is caused by (at least) one of these alternatives:



                1. VLC is misconfigured.

                2. Hardware acceleration is not set up properly for your AMD graphics card.

                Quick Fix



                Turn off hardware acceleration:



                • Go to VLC > Tools > Preferences > Input & Codecs Settings.

                • Set Hardware-accelerated decoding to Disable.

                This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.



                Check Setup



                Install the packages vdpauinfo and vainfo.
                These two are of great help when debugging hardware acceleration related issues.



                Now open a terminal and run



                vdpauinfo


                as well as



                vainfo


                This gives a lot of insight to your current setup.



                Fix



                I can't get into details here, there's way too many possibilities.
                Take the output from the previous section as an indication which route to take.



                Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.



                Here's a valuable page to get some more info: VLX GPU Decoding






                share|improve this answer














                This is related to hardware video acceleration.
                The issue is caused by (at least) one of these alternatives:



                1. VLC is misconfigured.

                2. Hardware acceleration is not set up properly for your AMD graphics card.

                Quick Fix



                Turn off hardware acceleration:



                • Go to VLC > Tools > Preferences > Input & Codecs Settings.

                • Set Hardware-accelerated decoding to Disable.

                This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.



                Check Setup



                Install the packages vdpauinfo and vainfo.
                These two are of great help when debugging hardware acceleration related issues.



                Now open a terminal and run



                vdpauinfo


                as well as



                vainfo


                This gives a lot of insight to your current setup.



                Fix



                I can't get into details here, there's way too many possibilities.
                Take the output from the previous section as an indication which route to take.



                Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.



                Here's a valuable page to get some more info: VLX GPU Decoding







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 6 at 10:44

























                answered Aug 6 at 10:32









                wedeluxe

                214




                214






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032083%2fvlc-is-not-working-with-amd-gpu-in-18-04%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do I move numbers in filenames, in a batch renaming operation?