Screen Artifacts and Tearing After Kernel Headers Update with Dual GPUs

I am experiencing screen artifacts and tearing issues after updating kernel-devel and kernel-headers on my Fedora-based system. The problem manifests as horizontal lines or tearing, often appearing when scrolling or pressing keys. My system has two GPUs:

  • NVIDIA RTX 3050
  • AMD Radeon

These artifacts started occurring after the kernel headers update. It seems to be related to the dual GPU setup or an issue with the drivers/kernel modules.

Steps to Reproduce:

  1. Update kernel-devel and kernel-headers packages.
  2. Reboot the system.
  3. Use the system normally (e.g., scroll through documents, press keys).
  4. Notice screen tearing or horizontal lines appearing randomly.

System Information:

  • OS Version: Fedora (RHEL-based system)
  • Kernel Version: [Insert your kernel version, e.g., 6.x.x — run uname -r to get it]
  • GPUs: NVIDIA RTX 3050, AMD Radeon
  • Display Server: [e.g., Xorg or Wayland]

What I Tried:

  • Updating both NVIDIA and AMD drivers.
  • Configuring xorg.conf to prioritize one GPU.
  • Disabling Wayland.
  • Ensuring nouveau is blacklisted for NVIDIA.

Despite these efforts, the issue persists. It seems to be triggered or exacerbated by the kernel/headers update.

Expected Behavior:
Smooth operation with no screen artifacts or tearing.

Additional Information:
I can provide logs or additional details if required. Let me know what debugging information would help.

Note: Kernel version is 6.12.7-200.fc41.x86_64

Please provide the output from dnf list --installed \*nvidia\* and inxi -Fzxx