You are not logged in.

#1 2025-04-11 17:56:23

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Screen only shows text on CLI when typing

Video: https://imgur.com/a/1irfEDR

For context, the screen only shows text when I type something into the CLI. If I run any TUI apps the screen will immediately stop updating unless I exit it. Also the same issue if it's an Arch distro with any DE.

Arch and its derivative distros that I have tried that has this issue:
- Arch
- CachyOS
- EndeavourOS
- Garuda Linux

Non-Arch based Distros I tried with the same result:
- Fedora Minimal
- OpenSUSE Tumbleweed

Arch Installers used (version):
- 6.13.8 (Issue immediately came up when booting into install media)
- 6.13.5 (Same with 6.13.8)
- 6.12.10 (Boot media does not have this issue [text is bigger], but issue returns after a full install of Arch and booting into the OS)

Laptop is a Lenovo Yoga Slim 7, Gen 10
Screen: 2880x1800@120hz
CPU: Ryzen AI 7 350

I tried installing amdgpu drivers as well as specifying kernel parameters and setting it as the first module in mkinitcpio. Didn't work.

Offline

#2 2025-04-11 23:13:07

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

as well as specifying kernel parameters

*what* kernel parameters?
https://bbs.archlinux.org/viewtopic.php … 9#p2224639

Online

#3 2025-04-12 03:44:09

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

seth wrote:

as well as specifying kernel parameters

*what* kernel parameters?
https://bbs.archlinux.org/viewtopic.php … 9#p2224639

I've tried these:

options amdgpu dcdebugmask=0x200
and
options amdgpu dcdebugmask=0x12

Did "modprobe -c | less" to check if its there and it is.

Current kernel version is 6.14.1-arch1-1

Offline

#4 2025-04-12 07:03:36

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

"systool -vm amdgpu", ftr adding flags sequentially (through multiple options) will likely not work and if the amdgpu module is in the initramfs (eg. by kms hook) and you didn't regenerate that after adding options to some file, they won't apply.

Add

amdgpu.dcdebugmask=0x10

to the https://wiki.archlinux.org/title/Kernel_parameters to test them for sure.

Online

#5 2025-04-14 07:10:53

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

I reverted the kernel to LTS (6.11) and it seemed to work correctly for now. It looks like I'll stick with that.

Offline

#6 2025-04-14 07:12:55

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

Archlinux LTS is at 6.12.23-1, have you tried adding "amdgpu.dcdebugmask=0x10" to the kernel commandline parameters?

Online

#7 2025-04-14 07:50:15

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

seth wrote:

Archlinux LTS is at 6.12.23-1, have you tried adding "amdgpu.dcdebugmask=0x10" to the kernel commandline parameters?

I added that in "/etc/default/grub" and generated a new grub config. Unfortunately it just gave me a completely black screen.

The system still works, though as I can type my login details in and "shutdown -h now" and it did shutdown. The screen just isn't showing anything after the grub boot menu.

Last edited by Poxinator (2025-04-14 07:50:44)

Offline

#8 2025-04-14 14:58:57

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

So *only* PSR actually drives the output??
=0x12 would have caused the same?

amdgpu.sg_display=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

In doubt, try to add "amdgpu.dcdebugmask=0x400" to that disables idle power states)

Online

#9 2025-04-15 12:01:57

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

Thanks for helping, but I've decided to just install linux-lts (6.12.23-1-lts) to avoid this issue entirely.

I'll try that out when future me encounters the issue again.

Last edited by Poxinator (2025-04-15 12:10:26)

Offline

#10 Yesterday 16:45:31

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

seth wrote:

So *only* PSR actually drives the output??
=0x12 would have caused the same?

amdgpu.sg_display=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

In doubt, try to add "amdgpu.dcdebugmask=0x400" to that disables idle power states)

I decided to try this out when I installed a new SSD on my laptop. Unfortunately the problem is still not fixed.

However, after doing some experimenting on the LTS version, I noticed something that may be the cause of the problem:
On Hyprland, when I set the config for the laptop monitor to run 1920x1200@120, the exact same problem occured, but setting it to 1920x1200@60 fixed it (as well as running it at native with 2880x1800@60 & 2880x1800@120).

Maybe the laptop panel doesn't support 1920x1200 at 120hz? And the TTY is trying to render it at that.

Offline

#11 Yesterday 23:27:12

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://github.com/timvideos/edid-decode/ (not yet in v4l-utils and the AUR package is unfortunately gone)

