Nvidia Prime Render Offload "On-Demand"는 nvidia-driver-450 및 ubuntu 20.04.1에서 작동하지 않습니다.

Nvidia Prime Render Offload "On-Demand"는 nvidia-driver-450 및 ubuntu 20.04.1에서 작동하지 않습니다.

Kubuntu 20.04.1을 새로 설치할 때 Nvidia 450을 설치했습니다.

Prime Render Offload는 수동 모드에서 작동합니다.__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia

그러나 nvidia-settings프라임은 지원되지 않는다고 합니다. 따라서 아래에서 볼 수 있듯이 NVIDIA 창에는 주요 항목이 없습니다.

그래서 저는 통합 GPU와 NVIDIA GPU 사이의 전환이자동적이지 않다"주문형"은 작동하지 않습니다.

뭐가 잘못 되었 니 ? 도움을 주셔서 감사합니다.

컴퓨터 : 아수스 A17-TUF766IU-H7074T

OS 세부정보: 메인라인 5.8.8 커널이 포함된 Kubuntu 20.04.1 Nvidia 드라이버 버전: 450.66 데스크탑 환경: 플라즈마 창 관리자: KDE

하드웨어 세부정보 프로세서 : AMD Ryzen 4800H GPU : GeForce GTX 1660 Ti 6 Go

meloli@Asus-A17:~$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1660 Ti/PCIe/SSE2
OpenGL version string: 4.6.0 NVIDIA 450.66

meloli@Asus-A17:~$  glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RENOIR (DRM 3.38.0, 5.8.8-050808-generic, LLVM 10.0.0)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.8

그리고

meloli@Asus-A17:~$ nvidia-settings
 
(nvidia-settings:6099): GLib-GObject-CRITICAL **: 14:05:53.205: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
       application profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and
       descriptions.

** Message: 14:05:53.270: PRIME: No offloading required. Abort
** Message: 14:05:53.271: PRIME: is it supported? no

여기에 이미지 설명을 입력하세요

답변1

리눅스에는 자동 스위치가 없습니다(자동 전환은 Windows에서만 작동함) Nvidia GPU 사용은 명령 앞에 접두사를 수동으로 추가해야만 수행할 수 있습니다.

불칸의 경우:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=non_NVIDIA_only

GLX + OpenGL의 경우

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia

하지만 거기에는약간의 버그런치패드에서 보고했습니다. PRIME 프로필은 NVIDIA 설정에 표시되지 않습니다.450 드라이버로. https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1895327

편집하다프라임 프로필이제 마지막 드라이버에 있습니다.

원천 :

관련 정보