F39: Nvidia driver application menus blanking

Hi all,

I freshly installed Fedora 39 on my desktop computer. Initially, everything runs fine, but once I install the Nvidia drivers FreeCAD and KiCAD start getting rendering issues where the menus or even the full application is black. This happens in such a high frequency that it makes the application unusable for me.

I have a Nvidia Geforce RTX 3060 Ti, I followed this tutorial to install the drivers. Driver version is 545.29.06, kernel version is 6.7.4

At the moment I have no idea what to search for, what kind of problem this is? The only thing I currently have is that both use Qt, but I didn’t find anything yet which could help my issue.

I tried multiple reboots, removed the Nvidia drivers again and reinstalled them.

Thanks in advance for your help.

From Proposed Common Issues to Ask Fedora

I had a similar issue with FreeCAD and wound up switching to using the appimage for it. It seems that at present FreeCAD may not properly operate with python 3.12 which is the default version for Fedora 39.

My GPU is an nvidia RTX 3050 and I have the same drivers and kernel version as you show.

Thanks for the hint. I just downloaded the appimage, unfortunately the issue persists.

I checked dmesg, but I didn’t find anything but this:

[    6.167308] nvidia: loading out-of-tree module taints kernel.
[    6.167313] nvidia: module license 'NVIDIA' taints kernel.
[    6.167314] Disabling lock debugging due to kernel taint
[    6.167316] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    6.167318] nvidia: module license taints kernel.
[    6.498181] nvidia-nvlink: Nvlink Core is being initialized, major device number 235

[    6.499227] nvidia 0000:2b:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[    6.515670] RPC: Registered named UNIX socket transport module.
[    6.515672] RPC: Registered udp transport module.
[    6.515672] RPC: Registered tcp transport module.
[    6.515673] RPC: Registered tcp-with-tls transport module.
[    6.515674] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.545301] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  545.29.06  Thu Nov 16 01:59:08 UTC 2023
[    6.595001] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    6.680415] nvidia-uvm: Loaded the UVM driver, major device number 511.
[    6.718439] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  545.29.06  Thu Nov 16 01:47:29 UTC 2023

nvidia-smi outputs the following:

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 Ti     Off | 00000000:2B:00.0  On |                  N/A |
|  0%   34C    P8              16W / 200W |    680MiB /  8192MiB |      7%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2436      G   /usr/bin/gnome-shell                        305MiB |
|    0   N/A  N/A      3397      G   /usr/lib64/firefox/firefox                  213MiB |
|    0   N/A  N/A      4469      G   /usr/bin/Xwayland                            55MiB |
|    0   N/A  N/A      5114      G   FreeCAD                                      58MiB |
+---------------------------------------------------------------------------------------+