You are not logged in.
For a while now, when I play a game and encounter a loading screen or there are a lot of entities on the screen my monitor turns off and turns back on again. I know the game is going on in the background while the monitor is black and if I screenshot when the screen is black it actually gives me what should be displayed on the screen. Rarely the display comes back broken up into off-center quadrants with the bottom-right quadrant going to the top-left and glitching with yellow and green horizontal lines over the screen. More often it becomes pixelated permanently until the monitor powers off again. This has made many games unplayable on Arch for me, such as TF2, for example.
My monitor is a BenQ EX2710S.
Here's the output of 'xrandr -q':
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
1920x1080 59.96*+
1440x1080 59.99
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
1680x1050 59.95
1440x900 59.89
1280x800 59.81
720x480 59.71
640x400 59.95
320x200 58.96
1600x900 59.95
1368x768 59.88
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77This issue seems to be independent of whether I'm using X11 or Wayland. I've tried both.
Last edited by Chagatay (2023-01-06 09:25:15)
Offline
Please edit your post to use [ code ] [ /code ] tags. What graphics card, drivers etc. are you using? I'd suggest posting the journal from a boot when the issue occurs. If using X, post the Xorg log, too. (I don't know what the equivalent is for Wayland.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Sounds cable. Test a different cable.
Offline
Please edit your post to use [ code ] [ /code ] tags. What graphics card, drivers etc. are you using? I'd suggest posting the journal from a boot when the issue occurs. If using X, post the Xorg log, too. (I don't know what the equivalent is for Wayland.)
It's not a cable issue. This seems to be triggered by software. Whenever something computationally intensive is going on the display powers off. I can consistently trigger the display power off in many different applications. I've also noticed that if I tab out in KDE and look at the preview of the application the black screen does not occur.
I'm using RX 6600 XT and I have mesa 22.3.2-1 installed. I also have xf86-video-amdgpu 22.0.0-1 and vulkan-radeon 22.3.2-1.
Offline
Power management.
Try to enforce a higher profile and/or disable runtime power management
https://wiki.archlinux.org/title/AMDGPU#Power_profiles
amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0 pcie_aspm=0(dpm=0 might cause the GPU to fail entirely, use the kernel commandline editor in your bootmanager)
https://wiki.archlinux.org/title/Kernel_parameters
Offline
Power management.
Try to enforce a higher profile and/or disable runtime power management
https://wiki.archlinux.org/title/AMDGPU#Power_profilesamdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0 pcie_aspm=0(dpm=0 might cause the GPU to fail entirely, use the kernel commandline editor in your bootmanager)
https://wiki.archlinux.org/title/Kernel_parameters
Hi, thanks that does seem very likely to be the issue. I don't know which file exactly is supposed to tell you the current state but I was curious to try to find it and I checked /sys/class/drm/card0/device/pp_cur_state and that is 0.
I also checked /sys/class/drm/card0/device/pp_table and that is just a long string of gibberish. I don't know if it's supposed to look like that.
chagatay@archbox ~ % cat /sys/class/drm/card0/device/pp_table
R " "Cv
*a<<,N
N
N
nndddddddddd2
____rrllltdndssss
h8?2d
2h77
?8 >.(??H>X:V>q=?(>R
?>a?\>(>@;B`?><?J>R]>(>@;B`?><?J>R]>?>
+;q=
?>?sh>;/?]>?sh>;/?]>7?:?Di>9?,?sh>;/?]>R
<a,*0?K=Ujv0?K=Ujv0?K=Ujvb?#=.&?m=,>R
L
]Q]hs~
n
W)羾Xp_T
Xޓ@rh>)\T
T
dd7
7
hH
t2W+entoidgai atMemryn$mL+T_MEM1 nCnrol annZ%Update:
I've ran 2 boots with the above mentioned kernel parameters. One with amdgpu.dpm=0 which did indeed cause the GPU to fail and one without it. The problem persists. There's no difference in how the display power off is behaving.
Last edited by Chagatay (2023-01-06 10:44:55)
Offline
That's binary data, https://docs.kernel.org/gpu/amdgpu/ther … l#pp-table
Why are you looking at it, did you check the link I posted?
Offline
That's binary data, https://docs.kernel.org/gpu/amdgpu/ther … l#pp-table
Why are you looking at it, did you check the link I posted?
I was looking around the files to try and find out if I can monitor the current power management state and whether it changes when the application is open or not.
Offline