When I am installing nvidia drivers for my fedora after enabling nvidia drivers my fedora desktop just start lagging and it is not so bad but it is lagging when I am like switching between my windows workspaces
I am installing nvidia drivers using the official guide howto/nvidia
I do not find how to fix this problem
I am noob at using linux systems like my first and last system is fedora and I am using it just about a year then I bought a new laptop with nvidia gpu and here is this problem
If I uninstall the driver everything starting to work good
my system:
OS: Fedora Linux 42 (Workstation Edition) x86_64
Host: Predator PHN16-72 (V1.13)
Kernel: Linux 6.14.5-300.fc42.x86_64
Uptime: 24 mins
Packages: 2468 (rpm), 17 (flatpak)
Shell: zsh 5.9
Display (BOE0B17): 2560x1600 @ 240 Hz (as 1704x1065) in 16" [Built-in] *
Display (VIE 24"): 1920x1080 @ 60 Hz in 24" [External]
DE: GNOME 48.1
WM: Mutter (Wayland)
WM Theme: Marble-blue-dark
Theme: Adwaita [GTK2/3/4]
Icons: Adwaita [GTK2/3/4]
Font: Maple Mono NF (11pt, SemiBold) [GTK2/3/4]
Cursor: Adwaita (24px)
Terminal: kitty 0.41.1
Terminal Font: MapleMono-NF-Regular (15pt)
CPU: Intel(R) Core(TM) i9-14900HX (32) @ 5.80 GHz
GPU 1: NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete]
GPU 2: Intel Raptor Lake-S UHD Graphics @ 1.65 GHz [Integrated]
Memory: 10.37 GiB / 31.04 GiB (33%)
Swap: 5.06 MiB / 8.00 GiB (0%)
Disk (/): 188.86 GiB / 198.00 GiB (95%) - btrfs
Local IP (enp67s0): [192.168.1.64/24](http://192.168.1.64/24)
Battery (AP21A5T): 100% [AC Connected]
Locale: ru_RU.UTF-8
output of inix -Fzx:
System:
Kernel: 6.14.5-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
Desktop: GNOME v: 48.1 Distro: Fedora Linux 42 (Workstation Edition)
Machine:
Type: Laptop System: Acer product: Predator PHN16-72 v: V1.13
serial: <superuser required>
Mobo: RPL model: EQE_RTX v: V1.13 serial: <superuser required>
UEFI: Insyde v: 1.13 date: 08/02/2024
Battery:
ID-1: BAT1 charge: 87.2 Wh (100.0%) condition: 87.2/90.1 Wh (96.8%)
volts: 17.4 min: 15.4 model: PANASONIC AP21A5T status: full
CPU:
Info: 24-core (8-mt/16-st) model: Intel Core i9-14900HX bits: 64
type: MST AMCP arch: Raptor Lake rev: 1 cache: L1: 2.1 MiB L2: 32 MiB
L3: 36 MiB
Speed (MHz): avg: 799 min/max: 800/5600:5800:4100 cores: 1: 799 2: 799
3: 799 4: 799 5: 799 6: 799 7: 799 8: 799 9: 799 10: 799 11: 799 12: 799
13: 799 14: 799 15: 799 16: 799 17: 799 18: 799 19: 799 20: 799 21: 799
22: 799 23: 799 24: 799 25: 799 26: 799 27: 799 28: 799 29: 799 30: 799
31: 799 32: 799 bogomips: 154828
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Raptor Lake-S UHD Graphics vendor: Acer Incorporated ALI
driver: i915 v: kernel arch: Xe bus-ID: 0000:00:02.0
Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
vendor: Acer Incorporated ALI driver: nvidia v: 570.144 arch: Lovelace
bus-ID: 0000:01:00.0
Device-3: Chicony ACER HD User Facing driver: uvcvideo type: USB
bus-ID: 1-6:3
Display: wayland server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6
compositor: gnome-shell driver: dri: iris gpu: i915,nvidia,nvidia-nvswitch
resolution: 1: 3840x2160~60Hz 2: 3408x2130~240Hz
API: OpenGL v: 4.6 vendor: intel mesa v: 25.0.4 glx-v: 1.4
direct-render: yes renderer: Mesa Intel Graphics (RPL-S)
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Info: Tools: api: glxinfo gpu: nvidia-settings,nvidia-smi x11: xdriinfo,
xdpyinfo, xprop, xrandr
Audio:
Device-1: Intel Raptor Lake High Definition Audio
vendor: Acer Incorporated ALI driver: sof-audio-pci-intel-tgl
bus-ID: 0000:00:1f.3
Device-2: NVIDIA AD107 High Definition Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1
API: ALSA v: k6.14.5-300.fc42.x86_64 status: kernel-api
Server-1: PipeWire v: 1.4.2 status: active
Network:
Device-1: Intel Raptor Lake-S PCH CNVi WiFi vendor: Rivet Networks
driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
IF: wlp0s20f3 state: down mac: <filter>
Device-2: Realtek Killer E3000 2.5GbE vendor: Acer Incorporated ALI
driver: r8169 v: kernel port: 3000 bus-ID: 0000:43:00.0
IF: enp67s0 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
IF-ID-2: veth815c257 state: up speed: 10000 Mbps duplex: full
mac: <filter>
IF-ID-3: vethe8ffcdc state: up speed: 10000 Mbps duplex: full
mac: <filter>
Bluetooth:
Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB
bus-ID: 1-14:4
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
lmp-v: 12
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
driver: vmd v: 0.6 bus-ID: 0000:00:0e.0
Drives:
Local Storage: total: 476.94 GiB used: 189.45 GiB (39.7%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GEJ9X125N
size: 476.94 GiB temp: 53.9 C
Partition:
ID-1: / size: 198 GiB used: 188.92 GiB (95.4%) fs: btrfs dev: /dev/nvme0n1p7
ID-2: /boot size: 973.4 MiB used: 487 MiB (50.0%) fs: ext4
dev: /dev/nvme0n1p6
ID-3: /boot/efi size: 96 MiB used: 49.8 MiB (51.9%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 198 GiB used: 188.92 GiB (95.4%) fs: btrfs
dev: /dev/nvme0n1p7
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 4.8 MiB (0.1%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB note: est. available: 31.04 GiB used: 9.81 GiB (31.6%)
Processes: 663 Uptime: 38m Init: systemd target: graphical (5)
Packages: 18 note: see --rpm Compilers: gcc: 15.1.1 Shell: Zsh v: 5.9
inxi: 3.3.38
output of lsmod | grep -iE ‘nouveau|nvidia’
nvidia_drm 155648 16
nvidia_modeset 1830912 4 nvidia_drm
nvidia_uvm 3997696 0
nvidia 97165312 57 nvidia_uvm,nvidia_modeset
nvidia_wmi_ec_backlight 12288 0
drm_ttm_helper 16384 2 nvidia_drm,xe
video 81920 5 nvidia_wmi_ec_backlight,acer_wmi,xe,i915,nvidia_modeset
wmi 32768 4 video,nvidia_wmi_ec_backlight,acer_wmi,wmi_bmof
output of dnf list installed ‘nvidia’
akmod-nvidia.x86_64 3:570.144-1.fc42 <unknown>
kmod-nvidia-6.14.5-300.fc42.x86_64.x86_64 3:570.144-1.fc42 @commandline
nvidia-gpu-firmware.noarch 20250410-1.fc42 updates
nvidia-modprobe.x86_64 3:570.144-1.fc42 <unknown>
nvidia-persistenced.x86_64 3:570.144-1.fc42 <unknown>
nvidia-settings.x86_64 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia.x86_64 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-cuda.x86_64 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-cuda-libs.i686 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-libs.i686 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-libs.x86_64 3:570.144-1.fc42 <unknown>
xorg-x11-drv-nvidia-power.x86_64 3:570.144-1.fc42 <unknown>
for some reason I do not have nvidia.conf and even the share directory in my /etc