RTX 3060 does'nt work well and nvidia-settings are empty

Hi! I have a problem with my RTX 3060, my laptop is Lenovo Legion 5 with Fedora 37 and it has RTX 3060 and Radeon GPU

My nvidia-settings are empty and when i start it i have this:

nvidia-settings

(nvidia-settings:4684): GLib-GObject-CRITICAL **: 16:33:42.968: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

** (nvidia-settings:4684): WARNING **: 16:33:43.014: AT-SPI: Could not obtain desktop path or name

** (nvidia-settings:4684): WARNING **: 16:33:43.015: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (nvidia-settings:4684): WARNING **: 16:33:43.015: atk-bridge: get_device_events_reply: unknown signature

** (nvidia-settings:4684): WARNING **: 16:33:43.015: atk-bridge: get_device_events_reply: unknown signature

And so, i can’t run nvidia-xconfig, it’s just does’nt starts.

As far as i can see nvidia card is not used at all:

xrandr --listproviders
Providers: number : 0

Please help!

This rather looks as if no graphics driver is working at all and xorg is running on fbdev.
Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

nvidia-bug-report.log (653.5 KB)
Here you go

You’re running a Wayland session, so it’s normal the Xorg tools don’t work.
The Nvidia gpu can only be used with Xwayland + render offloading.
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor

Having this output:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation

That’s the correct output.

Okay, so what do i do? How can i start Xwayland and render offload session?

Either by prepending
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
to the X11 application you want to run on the nvidia or right-click on an icon and choose “run on dgpu”.

The problem is i basically have no output on this command

e.g.
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears