Hey I am new to fedora and I have been getting this issue where when I run my laptop on battery mode , it freezes. after a few minutes forcing me to restart . More specifically if I say 1st the application window stops responding while the mouse is working and after a few seconds the mouse also freezes
Is the battery old? If you boot another OS (maybe a Live USB) do you get the issue?
We need more information to understand why this is happening. You may be able to find useful details with journalctl
, but because journalctl
collects massive amounts of detail it can take some work to isolate the key lines. I would try rebooting with AC power after an battery mode freeze and run journalctl --no-hostname -b -1 -p 3
in a terminal and scroll down to the end, then work back. When you see things that could be errors, try searching the web for discussion of similar messages. You can try changing the 3
to lower or higher numbers (higher numbers are low priority and generate more lines).
It could help to have the output from running inxi -Fzxx
in a terminal (many laptop issues are tied to a particular hardware configuration so we may find similar reports from other linux distros). Post the inxi
report as pre-formatted text using the </>
button from the top line of text entry panel).
System:
Kernel: 6.12.9-200.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.43.1-5.fc41
Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 41 (KDE Plasma)
Machine:
Type: Laptop System: LENOVO product: 82XV v: LOQ 15IRH8
serial: <superuser required> Chassis: type: 10 v: LOQ 15IRH8
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0T76485 WIN
serial: <superuser required> part-nu: LENOVO_MT_82XV_BU_idea_FM_LOQ 15IRH8
UEFI: LENOVO v: LZCN30WW date: 06/15/2023
Battery:
ID-1: BAT1 charge: 34.6 Wh (66.9%) condition: 51.7/60.0 Wh (86.2%)
volts: 15.3 min: 15.4 model: SMP L22M4PA0 serial: <filter>
status: discharging
CPU:
Info: 8-core (4-mt/4-st) model: 12th Gen Intel Core i5-12450H bits: 64
type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 704 KiB L2: 7 MiB
L3: 12 MiB
Speed (MHz): avg: 600 min/max: 400/4400:3300 cores: 1: 600 2: 600 3: 600
4: 600 5: 600 6: 600 7: 600 8: 600 9: 600 10: 600 11: 600 12: 600
bogomips: 59904
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Alder Lake-P GT1 [UHD Graphics] vendor: Lenovo driver: i915
v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
bus-ID: 00:02.0 chip-ID: 8086:46a3
Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Lenovo
driver: nvidia v: 565.77 arch: Lovelace pcie: speed: 2.5 GT/s lanes: 8
ports: active: none empty: DP-5,HDMI-A-1,eDP-2 bus-ID: 01:00.0
chip-ID: 10de:28e0
Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-7:2 chip-ID: 04f2:b7b9
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915,nvidia display-ID: 0
Monitor-1: eDP-1 res: 1829x1029 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: iris gbm:
drv: iris surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 24.3.3 glx-v: 1.4
direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
device-ID: 8086:46a3 display-ID: :0.0
API: Vulkan v: 1.4.304 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: N/A device-ID: 8086:46a3 device: 1
type: discrete-gpu driver: N/A device-ID: 10de:28e0 device: 2 type: cpu
driver: N/A device-ID: 10005:0000
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51c8
Device-2: NVIDIA AD107 High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 8
bus-ID: 01:00.1 chip-ID: 10de:22be
API: ALSA v: k6.12.9-200.fc41.x86_64 status: kernel-api
Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:51f0
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168
IF: enp7s0 state: down mac: <filter>
IF-ID-1: br-f9747805a2f1 state: down mac: <filter>
IF-ID-2: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 bus-ID: 1-10:4 chip-ID: 8087:0026
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
lmp-v: 11
Drives:
Local Storage: total: 953.88 GiB used: 106.72 GiB (11.2%)
ID-1: /dev/nvme0n1 vendor: Micron model: MTFDKCD512TFK size: 476.94 GiB
speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
ID-2: /dev/sda vendor: SK Hynix model: HFM512GD3JX013N size: 476.94 GiB
type: USB rev: 3.2 spd: 10 Gb/s lanes: 1 serial: <filter>
Partition:
ID-1: / size: 53.84 GiB used: 34.41 GiB (63.9%) fs: ext4 dev: /dev/sda2
ID-2: /boot/efi size: 990 MiB used: 19.3 MiB (2.0%) fs: vfat
dev: /dev/sda1
ID-3: /home size: 106.02 GiB used: 72.29 GiB (68.2%) fs: ext4
dev: /dev/sda4
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 12 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.34 GiB used: 5.88 GiB (38.3%)
Processes: 399 Power: uptime: 4m wakeups: 0 Init: systemd v: 256
target: graphical (5) default: graphical
Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 36
Compilers: gcc: 14.2.1 Shell: Bash v: 5.2.32 running-in: konsole
inxi: 3.3.36
Sorry for replying after so long this is the report generated journalctl --no-hostname -b -1 -p 4 . Looks like its related to the graphics driver. I tried adding nvidia-drm modeset and and regenerating grub but that’s not helping so could u suggest anything?
Jan 24 11:15:24 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:16:05 kernel: NVRM: Attempting to remove device 0000:01:00.0 with non-zero usage count!
Jan 24 11:18:03 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:03 plasmashell[2856]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Jan 24 11:18:03 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:04 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:04 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:18 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:24 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:48 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:54 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:18:57 xdg-desktop-portal-kde[2915]: xdp-kde-settings: Namespace "org.gnome.desktop.a11y.interface" is not supported
Jan 24 11:18:58 xdg-desktop-portal-kde[2915]: qt.dbus.integration: QDBusConnection: couldn't handle call to CreateMonitor, no slot matched
Jan 24 11:18:58 xdg-desktop-portal-kde[2915]: qt.dbus.integration: QDBusConnection: couldn't handle call to CreateMonitor, no slot matched
Jan 24 11:18:58 xdg-desktop-portal-kde[2915]: qt.dbus.integration: Could not find slot InhibitPortal::CreateMonitor
Jan 24 11:18:58 xdg-desktop-por[2658]: A backend call failed: No such method 'CreateMonitor' in interface 'org.freedesktop.impl.portal.Inhibit' at object path '/org/freedesktop/portal/desktop' (signature 'ooss')
Jan 24 11:18:58 xdg-desktop-por[2658]: Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_191/gtk277326516'
Jan 24 11:18:58 bottles[7686]: Theme parser warning: style.css:184:3-185:1: Expected ';' at end of block
Jan 24 11:18:58 bottles[7686]: Theme parser warning: style-dark.css:23:3-24:1: Expected ';' at end of block
Jan 24 11:19:05 konsole[6161]: kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on X11
Jan 24 11:19:05 konsole[6161]: kf.windowsystem: static void KX11Extras::setOnDesktop(WId, int) may only be used on X11
Jan 24 11:19:09 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:19:10 kwin_wayland[2630]: kwin_scene_opengl: 0x1: GL_INVALID_VALUE in glTexStorage2D(width, height or depth < 1)
Jan 24 11:19:10 kwin_wayland[2630]: kwin_scene_opengl: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jan 24 11:19:10 kwin_wayland[2630]: kwin_scene_opengl: 0x1: GL_INVALID_OPERATION in glBindFramebuffer(non-gen name)
Jan 24 11:19:11 xdg-desktop-portal-kde[2915]: xdp-kde-settings: Namespace "org.gnome.desktop.a11y.interface" is not supported
Jan 24 11:19:16 plasmashell[2856]: The cached device pixel ratio value was stale on window update. Please file a QTBUG which explains how to reproduce.
Jan 24 11:19:36 systemd[2333]: app-com.usebottles.bottles@f37d3da73e2943aea2cb8192d322aead.service: Failed with result 'exit-code'.