GPU artefacts in fedora 41 workstation Gnome

Hello, I have a thinkpad p16v g1 with amd 7 CPU and NVidia RTX A500 GPU. I have installed nvidia drivers, and I have some artefacts, and sometimes freezes that force me to reboot with the power button. I have them since I switched to fedora41 from 40. I have them on all linux distributions, except fedora 40 and fedora 41 is now the best working distro for my laptop.
Here is more of my hardware info:

H/W path            Device          Class          Description
==============================================================
                                    system         21FECTO1WW (LENOVO_MT_21FE_BU_Think_FM_ThinkPad P16v Gen 1)
/0                                  bus            21FECTO1WW
/0/0                                memory         512KiB L1 cache
/0/1                                memory         8MiB L2 cache
/0/2                                memory         16MiB L3 cache
/0/3                                processor      AMD Ryzen 7 PRO 7840HS w/ Radeon 780M Graphics
/0/5                                memory         32GiB System Memory
/0/5/0                              memory         16GiB SODIMM Synchronous Unbuffered (Unregistered) 5600 MHz (0.2 ns)
/0/5/1                              memory         16GiB SODIMM Synchronous Unbuffered (Unregistered) 5600 MHz (0.2 ns)
/0/f                                memory         128KiB BIOS
/0/100                              bridge         Phoenix Root Complex
/0/100/0.2                          generic        Phoenix IOMMU
/0/100/1.1                          bridge         Phoenix GPP Bridge
/0/100/1.1/0                        display        GA107GLM [RTX A500 Laptop GPU]
/0/100/1.2                          bridge         Phoenix GPP Bridge
/0/100/1.2/0        /dev/nvme0      storage        SM2P41C8-256GC
/0/100/1.2/0/0      hwmon3          disk           NVMe disk
/0/100/1.2/0/2      /dev/ng0n1      disk           NVMe disk
/0/100/1.2/0/1      /dev/nvme0n1    volume         238GiB EXT4 volume
/0/100/2.2                          bridge         Phoenix GPP Bridge
/0/100/2.2/0        wlp3s0          network        QCNFA765 Wireless Network Adapter
/0/100/2.3                          bridge         Phoenix GPP Bridge
/0/100/2.3/0        mmc0            bus            RTS5261 PCI Express Card Reader
/0/100/2.4                          bridge         Phoenix GPP Bridge
/0/100/2.4/0        /dev/nvme1      storage        SAMSUNG MZVL4512HBLU-00BLL
/0/100/2.4/0/0      hwmon4          disk           NVMe disk
/0/100/2.4/0/2      /dev/ng1n1      disk           NVMe disk
/0/100/2.4/0/1      /dev/nvme1n1    disk           512GB NVMe disk
/0/100/2.4/0/1/1                    volume         599MiB Windows FAT volume
/0/100/2.4/0/1/2    /dev/nvme1n1p2  volume         1GiB EXT4 volume
/0/100/2.4/0/1/3    /dev/nvme1n1p3  volume         475GiB EFI partition
/0/100/3.1                          bridge         Family 19h USB4/Thunderbolt PCIe tunnel
/0/100/4.1                          bridge         Family 19h USB4/Thunderbolt PCIe tunnel
/0/100/8.1                          bridge         Phoenix Internal GPP Bridge to Bus [C:A]
/0/100/8.1/0                        display        Phoenix1
/0/100/8.1/0.1      card0           multimedia     Rembrandt Radeon High Definition Audio Controller
/0/100/8.1/0.1/0    input17         input          HD-Audio Generic HDMI/DP,pcm=3
/0/100/8.1/0.1/1    input18         input          HD-Audio Generic HDMI/DP,pcm=7
/0/100/8.1/0.1/2    input19         input          HD-Audio Generic HDMI/DP,pcm=8
/0/100/8.1/0.1/3    input20         input          HD-Audio Generic HDMI/DP,pcm=9
/0/100/8.1/0.2                      generic        Phoenix CCP/PSP 3.0 Device
/0/100/8.1/0.3                      bus            Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.3/0    usb1            bus            xHCI Host Controller
/0/100/8.1/0.3/0/2  input6          input          SteelSeries SteelSeries Rival 3 Wireless Keyboard
/0/100/8.1/0.3/0/3                  communication  Bluetooth wireless interface
/0/100/8.1/0.3/0/5                  generic        Generic USB device
/0/100/8.1/0.3/1    usb2            bus            xHCI Host Controller
/0/100/8.1/0.4                      bus            Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.4/0    usb3            bus            xHCI Host Controller
/0/100/8.1/0.4/0/1                  multimedia     Integrated Camera
/0/100/8.1/0.4/1    usb4            bus            xHCI Host Controller
/0/100/8.1/0.5      card2           multimedia     ACP/ACP3X/ACP6x Audio Coprocessor
/0/100/8.1/0.6      card1           multimedia     Family 17h/19h/1ah HD Audio Controller
/0/100/8.1/0.6/0    input21         input          HD-Audio Generic Mic
/0/100/8.1/0.6/1    input22         input          HD-Audio Generic Headphone
/0/100/8.2                          bridge         Phoenix Internal GPP Bridge to Bus [C:A]
/0/100/8.2/0                        generic        Phoenix Dummy Function
/0/100/8.2/0.1                      generic        AMD IPU Device
/0/100/8.3                          bridge         Phoenix Internal GPP Bridge to Bus [C:A]
/0/100/8.3/0                        generic        Phoenix Dummy Function
/0/100/8.3/0.3                      bus            Advanced Micro Devices, Inc. [AMD]
/0/100/8.3/0.3/0    usb5            bus            xHCI Host Controller
/0/100/8.3/0.3/1    usb6            bus            xHCI Host Controller
/0/100/8.3/0.4                      bus            Advanced Micro Devices, Inc. [AMD]
/0/100/8.3/0.4/0    usb7            bus            xHCI Host Controller
/0/100/8.3/0.4/1    usb8            bus            xHCI Host Controller
/0/100/8.3/0.5                      bus            Pink Sardine USB4/Thunderbolt NHI controller #1
/0/100/8.3/0.6                      bus            Pink Sardine USB4/Thunderbolt NHI controller #2
/0/100/14                           bus            FCH SMBus Controller
/0/100/14.3                         bridge         FCH LPC Bridge
/0/100/14.3/0                       system         PnP device PNP0c02
/0/100/14.3/1                       system         PnP device PNP0b00
/0/100/14.3/2                       generic        PnP device LEN0071
/0/100/14.3/3                       generic        PnP device LEN031a
/0/100/14.3/4                       system         PnP device PNP0c02
/0/100/14.3/5                       system         PnP device PNP0c01
/0/101                              bridge         Phoenix Dummy Host Bridge
/0/102                              bridge         Phoenix Dummy Host Bridge
/0/103                              bridge         Phoenix Dummy Host Bridge
/0/104                              bridge         Phoenix Dummy Host Bridge
/0/105                              bridge         Phoenix Dummy Host Bridge
/0/106                              bridge         Phoenix Data Fabric; Function 0
/0/107                              bridge         Phoenix Data Fabric; Function 1
/0/108                              bridge         Phoenix Data Fabric; Function 2
/0/109                              bridge         Phoenix Data Fabric; Function 3
/0/10a                              bridge         Phoenix Data Fabric; Function 4
/0/10b                              bridge         Phoenix Data Fabric; Function 5
/0/10c                              bridge         Phoenix Data Fabric; Function 6
/0/10d                              bridge         Phoenix Data Fabric; Function 7
/1                                  power          5B11H56373
/2                  input0          input          Power Button
/3                  input1          input          Lid Switch
/4                  input11         input          Video Bus
/5                  input12         input          ELAN0683:00 04F3:320B Mouse
/6                  input14         input          ELAN0683:00 04F3:320B Touchpad
/7                  input15         input          PC Speaker
/8                  input16         input          ThinkPad Extra Buttons
/9                  input2          input          Sleep Button
/a                  input23         input          JBL E45BT (AVRCP)
/b                  input3          input          AT Translated Set 2 keyboard
/c                  input5          input          TPPS/2 Elan TrackPoint

