How to run both Intel and Nvidia graphics card driver on dual monitor setup?How to run second display off...

How is it possible to have an ability score that is less than 3?

What killed these X2 caps?

How to draw the figure with four pentagons?

90's TV series where a boy goes to another dimension through portal near power lines

I'm flying to France today and my passport expires in less than 2 months

SSH "lag" in LAN on some machines, mixed distros

How to take photos in burst mode, without vibration?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

CEO ridiculed me with gay jokes and grabbed me and wouldn't let go - now getting pushed out of company

What about the virus in 12 Monkeys?

How can I fix/modify my tub/shower combo so the water comes out of the showerhead?

Doing something right before you need it - expression for this?

AES: Why is it a good practice to use only the first 16bytes of a hash for encryption?

Why doesn't using multiple commands with a || or && conditional work?

Is it inappropriate for a student to attend their mentor's dissertation defense?

How can I tell someone that I want to be his or her friend?

What do you call someone who asks many questions?

Assassin's bullet with mercury

A reference to a well-known characterization of scattered compact spaces

What is going on with Captain Marvel's blood colour?

How do conventional missiles fly?

Is it possible to run Internet Explorer on OS X El Capitan?

Why do I get two different answers for this counting problem?

Alternative to sending password over mail?



How to run both Intel and Nvidia graphics card driver on dual monitor setup?


How to run second display off internal gpu?Ubuntu freezes sometimes and USB ports stop workingintel-virtual-output command for Saucy 13.10 with dual monitor setup and hybrid graphicThree screens with Nvidia video card and Intel HD graphics?Nvidia/Intel graphics card driver questionsTriple monitor on Nvidia and Intelremove nvidia graphics card and use integrated intel graphics3 Monitors, 2 graphics card (NVIDIA, Intel) on Ubuntu 15.04Dual monitor (ati r9 290 + intel integrated graphics) driver issuesDual graphics set up: NVIDIA and Intel, possible?Graphics issue with intel and nvidiaUsing intel graphics with nvidia drivers boot loop






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







8















I'm trying to get Intel and Nvidia graphics card working together with two monitors. One monitor should use the Intel card and the other the Nvidia card. Of course, I want to use only one keyboard and one mouse to switch between both screens. Bumblebee didn't work for me.



I don't want to use the xserver-xorg-video-all package because I need the Nvidia card for gaming and I can't use only one graphics card because I need one for KVM virtualisation and the other one for my Linux desktop



So I tried to install the drivers and to configure the Xserver manually. The Nvidia driver is working and I get a video output. But I don't get a video output with the Intel card.



I followed the instructions in this blog post



The config files:



/etc/X11/xorg.conf.nvidia
/etc/X11/xorg.conf.intel
/etc/lightdm/lightdm.conf



Here's a related StackOveflow post










