Llvmpipe (LLVM 12.0.0, 256 bits) instead of NVIDIA RTX 3050 on ubuntu 20.04

Good Morning,
I’am trying to use the Nvidia graphic on my dual boot ubuntu 20.04.
i’am using NVIDIA driver metapackage from nvidia-driver-550 (proprietary), but of the ubuntu information seems that I am using llvmpipe (LLVM 12.0.0, 256 bits). More over I can not control brightness and I can not connect a second monitor.

here the result of nvidia-bug-report.sh

nvidia-bug-report.log.gz (122.1 KB)

the issue is with your intel igpu, the 5.4 kernel being to old for it. Please switch to the HWE kernel:

sudo apt install --install-recommends linux-generic-hwe-20.04 

Now it’s really better.
I can use 2 monitor and control brightness.
The performance also are really improved, but now in the ubuntu information I have
Graphics: Mesa Intel® Xe Graphics (TGL GT2) and not the NVIDIA

new report:
nvidia-bug-report.log.gz (171.5 KB)

Please disable secure boot in bios, the nvidia driver is not signed.
Afterwards, the nvidia gpu is in offload mode, the desktop running on the intel gpu. To invoke the nvidia gpu, you’ll then have to prepend
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
to the application you want to use or use
sudo prime-select nvidia
and reboot to select the nvidia gpu to run always.

I’ve tried to disable secure boot and then change to nvidia by the command sudo prime-select nvidia.
When I reboot the system it doesn’t start. Stops during boot and does not get to the login screen

new report:
nvidia-bug-report.log.gz (170.0 KB)

Please delete /etc/X11/xorg.conf

Thank you very much for the support, It works!

You need space between rm command and it’s parameter. rm is a command.