How do I change the default graphics card in ubuntu to nvidia?

The command displays a list of video cards:

Код: [Выделить]
lspci -k | grep -EA2 'VGA|3D'       
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
    Subsystem: Hewlett-Packard Company Device 825d
    Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
    Subsystem: Hewlett-Packard Company GP107M [GeForce GTX 1050 Ti Mobile]
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

enter a description of the image here

Author: manking, 2019-03-25

1 answers

The problem was with secure boot.

To install the nvidia driver on a system that uses secure boot, follow these steps:

  1. Go to Programs and Updates -> Additional Drivers
  2. Select the driver versionenter a description of the image here
  3. Click apply changes.
  4. At the time of installing the driver, the secure boot window will pop up where you will need to come up with a password.
  5. After the installation is complete, you need to restart a computer.
  6. The secure boot window will appear where you need to select item 2 enroll mok. Then enter the password and continue the download in normal mode.
  7. After the download is complete, the correct driver should be displayed enter a description of the image here
 0
Author: manking, 2019-03-25 14:15:01