share|improve this question































    8















    I'm trying to get Intel and Nvidia graphics card working together with two monitors. One monitor should use the Intel card and the other the Nvidia card. Of course, I want to use only one keyboard and one mouse to switch between both screens. Bumblebee didn't work for me.



    I don't want to use the xserver-xorg-video-all package because I need the Nvidia card for gaming and I can't use only one graphics card because I need one for KVM virtualisation and the other one for my Linux desktop



    So I tried to install the drivers and to configure the Xserver manually. The Nvidia driver is working and I get a video output. But I don't get a video output with the Intel card.



    I followed the instructions in this blog post



    The config files:



    /etc/X11/xorg.conf.nvidia
    /etc/X11/xorg.conf.intel
    /etc/lightdm/lightdm.conf



    Here's a related StackOveflow post










    share|improve this question



























      8












      8








      8


      6






      I'm trying to get Intel and Nvidia graphics card working together with two monitors. One monitor should use the Intel card and the other the Nvidia card. Of course, I want to use only one keyboard and one mouse to switch between both screens. Bumblebee didn't work for me.



      I don't want to use the xserver-xorg-video-all package because I need the Nvidia card for gaming and I can't use only one graphics card because I need one for KVM virtualisation and the other one for my Linux desktop



      So I tried to install the drivers and to configure the Xserver manually. The Nvidia driver is working and I get a video output. But I don't get a video output with the Intel card.



      I followed the instructions in this blog post



      The config files:



      /etc/X11/xorg.conf.nvidia
      /etc/X11/xorg.conf.intel
      /etc/lightdm/lightdm.conf



      Here's a related StackOveflow post










      share|improve this question
















      I'm trying to get Intel and Nvidia graphics card working together with two monitors. One monitor should use the Intel card and the other the Nvidia card. Of course, I want to use only one keyboard and one mouse to switch between both screens. Bumblebee didn't work for me.



      I don't want to use the xserver-xorg-video-all package because I need the Nvidia card for gaming and I can't use only one graphics card because I need one for KVM virtualisation and the other one for my Linux desktop



      So I tried to install the drivers and to configure the Xserver manually. The Nvidia driver is working and I get a video output. But I don't get a video output with the Intel card.



      I followed the instructions in this blog post



      The config files:



      /etc/X11/xorg.conf.nvidia
      /etc/X11/xorg.conf.intel
      /etc/lightdm/lightdm.conf



      Here's a related StackOveflow post







      drivers nvidia xorg multiple-monitors intel-graphics






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:39









      Community

      1




      1










      asked Mar 7 '15 at 18:33









      wulfspiderwulfspider

      43114




      43114






















          3 Answers
          3






          active

          oldest

          votes


















          14














          It is possible since 2013 using graphics offloading (see http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)



          The following uses the free drivers (nouveau) and won't work using nvidia's proprietary ones.



          I've been using this for a few months and it works well enough for me. Here's my setup :



           __nvidia__ __intel___ __nvidia__
          | | | |
          | DVI-I-1 | VGA-1 | DVI-D-1 |
          |__________|__________|__________|


          Here's what you should use if you're running off an nvidia card and would like to output a third screen via the embeded graphics (intel) :



          Xorg.conf



          # Discrete Card as Primary GPU

          Section "ServerLayout"
          Identifier "layout"
          Screen 0 "nouveau"
          Inactive "intel"
          EndSection

          Section "Device"
          Identifier "nouveau"
          Driver "nouveau"
          BusID "PCI:1:0:0" # see man lspci
          EndSection

          Section "Screen"
          Identifier "nouveau"
          Device "nouveau"
          EndSection

          Section "Device"
          Identifier "intel"
          Driver "modesetting"
          EndSection

          Section "Screen"
          Identifier "intel"
          Device "intel"
          EndSection


          Now add this to your session manager startup script :



          xrandr --setprovideroutputsource modesetting nouveau
          xrandr --output VGA-1 --mode 1920x1080
          sleep 1s
          xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 3840x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0


          Those pastes come from my own config and should be tweaked to fit your own use case. The full documentation is available here : http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html



          In this configuration, the nvidia GPU does all the rendering work. The Intel iGPU simply displays whatever the main GPU sends to it.
          Please note that the nvidia GPU is totally unaware of the state of the iGPU when it sends frames to display. That means there may be a fair amount of tearing (horizontally AND diagonaly !). For those who may wanna tru it, you can't use the "TearFree" option in your Xorg.conf.






          share|improve this answer





















          • 1





            Is there any solution for an AMD graphics card?

            – Lothar
            Sep 26 '17 at 23:28



















          3














          A little simplier than in MikaDo- post.



          Triple monitors with GT 1030 (DVI, HDMI) and Intel HD 4600 (VGA output).



          BIOS Settings:



          Primary GPU: PCI Express
          IGPU Multi-monitor: Enabled


          Worked for me on Ubuntu 14.04 with NVIDIA driver (not Nouveau, didn't try Nouveau actually), exactly like it is described in original article (http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html) (had to sleep out first! :-))



          just figure out Nvidia BUS ID with



          nvidia-xconfig --query-gpu-info


          and had to put final commands in .xprofile



          #!/bin/sh
          xrandr --setprovideroutputsource modesetting NVIDIA-0
          xrandr --auto


          then displays layout is configured with native Ubuntu Display Settings (GUI)






          share|improve this answer


























          • Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

            – taper
            Oct 3 '18 at 16:52



















          0














          I successfully let it works by following MikaDo's soltion in ubuntu 18.04



          OS : ubuntu 18.04  
          GPU : nvidia 1080ti @ nvidia 410.104 driver / CUDA 10.0
          MB: MSI Z370 tomahawk
          CPU: intel core i7 8700
          Screen1 : LG 29" 21:9 @ 1080ti/DP
          Screen2 : PHILIPS 27" 4K @ Intel Graphic/HDMI on motherboard


          1.Enable iGPU option in bios and install intel graphic driver



          2.Add the followed lines in /etc/X11/xorg.conf:
          (remember to backup before editing)



          Section "Device"
          Identifier "intel"
          Driver "modesetting"
          EndSection

          Section "Screen"
          Identifier "intel"
          Device "intel"
          EndSection


          3.



          sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
          sudo xrandr --auto



          1. Reboot. Then you'll see 2 screens both display well. (but may not works in correct resolution)
            enter image description here


          5.
          Follow this tutorial to add display mode



          In my case
          enter image description hereenter image description hereenter image description hereenter image description here





          share
























            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%2f593938%2fhow-to-run-both-intel-and-nvidia-graphics-card-driver-on-dual-monitor-setup%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            14














            It is possible since 2013 using graphics offloading (see http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)



            The following uses the free drivers (nouveau) and won't work using nvidia's proprietary ones.



            I've been using this for a few months and it works well enough for me. Here's my setup :



             __nvidia__ __intel___ __nvidia__
            | | | |
            | DVI-I-1 | VGA-1 | DVI-D-1 |
            |__________|__________|__________|


            Here's what you should use if you're running off an nvidia card and would like to output a third screen via the embeded graphics (intel) :



            Xorg.conf



            # Discrete Card as Primary GPU

            Section "ServerLayout"
            Identifier "layout"
            Screen 0 "nouveau"
            Inactive "intel"
            EndSection

            Section "Device"
            Identifier "nouveau"
            Driver "nouveau"
            BusID "PCI:1:0:0" # see man lspci
            EndSection

            Section "Screen"
            Identifier "nouveau"
            Device "nouveau"
            EndSection

            Section "Device"
            Identifier "intel"
            Driver "modesetting"
            EndSection

            Section "Screen"
            Identifier "intel"
            Device "intel"
            EndSection


            Now add this to your session manager startup script :



            xrandr --setprovideroutputsource modesetting nouveau
            xrandr --output VGA-1 --mode 1920x1080
            sleep 1s
            xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 3840x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0


            Those pastes come from my own config and should be tweaked to fit your own use case. The full documentation is available here : http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html



            In this configuration, the nvidia GPU does all the rendering work. The Intel iGPU simply displays whatever the main GPU sends to it.
            Please note that the nvidia GPU is totally unaware of the state of the iGPU when it sends frames to display. That means there may be a fair amount of tearing (horizontally AND diagonaly !). For those who may wanna tru it, you can't use the "TearFree" option in your Xorg.conf.






            share|improve this answer





















            • 1





              Is there any solution for an AMD graphics card?

              – Lothar
              Sep 26 '17 at 23:28
















            14














            It is possible since 2013 using graphics offloading (see http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)



            The following uses the free drivers (nouveau) and won't work using nvidia's proprietary ones.



            I've been using this for a few months and it works well enough for me. Here's my setup :



             __nvidia__ __intel___ __nvidia__
            | | | |
            | DVI-I-1 | VGA-1 | DVI-D-1 |
            |__________|__________|__________|


            Here's what you should use if you're running off an nvidia card and would like to output a third screen via the embeded graphics (intel) :



            Xorg.conf



            # Discrete Card as Primary GPU

            Section "ServerLayout"
            Identifier "layout"
            Screen 0 "nouveau"
            Inactive "intel"
            EndSection

            Section "Device"
            Identifier "nouveau"
            Driver "nouveau"
            BusID "PCI:1:0:0" # see man lspci
            EndSection

            Section "Screen"
            Identifier "nouveau"
            Device "nouveau"
            EndSection

            Section "Device"
            Identifier "intel"
            Driver "modesetting"
            EndSection

            Section "Screen"
            Identifier "intel"
            Device "intel"
            EndSection


            Now add this to your session manager startup script :



            xrandr --setprovideroutputsource modesetting nouveau
            xrandr --output VGA-1 --mode 1920x1080
            sleep 1s
            xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 3840x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0


            Those pastes come from my own config and should be tweaked to fit your own use case. The full documentation is available here : http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html



            In this configuration, the nvidia GPU does all the rendering work. The Intel iGPU simply displays whatever the main GPU sends to it.
            Please note that the nvidia GPU is totally unaware of the state of the iGPU when it sends frames to display. That means there may be a fair amount of tearing (horizontally AND diagonaly !). For those who may wanna tru it, you can't use the "TearFree" option in your Xorg.conf.






            share|improve this answer





















            • 1





              Is there any solution for an AMD graphics card?

              – Lothar
              Sep 26 '17 at 23:28














            14












            14








            14







            It is possible since 2013 using graphics offloading (see http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)



            The following uses the free drivers (nouveau) and won't work using nvidia's proprietary ones.



            I've been using this for a few months and it works well enough for me. Here's my setup :



             __nvidia__ __intel___ __nvidia__
            | | | |
            | DVI-I-1 | VGA-1 | DVI-D-1 |
            |__________|__________|__________|


            Here's what you should use if you're running off an nvidia card and would like to output a third screen via the embeded graphics (intel) :



            Xorg.conf



            # Discrete Card as Primary GPU

            Section "ServerLayout"
            Identifier "layout"
            Screen 0 "nouveau"
            Inactive "intel"
            EndSection

            Section "Device"
            Identifier "nouveau"
            Driver "nouveau"
            BusID "PCI:1:0:0" # see man lspci
            EndSection

            Section "Screen"
            Identifier "nouveau"
            Device "nouveau"
            EndSection

            Section "Device"
            Identifier "intel"
            Driver "modesetting"
            EndSection

            Section "Screen"
            Identifier "intel"
            Device "intel"
            EndSection


            Now add this to your session manager startup script :



            xrandr --setprovideroutputsource modesetting nouveau
            xrandr --output VGA-1 --mode 1920x1080
            sleep 1s
            xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 3840x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0


            Those pastes come from my own config and should be tweaked to fit your own use case. The full documentation is available here : http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html



            In this configuration, the nvidia GPU does all the rendering work. The Intel iGPU simply displays whatever the main GPU sends to it.
            Please note that the nvidia GPU is totally unaware of the state of the iGPU when it sends frames to display. That means there may be a fair amount of tearing (horizontally AND diagonaly !). For those who may wanna tru it, you can't use the "TearFree" option in your Xorg.conf.






            share|improve this answer















            It is possible since 2013 using graphics offloading (see http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html)



            The following uses the free drivers (nouveau) and won't work using nvidia's proprietary ones.



            I've been using this for a few months and it works well enough for me. Here's my setup :



             __nvidia__ __intel___ __nvidia__
            | | | |
            | DVI-I-1 | VGA-1 | DVI-D-1 |
            |__________|__________|__________|


            Here's what you should use if you're running off an nvidia card and would like to output a third screen via the embeded graphics (intel) :



            Xorg.conf



            # Discrete Card as Primary GPU

            Section "ServerLayout"
            Identifier "layout"
            Screen 0 "nouveau"
            Inactive "intel"
            EndSection

            Section "Device"
            Identifier "nouveau"
            Driver "nouveau"
            BusID "PCI:1:0:0" # see man lspci
            EndSection

            Section "Screen"
            Identifier "nouveau"
            Device "nouveau"
            EndSection

            Section "Device"
            Identifier "intel"
            Driver "modesetting"
            EndSection

            Section "Screen"
            Identifier "intel"
            Device "intel"
            EndSection


            Now add this to your session manager startup script :



            xrandr --setprovideroutputsource modesetting nouveau
            xrandr --output VGA-1 --mode 1920x1080
            sleep 1s
            xrandr --output VGA-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DVI-D-1 --mode 1920x1080 --pos 3840x0 --output DVI-I-1 --mode 1920x1080 --pos 0x0


            Those pastes come from my own config and should be tweaked to fit your own use case. The full documentation is available here : http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html



            In this configuration, the nvidia GPU does all the rendering work. The Intel iGPU simply displays whatever the main GPU sends to it.
            Please note that the nvidia GPU is totally unaware of the state of the iGPU when it sends frames to display. That means there may be a fair amount of tearing (horizontally AND diagonaly !). For those who may wanna tru it, you can't use the "TearFree" option in your Xorg.conf.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 6 '17 at 12:10

























            answered Sep 4 '16 at 23:48









            MikaDo-MikaDo-

            14114




            14114








            • 1





              Is there any solution for an AMD graphics card?

              – Lothar
              Sep 26 '17 at 23:28














            • 1





              Is there any solution for an AMD graphics card?

              – Lothar
              Sep 26 '17 at 23:28








            1




            1





            Is there any solution for an AMD graphics card?

            – Lothar
            Sep 26 '17 at 23:28





            Is there any solution for an AMD graphics card?

            – Lothar
            Sep 26 '17 at 23:28













            3














            A little simplier than in MikaDo- post.



            Triple monitors with GT 1030 (DVI, HDMI) and Intel HD 4600 (VGA output).



            BIOS Settings:



            Primary GPU: PCI Express
            IGPU Multi-monitor: Enabled


            Worked for me on Ubuntu 14.04 with NVIDIA driver (not Nouveau, didn't try Nouveau actually), exactly like it is described in original article (http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html) (had to sleep out first! :-))



            just figure out Nvidia BUS ID with



            nvidia-xconfig --query-gpu-info


            and had to put final commands in .xprofile



            #!/bin/sh
            xrandr --setprovideroutputsource modesetting NVIDIA-0
            xrandr --auto


            then displays layout is configured with native Ubuntu Display Settings (GUI)






            share|improve this answer


























            • Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

              – taper
              Oct 3 '18 at 16:52
















            3














            A little simplier than in MikaDo- post.



            Triple monitors with GT 1030 (DVI, HDMI) and Intel HD 4600 (VGA output).



            BIOS Settings:



            Primary GPU: PCI Express
            IGPU Multi-monitor: Enabled


            Worked for me on Ubuntu 14.04 with NVIDIA driver (not Nouveau, didn't try Nouveau actually), exactly like it is described in original article (http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html) (had to sleep out first! :-))



            just figure out Nvidia BUS ID with



            nvidia-xconfig --query-gpu-info


            and had to put final commands in .xprofile



            #!/bin/sh
            xrandr --setprovideroutputsource modesetting NVIDIA-0
            xrandr --auto


            then displays layout is configured with native Ubuntu Display Settings (GUI)






            share|improve this answer


























            • Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

              – taper
              Oct 3 '18 at 16:52














            3












            3








            3







            A little simplier than in MikaDo- post.



            Triple monitors with GT 1030 (DVI, HDMI) and Intel HD 4600 (VGA output).



            BIOS Settings:



            Primary GPU: PCI Express
            IGPU Multi-monitor: Enabled


            Worked for me on Ubuntu 14.04 with NVIDIA driver (not Nouveau, didn't try Nouveau actually), exactly like it is described in original article (http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html) (had to sleep out first! :-))



            just figure out Nvidia BUS ID with



            nvidia-xconfig --query-gpu-info


            and had to put final commands in .xprofile



            #!/bin/sh
            xrandr --setprovideroutputsource modesetting NVIDIA-0
            xrandr --auto


            then displays layout is configured with native Ubuntu Display Settings (GUI)






            share|improve this answer















            A little simplier than in MikaDo- post.



            Triple monitors with GT 1030 (DVI, HDMI) and Intel HD 4600 (VGA output).



            BIOS Settings:



            Primary GPU: PCI Express
            IGPU Multi-monitor: Enabled


            Worked for me on Ubuntu 14.04 with NVIDIA driver (not Nouveau, didn't try Nouveau actually), exactly like it is described in original article (http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html) (had to sleep out first! :-))



            just figure out Nvidia BUS ID with



            nvidia-xconfig --query-gpu-info


            and had to put final commands in .xprofile



            #!/bin/sh
            xrandr --setprovideroutputsource modesetting NVIDIA-0
            xrandr --auto


            then displays layout is configured with native Ubuntu Display Settings (GUI)







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 19 '17 at 6:48

























            answered Nov 19 '17 at 6:40









            nazar kuliyevnazar kuliyev

            1313




            1313













            • Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

              – taper
              Oct 3 '18 at 16:52



















            • Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

              – taper
              Oct 3 '18 at 16:52

















            Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

            – taper
            Oct 3 '18 at 16:52





            Just an update of the link to the documentation: <us.download.nvidia.com/XFree86/Linux-x86/375.26/README/…>. Also, it seems that synchronization is supported now, although I have not tested it.

            – taper
            Oct 3 '18 at 16:52











            0














            I successfully let it works by following MikaDo's soltion in ubuntu 18.04



            OS : ubuntu 18.04  
            GPU : nvidia 1080ti @ nvidia 410.104 driver / CUDA 10.0
            MB: MSI Z370 tomahawk
            CPU: intel core i7 8700
            Screen1 : LG 29" 21:9 @ 1080ti/DP
            Screen2 : PHILIPS 27" 4K @ Intel Graphic/HDMI on motherboard


            1.Enable iGPU option in bios and install intel graphic driver



            2.Add the followed lines in /etc/X11/xorg.conf:
            (remember to backup before editing)



            Section "Device"
            Identifier "intel"
            Driver "modesetting"
            EndSection

            Section "Screen"
            Identifier "intel"
            Device "intel"
            EndSection


            3.



            sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
            sudo xrandr --auto



            1. Reboot. Then you'll see 2 screens both display well. (but may not works in correct resolution)
              enter image description here


            5.
            Follow this tutorial to add display mode



            In my case
            enter image description hereenter image description hereenter image description hereenter image description here





            share




























              0














              I successfully let it works by following MikaDo's soltion in ubuntu 18.04



              OS : ubuntu 18.04  
              GPU : nvidia 1080ti @ nvidia 410.104 driver / CUDA 10.0
              MB: MSI Z370 tomahawk
              CPU: intel core i7 8700
              Screen1 : LG 29" 21:9 @ 1080ti/DP
              Screen2 : PHILIPS 27" 4K @ Intel Graphic/HDMI on motherboard


              1.Enable iGPU option in bios and install intel graphic driver



              2.Add the followed lines in /etc/X11/xorg.conf:
              (remember to backup before editing)



              Section "Device"
              Identifier "intel"
              Driver "modesetting"
              EndSection

              Section "Screen"
              Identifier "intel"
              Device "intel"
              EndSection


              3.



              sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
              sudo xrandr --auto



              1. Reboot. Then you'll see 2 screens both display well. (but may not works in correct resolution)
                enter image description here


              5.
              Follow this tutorial to add display mode



              In my case
              enter image description hereenter image description hereenter image description hereenter image description here





              share


























                0












                0








                0







                I successfully let it works by following MikaDo's soltion in ubuntu 18.04



                OS : ubuntu 18.04  
                GPU : nvidia 1080ti @ nvidia 410.104 driver / CUDA 10.0
                MB: MSI Z370 tomahawk
                CPU: intel core i7 8700
                Screen1 : LG 29" 21:9 @ 1080ti/DP
                Screen2 : PHILIPS 27" 4K @ Intel Graphic/HDMI on motherboard


                1.Enable iGPU option in bios and install intel graphic driver



                2.Add the followed lines in /etc/X11/xorg.conf:
                (remember to backup before editing)



                Section "Device"
                Identifier "intel"
                Driver "modesetting"
                EndSection

                Section "Screen"
                Identifier "intel"
                Device "intel"
                EndSection


                3.



                sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
                sudo xrandr --auto



                1. Reboot. Then you'll see 2 screens both display well. (but may not works in correct resolution)
                  enter image description here


                5.
                Follow this tutorial to add display mode



                In my case
                enter image description hereenter image description hereenter image description hereenter image description here





                share













                I successfully let it works by following MikaDo's soltion in ubuntu 18.04



                OS : ubuntu 18.04  
                GPU : nvidia 1080ti @ nvidia 410.104 driver / CUDA 10.0
                MB: MSI Z370 tomahawk
                CPU: intel core i7 8700
                Screen1 : LG 29" 21:9 @ 1080ti/DP
                Screen2 : PHILIPS 27" 4K @ Intel Graphic/HDMI on motherboard


                1.Enable iGPU option in bios and install intel graphic driver



                2.Add the followed lines in /etc/X11/xorg.conf:
                (remember to backup before editing)



                Section "Device"
                Identifier "intel"
                Driver "modesetting"
                EndSection

                Section "Screen"
                Identifier "intel"
                Device "intel"
                EndSection


                3.



                sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
                sudo xrandr --auto



                1. Reboot. Then you'll see 2 screens both display well. (but may not works in correct resolution)
                  enter image description here


                5.
                Follow this tutorial to add display mode



                In my case
                enter image description hereenter image description hereenter image description hereenter image description here






                share











                share


                share










                answered 2 mins ago









                cswucswu

                862




                862






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f593938%2fhow-to-run-both-intel-and-nvidia-graphics-card-driver-on-dual-monitor-setup%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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...