Screens go black at inconsistent times when playing games (AMD GPU)

please only post text in </> code when possible rather than screenshots, it’s much easier to parse and read.

this message may or may not be your issue.
which window-manager are you using?

there are different xdg-desktop-portal- packages and you need to use the right one for the desktop environment you’re running. Using the wrong one can produce this message.

so do a:

sudo pacman -Qs xdg-desktop-portal

and see which one you have installed.

:white_check_mark: Which portal you should have installed

If you’re using Hyprland

You should have:

  • xdg-desktop-portal-hyprland
  • xdg-desktop-portal

You should not have:

  • xdg-desktop-portal-wlr
  • xdg-desktop-portal-gtk
  • xdg-desktop-portal-kde
  • xdg-desktop-portal-gnome

Hyprland breaks or flickers if the wrong portal is active.

If you’re using KDE Plasma

You should have:

  • xdg-desktop-portal-kde
  • xdg-desktop-portal

You should not have:

  • xdg-desktop-portal-gtk
  • xdg-desktop-portal-wlr
  • xdg-desktop-portal-hyprland

If you’re using GNOME

You should have:

  • xdg-desktop-portal-gnome
  • xdg-desktop-portal

You should not have:

  • xdg-desktop-portal-gtk
  • xdg-desktop-portal-wlr
  • xdg-desktop-portal-hyprland

If you’re using Sway or any wlroots WM (River, Wayfire, etc.)

You should have:

  • xdg-desktop-portal-wlr
  • xdg-desktop-portal

You should not have:

  • xdg-desktop-portal-hyprland
  • xdg-desktop-portal-gtk
  • xdg-desktop-portal-kde

If you’re using XFCE, Cinnamon, MATE, LXQt, Openbox

You should have:

  • xdg-desktop-portal-gtk
  • xdg-desktop-portal

You should not have:

  • xdg-desktop-portal-wlr
  • xdg-desktop-portal-hyprland
  • xdg-desktop-portal-kde

Thank you, this is unrelated, but so helpful.

The only real message to watch for

This one:

amdgpu 0000:03:00.0: [drm] REG_WAIT timeout 1us * 100 tries - dcn32_program_compbuf_size
amdgpu 0000:03:00.0: [drm] Adding stream … failed with err 2

Do you have:

  • a black screen at boot?

    graphical glitches?

    random freezes?

    multi-monitor issues?

IF YES:

sudo nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash amdgpu.dc=0”

Regenerate grub:

sudo grub-mkconfig -o /boot/grub/grub.cfg

I am using Xfce4. This is the sudo pacman -Qs xdg-desktop-portal output:

local/xdg-desktop-portal 1.20.3-2.1
    Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-gtk 1.15.3-1.1
    A backend implementation for xdg-desktop-portal using GTK
local/xdg-desktop-portal-xapp 1.1.3-2.1
    A backend implementation for xdg-desktop-portal using GTK and various pieces of Cinnamon/MATE/Xfce4 infrastructure

You didn’t mention xdg-desktop-portal-xapp in your post, but I think it’s supposed to be there for Xfce4.

Adding the amdgpu.dc=0 kernel parameter makes my displays freeze on boot.

using both -gtk and -xapp xdg-desktop-portal packages could be the cause of your issue.

try using just the -xapp since supposedly that is more feature rich, but if that causes problems remove it and just stick with -gtk as supposedly that’s the officially supported one.

Also, found this, which might also help you solve your issue.

remove the -gtk package

sudo pacman -R xdg-desktop-portal-gtk

then

systemctl --user restart xdg-desktop-portal.service
systemctl --user restart xdg-desktop-portal-xapp.service

I might suggest considering reinstalling the -xapp after removing the gtk in case -gtk was overwriting some preferences or config settings. I don’t know though, I use -kde, I’m a newb at this stuff.

I am going to try removing -xapp rather than -gtk, because I’m using Chicago95 and it has a gtk dependency. I will report back if I have any further issues.

I need three pieces of information.

Can you give me:

uname -r

lspci | grep VGA

echo $XDG_SESSION_TYPE

That will allow me to be precise.

uname -r output: 6.19.2-2-cachyos

lspci | grep VGA output:

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] (rev cc)
13:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c3)

echo $XDG_SESSION_TYPE output: x11

I think this might’ve fixed the black screen issue while not gaming, but the issue is still present while gaming.

journalctl -p 3 output after my most recent black screen incident:

Feb 19 21:54:20 cachyos kernel: usbhid 1-5.1.4:1.0: couldn't find an input interrupt endpoint
Feb 19 21:54:24 cachyos-x8664-np bluetoothd[988]: Failed to set default system config for hci0
Feb 19 21:54:53 cachyos-x8664-np lightdm[1379]: gkr-pam: unable to locate daemon control file

Based on the time stamp, these happen shortly after boot and not right before the black screen issue occurs. My guess would be that they aren’t causing the issue.

I might’ve gotten something useful from one of these error logs:

