You are not logged in.

#1 Yesterday 01:33:46

rg_arc
Member
Registered: 2011-03-20
Posts: 521

[SEMI-SOLVED] System hangs indefinitely

I was recently working on something in i3, specifically I was running QGIS. I left the computer for about an hour and when I came back I continued working on something then suddenly the graphics started tweaking and there was a blue screen and everything crashed. Ever since then I was able to get GRUB working but I can't get to the login screen it just hangs with the screen black. In Wayland, I haven't had any issues whatsoever but I started using X again shortly and this happens. Also, I tried a few things to see if perhaps it was RAM related or maybe a CMOS issue? That wasn't a problem but I can't even get to the login prompt from the install media either. I'm wondering if this is a GPU hardware issue or something I can fix software-wise. If I could use the install media then I could troubleshoot but right now I don't have any idea how to get past the system hanging indefinitely.

Last edited by rg_arc (Yesterday 21:31:02)

Offline

#2 Yesterday 06:42:28

ismailarilik
Member
From: Turkey
Registered: 2023-04-10
Posts: 27
Website

Re: [SEMI-SOLVED] System hangs indefinitely

I don't think it is related to GPU since you cannot open a TTY, right? It may be a hardware error like SSD corruption, or something. You can try to run embedded diagnostics tool which can be accessed using your computer's firmware.

Offline

#3 Yesterday 08:19:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

"Blue screen" or bluescreen w/ some fancy QR code indicating a kernel crash?
Can you boot "nomodeset systemd.unit=multi-user.target"?
Does the LTS kernel work?
Does a completely different SW stack like https://grml.org/ ?

left the computer for about an hour and when I came back I continued working on something then suddenly the graphics started tweaking

* Your absence probably didn't matter
* "tweaking" how?

Wayland, I haven't had any issues whatsoever but I started using X again shortly

If you cannot get drm to work on the multi-user.target it's not related to whatever display server.

Offline

#4 Yesterday 09:13:16

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

Well I saw a lot of flickering and then the whole screen went blue and the OS crashed. The problem I'm having now is unfortunately I can't even get it to go past Grub's boot screen. I'm assuming this is a RAM issue? I did get it to boot once and I had SSH connection but now that's not possible. Once I'm able to get access to it via SSH I will try nomodeset. I can confirm that my GPU doesn't show up when I try lspci -k so I know that perhaps VGA onboard graphics will probably work. It is quite frustrating to say the least. I know for a fact it isn't booting in spite of not seeing a screen because typically it would show up on the list of clients on my router for example and my UPS usually makes a beep.

Offline

#5 Yesterday 10:57:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

You can edit the kernel commandline at grub by selecting the entry and pressing "e" - but the GPU not showing up in lspci is bad news.
Have you physically inspected it, resp. tried to re-seat it and the power connections?

Offline

#6 Yesterday 12:00:12

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

Alright I'm able to get it booted up using nomodeset. Now for the troubleshooting, I see my GPU now but its VGA only instead of HDMI and my previous graphics are gone and now it is a horrible resolution. So previously I was running amdgpu as my kernel module with Radeon blacklisted and something changed somewhere recently and I have no idea what. Thankfully, it is working so I can say it is semi-solved.

Offline

#7 Yesterday 15:00:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

VGA only instead of HDMI and my previous graphics are gone and now it is a horrible resolution

You're probably running on the modesetting driver.
Please post your complete system journal for the boot:

sudo journalctl -b | nc termbin.com 9999

also

lspci -knn

Can you manually load

sudo modprobe -v amdgpu; lsmod | grep amdgpu

Edit: does the LTS kernel still work?

Last edited by seth (Yesterday 15:01:12)

Offline

#8 Yesterday 20:25:36

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

There is some sensitive information from journalctl I don't want to post here but if you grep amdgpu I get this:

Nov 23 14:10:38 oblivion kernel: amdgpu: Virtual CRAT table created for CPU
Nov 23 14:10:38 oblivion kernel: amdgpu: Topology: Add CPU node
Nov 23 14:10:38 oblivion kernel: amdgpu 0000:01:00.0: probe with driver amdgpu failed with error -22

Here is the appropriate info for lspci and both kernel modules are loaded:

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] [1002:6818]
        Subsystem: XFX Pine Group Inc. Device [1682:3250]
        Kernel modules: radeon, amdgpu
amdgpu              18415616  0
drm_buddy              12288  1 amdgpu
amdxcp                 12288  1 amdgpu
drm_panel_backlight_quirks    12288  1 amdgpu
gpu_sched              77824  1 amdgpu
drm_ttm_helper         20480  1 amdgpu
ttm                   155648  2 amdgpu,drm_ttm_helper
video                  81920  1 amdgpu
drm_exec               16384  1 amdgpu
i2c_algo_bit           24576  1 amdgpu
drm_suballoc_helper    20480  1 amdgpu
drm_display_helper    307200  1 amdgpu
cec                   106496  2 drm_display_helper,amdgpu

Offline

#9 Yesterday 21:04:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

both kernel modules are loaded

No, they've matching aliases - but none is assigned to the device.

errno 22 is EINVAL, did you test the LTS kernel?

Offline

#10 Yesterday 21:30:27

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

I tried with LTS and I get the same issues. I can only boot up via nomodeset. Would UEFI have anything to do with this? I know my GPU is pretty old but until now it worked fine with amdgpu.

Offline

#11 Yesterday 21:36:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

Would UEFI have anything to do with this?.

Unlikely (meaning "not realistically")

Because of the initial incident this might be the hardware no longer properly responding.

Have you physically inspected it, resp. tried to re-seat it and the power connections?

Since it's covered by both modules, does radeon still work? (w/o "nomodeset")
Does it work w/ a completely different software stack like grml?
(The firmware might have a part in this,  https://archlinux.org/packages/core/any … re-amdgpu/ was updated 11/1)

Offline

#12 Yesterday 21:43:31

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

Yes, I have reseated it and since then I do see my GPU show up when I do lspci -k. It will not work at all without using nomodeset even if I use the install media.

Offline

#13 Yesterday 21:55:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

Install media from when? If it's a recent kernel regression or the firmware the november iso likely won't help you anything.

Are you ok w/ uploading the journal somewhere and DM me the url?

Offline

#14 Yesterday 23:18:05

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

Sure, I will send you the URL via dpaste.

Offline

#15 Today 05:42:26

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

I don't know if this is relevant but I did notice a few things that seem to point to the same issue:

sudo vulkaninfo                                 
'DISPLAY' environment variable not set... skipping surface info
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools/vulkaninfo/./vulkaninfo.h:249:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

and

sudo ls /usr/share/vulkan/icd.d
radeon_icd.json

I can confirm my GPU is working though but of course my GPU is like 13 years old and may be incompatible? :

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]

Offline

#16 Today 08:38:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

Can you try to
a) remove the amdgpu module from the initramfs (neither MODULES array element nor the kms hook)
b) disable whatever "pwrstatd" is and, assuming it's that, run the system w/o the UPS
c) reboot w/o nomodeset but "systemd.unit=multi-user.target sysrq_always_enabled=1"
d) if it fails try to reboot by frenetically pressing ctrl+alt+del or sysrq+reisub, https://wiki.archlinux.org/title/Keyboa … #Rebooting
e) upload the journal of that boot?

The simpledrm device won't do vulkan (w/o one of the software emulation drivers you don't want to use) - your GPU supports vulkan 1.2 on the amdgpu driver (i don't think w/ radeon, though)

Offline

#17 Today 09:20:33

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

seth wrote:

Can you try to
a) remove the amdgpu module from the initramfs (neither MODULES array element nor the kms hook)
b) disable whatever "pwrstatd" is and, assuming it's that, run the system w/o the UPS
c) reboot w/o nomodeset but "systemd.unit=multi-user.target sysrq_always_enabled=1"
d) if it fails try to reboot by frenetically pressing ctrl+alt+del or sysrq+reisub, https://wiki.archlinux.org/title/Keyboa … #Rebooting
e) upload the journal of that boot?

The simpledrm device won't do vulkan (w/o one of the software emulation drivers you don't want to use) - your GPU supports vulkan 1.2 on the amdgpu driver (i don't think w/ radeon, though)

I guess it doesn't matter really about "sensitive" info but anyways I did all that and I still can't boot but at least I don't need to hard reset if I use the reisub method. Here was the output I got: https://dpaste.com/6P4DWX97P

Offline

#18 Today 09:30:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,024

Re: [SEMI-SOLVED] System hangs indefinitely

Nov 23 15:47:42 oblivion kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a2464257-340c-4f27-941e-cbc3da20c18a rw quiet nomodeset

That boot is nomodeset but doesn't have either "systemd.unit=multi-user.target sysrq_always_enabled=1" nor is pwrstatd disabled (are you still using the UPS?)
Also the amdgpu module was still in the initramfs.

In any event you'd have to get the journal for the previous boot after a reboot

sudo journalctl -b -1 | nc termbin.com 9999

But from the one you posted you actually didn't do any of the suggested things?

Offline

#19 Today 10:46:20

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

seth wrote:

Nov 23 15:47:42 oblivion kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a2464257-340c-4f27-941e-cbc3da20c18a rw quiet nomodeset

That boot is nomodeset but doesn't have either "systemd.unit=multi-user.target sysrq_always_enabled=1" nor is pwrstatd disabled (are you still using the UPS?)
Also the amdgpu module was still in the initramfs.

In any event you'd have to get the journal for the previous boot after a reboot

sudo journalctl -b -1 | nc termbin.com 9999

But from the one you posted you actually didn't do any of the suggested things?

Yes, I suppose so but I rebooted after I did everything you mentioned then I did journalctl -b -1. Let me try it again and hopefully I'll have the updated version.

Offline

#20 Today 11:00:17

rg_arc
Member
Registered: 2011-03-20
Posts: 521

Re: [SEMI-SOLVED] System hangs indefinitely

Here is the right one I believe: https://dpaste.com/AFVPYREGT.txt

Offline

Board footer

Powered by FluxBB