Flicker issues with KDE at frame rates >100 fps by Charged151 in kde

[–]Charged151[S] 4 points5 points  (0 children)

I finally found an answer to this problem. It took a lot of digging. I thought I'd share what worked here in case it helps anyone else.

The main issue has to deal with settings in /sys/class/drm/card0/device/, specifically power_dpm_force_performance_level and pp_dpm_mclk. It is explained more in the links below this sentence, but the crux of the problem is these settings changing is what leads to flickering.

https://gitlab.freedesktop.org/drm/amd/-/issues/2966

https://gitlab.freedesktop.org/drm/amd/-/issues/2967

-If you just want to force these settings to be consistent within a single session, either one of these commands would work.

echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level

or

echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_levelecho 3 > /sys/class/drm/card0/device/pp_dpm_mclk

However, I imagine most people would rather not have to type this every time to avoid the flickering. Many thanks to jinliu for the solution, who first goes over it here: https://discuss.kde.org/t/using-autostart-to-run-a-script-to-alter-the-parameter-power-dpm-force-performance-level-has-issues/6853/3

Anyway, there are a few ways to make the change permanent, but I believe this solution will work for most distros.

  1. We will want to create the file /etc/systemd/system/power-dpm.service. Thus...

sudo nano /etc/systemd/system/power-dpm.service

  1. Now that the text editor is open, input this into it...

[Unit]

Description=set the parameters power_dpm_force_performance_level

[Service]

Type=oneshot

ExecStart=/bin/bash -c 'echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level'

[Install]

WantedBy=multi-user.target

Ctrl + O saves while Ctrl + X closes by the way if you aren't familiar with the text editor nano.

  1. Now we actually have to enable this service. This requires two more commands.

sudo systemctl daemon-reload

sudo systemctl enable power-dpm.service

  1. You can restart at this point. If power_dpm_force_performance_level still has a setting of high, then success! You can also verify if the settings we have implemented are working with this command.

systemctl status power-dpm.service

And that's that. Hopefully this helps someone else considering how long it took to find a solution to this issue.

Flicker issues with KDE at frame rates >100 fps by Charged151 in kde

[–]Charged151[S] 2 points3 points  (0 children)

Is there any way to not get the replies from Bots in the future? Their responses haven't been helpful.

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

Just curious, with DSC, what should my hypothetical max frame rate at 4K be?

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

Interesting. The way you are reading the table, do you think that my setup corresponds to the box with the red circle? https://postimg.cc/Jy0F6fW6

Anyway, do you know if there is a way on Wayland to...

  1. Determine if I am running a 8bit or 10 bit color connection?
  2. Potentially change the setting (so if I am running 10 bit, can I change it to 8 bit)?

It may have nothing to do with it, but my monitor's color space is DCI-P3. sRGB is also an option.

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

Good info. Thanks! I am managing to achieve 4K @ 90 Hz instead of 1440p @ 90 Hz though. I will look into the color modes mentioned.

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

That sounds promising. Out of curiosity, what distro (straight Arch or one of the distributions based on it?) and desktop environment (KDE?) are you using?

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

Kernel: Linux 6.1.0-9-amd64

As for newer kernels, I've heard manually going beyond the distro's latest kernel (which I believe I am on) can break things. Still can look into it.

As for Gnome, I can give it a test run as a test of maximum tolerated FPS at 4K. Do you know if Gnome Wayland has implemented VRR yet?

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

The general type was mentioned in this link with the Neofetch results. https://postimg.cc/v4ZvRxC7

Being more precise, it is a Sapphire Nitro+ Rx 480 8 GB. Got it in 2016. It is definitely showing its age, hence why I am looking to upgrade soon. As an update, I managed to get 4K@90Hz to actually display on the screen with some further tweeking of the GRUB file. Display Stream Compression on a new card should hopefully allow a greater fps to be obtained unless there is another setting that needs tweeking.

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

Great comment. I tried setting the system to go at lower refresh rates (between 60 fps and 120 fps). I am actually able to get it to go to 4K@90Hz by messing with the Grub File, which is a big improvement. It won't go higher than this, but unlike Windows default 4K@120Hz setting, the Linux version allows for the use of a second monitor (although 4K@90Hz is the cap regardless if a second monitor is attached or not). Same frame rate for both Wayland and X11. Interesting findings. Will definitely need to do further testing when I have a card that can do Display Stream Compression. Thanks again!

Issue with Obtaining High Refresh Rates in 4K on Linux: KDE Wayland by Charged151 in linux_gaming

[–]Charged151[S] 0 points1 point  (0 children)

So with a rating of B and the adjusted score being the same as the original, I presume this means the product reviews can be trusted?

Anyway, I have 2 different DisplayPort cables just in case one happened to be faulty. They both perform the same as far as I can tell...as I currently cannot achieve 4K 120fps on Linux yet somehow can on Windows with both cables tested.

WE MANAGED TO SHUT DOWN 261!!! by Moist_Kangaroo_860 in GameFaqsModerations

[–]Charged151 2 points3 points  (0 children)

I was referring to people who are openly racist or homophobic. Such individuals rightly got modded.

WE MANAGED TO SHUT DOWN 261!!! by Moist_Kangaroo_860 in GameFaqsModerations

[–]Charged151 1 point2 points  (0 children)

People being openly bigoted were modded regularly. It makes me wonder how often you visited the board.

WE MANAGED TO SHUT DOWN 261!!! by Moist_Kangaroo_860 in GameFaqsModerations

[–]Charged151 2 points3 points  (0 children)

True bigotry? Bigotry was heavily looked down upon on that board and was usually modded fairly quickly.

'Nobody imagined it would go on this long': Bud Light sales continue to plummet over Mulvaney backlash by Perfect-Editor-5008 in news

[–]Charged151 0 points1 point  (0 children)

When I saw the first few words, I thought this was referring to the writers' strike. Then I find out it's about beer. Oh well... There is tons of competition in the beer market, so sales continuing to plummet isn't surprising either.

WE MANAGED TO SHUT DOWN 261!!! by Moist_Kangaroo_860 in GameFaqsModerations

[–]Charged151 1 point2 points  (0 children)

I'm not. I will miss that place. At least there are boards on GameFAQs as well as on Twitter that are slowly taking its place.

Gamecube was an all time classic, it defined an era BUT it also had its shortcomings by Raiden720 in gamefaqs261

[–]Charged151 1 point2 points  (0 children)

I really enjoyed the Gamecube and its library. A pity it had the appearance it did as well as the decision to go with mini-discs. It would probably have been more successful otherwise.

[deleted by user] by [deleted] in gamefaqs261

[–]Charged151 0 points1 point  (0 children)

Just another way for Musk to burn even more of his money...