LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   My system is freezing (https://www.linuxquestions.org/questions/linux-hardware-18/my-system-is-freezing-4175735237/)

ninjanoir78 03-24-2024 06:11 AM

My system is freezing
 
hi,

my system freezes and shuts down spontaneously, maybe it's my memory?
What can I do to get an idea? I add infos here to help, I have a msi x470 gaming plus max motherboard.
THANKS

Code:

[james@fedora ~]$ inxi -Fzx
System:
  Kernel: 6.7.9-200.fc39.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 2.40-14.fc39
  Desktop: Budgie v: 10.9.1 Distro: Fedora Linux 39 (Budgie)
Machine:
  Type: Desktop System: Micro-Star product: MS-7B79 v: 3.0
    serial: <superuser required>
  Mobo: Micro-Star model: X470 GAMING PLUS MAX (MS-7B79)
    v: 3.0 serial: <superuser required> UEFI: American Megatrends
    LLC. v: H.J0 date: 10/14/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325
    charge: 55% (should be ignored) status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard
    K360 charge: 100% (should be ignored) status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 1700 bits: 64 type: MT MCP
    arch: Zen rev: 1 cache: L1: 768 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 1506 high: 1550 min/max: 1550/3000
    boost: enabled cores: 1: 1550 2: 1377 3: 1550 4: 1550 5: 1550
    6: 1550 7: 1550 8: 1550 9: 1377 10: 1378 11: 1550 12: 1377
    13: 1550 14: 1550 15: 1550 16: 1550 bogomips: 95994
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2
    sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 630] vendor: ZOTAC
    driver: nouveau v: kernel arch: Fermi bus-ID: 27:00.0
    temp: 33.0 C
  Display: x11 server: X.Org v: 1.20.14 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: nouveau
    gpu: nouveau resolution: 1920x1080~60Hz
  API: OpenGL v: 4.3 vendor: mesa v: 23.3.6 glx-v: 1.4
    direct-render: yes renderer: NVC1
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib
    devices: 1
Audio:
  Device-1: NVIDIA GF108 High Definition Audio vendor: ZOTAC
    driver: snd_hda_intel v: kernel bus-ID: 27:00.1
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 29:00.3
  API: ALSA v: k6.7.9-200.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.4 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit
    Ethernet vendor: Micro-Star MSI driver: r8169 v: kernel
    port: f000 bus-ID: 22:00.0
  IF: enp34s0 state: down mac: <filter>
  Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel
    bus-ID: 23:00.0
  IF: wlp35s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb
    v: 0.8 type: USB bus-ID: 1-9:2
  Report: btmgmt ID: hci0 rfk-id: 0 state: up
    address: <filter> bt-v: 4.2 lmp-v: 8
