You are not logged in.

#1 2015-08-21 19:51:36

HarlemSquirrel
Member
From: US-East
Registered: 2014-01-22
Posts: 130
Website

AMD R9 270X Flickering with DPM Enabled on Linux 4.1 with RadeonSI

I upgraded my system today from the 4.0 kernel to 4.1. After rebooting, I am getting crazy flickering that makes my system unusable. I rebooted and disabled dynamic power management with radeon.dpm=0 as a kernel parameter. The flickering is now gone. I have an R9270X running with the open source drivers. I did a quick search and could not find a similar issue anywhere. Does anyone have any suggestions?

I built the kernel using the linux-git package in AUR and have the same issue with DPM. linux-git 4.2rc7

dmesg reports...

[drm:si_dpm_set_power_state [radeon]] *ERROR* si_restrict_performance_levels_before_switch failed

I tried switching the connection to my monitor from DisplayPort to HDMI and I got...

[  317.193439] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery reached max voltage
[  317.193464] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed

Downgrading to linux 4.0.7-2-ARCH resolves this issue, so this seems to be a regression introduced with linux 4.1

I created this bug report: https://bugzilla.kernel.org/show_bug.cgi?id=103271


UPDATE 2015-09-06
I still have the problem with kernel 4.2-3 that is in testing. I am attempting to bisect but is my first shot at this. Wish me luck!


UPDATE 2015-09-15
I have learned quite a bit about bisecting kernels! I identified the fastest way to bisect and compile by enabling ccache with makepkg, moving all files to an SSD, building only the linux-bisect package, and passing `MAKEFLAGS=-j8` to really utilitze all the eight cores of my FX-8370. I copied the files from linux-git and renamed it in the PKGBUILD to linux-bisect. I got it down to two commands...

cd ~/linux-bisect/src/linux && git bisect [bad|good|skip]
cd ../.. && time MAKEFLAGS=-j8 makepkg -ei --pkg linux-bisect

I also think I identified the culprit...

5dfc71bc44d91d1620505c064fa22b0b3db58a9d is the first bad commit
commit 5dfc71bc44d91d1620505c064fa22b0b3db58a9d
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Thu Jul 9 21:08:17 2015 -0400

    drm/radeon: add a dpm quirk for Sapphire Radeon R9 270X 2GB GDDR5
    
    bug:
    https://bugs.freedesktop.org/show_bug.cgi?id=76490
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org

:040000 040000 1534fb2d1b515cfd10436a41c1cffd6e46103815 7f55661cf1fc3b880a37e35fcbed9ca9a55568c5 M	drivers

Last edited by HarlemSquirrel (2015-09-15 13:58:55)


"Melody reigns supreme!"
    -J. J. Johnson

Offline

#2 2015-12-31 12:27:08

ozlacs
Member
Registered: 2015-12-31
Posts: 1

Re: AMD R9 270X Flickering with DPM Enabled on Linux 4.1 with RadeonSI

Hi,
I've a Radeon R9 270x, and I've this problem, I used the patch in this until now.
why still no fix with 4.3 kernel?

Offline

#3 2015-12-31 12:48:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: AMD R9 270X Flickering with DPM Enabled on Linux 4.1 with RadeonSI

Check https://bugs.freedesktop.org/show_bug.cgi?id=76490

That commit solved a serious problem where some radeon cards didn't give ANY ouput with dpm enabled.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB