Random freezes on Fedora 36

Try this as seen on my system just now. F36 fully updated with gnome and default configs

$ inxi
bash: inxi: command not found...
Install package 'inxi' to provide command 'inxi'? [N/y] 
1 Like

I forgot about SSH! Ill connect to it as soon as I’m back home

Fedora offered to install it for me so I don’t actually care

~]$ inxi
bash: inxi: command not found
~]$

no prompts to install nothing.

I just inxi through SSH, so here is the output

System:
  Kernel: 5.18.10-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-27.fc36 Console: pty pts/1 Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Desktop System: Gigabyte product: B460HD3 v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B460 HD3 v: x.x serial: <superuser required>
    UEFI: American Megatrends v: F4b date: 03/18/2021
CPU:
  Info: quad core model: Intel Core i3-10100 bits: 64 type: MT MCP
    arch: Comet Lake rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 4156 high: 4200 min/max: 800/4300 cores: 1: 4198 2: 4129
    3: 4172 4: 4197 5: 4156 6: 4100 7: 4102 8: 4200 bogomips: 57600
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: Gigabyte
    driver: i915 v: kernel arch: Gen9.5 bus-ID: 00:02.0
  Device-2: NVIDIA TU117 [GeForce GTX 1650] vendor: ASUSTeK driver: nvidia
    v: 515.57 arch: Turing bus-ID: 01:00.0
  Display: server: X.org v: 1.20.14 with: Xwayland v: 22.1.2 driver:
    gpu: nvidia,nvidia-nvswitch note:  X driver n/a - try sudo/root tty: 84x24
    resolution: 1: 1920x1080 2: 1280x1024
  Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: Intel Comet Lake PCH-V cAVS vendor: Gigabyte driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.18.10-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
  Device-1: Realtek RTL8188EE Wireless Network Adapter driver: rtl8188ee
    v: kernel port: 4000 bus-ID: 02:00.0
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel port: 3000 bus-ID: 04:00.0
  IF: enp4s0 state: down mac: <filter>
Drives:
  Local Storage: total: 689.33 GiB used: 22.76 GiB (3.3%)
  ID-1: /dev/nvme0n1 vendor: Seagate model: BarraCuda Q5 ZP500CV30001
    size: 465.76 GiB temp: 19.9 C
  ID-2: /dev/sda vendor: Western Digital model: WDS240G2G0A-00JH30
    size: 223.57 GiB
