I've been trying to figure out why my laptop freezes several times a day.
So far I've had good help in the MX-forums, and we have made some headway.
https://forum.mxlinux.org/viewtopic.php?f=104&t=56969
Still the problem of freezing persists despite managing to set up Nvidia correctly.
Code:
$ optirun inxi -Gx
Graphics: Device-1: Intel HD Graphics 630 vendor: CLEVO/KAPOK driver: i915 v: kernel
bus ID: 00:02.0
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: CLEVO/KAPOK
driver: nvidia v: 440.59 bus ID: 01:00.0
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1680x1050~60Hz
OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 440.59
direct render: Yes
I figured I'd try to get more eyeballs on the problem by posting it here too.
Earlier I've had the laptop in for a repair of a harddrive,
I suspect that there may be some issue with the BIOS motherboard.
But techsupport felt that what was necessary was a new drive and an updated BIOS.
I told them there was a problem with ACPI, but they didn't listen.
As a result windows can't be installed without UEFI enabled it seems,
so no dualboot for me as of right now.
I feel the freezing and that issue is connected, but I have no way of knowing.
Here is the current system specs.
Code:
System: Host: Byteworld Kernel: 5.4.0-3-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.0-3-amd64
root=UUID=923bb24d-7213-4d3c-8d66-79a60588eb8d ro splash acpi_osi=! quiet
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-19.1_x64 patito feo February 15 2020 base: Debian GNU/Linux 10 (buster)
Machine: Type: Laptop System: Notebook product: N85_N87,HJ,HJ1,HK1 v: N/A serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: Notebook model: N85_N87,HJ,HJ1,HK1 serial: <filter>
UEFI [Legacy]: American Megatrends v: 1.05.22 date: 03/27/2018
Battery: ID-1: BAT0 charge: 59.4 Wh condition: 59.4/59.9 Wh (99%) volts: 12.7/11.1
model: Notebook BAT type: Li-ion serial: <filter> status: Full
CPU: Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake
family: 6 model-id: 9E (158) stepping: 9 microcode: CA L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44798
Speed: 1005 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900
5: 902 6: 900 7: 900 8: 900
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel HD Graphics 630 vendor: CLEVO/KAPOK driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:591b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A bus ID: 01:00.0
chip ID: 10de:1c8c
Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
resolution: 1680x1050~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: 4.5 Mesa 18.3.6
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel CM238 HD Audio vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel
bus ID: 00:1f.3 chip ID: 8086:a171
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:0fb9
Sound Server: ALSA v: k5.4.0-3-amd64
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: CLEVO/KAPOK
driver: r8169 v: kernel port: d000 bus ID: 03:00.1 chip ID: 10ec:8168
IF: eth0 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: d000
bus ID: 04:00.0 chip ID: 8086:24fd
IF: wlan0 state: up mac: <filter>
Drives: Local Storage: total: 1.36 TiB used: 51.06 GiB (3.7%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
rev: 2B2QEXE7 scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD10JPVX-22JC3T0 size: 931.51 GiB
block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm
serial: <filter> rev: 1A01 scheme: GPT
Partition: ID-1: / raw size: 463.48 GiB size: 455.21 GiB (98.21%) used: 51.06 GiB (11.2%)
fs: ext4 dev: /dev/nvme0n1p2
ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 66.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ buster main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mxrepo.com/mx/repo/ buster main non-free
Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
1: deb https://deb.opera.com/opera-stable/ stable non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
Info: Processes: 243 Uptime: 28m Memory: 31.32 GiB used: 1.82 GiB (5.8%) Init: SysVinit
v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3
running in: quick-system-in inxi: 3.0.36
I honestly don't know what else to include, since I don't know what is wrong.
Edit:
When it froze this time, I first waited until the music stopped.
It ran as far as the youtube buffer had filled up, which tells me that the soundcard plays what it has available.
But it doesn't download anymore because the freeze has made firefox unable to work in the background.
I used Alt-SysRq-O to stop the computer, which worked; so at least something works in the background.
Next time I will try Alt-SysRq-B and later I might see if there is some other command that makes sense.
Maybe one that kills processes.
The end conclution was that Firefox hogging tons of space with saving sessions was to blame for the crashes.
If this actually turns out to be the case I dunno, time will tell.
Marking as solved regardless.