Online

#12 Today 03:41:15

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

Got this out:

/sys/class/drm/card1
=====================
/sys/class/drm/card1-DP-1
EDID of '/sys/class/drm/card1-DP-1/edid' was empty.
=====================
/sys/class/drm/card1-DP-2
EDID of '/sys/class/drm/card1-DP-2/edid' was empty.
=====================
/sys/class/drm/card1-DP-3
EDID of '/sys/class/drm/card1-DP-3/edid' was empty.
=====================
/sys/class/drm/card1-DP-4
EDID of '/sys/class/drm/card1-DP-4/edid' was empty.
=====================
/sys/class/drm/card1-DP-5
EDID of '/sys/class/drm/card1-DP-5/edid' was empty.
=====================
/sys/class/drm/card1-DP-6
EDID of '/sys/class/drm/card1-DP-6/edid' was empty.
=====================
/sys/class/drm/card1-DP-7
EDID of '/sys/class/drm/card1-DP-7/edid' was empty.
=====================
/sys/class/drm/card1-eDP-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 4c 83 03 42 00 00 00 00
00 22 01 04 b5 1e 13 78 03 66 85 ae 51 38 b9 24
0a 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 fd 00 1e 78 e6
e6 47 01 0a 20 20 20 20 20 20 00 00 00 fe 00 53
44 43 20 20 20 20 20 20 20 20 20 20 00 00 00 fc
00 41 54 4e 41 34 30 48 51 30 31 2d 30 20 02 27

02 03 23 00 e3 05 80 00 e6 06 05 01 8f 6a 01 73
1a 00 00 03 0b 1e 78 00 a0 8f 01 6a 02 78 00 00
00 00 8d 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b2

70 20 79 02 00 20 00 0c ba 41 59 03 42 00 00 00
00 00 18 00 22 00 28 00 d4 0a 05 3f 0b c7 00 07
00 1f 00 07 07 77 00 4f 00 0f 00 00 d4 0a 85 3f
0b c7 00 07 00 1f 00 07 07 f7 07 cf 07 0f 00 2b
00 0c 27 00 1e 77 00 00 27 00 1e 3b 00 00 2e 00
06 18 10 d0 5f 4c 64 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 90

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: SDC
    Model: 16899
    Made in: 2024
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 10
    DisplayPort interface
    Maximum image size: 30 cm x 19 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4
    First detailed timing includes the native pixel format and preferred refresh rate
    Display supports continuous frequencies
  Color Characteristics:
    Red  : 0.6806, 0.3183
    Green: 0.2197, 0.7246
    Blue : 0.1425, 0.0390
    White: 0.3134, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    Empty Descriptor
    Display Range Limits:
      Monitor ranges (Range Limits Only): 30-120 Hz V, 230-230 kHz H, max dotclock 710 MHz
    Alphanumeric Data String: 'SDC          '
    Display Product Name: 'ATNA40HQ01-0 '
  Extension blocks: 2
Checksum: 0x27

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Native detailed modes: 0
  Colorimetry Data Block:
    BT2020RGB
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 143 (1107.128 cd/m^2)
    Desired content max frame-average luminance: 106 (496.743 cd/m^2)
    Desired content min luminance: 1 (0.000 cd/m^2)
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 3
    Feature Caps: 0x0b
    Minimum Refresh Rate: 30 Hz
    Maximum Refresh Rate: 120 Hz
    Flags 1.x: 0x00
    Flags 2.x: 0xa0
    Maximum luminance: 143 (1107.128 cd/m^2)
    Minimum luminance: 1 (0.000 cd/m^2)
    Unknown: 0x6a 0x02
Checksum: 0xb2  Unused space in Extension Block: 92 bytes

----------------

