You are not logged in.

#1 2023-11-29 17:15:23

LASTkrypton
Member
Registered: 2023-11-25
Posts: 13

Screen flashing while watching youtube

Screen randomly flashes while watching YouTube in full screen mode or when playing games. Some point the issue to XORG, but wasn't able to find much information with how to get rid of it.
Had the same issue on Debian.
GPU is a RX580, stable without any issues on Windows.

Thanks.

Last edited by LASTkrypton (2023-11-29 17:16:08)

Offline

#2 2023-11-29 19:51:03

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Screen flashing while watching youtube

https://wiki.archlinux.org/title/AMDGPU … cy_problem?

EDIT: damn, that's useful for me, as it happens. Thanks for posting this :-)

Last edited by Head_on_a_Stick (2023-11-29 19:51:49)


Jin, Jîyan, Azadî

Offline

#3 2023-11-30 20:10:55

LASTkrypton
Member
Registered: 2023-11-25
Posts: 13

Re: Screen flashing while watching youtube

No problem smile, it's a annoying thing because you can't watch videos in full screen nor play some games.
I get issues when:

]$ udevadm info --attribute-walk /sys/class/drm/card0 | grep "KERNEL="
Unknown device "/sys/class/drm/card0": No such device

Last edited by LASTkrypton (2023-11-30 20:12:23)

Offline

#4 2023-12-01 06:09:34

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Screen flashing while watching youtube

But /sys/class/drm/ does list some cards with numbers attached, no?

Here's mine:

empty@archlinux ~ % ls /sys/class/drm/
card1       card1-eDP-1     card2       card2-DP-3  card2-DP-5  card2-eDP-2  renderD129
card1-DP-1  card1-HDMI-A-1  card2-DP-2  card2-DP-4  card2-DP-6  renderD128   version
empty@archlinux ~ %

And when I run nvtop it identifies my discrete card as "0" and the integrated card as "1", which must translate to card1 & card2, respectively.

So I use this:

empty@archlinux ~ % cat /etc/tmpfiles.d/amdgpu.conf 
w /sys/class/drm/card2/device/power_dpm_force_performance_level - - - - high
empty@archlinux ~ %

And all the artefacts are gone :-)

The udev rule printed in the wiki doesn't work for me, not sure why, but I use tmpfiles.d to set other processor features anyway.

Last edited by Head_on_a_Stick (2023-12-01 06:09:46)


Jin, Jîyan, Azadî

Offline

#5 2023-12-01 23:12:25

LASTkrypton
Member
Registered: 2023-11-25
Posts: 13

Re: Screen flashing while watching youtube

Al tho the flashing is reduced, it isn't fully removed. I'm still having some issues, but I'll do a fresh install without xorg tomorrow anyways.

Last edited by LASTkrypton (2023-12-01 23:13:38)

Offline

#6 2023-12-02 21:25:57

LASTkrypton
Member
Registered: 2023-11-25
Posts: 13

Re: Screen flashing while watching youtube

Also why does this happened ?

# echo high > /sys/class/drm/card1/device/power_profile
-bash: /sys/class/drm/card1/device/power_profile: Permission denied

Offline

#7 2023-12-02 21:29:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,054

Re: Screen flashing while watching youtube

stat /sys/class/drm/card1/device/power_profile
cat /sys/class/drm/card1/device/power_profile

The "#" indicates you ran that as root?
Otherwise try "echo high | sudo tee /sys/class/drm/card1/device/power_profile"

Online

#8 2023-12-03 00:37:43

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Screen flashing while watching youtube

LASTkrypton wrote:

Also why does this happened ?

Because you're using the wrong file. Read my posts again.

tee /sys/class/drm/card1/device/power_dpm_force_performance_level <<<'high'

We don't need no stinkin' pipe tongue


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB