Nvidia Prime Render Offload “On-Demand” doesn’t work with nvidia-driver-450 and ubuntu 20.04.1

Spread the love

I’ve installed Nvidia 450 on new installation of Kubuntu 20.04.1.
Prime Render Offload works in manual mode with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
But nvidia-settings says prime is not supported.
And so I have no prime entry in the nvidia window as you can see below.
So I think the swith between integrated and nvidia GPU will not be automatic and the “on demand” does not work.
What is wrong ? Thank you for your help.
Computer :
Asus A17-TUF766IU-H7074T
OS Details :
Kubuntu 20.04.1 with mainline 5.8.8 kernel
Nvidia Driver version : 450.66
Desktop Environment : Plasma
Window Manager : KDE
Hardware Details
Processor : AMD Ryzen 4800H
GPU : GeForce GTX 1660 Ti 6 Go
[email protected]:~$ __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

[email protected]:~$ 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

[email protected]:~$ 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

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

X ITM Cloud News


Leave a Reply

Next Post

run a command at startup with lightDM

Fri Sep 11 , 2020
Spread the love          I’m using lightDM as a greeter. I need to perform a command before the login screen. I’ve put a file called “rotate.conf” inside the /etc/lightdm/lightdm.conf.d folder. That file contains a command to rotate the second monitor (it is the only way to have it works properly). I’ve tried […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware