Laptop screen turns black and unresponsive

Hello. I am new to the forum. For some time, all of a sudden my screen turns off, even though the machine is still running there is no mouse pointer, nor can I access tty. I always end up having to force shutdown the system. Any idea?
inxi -Fx:

System:    Host: xxx Kernel: 5.12.13-zen1-2-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.22.2 
           Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Laptop System: Acer product: Nitro AN515-42 v: V1.12 serial: <superuser required> 
           Mobo: RR model: Freed_RRS v: V1.12 serial: <superuser required> UEFI: Insyde v: 1.12 date: 11/12/2018 
Battery:   ID-1: BAT1 charge: 27.4 Wh (100.0%) condition: 27.4/48.9 Wh (56.1%) volts: 16.0 min: 15.2 
           model: LG 0x41,0x43,0x31,0x34,0x42,0x38,0x008A status: Full 
CPU:       Info: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen rev: 0 cache: 
           L2: 2 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31938 
           Speed: 1691 MHz min/max: 1600/2000 MHz boost: enabled Core speeds (MHz): 1: 1691 2: 1758 3: 1697 4: 1833 5: 1285 
           6: 1297 7: 1301 8: 1293 
Graphics:  Device-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] vendor: Acer Incorporated ALI 
           driver: amdgpu v: kernel bus-ID: 01:00.0 
           Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] vendor: Acer Incorporated ALI 
           driver: amdgpu v: kernel bus-ID: 04:00.0 
           Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 3-1:2 
           Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu note: n/a (using device driver) 
           resolution: 1920x1080~60Hz 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Acer Incorporated ALI 
           driver: snd_hda_intel v: kernel bus-ID: 04:00.1 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus-ID: 04:00.6 
           Sound Server-1: ALSA v: k5.12.13-zen1-2-zen running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.31 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: N/A 
           port: 2000 bus-ID: 02:00.1 
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel 
           port: 2000 bus-ID: 03:00.0 
           IF: wlan0 state: up mac: 00:f4:8d:94:ee:ad 
Bluetooth: Device-1: Lite-On type: USB driver: btusb v: 0.8 bus-ID: 1-4:3 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Drives:    Local Storage: total: 931.51 GiB used: 423.68 GiB (45.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0 size: 931.51 GiB 
Partition: ID-1: / size: 203.43 GiB used: 48.47 GiB (23.8%) fs: ext4 dev: /dev/sda2 
           ID-2: /boot/efi size: 246.1 MiB used: 266 KiB (0.1%) fs: vfat dev: /dev/sda1 
Swap:      ID-1: swap-1 type: partition size: 12 GiB used: 947.5 MiB (7.7%) dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 52.2 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 46.0 C device: amdgpu temp: 52.0 C 
Info:      Processes: 313 Uptime: 4h 01m Memory: 6.74 GiB used: 3.52 GiB (52.2%) Init: systemd Compilers: gcc: 11.1.0 
           clang: 12.0.0 Packages: 1890 Shell: Bash v: 5.1.8 inxi: 3.3.03 

Is there anything in the logs at that point?

Have you tested your memory?

For future reference, that HTML formatting for inxi gets completely truncated when displayed on the forum. Instead, use the raw text and enclose it in a code block. Here is copy of your inxi for others reading this post:

System:    Host: xxx Kernel: 5.12.13-zen1-2-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.22.2 
           Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Laptop System: Acer product: Nitro AN515-42 v: V1.12 serial: <superuser required> 
           Mobo: RR model: Freed_RRS v: V1.12 serial: <superuser required> UEFI: Insyde v: 1.12 date: 11/12/2018 
Battery:   ID-1: BAT1 charge: 27.4 Wh (100.0%) condition: 27.4/48.9 Wh (56.1%) volts: 16.0 min: 15.2 
           model: LG 0x41,0x43,0x31,0x34,0x42,0x38,0x008A status: Full 
CPU:       Info: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen rev: 0 cache: 
           L2: 2 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31938 
           Speed: 1691 MHz min/max: 1600/2000 MHz boost: enabled Core speeds (MHz): 1: 1691 2: 1758 3: 1697 4: 1833 5: 1285 
           6: 1297 7: 1301 8: 1293 
Graphics:  Device-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X] vendor: Acer Incorporated ALI 
           driver: amdgpu v: kernel bus-ID: 01:00.0 
           Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] vendor: Acer Incorporated ALI 
           driver: amdgpu v: kernel bus-ID: 04:00.0 
           Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 3-1:2 
           Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu note: n/a (using device driver) 
           resolution: 1920x1080~60Hz 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Acer Incorporated ALI 
           driver: snd_hda_intel v: kernel bus-ID: 04:00.1 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus-ID: 04:00.6 
           Sound Server-1: ALSA v: k5.12.13-zen1-2-zen running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.31 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: N/A 
           port: 2000 bus-ID: 02:00.1 
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel 
           port: 2000 bus-ID: 03:00.0 
           IF: wlan0 state: up mac: 00:f4:8d:94:ee:ad 
Bluetooth: Device-1: Lite-On type: USB driver: btusb v: 0.8 bus-ID: 1-4:3 
           Report: This feature requires one of these tools: hciconfig/bt-adapter 
Drives:    Local Storage: total: 931.51 GiB used: 423.68 GiB (45.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0 size: 931.51 GiB 
Partition: ID-1: / size: 203.43 GiB used: 48.47 GiB (23.8%) fs: ext4 dev: /dev/sda2 
           ID-2: /boot/efi size: 246.1 MiB used: 266 KiB (0.1%) fs: vfat dev: /dev/sda1 
Swap:      ID-1: swap-1 type: partition size: 12 GiB used: 947.5 MiB (7.7%) dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 52.2 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 46.0 C device: amdgpu temp: 52.0 C 
Info:      Processes: 313 Uptime: 4h 01m Memory: 6.74 GiB used: 3.52 GiB (52.2%) Init: systemd Compilers: gcc: 11.1.0 
           clang: 12.0.0 Packages: 1890 Shell: Bash v: 5.1.8 inxi: 3.3.03 

I was experiencing the same thing. I fought it for some time. Then I realized that every time this happened, I was launching Firefox, in Firefox, or exiting Firefox. So I grudgingly installed Chromium and the problem went away. Not a fan of Chromium, so I uninstalled Firefox and reinstalled Firefox as a flatpak. Problem was gone and didn’t come back. I guess putting Firefox in a container solved the problem?

May not work for you, but I thought I would throw it out there.

Pudge

EDIT:
Forgot to mention. This occurred on a Desk Top Ryzen system, not on a laptop.

That sounds like some configs went wrong for some reason. Maybe deleting all firefox configs under $HOME helps?

1 Like

Maybe, but it is working so well now I am not going to tempt that devil. I have no problem with a flatpak, so it’s now a “don’t fix it if it isn’t broke” kind of thing.

BTW. This all started for me when Firefox made the big change in it’s theming and etc.

Pudge

1 Like

I am on Ryzen but for Laptop. I don’t use Firefox but Chrome Beta. And what I have noticed is this problem happens when Chrome is open. Not sure if Chrome is the culprit or not :confused:

1 Like

I would say Chrome is a good suspect.

Try using another Browser and see what happens. I don’t know how you feel about flatpaks, but a Flatpak may be good for troubleshooting as a Flatpak runs as a container and more or less isolates the container from the rest of the OS. Just a suggestion.
Here is a list of Browsers available on Flatpak

Get ready for all the Flak on Flatpaks, but I don’t have a problem with them.
I noticed that Chromium is listed and Chrome is not available.

Pudge

EDIT:
I just noticed that way at the bottom of the list, ungoogled-chromium is listed.

Pudge