Bug 6358

Summary: https://bugzilla.rpmfusion.org/show_bug.cgi?id=6326&GoAheadAndLogIn=1
Product: Fedora Reporter: Hans <hans.gsenger>
Component: nvidia-470xx-kmodAssignee: Vitaly <vitaly>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P1    
Version: f36   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Hans 2022-07-01 20:44:56 CEST
The   rpm-fusion drivers for nvidia aren’t implemented properly with Fedora 36 Workstation on X11.

the 470.xx Version seems good in the 1. glance, but puts out  this error  (sudo nvidia-settings)

nvidia-settings:5602): GLib-GObject-CRITICAL **: 20:13:14.268: g_object_unref: assertion 'G_IS_OBJECT (object)' failed



though the Nvidia Xserver Settings in the GIU seem to be right,   the GPU can’t be used in the  OS (for example with OBS-Studio  or some benchmarks, means no GPU is detected. 

with the 510 driver nothing works and the daemon can’t be startet .


Some Information about the system: AMD Ryzen 9 3950X with a Geforce RTX 3080

“lsmod |grep -i nvidia”
nvidia_drm             69632  8
nvidia_modeset       1204224  15 nvidia_drm
nvidia              35393536  818 nvidia_modeset


“inxi -Fxxxrz | grep nvidia”
Device-1: NVIDIA GA102 [GeForce RTX 3080] vendor: Gigabyte driver: nvidia
    compositor: gnome-shell driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  System Temperatures: cpu: 36.0 C mobo: 41.0 C gpu: nvidia temp: 50 C
  Fan Speeds (RPM): cpu: 0 gpu: nvidia fan: 0%
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
    1: rpmfusion-nonfree-nvidia-driver ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-$releasever&arch=$


uname -a
Linux ryzen9 5.18.7-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 25 20:06:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux


inxi -G
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080] driver: nvidia v: 470.129.06
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.2 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 5120x2160~60Hz
  OpenGL: renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.129.06


Thank you very much
Comment 1 Hans 2022-07-02 09:09:46 CEST
It's a non UEFI System --> CSM
Comment 2 Vitaly 2022-07-02 11:15:58 CEST
1. Never run nvidia-settings from root. It will create undeletable configs in your $HOME.
2. On GeForce RTX 3080 you should use the latest version of NVIDIA drivers (515.xx branch). 470.xx is a legacy branch for GeForce 600 and 700 series.
3. In order to use the CUDA engine with OBS Studio, Blender, etc., you must install also the -cuda subpackage.
Comment 3 Hans 2022-07-02 17:31:35 CEST
Thank you,

I'll try. Found this site 

https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/

if it would go wrong I would have a current backup with clonezilla

I'll report on the success :-)
Comment 4 Vitaly 2022-07-02 19:11:32 CEST
> I'll try. Found this site 

Never ever follow instructions from this site. It will damage your system and you will need to reinstall Fedora from scratch with root partition format.

The correct NVIDIA installation instructions: https://rpmfusion.org/Howto/NVIDIA
Comment 5 Hans 2022-07-02 23:50:59 CEST
Thank you very much, 


everything is working now, I installed over rpm nonfree the driver version 510.68.02 this was the latest version I got. And all is working, the system detects  the rtx 3080. I still have this  error

nvdia-settings

(nvidia-settings:7035): GLib-GObject-CRITICAL **: 23:46:28.336: g_object_unref: assertion 'G_IS_OBJECT (object)' failed


but it has no discernible consequences.

Thanks  again
Comment 6 Vitaly 2022-07-03 12:44:13 CEST
> (nvidia-settings:7035): GLib-GObject-CRITICAL **: 23:46:28.336: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

This is a warning. Just ignore it.