Block 2, DisplayID Extension Block:
  Version: 2.0
  Extension Count: 0
  Display Product Primary Use Case: None of the listed primary use cases; generic display
  Product Identification Data Block (0x20), OUI BA-41-59:
    Product Code: 16899
    Year of Manufacture: 2024
  Video Timing Modes Type 7 - Detailed Timings Data Block:
    DTD:  2880x1800  120.000169 Hz  16:10   230.400 kHz    709.633000 MHz (aspect 16:10, no 3D stereo)
               Hfront    8 Hsync  32 Hback  160 Hpol N
               Vfront   80 Vsync  16 Vback   24 Vpol N
    DTD:  2880x1800   60.000085 Hz  16:10   230.400 kHz    709.633000 MHz (aspect 16:10, no 3D stereo, preferred)
               Hfront    8 Hsync  32 Hback  160 Hpol N
               Vfront 2000 Vsync  16 Vback   24 Vpol N
  Adaptive Sync Data Block:
    Descriptor #1:
      Native Panel Range
      Fixed Average V-Total and Adaptive V-Total
      Supports Seamless Transition
      'Max Single Frame Duration Increase' field value without jitter impact
      'Max Single Frame Duration Decrease' field value without jitter impact
      Max Duration Increase: 0.00 ms
      Max Duration Decrease: 0.00 ms
      Min Refresh Rate: 30 Hz
      Max Refresh Rate: 120 Hz
    Descriptor #2:
      Native Panel Range
      Fixed Average V-Total and Adaptive V-Total
      Supports Seamless Transition
      'Max Single Frame Duration Increase' field value without jitter impact
      'Max Single Frame Duration Decrease' field value without jitter impact
      Max Duration Increase: 0.00 ms
      Max Duration Decrease: 0.00 ms
      Min Refresh Rate: 30 Hz
      Max Refresh Rate: 60 Hz
  Brightness Luminance Range Data Block:
    Minimum SDR Luminance (Full Coverage): 0.000500 cd/m^2
    Maximum Suggested SDR Luminance (Full Coverage): 500.000000 cd/m^2
    Maximum Boost SDR Luminance: 500.000000 cd/m^2
  Checksum: 0x08
Checksum: 0x90
=====================
/sys/class/drm/card1-HDMI-A-1
EDID of '/sys/class/drm/card1-HDMI-A-1/edid' was empty.
=====================
/sys/class/drm/card1-Writeback-1
EDID of '/sys/class/drm/card1-Writeback-1/edid' was empty.
=====================

Offline

#13 Today 06:49:12

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

  Video Timing Modes Type 7 - Detailed Timings Data Block:
    DTD:  2880x1800  120.000169 Hz  16:10   230.400 kHz    709.633000 MHz (aspect 16:10, no 3D stereo)
               Hfront    8 Hsync  32 Hback  160 Hpol N
               Vfront   80 Vsync  16 Vback   24 Vpol N
    DTD:  2880x1800   60.000085 Hz  16:10   230.400 kHz    709.633000 MHz (aspect 16:10, no 3D stereo, preferred)
               Hfront    8 Hsync  32 Hback  160 Hpol N
               Vfront 2000 Vsync  16 Vback   24 Vpol N

Those look very odd - the 60Hz pclk is way to high for 2880x1800@60 (even w/o any reduced blanking you'd expect 442.00 MHz) and the 120Hz one is closer to cvt1 rb (695.25), but higher than that.
FullHD isn't advertised at all.

However

only shows text when I type something into the CLI. If I run any TUI apps the screen will immediately stop updating

On Hyprland, when I set the config for the laptop monitor to run 1920x1200@120, the exact same problem occured, but setting it to 1920x1200@60 fixed it (as well as running it at native with 2880x1800@60 & 2880x1800@120).

Is this problem specific to hyprland and some wayland TE?
It does not happen on the linux console or an X11 session (openbox + xterm will do for a text, check "xrandr -q")?
What about sway or weston?

Online

#14 Today 07:49:28

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

I haven't tried Sway or Weston. But on Gnome (wayland) and Plasma (wayland), the display settings are listed:

- 2880x1800 (16:10) (60hz & 120hz)
- 1920x1200 (16:10) (60hz)

The option for 120hz seem to be missing. With Plasma saying 60hz is the only option for 1920x1200. I guess the display really doesn't support 120hz on that resolution.

Last edited by Poxinator (Today 08:04:02)

Offline

#15 Today 15:09:43

seth
Member
Registered: 2012-09-03
Posts: 62,823

Re: Screen only shows text on CLI when typing

The display (according to its edid) doesn't support FullHD at all, it's probably added as standard mode.

Next to what the different environments list, the more interesting question is whether "running it at native with 2880x1800@60 & 2880x1800@120" causes problems anywhere but with hyprland.

Online

#16 Today 15:11:52

Poxinator
Member
Registered: 2025-04-11
Posts: 11

Re: Screen only shows text on CLI when typing

Running native at 60hz or 120z on Gnome, Plasma with no problem.

Offline

Board footer

Powered by FluxBB