Change default gpu from intel to discrete AMD

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








up vote
0
down vote

favorite
1












I've bought new Dell 5570 i5 8250u 4GB RAM 1TB HDD AMD 530 2GB and it came with Ubuntu pre-installed.



After typing sudo lshw -class display I got:



description: VGA compatible controller

product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915_bpo latency=0
resources: irq:280 memory:d1000000-d1ffffff memory:b0000000-bfffffff ioport:f000(size=64)


Also, lspci gives me



00:00.0 Host bridge: Intel Corporation Device 5914 (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Device 5917 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev ff)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)


I'd like to change default gpu from intel hd 620 to discrete - AMD.



Is it possible?










share|improve this question



























    up vote
    0
    down vote

    favorite
    1












    I've bought new Dell 5570 i5 8250u 4GB RAM 1TB HDD AMD 530 2GB and it came with Ubuntu pre-installed.



    After typing sudo lshw -class display I got:



    description: VGA compatible controller

    product: Intel Corporation
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 07
    width: 64 bits
    clock: 33MHz
    capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
    configuration: driver=i915_bpo latency=0
    resources: irq:280 memory:d1000000-d1ffffff memory:b0000000-bfffffff ioport:f000(size=64)


    Also, lspci gives me



    00:00.0 Host bridge: Intel Corporation Device 5914 (rev 08)
    00:02.0 VGA compatible controller: Intel Corporation Device 5917 (rev 07)
    00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
    00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
    00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
    00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
    00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
    00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
    00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
    00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
    00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
    00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
    00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
    00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
    00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
    01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev ff)
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
    03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)


    I'd like to change default gpu from intel hd 620 to discrete - AMD.



    Is it possible?










    share|improve this question

























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I've bought new Dell 5570 i5 8250u 4GB RAM 1TB HDD AMD 530 2GB and it came with Ubuntu pre-installed.



      After typing sudo lshw -class display I got:



      description: VGA compatible controller

      product: Intel Corporation
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 07
      width: 64 bits
      clock: 33MHz
      capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
      configuration: driver=i915_bpo latency=0
      resources: irq:280 memory:d1000000-d1ffffff memory:b0000000-bfffffff ioport:f000(size=64)


      Also, lspci gives me



      00:00.0 Host bridge: Intel Corporation Device 5914 (rev 08)
      00:02.0 VGA compatible controller: Intel Corporation Device 5917 (rev 07)
      00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
      00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
      00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
      00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
      00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
      00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
      00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
      00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
      00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
      00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
      00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
      00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
      00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
      01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev ff)
      02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
      03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)


      I'd like to change default gpu from intel hd 620 to discrete - AMD.



      Is it possible?










      share|improve this question















      I've bought new Dell 5570 i5 8250u 4GB RAM 1TB HDD AMD 530 2GB and it came with Ubuntu pre-installed.



      After typing sudo lshw -class display I got:



      description: VGA compatible controller

      product: Intel Corporation
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 07
      width: 64 bits
      clock: 33MHz
      capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
      configuration: driver=i915_bpo latency=0
      resources: irq:280 memory:d1000000-d1ffffff memory:b0000000-bfffffff ioport:f000(size=64)


      Also, lspci gives me



      00:00.0 Host bridge: Intel Corporation Device 5914 (rev 08)
      00:02.0 VGA compatible controller: Intel Corporation Device 5917 (rev 07)
      00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
      00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
      00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
      00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
      00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
      00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 21)
      00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
      00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
      00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
      00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
      00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
      00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
      00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
      01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev ff)
      02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
      03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)


      I'd like to change default gpu from intel hd 620 to discrete - AMD.



      Is it possible?







      amd-graphics gpu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 8 at 18:00









      pa4080

      12.3k52256




      12.3k52256










      asked Mar 8 at 18:00









      mk1024

      134211




      134211




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You can use vga_switcheroo which allows you to switch between GPUs if your machine has a hardware mux.



          To check whether your kernel is compiled with the correct option you can examine the file config-2.6.nn-mm-generic in the /boot directory :



          grep -i switcheroo /boot/config-*


          vga_switcheroo mechanism works when the kernel is booted with either the modeset=1 kernel option and/or the nomodeset option being absent. To test if vga_switcheroo is enabled, look for the switch file :



          ls -l /sys/kernel/debug/vgaswitcheroo/switch


          Using vga_switcheroo
          If vga_switcheroo is available, you can switch between GPUs. Be prepared for something to go wrong and the system to lockup as the fact this file is there doesn't gaurantee the machine is supported.



          Use this command to turn on the GPU that is currently disconnected, but it doesn't switch the outputs :



          echo ON > /sys/kernel/debug/vgaswitcheroo/switch


          This command connects the integrated graphics with the outputs :



          echo IGD > /sys/kernel/debug/vgaswitcheroo/switch


          This command connects the discrete graphics with the outputs :



          echo DIS > /sys/kernel/debug/vgaswitcheroo/switch


          This command turns off the graphics card that is currently disconnected :



          echo OFF > /sys/kernel/debug/vgaswitcheroo/switch


          This command lets you check the current state of the hybrid graphics. There will usually be two lines of output - one should show Pwr and the other shows Off :



          cat /sys/kernel/debug/vgaswitcheroo/switch


          Note: This method is not supported by all system types and only works if you are using an open source driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).



          Source: https://www.dell.com/support/article/uk/en/ukbsdt1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en






          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%2f1013182%2fchange-default-gpu-from-intel-to-discrete-amd%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
            0
            down vote













            You can use vga_switcheroo which allows you to switch between GPUs if your machine has a hardware mux.



            To check whether your kernel is compiled with the correct option you can examine the file config-2.6.nn-mm-generic in the /boot directory :



            grep -i switcheroo /boot/config-*


            vga_switcheroo mechanism works when the kernel is booted with either the modeset=1 kernel option and/or the nomodeset option being absent. To test if vga_switcheroo is enabled, look for the switch file :



            ls -l /sys/kernel/debug/vgaswitcheroo/switch


            Using vga_switcheroo
            If vga_switcheroo is available, you can switch between GPUs. Be prepared for something to go wrong and the system to lockup as the fact this file is there doesn't gaurantee the machine is supported.



            Use this command to turn on the GPU that is currently disconnected, but it doesn't switch the outputs :



            echo ON > /sys/kernel/debug/vgaswitcheroo/switch


            This command connects the integrated graphics with the outputs :



            echo IGD > /sys/kernel/debug/vgaswitcheroo/switch


            This command connects the discrete graphics with the outputs :



            echo DIS > /sys/kernel/debug/vgaswitcheroo/switch


            This command turns off the graphics card that is currently disconnected :



            echo OFF > /sys/kernel/debug/vgaswitcheroo/switch


            This command lets you check the current state of the hybrid graphics. There will usually be two lines of output - one should show Pwr and the other shows Off :



            cat /sys/kernel/debug/vgaswitcheroo/switch


            Note: This method is not supported by all system types and only works if you are using an open source driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).



            Source: https://www.dell.com/support/article/uk/en/ukbsdt1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en






            share|improve this answer


























              up vote
              0
              down vote













              You can use vga_switcheroo which allows you to switch between GPUs if your machine has a hardware mux.



              To check whether your kernel is compiled with the correct option you can examine the file config-2.6.nn-mm-generic in the /boot directory :



              grep -i switcheroo /boot/config-*


              vga_switcheroo mechanism works when the kernel is booted with either the modeset=1 kernel option and/or the nomodeset option being absent. To test if vga_switcheroo is enabled, look for the switch file :



              ls -l /sys/kernel/debug/vgaswitcheroo/switch


              Using vga_switcheroo
              If vga_switcheroo is available, you can switch between GPUs. Be prepared for something to go wrong and the system to lockup as the fact this file is there doesn't gaurantee the machine is supported.



              Use this command to turn on the GPU that is currently disconnected, but it doesn't switch the outputs :



              echo ON > /sys/kernel/debug/vgaswitcheroo/switch


              This command connects the integrated graphics with the outputs :



              echo IGD > /sys/kernel/debug/vgaswitcheroo/switch


              This command connects the discrete graphics with the outputs :



              echo DIS > /sys/kernel/debug/vgaswitcheroo/switch


              This command turns off the graphics card that is currently disconnected :



              echo OFF > /sys/kernel/debug/vgaswitcheroo/switch


              This command lets you check the current state of the hybrid graphics. There will usually be two lines of output - one should show Pwr and the other shows Off :



              cat /sys/kernel/debug/vgaswitcheroo/switch


              Note: This method is not supported by all system types and only works if you are using an open source driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).



              Source: https://www.dell.com/support/article/uk/en/ukbsdt1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en






              share|improve this answer
























                up vote
                0
                down vote










                up vote
                0
                down vote









                You can use vga_switcheroo which allows you to switch between GPUs if your machine has a hardware mux.



                To check whether your kernel is compiled with the correct option you can examine the file config-2.6.nn-mm-generic in the /boot directory :



                grep -i switcheroo /boot/config-*


                vga_switcheroo mechanism works when the kernel is booted with either the modeset=1 kernel option and/or the nomodeset option being absent. To test if vga_switcheroo is enabled, look for the switch file :



                ls -l /sys/kernel/debug/vgaswitcheroo/switch


                Using vga_switcheroo
                If vga_switcheroo is available, you can switch between GPUs. Be prepared for something to go wrong and the system to lockup as the fact this file is there doesn't gaurantee the machine is supported.



                Use this command to turn on the GPU that is currently disconnected, but it doesn't switch the outputs :



                echo ON > /sys/kernel/debug/vgaswitcheroo/switch


                This command connects the integrated graphics with the outputs :



                echo IGD > /sys/kernel/debug/vgaswitcheroo/switch


                This command connects the discrete graphics with the outputs :



                echo DIS > /sys/kernel/debug/vgaswitcheroo/switch


                This command turns off the graphics card that is currently disconnected :



                echo OFF > /sys/kernel/debug/vgaswitcheroo/switch


                This command lets you check the current state of the hybrid graphics. There will usually be two lines of output - one should show Pwr and the other shows Off :



                cat /sys/kernel/debug/vgaswitcheroo/switch


                Note: This method is not supported by all system types and only works if you are using an open source driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).



                Source: https://www.dell.com/support/article/uk/en/ukbsdt1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en






                share|improve this answer














                You can use vga_switcheroo which allows you to switch between GPUs if your machine has a hardware mux.



                To check whether your kernel is compiled with the correct option you can examine the file config-2.6.nn-mm-generic in the /boot directory :



                grep -i switcheroo /boot/config-*


                vga_switcheroo mechanism works when the kernel is booted with either the modeset=1 kernel option and/or the nomodeset option being absent. To test if vga_switcheroo is enabled, look for the switch file :



                ls -l /sys/kernel/debug/vgaswitcheroo/switch


                Using vga_switcheroo
                If vga_switcheroo is available, you can switch between GPUs. Be prepared for something to go wrong and the system to lockup as the fact this file is there doesn't gaurantee the machine is supported.



                Use this command to turn on the GPU that is currently disconnected, but it doesn't switch the outputs :



                echo ON > /sys/kernel/debug/vgaswitcheroo/switch


                This command connects the integrated graphics with the outputs :



                echo IGD > /sys/kernel/debug/vgaswitcheroo/switch


                This command connects the discrete graphics with the outputs :



                echo DIS > /sys/kernel/debug/vgaswitcheroo/switch


                This command turns off the graphics card that is currently disconnected :



                echo OFF > /sys/kernel/debug/vgaswitcheroo/switch


                This command lets you check the current state of the hybrid graphics. There will usually be two lines of output - one should show Pwr and the other shows Off :



                cat /sys/kernel/debug/vgaswitcheroo/switch


                Note: This method is not supported by all system types and only works if you are using an open source driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).



                Source: https://www.dell.com/support/article/uk/en/ukbsdt1/sln298475/a-guide-to-hybrid-video-on-dell-pcs-with-an-ubuntu-operating-system?lang=en







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 16 at 10:25

























                answered Apr 16 at 7:51









                Kiril Panayotov

                12




                12



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013182%2fchange-default-gpu-from-intel-to-discrete-amd%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491