After exiting X on a virtual terminal that isn't tty1, the screen becomes all black instead of showing the text tty. Keyboard input still goes to the text tty, but I can't see what I'm typing. After this happens, a workaround is to switch to a different virtual terminal (with Ctrl+Alt+FN) that is in text mode (not running X) and then switch back. Then the text tty is visible and works normally. Switching to a different virtual terminal that is running X and then switching back doesn't help. The problematic virtual terminal is still all black. My graphics card is Gigabyte Radeon RX VEGA 56 GAMING OC 8G. (amdgpu) The bug appeared after upgrading Arch linux 5.6.15.arch1-1 to 5.7.2.arch1-1. The first bad commit is 64914da24ea95d2b2f7017d014d74c26005d8780 (drm/fbdev-helper: don't force restores). The previous commit e81a2557e0650ee0ce37ba14476ddb709d6daf57 is good. When testing these two commits, I needed to cherry-pick the following fixes: a9a3ed1eff3601b63aea4fb462d8b3b92c7c1e7e (x86: Fix early boot crash on gcc-10, third try) e33a814e772cdc36436c8c188d8c42d019fda639 (scripts/dtc: Remove redundant YYLOC global declaration) df6d4f9db79c1a5d6f48b59db35ccd1e9ff9adfc (x86/boot/compressed: Don't declare __force_order in kaslr_64.c) These are needed when compiling with GCC 10 to fix compilation errors and a hang on boot.
Arch Linux 5.7.4-arch1-1 is still bad. Linux v5.8-rc1 is still bad.
Created attachment 289849 [details] polished fix, hopefully works
Yes, this fixes the bug. (tested on top of v5.8-rc2)
Confirmed fixed in v5.8-rc3.
Fixed in Arch linux 5.7.7-arch1-1. Thank you.