Partition:
  ID-1: / size: 464.17 GiB used: 22.54 GiB (4.9%) fs: btrfs dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 206.6 MiB (21.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 14 MiB (2.3%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 464.17 GiB used: 22.54 GiB (4.9%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0

It froze shortly after this, but it was still accepting commands through SSH.
I thought to have a looks at the remaining swap and ram, but they still looked fine.

               total        used        free      shared  buff/cache   available
Mem:        16139464     1484888     8734200       15456     5920376    14339344
Swap:        8388604           0     8388604

Could this be related to the GPU driver, or a broken install?

Can you try logging in from a tty? Press ctrl+alt+F3 and login from tty3 for example (enter your username and password). Given that you are still being able to use SSH while frozen, it looks like your DE (Gnome) is the one freezing not your whole system.

I suggest you to disable all gnome extensions at first.

It may be the Nvidia GPU causing problems.

1 Like

I’ll try that when I’m home.
Should I also try installing i3 or another lightweight DE, and see if that works

You do have 2 GPUs. The inxi shows it is desktop with a gigabyte mobo. Usually those GPUs would indicate a laptop, but in your case it seems you are using 2 monitors, with different resolutions.

Are both monitors attached to the same GPU or is one attached to one GPU (possibly the mobo) and the other attached to the nvidia gpu?

On my system if I use two different gpus at the same time I see similar ‘hesitations’. The DE seems to need time to figure out where the data belongs and which gpu to send it to.

Since the ssh session was still active that implies that the ‘freeze’ may be DE or graphics related.

You also appear to be using gnome with wayland, which means the system cannot properly take advantage of the hardware acceleration on the nvidia GPU. There are several threads here about hardware acceleration and slow rendering when not used.

You can try installing KDE plasma and run using an x11 session since walyand+nvidia may be problematic

You say the builtin NVidia driver. Doesn’t Fedora use Nouveau unless you install NVidia from rpmfusion. The random freeze thing used to happen to me when I didn’t use NVidia, but only happened with nouveau.

When I say Nvidia driver I mean the official proprietary one not nouveau. Yes what you said is true you need rpmfusion for proprietary driver.

I thought so, as you specifically mentioned it, but wanted to make sure. It wouldn’t be the first time I’d overlooked the obvious. :slight_smile:

A post was split to a new topic: Random freezes on fedora 36 with AMD GPU

I’m having the same issues on my Intel laptop. Very strange and frustrating as it’s never happened like this before until today.

I’m also experiencing Bluetooth issues (those have been notorious in the past due to pipewire bugs) so I’ve disabled bluetooth entirely for the time being to see if that’s what’s causing these freezes.

Results of inxi -Fzx below:

System:
  Kernel: 5.18.11-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-27.fc36 Desktop: GNOME v: 42.3.1
    Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Laptop System: LENOVO product: 20XW00A9US v: ThinkPad X1 Carbon Gen 9
    serial: <superuser required>
  Mobo: LENOVO model: 20XW00A9US v: SDK0J40697 WIN
    serial: <superuser required> UEFI: LENOVO v: N32ET76W (1.52 )
    date: 04/08/2022
Battery:
  ID-1: BAT0 charge: 56.4 Wh (98.9%) condition: 57.0/57.0 Wh (100.0%)
    volts: 17.4 min: 15.4 model: Sunwoda 5B10W13975 status: not charging
CPU:
  Info: quad core model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 12 MiB
  Speed (MHz): avg: 742 high: 1053 min/max: 400/4800 cores: 1: 793 2: 563
    3: 711 4: 677 5: 513 6: 664 7: 964 8: 1053 bogomips: 47923
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen12.1 bus-ID: 00:02.0
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 3-4:4
  Display: wayland server: X.Org v: 1.22.1.3 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: gpu: i915 resolution: 1: 3840x2160~60Hz
    2: 1920x1200~60Hz
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.1.3
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.18.11-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.55 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  IF-ID-1: wwan0 state: down mac: N/A
Drives:
  Local Storage: total: 476.94 GiB used: 150.42 GiB (31.5%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS512GDE9X081N
    size: 476.94 GiB temp: 43.9 C
Partition:
  ID-1: / size: 475.34 GiB used: 150.14 GiB (31.6%) fs: btrfs dev: /dev/dm-0
    mapped: luks-972e2ccc-e7b9-439d-8ef5-56919422b2c7
  ID-2: /boot size: 973.4 MiB used: 270.6 MiB (27.8%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 14.3 MiB (2.4%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.34 GiB used: 150.14 GiB (31.6%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-972e2ccc-e7b9-439d-8ef5-56919422b2c7
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 348 Uptime: 8m Memory: 30.97 GiB used: 5.45 GiB (17.6%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.1.1 Packages: 62
  note: see --pkg Shell: Bash v: 5.1.16 inxi: 3.3.19

I’ve previously encountered system freezes on F36 WS with Gnome 42.

What I have done to resolve this, was booting into X11 (Xorg) and avoiding Wayland sessions in general. One can even disable Wayland in one’s display-manager config.

Just a heads up:

I disabled Bluetooth and so far the laptop has not frozen once all day (whereas in the morning it froze at least 3 times in the span of an hour and a half)

EDIT: I’ve re-enabled Bluetooth and I no longer get the hangs so far…very odd!

3 posts were merged into an existing topic: Fedora 36 intermittent freezing not associated with any tasks

After a few other issues, including WINE, I’ve switched back to Windows 10. Ill leave the thread open just in case anyone wants to still use it

A post was split to a new topic: F36 freezes

Fedora 36 here, also encounter system freezes. However, mine exist since I built the system, 5 years ago in every distribution. Windows run fine, though. I updated the BIOS a few months ago and didn’t have a crash until previous week, after a big update.

Hardware:

  • Ryzen 2400g

  • B350 Gaming Plus

  • 12 GB RAM (tested memory)

  • Nvidia 1050 Ti

Inxi output:

I’d like to add the logs, but they exceed the pastebin limit and the forum doesn’t support file uploading.