Switch from integrated to dedicated graphics

I have installed NVIDIA CUDA from here.

This should include the graphics driver.

However it looks like I’m still using the integrated (Intel) graphics card:

$ lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b]
	Subsystem: Acer Incorporated [ALI] Device [1025:1264]
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device [1025:1265]
	Kernel modules: nouveau, nvidia_drm, nvidia

How can I switch from the integrated to the dedicated card?

I have disabled SecureBoot and now it seems to work :slight_smile:

$ lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] [8086:3e9b]
	Subsystem: Acer Incorporated [ALI] Device [1025:1264]
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device [1025:1265]
	Kernel driver in use: nvidia