Manjaro Linux를 실행하는 하이브리드 Intel/Nvidia 설정에서 Nvidia 사용

Manjaro Linux를 실행하는 하이브리드 Intel/Nvidia 설정에서 Nvidia 사용

최신 버전의 Manjaro를 실행하고 있는데 Nvidia 그래픽 카드를 사용하고 있지 않은 것을 발견했습니다.

제가 설치한 드라이버는 다음과 같습니다.

$ mhwd -l -d
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1c.4/0000:02:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:    network-r8168
   ATTACHED:    PCI
   VERSION: 2016.04.20
   INFO:    RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0200 
   VENDORIDS:   1186 10ec 



  > AVAILABLE:

   NAME:    network-r8168
   ATTACHED:    PCI
   VERSION: 2016.04.20
   INFO:    RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0200 
   VENDORIDS:   1186 10ec 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0 (0302:10de:134d)
  Display controller nVidia Corporation GM108M [GeForce 940MX]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:    video-hybrid-intel-nvidia-430xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    10
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-linux
   ATTACHED:    PCI
   VERSION: 2018.05.04
   INFO:    Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 



  > AVAILABLE:

   NAME:    video-hybrid-intel-nvidia-430xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    10
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-hybrid-intel-nvidia-418xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    9
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-hybrid-intel-nvidia-390xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.23
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-nvidia-435xx
   ATTACHED:    PCI
   VERSION: 2019.08.25
   INFO:    Closed source NVIDIA drivers for linux.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:    video-nvidia-430xx
   ATTACHED:    PCI
   VERSION: 2019.08.25
   INFO:    Closed source NVIDIA drivers for linux.
   PRIORITY:    6
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:    video-nvidia-418xx
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Closed source NVIDIA drivers for linux.
   PRIORITY:    5
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-435xx-bumblebee video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:    video-nvidia-390xx
   ATTACHED:    PCI
   VERSION: 2019.08.23
   INFO:    Closed source NVIDIA drivers for linux.
   PRIORITY:    4
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:    video-linux
   ATTACHED:    PCI
   VERSION: 2018.05.04
   INFO:    Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:1916)
  Display controller Intel Corporation HD Graphics 520
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:    video-hybrid-intel-nvidia-430xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    10
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-linux
   ATTACHED:    PCI
   VERSION: 2018.05.04
   INFO:    Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 



  > AVAILABLE:

   NAME:    video-hybrid-intel-nvidia-430xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    10
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-hybrid-intel-nvidia-418xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.24
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    9
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-hybrid-intel-nvidia-390xx-bumblebee
   ATTACHED:    PCI
   VERSION: 2019.08.23
   INFO:    Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS: -
   CONFLICTS:   video-intel video-nvidia-435xx video-nvidia-430xx video-nvidia-418xx video-nvidia-390xx video-nvidia-340xx video-hybrid-intel-nvidia-430xx-bumblebee video-hybrid-intel-nvidia-418xx-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:    video-linux
   ATTACHED:    PCI
   VERSION: 2018.05.04
   INFO:    Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

   NAME:    video-vesa
   ATTACHED:    PCI
   VERSION: 2017.03.12
   INFO:    X.org vesa video driver.
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS: -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

그런데 현재 사용하고 있는 GPU를 테스트해보면 다음과 같은 결과가 나옵니다.

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 19.1.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

Nvidia 그래픽 카드를 사용하고 둘 사이를 전환할 수 있도록 시스템을 올바르게 구성하려면 어떻게 해야 합니까?

관련 정보