Drives:
  Local Storage: total: 1.61 TiB used: 7.95 GiB (0.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung
    model: SSD 970 EVO Plus 250GB size: 232.89 GiB temp: 30.9 C
  ID-2: /dev/sda vendor: Western Digital
    model: WDS500G2B0A-00SM50 size: 465.76 GiB
  ID-3: /dev/sdb model: P3-1TB size: 953.87 GiB
Partition:
  ID-1: / size: 231.3 GiB used: 7.67 GiB (3.3%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 266.6 MiB (27.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 231.3 GiB used: 7.67 GiB (3.3%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%)
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 36.6 C mobo: N/A gpu: nouveau
    temp: 33.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 62.71 GiB
    used: 4.77 GiB (7.6%)
  Processes: 634 Uptime: 37m Init: systemd
    target: graphical (5)
  Packages: N/A Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    inxi: 3.3.33
[james@fedora ~]$

Code:

[james@fedora ~]$ journalctl -b 4 -p 3
    Mar 23 16:27:26 fedora systemd-vconsole-setup[385]: /usr/bin/setfont failed with exit status 71.
    Mar 23 16:27:27 fedora systemd-vconsole-setup[623]: /usr/bin/setfont failed with exit status 71.
    Mar 23 16:27:40 fedora lightdm[1370]: gkr-pam: unable to locate daemon control file
    Mar 23 16:27:43 fedora kernel: nouveau 0000:27:00.0: msvld: unable to load firmware data
    Mar 23 16:27:43 fedora kernel: nouveau 0000:27:00.0: msvld: init failed, -19
    Mar 23 16:36:39 fedora kernel: BUG: kernel NULL pointer dereference, address: 000000000000001d
    Mar 23 16:36:39 fedora kernel: #PF: supervisor write access in kernel mode
    Mar 23 16:36:39 fedora kernel: #PF: error_code(0x0002) - not-present page
    Mar 23 16:36:39 fedora kernel: watchdog: Watchdog detected hard LOCKUP on cpu 5
    Mar 23 16:36:39 fedora kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 1000)
    Mar 23 16:36:39 fedora kernel: BUG: unable to handle page fault for address: xxxxxxxxx489e28c0
    Mar 23 16:36:39 fedora kernel: #PF: supervisor instruction fetch in kernel mode
    Mar 23 16:36:39 fedora kernel: #PF: error_code(0x0011) - permissions violation


lvm_ 03-24-2024 06:29 AM

Replace nouveau with nvidia drivers

Arnulf 03-24-2024 06:42 AM

Download latest version of memtest86+ and copy it to an USB stick or a CD-RW.
Boot your freezing PC with memtest86+ and let it run overnight. If memtest86+ throws erros identify the broken memory bar(s). Otherwise you can stop after three error free passes.

By the way: The nvidia GeForce GT 630 is a slow graphics card, and it is extremely slow with Linux due to nvidia's denial of FOSS support. This graphics card decreases your system performance. Replace it with a budget AMD graphics card, e.g. a Radeon RX550. This change will remove nouveau loading errors too.

ninjanoir78 03-24-2024 06:49 AM

Quote:

Originally Posted by lvm_ (Post 6491570)
Replace nouveau with nvidia drivers

I tried some times on other distros and every time it did not work if I remember, it was buggy, but I can try again.
Do you have the right driver for nvidia ?

ninjanoir78 03-24-2024 06:51 AM

Quote:

Originally Posted by Arnulf (Post 6491573)

By the way: The nvidia GeForce GT 630 is a slow graphics card, and it is extremely slow with Linux due to nvidia's denial of FOSS support. This graphics card decreases your system performance. Replace it with a budget AMD graphics card, e.g. a Radeon RX550. This change will remove nouveau loading errors too.

ok I will check, btw, do you think the graphic card can make my problem?

ninjanoir78 03-24-2024 07:11 AM

Quote:

Originally Posted by Arnulf (Post 6491573)
Download latest version of memtest86+ and copy it to an USB stick or a CD-RW.
Boot your freezing PC with memtest86+ and let it run overnight. If memtest86+ throws erros identify the broken memory bar(s). Otherwise you can stop after three error free passes.

By the way: The nvidia GeForce GT 630 is a slow graphics card, and it is extremely slow with Linux due to nvidia's denial of FOSS support. This graphics card decreases your system performance. Replace it with a budget AMD graphics card, e.g. a Radeon RX550. This change will remove nouveau loading errors too.

I could have the GeForce GTX 760 , maybe better than amd rx550?

wpeckham 03-24-2024 09:26 AM

#1 I agree with the memory test advice. That, or overheating (Check fans, including the power supply fan) is most likely. Failed components ont eh MB can also do this, and certain capacitors are notorious for failing in interesting ways.

#2 It is possibly, but quite unlikely, that your video driver is the cause. IT may be making the problem worse so that they symptoms you experienced are more common. I have experienced fewer problems with the FOSS drivers than the ones from Nvidia.

#3 while unlikely to solve the problem, I agree with the advice to avoid Nvidia graphics for stability.
Nvidia makes the very best cards, for Windows (Gaming and animation..) and LMM. For normal users INTEL or AMD are better (For most Windows and ALL Linux users), as they are more reliable, have better FOSS drivers because they provided information support to the Linux developers, generally suck less power and require less support from the power supply and MB in other ways. Good models generate less heat AND allow better cooling and channeling of that heat.
IF AND ONLY IF your primary purpose IS the gaming. then you may want an Nvidia card, but one that performs better: research compatibility you MB, Power, and case before you make a purpose. Every high performance Nvidia card I have installed required modifications to the cooling fan array, case, mounting, or filtering: and that kinda sucks.

When was the last time you gave your machine a good cleaning, inside and out? A good careful cleaning might eliminate hotspots and correct airflow issues.

ninjanoir78 03-24-2024 10:14 AM

Quote:

Originally Posted by wpeckham (Post 6491600)
#1 I agree with the memory test advice. That, or overheating (Check fans, including the power supply fan) is most likely. Failed components ont eh MB can also do this, and certain capacitors are notorious for failing in interesting ways.

#2 It is possibly, but quite unlikely, that your video driver is the cause. IT may be making the problem worse so that they symptoms you experienced are more common. I have experienced fewer problems with the FOSS drivers than the ones from Nvidia.

#3 while unlikely to solve the problem, I agree with the advice to avoid Nvidia graphics for stability.
Nvidia makes the very best cards, for Windows (Gaming and animation..) and LMM. For normal users INTEL or AMD are better (For most Windows and ALL Linux users), as they are more reliable, have better FOSS drivers because they provided information support to the Linux developers, generally suck less power and require less support from the power supply and MB in other ways. Good models generate less heat AND allow better cooling and channeling of that heat.
IF AND ONLY IF your primary purpose IS the gaming. then you may want an Nvidia card, but one that performs better: research compatibility you MB, Power, and case before you make a purpose. Every high performance Nvidia card I have installed required modifications to the cooling fan array, case, mounting, or filtering: and that kinda sucks.

When was the last time you gave your machine a good cleaning, inside and out? A good careful cleaning might eliminate hotspots and correct airflow issues.

I really Don't need a graphic card for gaming, just regular stuff on my pc.

Arnulf 03-24-2024 11:21 AM

Quote:

Originally Posted by ninjanoir78 (Post 6491580)
I could have the GeForce GTX 760 , maybe better than amd rx550?

@Linux: No!

OS independend, think about this:
  • nvidia GeForce GT 630: launched 05/2012
  • nvidia GeForce GTX 760: launched 06/2013
  • AMD Radeon RX 550: launched 04/2017
  • MSI X470 Gaming Plus Max: launched 05/2019

ninjanoir78 03-24-2024 01:47 PM

Quote:

Originally Posted by Arnulf (Post 6491623)
@Linux: No!

OS independend, think about this:
  • nvidia GeForce GT 630: launched 05/2012
  • nvidia GeForce GTX 760: launched 06/2013
  • AMD Radeon RX 550: launched 04/2017
  • MSI X470 Gaming Plus Max: launched 05/2019

MSI x470, 2019? are you sure, I have it since a while, I bought it used in 2019.
So Radeon RX 550 would be better choice, great, thanks

Arnulf 03-24-2024 07:57 PM

Quote:

Originally Posted by ninjanoir78 (Post 6491652)
MSI x470, 2019? are you sure, I have it since a while, I bought it used in 2019.


Available manual is dated 05/2019. AMD X470 chipset itself was released 03/2018.


All times are GMT -5. The time now is 01:48 AM.