Any kind of help will be much appreciated, thanks.

The vulkan renderer might be the culprit. Can you try if switching to ngl (shipped with F40) or gl (used before F40) makes any difference?

echo export GSK_RENDERER=ngl | sudo tee /etc/profile.d/gsk_renderer.sh > /dev/null

Reboot would be needed.

I ran the command and rebooted. I don’t know if it worked yet, the artefacts sometimes take some time to appear. Thanks for your reply!

1 Like

Hello, I just noticed an artefact. They are rare, but noticeable.

Are you using the drivers from RPM Fusion?

What is the output of dnf list --installed "*nvidia*" and inxi -Fzxx?

When there’s a freeze, did you see a pattern (e.g. specific apps open)? Do the logs mention something (e.g. running journalctl -b -1 -e after rebooting, following a freeze)?

Hello, yes I am using the nvidia drivers from the RPM repositories. Actually, it’s been a long time since the last freeze so this might be solved.
I don’t have my laptop right now but I will share the output of the first command as soon as I can.

1 Like
$ dnf list --installed "*nvidia*"
Installed packages
akmod-nvidia.x86_64                        3:565.57.01-2.fc41 rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.11.11-300.fc41.x86_64.x86_64 3:565.57.01-2.fc41 @commandline
nvidia-gpu-firmware.noarch                 20241110-1.fc41    updates
nvidia-modprobe.x86_64                     3:565.57.01-1.fc41 rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                 3:565.57.01-1.fc41 rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                     3:565.57.01-1.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                 3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64            3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686         3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64       3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64         3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686              3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64            3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64           3:565.57.01-3.fc41 rpmfusion-nonfree-nvidia-driver

Hello, this is the output.

I realised that glitches happened when I swithched from normal to full screen mode in youtube video in 4K. This is not the only time it happened, but it did twice on 20 switches. And twice out of the 4 total artefacts since the start of this topic.

Also, I sometimes have some input lag, like some things take some time to display. e.g. when I right click in firefox, the pop up takes some time to appear.