Intel/AMD Hybrid graphics Ubuntu 18.04












2














working through a minefield of information at the moment and need help.



I've got a Dell Latitude E5570 which is setup with Hybrid graphics, Intel/AMD as such



$inxi -Fzx 
Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: i915,radeon Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Sk


I've tried playing with switcheroo, but this doesn't seem to work.
https://www.dell.com/support/article/au/en/auchn1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en



Also, I've installed the proprietary drivers from AMD here:
https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-18.20-Early-Preview-Release-Notes.aspx



This seemed to work, however when launching steam games I received an error about OpenGL incompatibility. In an attempt to fix this, I ended up with a boot loop and a very unstable system.



EDIT - this is how I ended up boot looping....
https://linuxconfig.org/how-to-install-the-latest-amd-radeon-drivers-on-ubuntu-18-04-bionic-beaver-linux



I've now completed a fresh install and everything is back to vanilla, no other poking - looking for advice.










share|improve this question





























    2














    working through a minefield of information at the moment and need help.



    I've got a Dell Latitude E5570 which is setup with Hybrid graphics, Intel/AMD as such



    $inxi -Fzx 
    Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
    Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] bus-ID: 01:00.0
    Display Server: x11 (X.Org 1.19.6 ) drivers: i915,radeon Resolution: 1920x1080@60.00hz
    OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Sk


    I've tried playing with switcheroo, but this doesn't seem to work.
    https://www.dell.com/support/article/au/en/auchn1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en



    Also, I've installed the proprietary drivers from AMD here:
    https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-18.20-Early-Preview-Release-Notes.aspx



    This seemed to work, however when launching steam games I received an error about OpenGL incompatibility. In an attempt to fix this, I ended up with a boot loop and a very unstable system.



    EDIT - this is how I ended up boot looping....
    https://linuxconfig.org/how-to-install-the-latest-amd-radeon-drivers-on-ubuntu-18-04-bionic-beaver-linux



    I've now completed a fresh install and everything is back to vanilla, no other poking - looking for advice.










    share|improve this question



























      2












      2








      2


      1





      working through a minefield of information at the moment and need help.



      I've got a Dell Latitude E5570 which is setup with Hybrid graphics, Intel/AMD as such



      $inxi -Fzx 
      Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
      Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] bus-ID: 01:00.0
      Display Server: x11 (X.Org 1.19.6 ) drivers: i915,radeon Resolution: 1920x1080@60.00hz
      OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Sk


      I've tried playing with switcheroo, but this doesn't seem to work.
      https://www.dell.com/support/article/au/en/auchn1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en



      Also, I've installed the proprietary drivers from AMD here:
      https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-18.20-Early-Preview-Release-Notes.aspx



      This seemed to work, however when launching steam games I received an error about OpenGL incompatibility. In an attempt to fix this, I ended up with a boot loop and a very unstable system.



      EDIT - this is how I ended up boot looping....
      https://linuxconfig.org/how-to-install-the-latest-amd-radeon-drivers-on-ubuntu-18-04-bionic-beaver-linux



      I've now completed a fresh install and everything is back to vanilla, no other poking - looking for advice.










      share|improve this question















      working through a minefield of information at the moment and need help.



      I've got a Dell Latitude E5570 which is setup with Hybrid graphics, Intel/AMD as such



      $inxi -Fzx 
      Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
      Card-2: Advanced Micro Devices [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] bus-ID: 01:00.0
      Display Server: x11 (X.Org 1.19.6 ) drivers: i915,radeon Resolution: 1920x1080@60.00hz
      OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Sk


      I've tried playing with switcheroo, but this doesn't seem to work.
      https://www.dell.com/support/article/au/en/auchn1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en



      Also, I've installed the proprietary drivers from AMD here:
      https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-18.20-Early-Preview-Release-Notes.aspx



      This seemed to work, however when launching steam games I received an error about OpenGL incompatibility. In an attempt to fix this, I ended up with a boot loop and a very unstable system.



      EDIT - this is how I ended up boot looping....
      https://linuxconfig.org/how-to-install-the-latest-amd-radeon-drivers-on-ubuntu-18-04-bionic-beaver-linux



      I've now completed a fresh install and everything is back to vanilla, no other poking - looking for advice.







      amd-graphics hybrid-graphics amdgpu-pro






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 20 '18 at 6:16







      bitsar

















      asked May 20 '18 at 5:23









      bitsarbitsar

      11113




      11113






















          5 Answers
          5






          active

          oldest

          votes


















          3














          I have the exact same setup (Intel Latitude E5570 / Hybrid graphics, Intel/AMD). I have installed Ubuntu 18.04 very recently.



          Here are my experiences:



          Although I marked Install third-party software for graphics and Wi-Fi hardware and additional media formats during installation, the Additional Drivers tab in Software & Updates (to reach this type software-properties-gtk in a terminal) claims that no additional drivers are available. Did you experience the same? Maybe somebody knows why. Before installing any proprietary drivers I decided to test the vanilla installation before doing anything else.



          lspci -k | grep -EA3 'VGA|Display'


          gives me the following output



          00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
          Subsystem: Dell HD Graphics 530
          Kernel driver in use: i915
          Kernel modules: i915
          --
          01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
          Subsystem: Dell Mars [Radeon HD 8670A/8670M/8750M]
          Kernel driver in use: radeon
          Kernel modules: radeon, amdgpu


          I guess that last line about the Kernel module amdgpu means that the OpenSource drivers are installed (can anybody confirm this?). More information on AMD drivers for Ubuntu can be found here on the Ubuntu help wiki.



          Aside from switcheroo there is another possibility to switch between GPUs using xrandr:




          • Hybrid Graphics | Ubuntu help wiki

          • PRIME | Arch wiki


          Using xrandr (as stated in the second link) use the following command to show the providers:



          xrandr --listproviders


          My output was



          Providers: number : 2
          Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
          Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:OLAND @ pci:0000:01:00.0


          To be able to render GPU-intensive applications by the more powerful discrete card use



          xrandr --setprovideroffloadsink 1 0


          Now you should be able to choose a GPU for your application. For example you can test this with a command (using glxinfo, sudo apt install mesa-utils) I found here on Ubuntu Forums:



          DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
          DRI_PRIME=1 glxinfo | grep "OpenGL renderer"


          So I have done a benchmarktest (using glmark2, sudo apt install glmark2) for both GPUs using the following commands:



          DRI_PRIME=0 glmark2 --fullscreen
          DRI_PRIME=1 glmark2 --fullscreen


          The resulting score was:





          • 507 for Intel integrated GPU


          • 367 for AMD descrete GPU


          This is strange, since I thought that AMD GPU should be more performant than the integrated Intel GPU. What are your results on this? Can you confirm this?



          You might also test starting Steam on the discrete GPU using the stated xrandr commands.



          Maybe I will also install the proprietary AMD GPU drivers (amdgpu-pro) and repeat the benchmarks. I hope this is helpful, especially the parts regarding the alternative way of switching GPUs.






          share|improve this answer























          • I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
            – ji-ruh
            Jun 24 '18 at 6:29



















          0














          You've gone done the exact same path as myself!




          Additional Drivers tab in Software & Updates (to reach this type
          software-properties-gtk in a terminal) claims that no additional
          drivers are available. Did you experience the same?




          Thats a big YES from me.




          I guess that last line about the Kernel module amdgpu means that the
          OpenSource drivers are installed (can anybody confirm this?).




          Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.



          I've also worked through GPU switching by using the PRIME method. IE



          DRI_PRIME=1 steam


          I've tested this back to back running a light game such as Portal which shows ~40 FPS on Intel graphics and ~100 FPS on AMD.



          Not ideal, but a workaround I can certainly live with!






          share|improve this answer





























            0















            Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.




            That is right. However Kernel driver in use: radeon tells me that the older radeon driver is in use instead of amdgpu. To make another benchmark test for the open source AMD drivers I forced my system to use amdgpu kernel module by editing grub.



            In /etc/default/grub I added amdgpu.si_support=1 radeon.si_support=0 to grub, which is proposed in the arch wiki. The whole line looks like this for me now:



            GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.si_support=1 radeon.si_support=0"


            Then I updated grub and did a reboot:



            sudo update-grub


            Now lspci -k | grep -EA3 'VGA|Display' sais, that Kernel driver in use in use is amdgpu. So I repeated the benchmark test for AMD gpu:



            DRI_PRIME=1 glmark2 --fullscreen


            Now the result is:





            • 356 for AMD descrete GPU


            So there is no significant improvement to the radeon driver. Consequently I will switch back to the old radeon driver. Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?






            share|improve this answer





























              0















              Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?



              I've done this and can confirm that the steam game (Portal) will easily hit 100 FPS with both the radeon and amdpgu drivers - no appreciable difference - but much less headache using the radeon drivers shipped with Ubuntu rather than the proprietary amdgpu drivers.






              share|improve this answer





























                0














                in my case(hp 15-N, Radeon 8670m) was same prombel, but I fixed it. It was before:



                       $ xrandr --listproviders
                Providers: number : 2
                Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                outputs: 2 associated providers: 1 name:modesetting
                Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                associated providers: 1 name:HAINAN @ pci:0000:0a:00.0

                $ lspci -k | grep -EA3 'VGA|3D|Display'
                00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
                Integrated Graphics Controller (rev 09)
                Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics
                Controller
                Kernel driver in use: i915
                Kernel modules: i915
                --
                0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun
                XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
                Kernel driver in use: radeon
                Kernel modules: radeon, amdgpu


                after install amdgru-pro for fix it I thinked that it help my, but I was mistaked.
                The reason simple, amdgru-pro not fit for old Video cards on unix systems. If you install their you could catch some errors like me.(sorry for I not have screenshot. There are was black screen with some text, which said that I not correctly installed drivers).



                after reinstall ubuntu, I fixed it following few steps
                again called listproviders:



                    $ xrandr --listproviders
                Providers: number : 2
                Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                outputs: 2 associated providers: 1 name:modesetting
                Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                associated providers: 1 name:HAINAN @ pci:0000:0a:00.0


                after that



                   $ xrandr --setprovideroffloadsink 0x3f 0x64


                test of steam show results (e.g. cs go on minimal-medium ~60 +- fps),



                but before calling some program which needed Amd radeon, close their and write in terminal:



                $ DRI_PRIME=1 steam or some programm (e.g. openshot)



                also you could do this or check your mistake by link below:



                https://www.youtube.com/watch?v=9AaxjX-Zo-k&feature=youtu.be






                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%2f1038271%2fintel-amd-hybrid-graphics-ubuntu-18-04%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  5 Answers
                  5






                  active

                  oldest

                  votes








                  5 Answers
                  5






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  3














                  I have the exact same setup (Intel Latitude E5570 / Hybrid graphics, Intel/AMD). I have installed Ubuntu 18.04 very recently.



                  Here are my experiences:



                  Although I marked Install third-party software for graphics and Wi-Fi hardware and additional media formats during installation, the Additional Drivers tab in Software & Updates (to reach this type software-properties-gtk in a terminal) claims that no additional drivers are available. Did you experience the same? Maybe somebody knows why. Before installing any proprietary drivers I decided to test the vanilla installation before doing anything else.



                  lspci -k | grep -EA3 'VGA|Display'


                  gives me the following output



                  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
                  Subsystem: Dell HD Graphics 530
                  Kernel driver in use: i915
                  Kernel modules: i915
                  --
                  01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
                  Subsystem: Dell Mars [Radeon HD 8670A/8670M/8750M]
                  Kernel driver in use: radeon
                  Kernel modules: radeon, amdgpu


                  I guess that last line about the Kernel module amdgpu means that the OpenSource drivers are installed (can anybody confirm this?). More information on AMD drivers for Ubuntu can be found here on the Ubuntu help wiki.



                  Aside from switcheroo there is another possibility to switch between GPUs using xrandr:




                  • Hybrid Graphics | Ubuntu help wiki

                  • PRIME | Arch wiki


                  Using xrandr (as stated in the second link) use the following command to show the providers:



                  xrandr --listproviders


                  My output was



                  Providers: number : 2
                  Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
                  Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:OLAND @ pci:0000:01:00.0


                  To be able to render GPU-intensive applications by the more powerful discrete card use



                  xrandr --setprovideroffloadsink 1 0


                  Now you should be able to choose a GPU for your application. For example you can test this with a command (using glxinfo, sudo apt install mesa-utils) I found here on Ubuntu Forums:



                  DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
                  DRI_PRIME=1 glxinfo | grep "OpenGL renderer"


                  So I have done a benchmarktest (using glmark2, sudo apt install glmark2) for both GPUs using the following commands:



                  DRI_PRIME=0 glmark2 --fullscreen
                  DRI_PRIME=1 glmark2 --fullscreen


                  The resulting score was:





                  • 507 for Intel integrated GPU


                  • 367 for AMD descrete GPU


                  This is strange, since I thought that AMD GPU should be more performant than the integrated Intel GPU. What are your results on this? Can you confirm this?



                  You might also test starting Steam on the discrete GPU using the stated xrandr commands.



                  Maybe I will also install the proprietary AMD GPU drivers (amdgpu-pro) and repeat the benchmarks. I hope this is helpful, especially the parts regarding the alternative way of switching GPUs.






                  share|improve this answer























                  • I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
                    – ji-ruh
                    Jun 24 '18 at 6:29
















                  3














                  I have the exact same setup (Intel Latitude E5570 / Hybrid graphics, Intel/AMD). I have installed Ubuntu 18.04 very recently.



                  Here are my experiences:



                  Although I marked Install third-party software for graphics and Wi-Fi hardware and additional media formats during installation, the Additional Drivers tab in Software & Updates (to reach this type software-properties-gtk in a terminal) claims that no additional drivers are available. Did you experience the same? Maybe somebody knows why. Before installing any proprietary drivers I decided to test the vanilla installation before doing anything else.



                  lspci -k | grep -EA3 'VGA|Display'


                  gives me the following output



                  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
                  Subsystem: Dell HD Graphics 530
                  Kernel driver in use: i915
                  Kernel modules: i915
                  --
                  01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
                  Subsystem: Dell Mars [Radeon HD 8670A/8670M/8750M]
                  Kernel driver in use: radeon
                  Kernel modules: radeon, amdgpu


                  I guess that last line about the Kernel module amdgpu means that the OpenSource drivers are installed (can anybody confirm this?). More information on AMD drivers for Ubuntu can be found here on the Ubuntu help wiki.



                  Aside from switcheroo there is another possibility to switch between GPUs using xrandr:




                  • Hybrid Graphics | Ubuntu help wiki

                  • PRIME | Arch wiki


                  Using xrandr (as stated in the second link) use the following command to show the providers:



                  xrandr --listproviders


                  My output was



                  Providers: number : 2
                  Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
                  Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:OLAND @ pci:0000:01:00.0


                  To be able to render GPU-intensive applications by the more powerful discrete card use



                  xrandr --setprovideroffloadsink 1 0


                  Now you should be able to choose a GPU for your application. For example you can test this with a command (using glxinfo, sudo apt install mesa-utils) I found here on Ubuntu Forums:



                  DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
                  DRI_PRIME=1 glxinfo | grep "OpenGL renderer"


                  So I have done a benchmarktest (using glmark2, sudo apt install glmark2) for both GPUs using the following commands:



                  DRI_PRIME=0 glmark2 --fullscreen
                  DRI_PRIME=1 glmark2 --fullscreen


                  The resulting score was:





                  • 507 for Intel integrated GPU


                  • 367 for AMD descrete GPU


                  This is strange, since I thought that AMD GPU should be more performant than the integrated Intel GPU. What are your results on this? Can you confirm this?



                  You might also test starting Steam on the discrete GPU using the stated xrandr commands.



                  Maybe I will also install the proprietary AMD GPU drivers (amdgpu-pro) and repeat the benchmarks. I hope this is helpful, especially the parts regarding the alternative way of switching GPUs.






                  share|improve this answer























                  • I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
                    – ji-ruh
                    Jun 24 '18 at 6:29














                  3












                  3








                  3






                  I have the exact same setup (Intel Latitude E5570 / Hybrid graphics, Intel/AMD). I have installed Ubuntu 18.04 very recently.



                  Here are my experiences:



                  Although I marked Install third-party software for graphics and Wi-Fi hardware and additional media formats during installation, the Additional Drivers tab in Software & Updates (to reach this type software-properties-gtk in a terminal) claims that no additional drivers are available. Did you experience the same? Maybe somebody knows why. Before installing any proprietary drivers I decided to test the vanilla installation before doing anything else.



                  lspci -k | grep -EA3 'VGA|Display'


                  gives me the following output



                  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
                  Subsystem: Dell HD Graphics 530
                  Kernel driver in use: i915
                  Kernel modules: i915
                  --
                  01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
                  Subsystem: Dell Mars [Radeon HD 8670A/8670M/8750M]
                  Kernel driver in use: radeon
                  Kernel modules: radeon, amdgpu


                  I guess that last line about the Kernel module amdgpu means that the OpenSource drivers are installed (can anybody confirm this?). More information on AMD drivers for Ubuntu can be found here on the Ubuntu help wiki.



                  Aside from switcheroo there is another possibility to switch between GPUs using xrandr:




                  • Hybrid Graphics | Ubuntu help wiki

                  • PRIME | Arch wiki


                  Using xrandr (as stated in the second link) use the following command to show the providers:



                  xrandr --listproviders


                  My output was



                  Providers: number : 2
                  Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
                  Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:OLAND @ pci:0000:01:00.0


                  To be able to render GPU-intensive applications by the more powerful discrete card use



                  xrandr --setprovideroffloadsink 1 0


                  Now you should be able to choose a GPU for your application. For example you can test this with a command (using glxinfo, sudo apt install mesa-utils) I found here on Ubuntu Forums:



                  DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
                  DRI_PRIME=1 glxinfo | grep "OpenGL renderer"


                  So I have done a benchmarktest (using glmark2, sudo apt install glmark2) for both GPUs using the following commands:



                  DRI_PRIME=0 glmark2 --fullscreen
                  DRI_PRIME=1 glmark2 --fullscreen


                  The resulting score was:





                  • 507 for Intel integrated GPU


                  • 367 for AMD descrete GPU


                  This is strange, since I thought that AMD GPU should be more performant than the integrated Intel GPU. What are your results on this? Can you confirm this?



                  You might also test starting Steam on the discrete GPU using the stated xrandr commands.



                  Maybe I will also install the proprietary AMD GPU drivers (amdgpu-pro) and repeat the benchmarks. I hope this is helpful, especially the parts regarding the alternative way of switching GPUs.






                  share|improve this answer














                  I have the exact same setup (Intel Latitude E5570 / Hybrid graphics, Intel/AMD). I have installed Ubuntu 18.04 very recently.



                  Here are my experiences:



                  Although I marked Install third-party software for graphics and Wi-Fi hardware and additional media formats during installation, the Additional Drivers tab in Software & Updates (to reach this type software-properties-gtk in a terminal) claims that no additional drivers are available. Did you experience the same? Maybe somebody knows why. Before installing any proprietary drivers I decided to test the vanilla installation before doing anything else.



                  lspci -k | grep -EA3 'VGA|Display'


                  gives me the following output



                  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
                  Subsystem: Dell HD Graphics 530
                  Kernel driver in use: i915
                  Kernel modules: i915
                  --
                  01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
                  Subsystem: Dell Mars [Radeon HD 8670A/8670M/8750M]
                  Kernel driver in use: radeon
                  Kernel modules: radeon, amdgpu


                  I guess that last line about the Kernel module amdgpu means that the OpenSource drivers are installed (can anybody confirm this?). More information on AMD drivers for Ubuntu can be found here on the Ubuntu help wiki.



                  Aside from switcheroo there is another possibility to switch between GPUs using xrandr:




                  • Hybrid Graphics | Ubuntu help wiki

                  • PRIME | Arch wiki


                  Using xrandr (as stated in the second link) use the following command to show the providers:



                  xrandr --listproviders


                  My output was



                  Providers: number : 2
                  Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
                  Provider 1: id: 0x41 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:OLAND @ pci:0000:01:00.0


                  To be able to render GPU-intensive applications by the more powerful discrete card use



                  xrandr --setprovideroffloadsink 1 0


                  Now you should be able to choose a GPU for your application. For example you can test this with a command (using glxinfo, sudo apt install mesa-utils) I found here on Ubuntu Forums:



                  DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
                  DRI_PRIME=1 glxinfo | grep "OpenGL renderer"


                  So I have done a benchmarktest (using glmark2, sudo apt install glmark2) for both GPUs using the following commands:



                  DRI_PRIME=0 glmark2 --fullscreen
                  DRI_PRIME=1 glmark2 --fullscreen


                  The resulting score was:





                  • 507 for Intel integrated GPU


                  • 367 for AMD descrete GPU


                  This is strange, since I thought that AMD GPU should be more performant than the integrated Intel GPU. What are your results on this? Can you confirm this?



                  You might also test starting Steam on the discrete GPU using the stated xrandr commands.



                  Maybe I will also install the proprietary AMD GPU drivers (amdgpu-pro) and repeat the benchmarks. I hope this is helpful, especially the parts regarding the alternative way of switching GPUs.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 28 '18 at 20:53

























                  answered May 27 '18 at 14:43









                  Andreas GschossmannAndreas Gschossmann

                  312




                  312












                  • I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
                    – ji-ruh
                    Jun 24 '18 at 6:29


















                  • I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
                    – ji-ruh
                    Jun 24 '18 at 6:29
















                  I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
                  – ji-ruh
                  Jun 24 '18 at 6:29




                  I install amdgpu-pro. my result are: GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) and GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) glmark2 Score: 299 glmark2 Score: 299
                  – ji-ruh
                  Jun 24 '18 at 6:29













                  0














                  You've gone done the exact same path as myself!




                  Additional Drivers tab in Software & Updates (to reach this type
                  software-properties-gtk in a terminal) claims that no additional
                  drivers are available. Did you experience the same?




                  Thats a big YES from me.




                  I guess that last line about the Kernel module amdgpu means that the
                  OpenSource drivers are installed (can anybody confirm this?).




                  Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.



                  I've also worked through GPU switching by using the PRIME method. IE



                  DRI_PRIME=1 steam


                  I've tested this back to back running a light game such as Portal which shows ~40 FPS on Intel graphics and ~100 FPS on AMD.



                  Not ideal, but a workaround I can certainly live with!






                  share|improve this answer


























                    0














                    You've gone done the exact same path as myself!




                    Additional Drivers tab in Software & Updates (to reach this type
                    software-properties-gtk in a terminal) claims that no additional
                    drivers are available. Did you experience the same?




                    Thats a big YES from me.




                    I guess that last line about the Kernel module amdgpu means that the
                    OpenSource drivers are installed (can anybody confirm this?).




                    Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.



                    I've also worked through GPU switching by using the PRIME method. IE



                    DRI_PRIME=1 steam


                    I've tested this back to back running a light game such as Portal which shows ~40 FPS on Intel graphics and ~100 FPS on AMD.



                    Not ideal, but a workaround I can certainly live with!






                    share|improve this answer
























                      0












                      0








                      0






                      You've gone done the exact same path as myself!




                      Additional Drivers tab in Software & Updates (to reach this type
                      software-properties-gtk in a terminal) claims that no additional
                      drivers are available. Did you experience the same?




                      Thats a big YES from me.




                      I guess that last line about the Kernel module amdgpu means that the
                      OpenSource drivers are installed (can anybody confirm this?).




                      Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.



                      I've also worked through GPU switching by using the PRIME method. IE



                      DRI_PRIME=1 steam


                      I've tested this back to back running a light game such as Portal which shows ~40 FPS on Intel graphics and ~100 FPS on AMD.



                      Not ideal, but a workaround I can certainly live with!






                      share|improve this answer












                      You've gone done the exact same path as myself!




                      Additional Drivers tab in Software & Updates (to reach this type
                      software-properties-gtk in a terminal) claims that no additional
                      drivers are available. Did you experience the same?




                      Thats a big YES from me.




                      I guess that last line about the Kernel module amdgpu means that the
                      OpenSource drivers are installed (can anybody confirm this?).




                      Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.



                      I've also worked through GPU switching by using the PRIME method. IE



                      DRI_PRIME=1 steam


                      I've tested this back to back running a light game such as Portal which shows ~40 FPS on Intel graphics and ~100 FPS on AMD.



                      Not ideal, but a workaround I can certainly live with!







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered May 28 '18 at 21:32









                      bitsarbitsar

                      11113




                      11113























                          0















                          Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.




                          That is right. However Kernel driver in use: radeon tells me that the older radeon driver is in use instead of amdgpu. To make another benchmark test for the open source AMD drivers I forced my system to use amdgpu kernel module by editing grub.



                          In /etc/default/grub I added amdgpu.si_support=1 radeon.si_support=0 to grub, which is proposed in the arch wiki. The whole line looks like this for me now:



                          GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.si_support=1 radeon.si_support=0"


                          Then I updated grub and did a reboot:



                          sudo update-grub


                          Now lspci -k | grep -EA3 'VGA|Display' sais, that Kernel driver in use in use is amdgpu. So I repeated the benchmark test for AMD gpu:



                          DRI_PRIME=1 glmark2 --fullscreen


                          Now the result is:





                          • 356 for AMD descrete GPU


                          So there is no significant improvement to the radeon driver. Consequently I will switch back to the old radeon driver. Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?






                          share|improve this answer


























                            0















                            Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.




                            That is right. However Kernel driver in use: radeon tells me that the older radeon driver is in use instead of amdgpu. To make another benchmark test for the open source AMD drivers I forced my system to use amdgpu kernel module by editing grub.



                            In /etc/default/grub I added amdgpu.si_support=1 radeon.si_support=0 to grub, which is proposed in the arch wiki. The whole line looks like this for me now:



                            GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.si_support=1 radeon.si_support=0"


                            Then I updated grub and did a reboot:



                            sudo update-grub


                            Now lspci -k | grep -EA3 'VGA|Display' sais, that Kernel driver in use in use is amdgpu. So I repeated the benchmark test for AMD gpu:



                            DRI_PRIME=1 glmark2 --fullscreen


                            Now the result is:





                            • 356 for AMD descrete GPU


                            So there is no significant improvement to the radeon driver. Consequently I will switch back to the old radeon driver. Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?






                            share|improve this answer
























                              0












                              0








                              0







                              Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.




                              That is right. However Kernel driver in use: radeon tells me that the older radeon driver is in use instead of amdgpu. To make another benchmark test for the open source AMD drivers I forced my system to use amdgpu kernel module by editing grub.



                              In /etc/default/grub I added amdgpu.si_support=1 radeon.si_support=0 to grub, which is proposed in the arch wiki. The whole line looks like this for me now:



                              GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.si_support=1 radeon.si_support=0"


                              Then I updated grub and did a reboot:



                              sudo update-grub


                              Now lspci -k | grep -EA3 'VGA|Display' sais, that Kernel driver in use in use is amdgpu. So I repeated the benchmark test for AMD gpu:



                              DRI_PRIME=1 glmark2 --fullscreen


                              Now the result is:





                              • 356 for AMD descrete GPU


                              So there is no significant improvement to the radeon driver. Consequently I will switch back to the old radeon driver. Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?






                              share|improve this answer













                              Correct, my understanding is from 17.xx, Ubuntu shipped with the open source AMD drivers out of the box. Proprietary drivers are no longer available in the multiverse sources for additional driver installation - you need to do this manually.




                              That is right. However Kernel driver in use: radeon tells me that the older radeon driver is in use instead of amdgpu. To make another benchmark test for the open source AMD drivers I forced my system to use amdgpu kernel module by editing grub.



                              In /etc/default/grub I added amdgpu.si_support=1 radeon.si_support=0 to grub, which is proposed in the arch wiki. The whole line looks like this for me now:



                              GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.si_support=1 radeon.si_support=0"


                              Then I updated grub and did a reboot:



                              sudo update-grub


                              Now lspci -k | grep -EA3 'VGA|Display' sais, that Kernel driver in use in use is amdgpu. So I repeated the benchmark test for AMD gpu:



                              DRI_PRIME=1 glmark2 --fullscreen


                              Now the result is:





                              • 356 for AMD descrete GPU


                              So there is no significant improvement to the radeon driver. Consequently I will switch back to the old radeon driver. Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Jun 4 '18 at 13:44









                              Andreas GschossmannAndreas Gschossmann

                              312




                              312























                                  0















                                  Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?



                                  I've done this and can confirm that the steam game (Portal) will easily hit 100 FPS with both the radeon and amdpgu drivers - no appreciable difference - but much less headache using the radeon drivers shipped with Ubuntu rather than the proprietary amdgpu drivers.






                                  share|improve this answer


























                                    0















                                    Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?



                                    I've done this and can confirm that the steam game (Portal) will easily hit 100 FPS with both the radeon and amdpgu drivers - no appreciable difference - but much less headache using the radeon drivers shipped with Ubuntu rather than the proprietary amdgpu drivers.






                                    share|improve this answer
























                                      0












                                      0








                                      0







                                      Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?



                                      I've done this and can confirm that the steam game (Portal) will easily hit 100 FPS with both the radeon and amdpgu drivers - no appreciable difference - but much less headache using the radeon drivers shipped with Ubuntu rather than the proprietary amdgpu drivers.






                                      share|improve this answer













                                      Just for completeness, can you also test your steam game, whether it also runs on 100 FPS on AMD using amdgpu driver?



                                      I've done this and can confirm that the steam game (Portal) will easily hit 100 FPS with both the radeon and amdpgu drivers - no appreciable difference - but much less headache using the radeon drivers shipped with Ubuntu rather than the proprietary amdgpu drivers.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jun 8 '18 at 0:28









                                      bitsarbitsar

                                      11113




                                      11113























                                          0














                                          in my case(hp 15-N, Radeon 8670m) was same prombel, but I fixed it. It was before:



                                                 $ xrandr --listproviders
                                          Providers: number : 2
                                          Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                          outputs: 2 associated providers: 1 name:modesetting
                                          Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                          associated providers: 1 name:HAINAN @ pci:0000:0a:00.0

                                          $ lspci -k | grep -EA3 'VGA|3D|Display'
                                          00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
                                          Integrated Graphics Controller (rev 09)
                                          Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics
                                          Controller
                                          Kernel driver in use: i915
                                          Kernel modules: i915
                                          --
                                          0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun
                                          XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
                                          Kernel driver in use: radeon
                                          Kernel modules: radeon, amdgpu


                                          after install amdgru-pro for fix it I thinked that it help my, but I was mistaked.
                                          The reason simple, amdgru-pro not fit for old Video cards on unix systems. If you install their you could catch some errors like me.(sorry for I not have screenshot. There are was black screen with some text, which said that I not correctly installed drivers).



                                          after reinstall ubuntu, I fixed it following few steps
                                          again called listproviders:



                                              $ xrandr --listproviders
                                          Providers: number : 2
                                          Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                          outputs: 2 associated providers: 1 name:modesetting
                                          Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                          associated providers: 1 name:HAINAN @ pci:0000:0a:00.0


                                          after that



                                             $ xrandr --setprovideroffloadsink 0x3f 0x64


                                          test of steam show results (e.g. cs go on minimal-medium ~60 +- fps),



                                          but before calling some program which needed Amd radeon, close their and write in terminal:



                                          $ DRI_PRIME=1 steam or some programm (e.g. openshot)



                                          also you could do this or check your mistake by link below:



                                          https://www.youtube.com/watch?v=9AaxjX-Zo-k&feature=youtu.be






                                          share|improve this answer


























                                            0














                                            in my case(hp 15-N, Radeon 8670m) was same prombel, but I fixed it. It was before:



                                                   $ xrandr --listproviders
                                            Providers: number : 2
                                            Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                            outputs: 2 associated providers: 1 name:modesetting
                                            Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                            associated providers: 1 name:HAINAN @ pci:0000:0a:00.0

                                            $ lspci -k | grep -EA3 'VGA|3D|Display'
                                            00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
                                            Integrated Graphics Controller (rev 09)
                                            Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics
                                            Controller
                                            Kernel driver in use: i915
                                            Kernel modules: i915
                                            --
                                            0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun
                                            XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
                                            Kernel driver in use: radeon
                                            Kernel modules: radeon, amdgpu


                                            after install amdgru-pro for fix it I thinked that it help my, but I was mistaked.
                                            The reason simple, amdgru-pro not fit for old Video cards on unix systems. If you install their you could catch some errors like me.(sorry for I not have screenshot. There are was black screen with some text, which said that I not correctly installed drivers).



                                            after reinstall ubuntu, I fixed it following few steps
                                            again called listproviders:



                                                $ xrandr --listproviders
                                            Providers: number : 2
                                            Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                            outputs: 2 associated providers: 1 name:modesetting
                                            Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                            associated providers: 1 name:HAINAN @ pci:0000:0a:00.0


                                            after that



                                               $ xrandr --setprovideroffloadsink 0x3f 0x64


                                            test of steam show results (e.g. cs go on minimal-medium ~60 +- fps),



                                            but before calling some program which needed Amd radeon, close their and write in terminal:



                                            $ DRI_PRIME=1 steam or some programm (e.g. openshot)



                                            also you could do this or check your mistake by link below:



                                            https://www.youtube.com/watch?v=9AaxjX-Zo-k&feature=youtu.be






                                            share|improve this answer
























                                              0












                                              0








                                              0






                                              in my case(hp 15-N, Radeon 8670m) was same prombel, but I fixed it. It was before:



                                                     $ xrandr --listproviders
                                              Providers: number : 2
                                              Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                              outputs: 2 associated providers: 1 name:modesetting
                                              Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                              associated providers: 1 name:HAINAN @ pci:0000:0a:00.0

                                              $ lspci -k | grep -EA3 'VGA|3D|Display'
                                              00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
                                              Integrated Graphics Controller (rev 09)
                                              Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics
                                              Controller
                                              Kernel driver in use: i915
                                              Kernel modules: i915
                                              --
                                              0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun
                                              XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
                                              Kernel driver in use: radeon
                                              Kernel modules: radeon, amdgpu


                                              after install amdgru-pro for fix it I thinked that it help my, but I was mistaked.
                                              The reason simple, amdgru-pro not fit for old Video cards on unix systems. If you install their you could catch some errors like me.(sorry for I not have screenshot. There are was black screen with some text, which said that I not correctly installed drivers).



                                              after reinstall ubuntu, I fixed it following few steps
                                              again called listproviders:



                                                  $ xrandr --listproviders
                                              Providers: number : 2
                                              Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                              outputs: 2 associated providers: 1 name:modesetting
                                              Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                              associated providers: 1 name:HAINAN @ pci:0000:0a:00.0


                                              after that



                                                 $ xrandr --setprovideroffloadsink 0x3f 0x64


                                              test of steam show results (e.g. cs go on minimal-medium ~60 +- fps),



                                              but before calling some program which needed Amd radeon, close their and write in terminal:



                                              $ DRI_PRIME=1 steam or some programm (e.g. openshot)



                                              also you could do this or check your mistake by link below:



                                              https://www.youtube.com/watch?v=9AaxjX-Zo-k&feature=youtu.be






                                              share|improve this answer












                                              in my case(hp 15-N, Radeon 8670m) was same prombel, but I fixed it. It was before:



                                                     $ xrandr --listproviders
                                              Providers: number : 2
                                              Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                              outputs: 2 associated providers: 1 name:modesetting
                                              Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                              associated providers: 1 name:HAINAN @ pci:0000:0a:00.0

                                              $ lspci -k | grep -EA3 'VGA|3D|Display'
                                              00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
                                              Integrated Graphics Controller (rev 09)
                                              Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics
                                              Controller
                                              Kernel driver in use: i915
                                              Kernel modules: i915
                                              --
                                              0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun
                                              XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev ff)
                                              Kernel driver in use: radeon
                                              Kernel modules: radeon, amdgpu


                                              after install amdgru-pro for fix it I thinked that it help my, but I was mistaked.
                                              The reason simple, amdgru-pro not fit for old Video cards on unix systems. If you install their you could catch some errors like me.(sorry for I not have screenshot. There are was black screen with some text, which said that I not correctly installed drivers).



                                              after reinstall ubuntu, I fixed it following few steps
                                              again called listproviders:



                                                  $ xrandr --listproviders
                                              Providers: number : 2
                                              Provider 0: id: 0x64 cap: 0x9, Source Output, Sink Offload crtcs: 3
                                              outputs: 2 associated providers: 1 name:modesetting
                                              Provider 1: id: 0x3f cap: 0x4, Source Offload crtcs: 0 outputs: 0
                                              associated providers: 1 name:HAINAN @ pci:0000:0a:00.0


                                              after that



                                                 $ xrandr --setprovideroffloadsink 0x3f 0x64


                                              test of steam show results (e.g. cs go on minimal-medium ~60 +- fps),



                                              but before calling some program which needed Amd radeon, close their and write in terminal:



                                              $ DRI_PRIME=1 steam or some programm (e.g. openshot)



                                              also you could do this or check your mistake by link below:



                                              https://www.youtube.com/watch?v=9AaxjX-Zo-k&feature=youtu.be







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Dec 5 '18 at 13:56









                                              toxabtoxab

                                              1




                                              1






























                                                  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.





                                                  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%2f1038271%2fintel-amd-hybrid-graphics-ubuntu-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

                                                  mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                                                  How to change which sound is reproduced for terminal bell?

                                                  Can I use Tabulator js library in my java Spring + Thymeleaf project?