Sample Header Ad - 728x90

Ubuntu 22.04, Dual graphic cards, Intel for display, NVidia for GPGPU, how to setup?

1 vote
3 answers
10171 views
My laptop got 2 graphics cards, something very similar to: https://www.linuxbabe.com/desktop-linux/switch-intel-nvidia-graphics-card-ubuntu . I would like to have **Intel** graphic card for display purpose only, and **NVidia** graphic card for heavy computation (GPGPU). My questions: 1. Do I still need to install NVidia driver? It seems the driver is **for display ONLY** ? So, is it a must to install NVidia driver if I do **NOT** expect to use NVidia card for display ? 2. Without NVidia driver, will those 3rd-party libraries still be able to run? For instance, Tensorflow, etc.? From https://docs.nvidia.com/deploy/cuda-compatibility/index.html , it's clearly written that: > To build an application, a developer has to install only the CUDA > Toolkit and necessary libraries required for linking. > > In order to run a CUDA application, the system should have a CUDA > enabled GPU and an NVIDIA display driver that is compatible with the > CUDA Toolkit that was used to build the application itself. It looks to me: - In order to run CUDA application, I have to install NVidia Driver, which enables the NVidia graphics card. - However, the NVidia Driver is for display purpose. In order to use it, I have to use NVidia graphics card for display, rather than using Intel card for display??? Sorry for my naive question. A kind of conceptually confused... Looking forward to the answer.
Asked by Pei JIA (111 rep)
Jun 21, 2022, 03:17 AM
Last activity: Apr 29, 2025, 11:10 AM