Feb 20 20:39:04 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=1499430, emitted seq=1499432
Feb 20 20:39:04 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu:  Process floorp pid 3574 thread floorp:cs0 pid 3670
Feb 20 20:39:04 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: Starting gfx_0.0.0 ring reset
Feb 20 20:39:06 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: MES failed to respond to msg=RESET
Feb 20 20:39:06 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: failed to reset legacy queue
Feb 20 20:39:06 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: Ring gfx_0.0.0 reset failed
Feb 20 20:39:08 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: MES failed to respond to msg=REMOVE_QUEUE
Feb 20 20:39:08 cachyos-x8664-np kernel: amdgpu 0000:03:00.0: amdgpu: failed to unmap legacy queue
Feb 20 20:39:08 cachyos-x8664-np kernel: [drm:gfx_v11_0_hw_fini.llvm.5452743128699986355 [amdgpu]] *ERROR* failed to halt cp gfx
Feb 20 20:39:10 cachyos-x8664-np systemd-coredump[12824]: Process 1057 (Xorg) of user 0 dumped core.
                                                          
                                                          Stack trace of thread 1074:
                                                          #0  0x00007f9a3a025663 abort (libc.so.6 + 0x25663)
                                                          #1  0x00007f9a36e0ebe7 n/a (libgallium-25.3.5-arch1.2.so + 0xe0ebe7)
                                                          #2  0x00007f9a36e138db n/a (libgallium-25.3.5-arch1.2.so + 0xe138db)
                                                          #3  0x00007f9a3673ae9d n/a (libgallium-25.3.5-arch1.2.so + 0x73ae9d)
                                                          #4  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #5  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #6  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1057:
                                                          #0  0x00007f9a3a11806d syscall (libc.so.6 + 0x11806d)
                                                          #1  0x00007f9a3672ad47 n/a (libgallium-25.3.5-arch1.2.so + 0x72ad47)
                                                          #2  0x00007f9a3673ac54 n/a (libgallium-25.3.5-arch1.2.so + 0x73ac54)
                                                          #3  0x00007f9a36df2e00 n/a (libgallium-25.3.5-arch1.2.so + 0xdf2e00)
                                                          #4  0x00007f9a36a7c599 n/a (libgallium-25.3.5-arch1.2.so + 0xa7c599)
                                                          #5  0x00007f9a361a65a5 n/a (libgallium-25.3.5-arch1.2.so + 0x1a65a5)
                                                          #6  0x00007f9a39990834 n/a (amdgpu_drv.so + 0x14834)
                                                          #7  0x0000564f4aed07b4 BlockHandler (/usr/lib/Xorg + 0x927b4)
                                                          #8  0x0000564f4b0313c5 WaitForSomething (/usr/lib/Xorg + 0x1f33c5)
                                                          #9  0x0000564f4ae77674 n/a (/usr/lib/Xorg + 0x39674)
                                                          #10 0x00007f9a3a0276c1 n/a (libc.so.6 + 0x276c1)
                                                          #11 0x00007f9a3a0277f9 __libc_start_main (libc.so.6 + 0x277f9)
                                                          #12 0x0000564f4ae79495 _start (/usr/lib/Xorg + 0x3b495)
                                                          
                                                          Stack trace of thread 1079:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1080:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1078:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1081:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1083:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1082:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1084:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1086:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1085:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1089:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1087:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1077:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1088:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1092:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1093:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1099:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a0933e4 n/a (libc.so.6 + 0x933e4)
                                                          #3  0x00007f9a3a11a595 epoll_wait (libc.so.6 + 0x11a595)
                                                          #4  0x0000564f4b027702 n/a (/usr/lib/Xorg + 0x1e9702)
                                                          #5  0x0000564f4b02e619 n/a (/usr/lib/Xorg + 0x1f0619)
                                                          #6  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #7  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1094:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1097:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1095:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1096:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1413:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          
                                                          Stack trace of thread 1412:
                                                          #0  0x00007f9a3a09ef32 n/a (libc.so.6 + 0x9ef32)
                                                          #1  0x00007f9a3a09339c n/a (libc.so.6 + 0x9339c)
                                                          #2  0x00007f9a3a09368c n/a (libc.so.6 + 0x9368c)
                                                          #3  0x00007f9a3a095e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                                                          #4  0x00007f9a367a80be n/a (libgallium-25.3.5-arch1.2.so + 0x7a80be)
                                                          #5  0x00007f9a3673addd n/a (libgallium-25.3.5-arch1.2.so + 0x73addd)
                                                          #6  0x00007f9a367a7fec n/a (libgallium-25.3.5-arch1.2.so + 0x7a7fec)
                                                          #7  0x00007f9a3a09697a n/a (libc.so.6 + 0x9697a)
                                                          #8  0x00007f9a3a11a2bc n/a (libc.so.6 + 0x11a2bc)
                                                          ELF object binary architecture: AMD x86-64

From this it looks like I’m having an issue with my browser, Floorp. I’m going to switch to regular Firefox and see if the issue still persists.

yeah this looks like it’s probably your issue. The gpu driver (? or is it module) crashes and core dumps.

I was still having black screens after switching to normal firefox. After some digging it turns out that the issue is with firefox’s and discord’s hardware acceleration features. I am no longer experiencing black screens after turning both of those off. I’m always skeptical, but I believe this is the final solution to my issue.

Thank you to everyone for your contributions to this thread!

it still is kind of weird that you’re having issues with firefox’s hardware acceleration. I have an AMD APU (iGPU) and run hardware acceleration in Firefox every day.

I also had the same problem or similar this time on Nvidia gpu I was gaming and having a call with friends on Firefox browser then suddenly my screen went black and when I force shutdown and turn it back on NOTHING shows up not even the logo would show up (like Asus or Acer) and I can’t even tell if I’m in the TTY or terminal, can someone help me how to fix? :confused:

I recently turned hardware acceleration back on in steam, discord, and firefox and it appears I am no longer having issues with it. Whatever kernel issue existed before appears to have been solved.

That doesn’t really sound similar to my issue. If I were you I would try booting into linux with the “nomodeset” kernel parameter and check if all of your nvidia drivers are installed properly. You could also try disabling hardware acceleration on firefox, which seemed to work for my black screen issue. You might want to start a new thread, because most people who have replied to this thread have amd gpus.