Screen Flicker Issues, Mostly on Wayland

Dozam

New Member
Joined
Sep 30, 2024
Messages
2
Reaction score
1
Credits
35
System info:

12th gen i7 CPU

64gb RAM DDR5 6000MHz

Radeon RX 79000XTX (issue happened on some of the distros with an nvidia card as well)

MSI MPG Z790 Edge WiFi

Monitors: 14 yr old Dell LCD panel (no apparent issues), Samsung Odyssey OLED G95SC

OS Installed on a partition on a SSD nvme drive, with another partition on that drive holding my windows installation.

Linux Distros where issue has been encountered (all were using Plasma; sorry don't remember exact versions):

Nobara, Manjaro, Bazzite, NixOS

Currently running NixOS Plasma with latest stable kernel.

The issue I'm encountering is an intermittent loss of video on my "main" monitor, the Samsung. When I'm saying video loss, I mean the screen goes black for 1-5 or so seconds. It's especially odd since the first day I started using NixOS (full fresh install) I had no issues, it wasn't until the following day that the issues started. It might have been the same with the other distros but I don't recall (but I'm leaning towards most of them it was the same).

I also found out that I'm getting frequent electron crashes. Not sure if it relevant or plays any part in this, but figured it should be noted.

After some experimenting I found that the following things I've seem to exacerbate the issue:

-Having VIvaldi(flatpak) open on the monitor

-Same with Discord and Heroic Game Launcher

-when interacting with the application launcher, mostly when moving from the categories to the actual apps, but not just limited to that.

-When pulling apps to the top of the screen to resize

-When disconnecting a flash drive

-When using Logout

-Sometimes when logging in

-When messing around with themes I did notice that some seem to make the issue worse, but I wasn't really paying attention at the time to be able to tell which ones it was.

-It's happened when I've had games open full screen as well.

Steps I've taken:

-I've tried switching my main monitor to my secondary, but flickering still happened on the Samsung.

-Turning off variable refresh rate

-Turning of HDR

-Swapping displayport cables

-Switched to GNOME with X11, issue became far less frequent, but didn't fully go away. Also didn't do the thorough testing I did with my apps in plasma.

I'm just trying to figure out how to stabilize my system so it stops doing this and I can actually use it without this issue.

Open to suggestions.

Thanks
 


System info:

12th gen i7 CPU

64gb RAM DDR5 6000MHz

Radeon RX 79000XTX (issue happened on some of the distros with an nvidia card as well)

MSI MPG Z790 Edge WiFi

Monitors: 14 yr old Dell LCD panel (no apparent issues), Samsung Odyssey OLED G95SC

OS Installed on a partition on a SSD nvme drive, with another partition on that drive holding my windows installation.

Linux Distros where issue has been encountered (all were using Plasma; sorry don't remember exact versions):

Nobara, Manjaro, Bazzite, NixOS

Currently running NixOS Plasma with latest stable kernel.

The issue I'm encountering is an intermittent loss of video on my "main" monitor, the Samsung. When I'm saying video loss, I mean the screen goes black for 1-5 or so seconds. It's especially odd since the first day I started using NixOS (full fresh install) I had no issues, it wasn't until the following day that the issues started. It might have been the same with the other distros but I don't recall (but I'm leaning towards most of them it was the same).

I also found out that I'm getting frequent electron crashes. Not sure if it relevant or plays any part in this, but figured it should be noted.

After some experimenting I found that the following things I've seem to exacerbate the issue:

-Having VIvaldi(flatpak) open on the monitor

-Same with Discord and Heroic Game Launcher

-when interacting with the application launcher, mostly when moving from the categories to the actual apps, but not just limited to that.

-When pulling apps to the top of the screen to resize

-When disconnecting a flash drive

-When using Logout

-Sometimes when logging in

-When messing around with themes I did notice that some seem to make the issue worse, but I wasn't really paying attention at the time to be able to tell which ones it was.

-It's happened when I've had games open full screen as well.

Steps I've taken:

-I've tried switching my main monitor to my secondary, but flickering still happened on the Samsung.

-Turning off variable refresh rate

-Turning of HDR

-Swapping displayport cables

-Switched to GNOME with X11, issue became far less frequent, but didn't fully go away. Also didn't do the thorough testing I did with my apps in plasma.

I'm just trying to figure out how to stabilize my system so it stops doing this and I can actually use it without this issue.

Open to suggestions.

Thanks
There's a few options that it's possible to check out with the radeon driver on X. For wayland, I can't say, but for X there are options available for trial and error testing which are outlined in the radeon man page. See: man radeon.

In particular the options "Accel", "TearFree", "AccelMethod" appear to be relevant, but there are others.

The way in which these options have been used on machines here is to create a configuration snippet and place it in a file such as the following:
/usr/share/X11/xorg.conf.d/50-radeonOptions.conf
Note the naming conventions are variable but the number specifies the order of loading and the file needs the suffix .conf for X to use it.

Some suggest the file be placed in the directory:
/etc/X11/xorg.conf.d/
but that has had variable results here.

Note that when altering the configuration of X, X needs to be restarted for the new configurations to take effect.

The first option worth trying is hardware acceleration, and to turn it off.

The file can have the following contents:
Code:
Section "Device"
     Identifier "Card0"
     Driver     "radeon"
     Option "Accel" "off"
EndSection
Also worth checking is the X log file, usually named:
Xorg.0.log
It could be in a number of different locations such as
/var/log/Xorg.0.log
or
/home/$USER/.local/share/xorg/Xorg.0.log
One ought to check the date of the log file since the log of the initial X installation may still be present with the same name. The location of the log file varies over distros.

In checking the log, you could also look for errors.

Apart from the above, the following site has useful information and some kernel options which may be worth considering:
 
Thanks!

I will try your guys' suggestions and come back here with the results as soon as I can.
 

Members online


Top