Hi there folks,
I’ve always ran into issues when it comes to Nvidia/intel GPU ever since the beginnig and the solution, at the time, was to use only the intel GPU, which i intend to keep. However i now need to program something in CUDA for classes and i would like to properly set it up.
From the Manjaro Setting Manager i see that i have the following installed
video-hybrid-intel-nvidia-430xx-bumblebee, the most recent version of bumblebee, but prime has available
video-hybrid-intel-nvidia-455xx-prime but from my understanding prime forces the whole display to use the Nvidia GPU, right?
When trying to install
sudo pacman -S cuda and after picking the providers i thought worked in my machine the following happens:
$ sudo pacman -S cuda resolving dependencies... :: There are 8 providers available for opencl-nvidia: :: Repository extra 1) opencl-nvidia-340xx 2) opencl-nvidia-390xx 3) opencl-nvidia-418xx 4) opencl-nvidia-430xx 5) opencl-nvidia-435xx 6) opencl-nvidia-440xx 7) opencl-nvidia-450xx 8) opencl-nvidia-455xx Enter a number (default=1): 4 :: There are 2 providers available for nvidia-utils>=450.51.06: :: Repository extra 1) nvidia-450xx-utils 2) nvidia-455xx-utils Enter a number (default=1): 1 looking for conflicting packages... :: nvidia-450xx-utils and nvidia-430xx-utils are in conflict (nvidia-libgl). Remove nvidia-430xx-utils? [y/N] n error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: nvidia-450xx-utils and nvidia-430xx-utils are in conflict
Because i intend to keep my system running only on the intel GPU and the nvidia GPU to wake up only when i run something that requires
cuda i’m unsure if i can update or not.
Other thing to mention is the 2 files in my
mhwd-nvidia.conf with the following contents:
$ cat mhwd-bbswitch.conf ## ## Generated by mhwd - Manjaro Hardware Detection ## options bbswitch load_state=0 unload_state=0
## ## Generated by mhwd - Manjaro Hardware Detection ## blacklist nouveau blacklist nvidia blacklist nvidia-modeset blacklist nvidia-uvm blacklist ttm blacklist drm_kms_helper blacklist drm
The archwiki as me in a loop of articles and manjaro wiki regarding the matter at hand - link - made no mentions to CUDA or the intended behavior that i expect my machine to have, as i’m pretty sure i don’t want anything to do with prime or bumblebee as i’m just expecting my machine to run programs i tell it to.
- Lenovo Y520
- Manjaro x64
- Kernel: 5.4 LTS
- dGPU: Nvidia 1050ti
- iGPU: Intel HD Graphics 630
- DE: i3