loader image

How to use Intel Integrated graphics and NVIDIA GPU at same time on Linux

What makes us different from other similar websites? Forums Tech How to use Intel Integrated graphics and NVIDIA GPU at same time on Linux

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #6790
    thumbtak
    Keymaster

    1. List PCI devices

    $ lspci

    Take note of the bus id of the Intel chip

    2. Edit xorg.conf file

    Next, we need to edit the xorg.conf file to tell X to use Intel chip by default

    sudo mousepad /etc/X11/xorg.conf

    Note: Edit  “mousepad” with the editor of your choice.

    Copy this in the file but don’t forget to change it with your Bus ID

    Section "Device"
    Identifier "intel"
    Driver "intel"
    BusId "PCI:0:2:0"
    EndSection
    
    Section "Screen"
    Identifier "intel"
    Device "intel"
    EndSection1

    Reboot with the following command:
    $ sudo shutdown -r now

    3. Test it out

    Install the Intel gpu tools if don’t have them already

    $ sudo apt-get install intel-gpu-tools

    Launch the CPU usage monitoring tool

    $ sudo intel_gpu_top

    Launch some videos or other GPU intensive app and notice the usage of the Intel chip

    Launch nivdia-smi to make sure it’s at zero vram usage

    $ nvidia-smi -l 1

    You should see something like this:

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
TAKs Shack