---
# System prepended metadata

title: Display on Internal Graphic Card

---

# Display on Internal Graphic Card
Before doing the following steps, make sure your IGFX is enabled

## Disable nouveau driver

```
sudo vim /etc/modprobe.d/blacklist-nouveau.conf
```
add corresponding lines
```
blacklist nouveau
options nouveau modeset=0
```
save and run
```
sudo update-initramfs -u
```
then reboot

## Stop X
```
sudo service lightdm stop
```
> Download and install nvidia driver by RUN file without opengl files
```
sudo ./NVIDIA-Linux-x86_64-XXX.XX.run --no-opengl-files
```

## write a new xorg.conf to override X server setting
### Internal Graphic Card and 1 External Graphic Card
```
#All the settings should depends on your H/W setup

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel"
    Screen 1 "nvidia"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "SNA"
EndSection

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

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection
```

---
### Internal Graphic Card and 2 External Graphic Card
```
#All the settings should depends on your H/W setup

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel"
    Screen 1 "nvidia0"
    Screen 2 "nvidia1"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "SNA"
EndSection

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

Section "Device"
    Identifier "nvidia0"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Device"
    Identifier "nvidia1"
    Driver "nvidia"
    BusID "PCI:2@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia0"
    Device "nvidia0"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

Section "Screen"
    Identifier "nvidia1"
    Device "nvidia1"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection
```
copy this xorg.conf file to /etc/X11/xorg.conf then reboot
