You are not logged in.
Firstly here my setup https://imgur.com/a/WIM2a3a I've been using Arch for 2 weeks now. Previously, I had Ubuntu installed on a 1TB SSD. I've noticed that if I leave my PC untouched for approximately 15 minutes, it freezes, and I need to restart it by holding down the power button. I know the question is very vague, but here is what I've tried so far. Initially, I thought it might be a problem with it entering sleep mode, so I disabled the option in KDE ("Manually block sleep and screen locking"). I also tried leaving a video playing on YouTube constantly, but that didn't work either. Next, I will try either leaving the video in full-screen mode or creating a script to automatically move the mouse a little every 5 minutes. Another important point to note is that after restarting the PC following this freeze, I receive a KDE popup indicating a SMART error suggesting that the disk is likely to fail soon. However, upon manual reboot and checking with smartctl, the disk appears to be okay.
Last edited by VladTbk (2024-02-17 19:43:29)
Offline
Please post the system journal for a boot that ends in the freeze and the journal for the following reboot that contains the S.M.A.R.T. error.
Offline
https://imgur.com/a/3isNcxF this was the last boot after a freeze. I hope this is right, I got it using journalctl -b -1
Offline
That's a single pager page of the start of it and basically irrelevant. Don't post pictures of text, post the text. See https://wiki.archlinux.org/title/List_o … n_services for ways of conveniently sharing the entire output.
Offline
Ah sorry, didn't realised. I've uploaded it to pastebin here https://pastebin.com/kBs6zFac, I hope is it ok. As I said, the problem occurs only when I am not actively using the PC
Offline
It's gonna be the screenlocker, maybe dpms.
it freezes, and I need to restart it by holding down the power button
Is that actually true?
Can you still switch the VT (ctrl+alt+F3)?
Can you ssh into the frozen system?
Can you shutdown using REISUB, https://wiki.archlinux.org/title/Keyboa … el_(SysRq) ?
Feb 17 20:53:12 vlad sddm-helper[693]: Starting X11 session: "" "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Feb 17 20:53:00 vlad kernel: [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
Feb 17 20:53:00 vlad kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer deviceEnable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the nvidia_drm.modeset=1 kernel parameter, modprobe.conf won't do. But skip fbdev=1 for now.
Offline
here is the xorg log https://pastebin.com/nVVSuLWy. And no, I can't ctrl+alt+F3 or ssh. Also when I enterd /etc/modprobe.d to set modset, the folder is empty I don't have a myfilename.conf file.
Last edited by VladTbk (2024-02-18 10:14:08)
Offline
Remove xf86-video-intel and add nvidia_drm.modeset=1 to the kernel parameters.
Post an updated xorg log and see whether the issue remains.
If so, try reisub
Offline
Hmm thanks, I think setting to 1 worked for now. I will close for now, for future readers here is how I set the flaghttps://forums.linuxmint.com/viewtopic.php?t=352940
Offline
So I've installed nvidia-lts to use with linux-lts and he problem I had before reappeared after this install, but now it's even worse. After some random time (for example, the last 10 minutes), my machine crashes. Should I reset the grub config and reset the modeset to 1 again? If I can provide you with any logs, I will gladly do so.
Offline
Should I reset the grub config and reset the modeset to 1 again?
You want to keep "nvidia_drm.modeset=1"
I've installed nvidia-lts to use with linux-lts and he problem I had before reappeared after this install
So there was no problem w/ the main kernel but you installed the LTS kernel and are now facing crashes?
After some random time (for example, the last 10 minutes), my machine crashes
How is that "worse" or different from the original situation?
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stPlease post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Also if it "freezes" (ie. you can still see the last picture?) open a terminal, run
sudo dmesg -wlet the system crash and see whether there's maybe something in the kernel messages hinting at the immediate problem.
Offline
Here is my journal https://pastebin.pl/view/ac4ddffd and here is my grub config https://pastebin.pl/view/a3a70b9c. I've started with linux-lts as my kernel but had the nvidia driver not nividia-lts. I've had this problem before, but changing nvidia-drm_modeset to 1 seemed to fix it. Now, after installing nvidia-lts I'm encountering it again. By 'worse,' I mean it freezes randomly even if the PC is in use. I am also using KDE Plasma and read that this could be an issue with version 5. Also the
sudo dmesg -w dosen't work on my machine
Offline
doesn't work on my machine
Err… what?
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
I've started with linux-lts as my kernel but had the nvidia driver not nividia-lts.
Means you were not using the nvidia driver, but also not nouveau - you'd at best be running on the simpledrm device or vesa and "nvidia-drm.modeset=1" would have disabled the simpledrm device.
But since this is a hybrid system and you're likely running on the intel chip, nothing of all of this makes any sense.
Please post your xorg log, your grub config is less interesting, and also a journal from a boot where things worked (…-b -3… for three boots ago)
I am also using KDE Plasma and read that this could be an issue with version 5
No. You're running plasma on X11.
*Why* did you install the LTS kernel to begin with?
Offline
Here is my xorg log https://pastebin.pl/view/df67fbcc and as for a journal where everything 'worked,' I don't really have one recently. All my cases where I needed to power off the machine were because it froze. As for why linux-lts, it was because I was dumb (and still am for that matter) and didn't know lts or not for Arch is not that big of a thing. I haven't tried downgrading my kernel or switching to normal Linux to see if the problem is fixed. Also, I can't do anything when the problem occurs, not even opening a terminal.
Offline
All my cases where I needed to power off the machine were because it froze.
We're not looking journals of disfunctional boots.
I don't really have one recently.
Have you looked up the journal history?
You've probably some weeks worth of journals there.
And you didn't address the dmesg situation. How can that "not work"?
[ 12.432] (**) |-->Screen "Default Screen Section" (0)
[ 12.432] (**) | |-->Monitor "<default monitor>"Wtf are there html escapes in the journal?
Do you copy-paste that from other browser displays or their sources or is pastebin.pl just this useless?
You're running the modesetting driver on the intel chip, all outputs are attached there, nvidia is purely for prime-run.
Also you do have xf86-video-vesa installed so that would have likely picked up the nvidia GPU when the nvidia module wasn't present and nouveau blacklisted.
However, with that setup it's hard to see how changes to the nvidia driver could have frozen the system.
The GPU isn't used by default at all and the Ampere chip would completely shut off b/c or RTD3
Offline
This is my oldest avaliable jounralog https://pastebin.pl/view/63097f45 and this is how pastebin.pl parses it I guess. If you can suggest a better tool, I will use it for future logs. The 'dmesg' not working is because my machine doesn't recognize it. One thing that I observed is that I can move the mouse before it freezes, but no action actually works. I can move it, but clicking on stuff or trying to run something in the terminal just starts the process of 'dying'. Can it be a process that throttles the PC, or is it a KDE thing? Or should I just reinstall Arch and see if it's a hardware problem?
Last edited by VladTbk (2024-02-28 10:00:29)
Offline
If you can suggest a better tool
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Journal is
Feb 27 07:09:40 vlad kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=72a85a7e-3be4-4de0-b5ee-2d5944a0772a rw nvidia-drm.modeset=1Did you re-install the system or why are there no older logs?
The 'dmesg' not working is because my machine doesn't recognize it.
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What does that even mean? dmesg is part of util-linux, if you can't run that, there's something severely wrong with your installation.
Can it be a process that throttles the PC, or is it a KDE thing? Or should I just reinstall Arch and see if it's a hardware problem?
Or cosmic rays or fury of the gods.
Impossible to say w/o any meaningful data.
Can you completely disable the nvidia GPU (in the bios/uefi)?
Offline