From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 108514] heavy screen flickering with Mobility Radeon X1600 and
kernel version onwards 3.13
Date: Mon, 22 Oct 2018 16:07:16 +0000
Message-ID:
Bug ID
108514
Summary
heavy screen flickering with Mobility Radeon X1600 and kernel=
version onwards 3.13
Product
DRI
Version
unspecified
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
DRM/Radeon
Assignee
dri-devel@lists.freedesktop.org
Reporter
werner.lueckel@googlemail.com
my laptop: HP Compaq nx9420
my grafic card:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RV530/M56-P [Mobility Radeon X1600] (prog-if 00 [VGA controller])
screen resolution: 1680x1050@60.1=
when booting UBUNTU "14.04.5 LTS, Trusty Tahr" kernel 3.13.0-160-=
generic
-> the screen is fine in text-mode and in grafic-mode; NO flickering.
boot-messages say:
[drm] Initialized radeon 2.36.0 ...
BUT,
when booting UBUNTU "18.04.1 LTS (Bionic Beaver)" kernel 4.15.0-3=
6-generic
-> the screen starts heavy flickering as soon as the kernel-module "=
;radeon.ko"
is loaded. The flickering continues in grafic-mode.
here the boot-messages say:
[drm] Initialized radeon 2.50.0 ...
so: this seems to be a new version of radeon.ko.
My question:
- is there a method or a 'hidden flag' to switch radeon.ko-2.50 back to the
good behaviour of radeon.ko-2.16?
Any chance you can narrow down when the regression occurred an= d bisect it using git? Please attach your dmesg output and xorg log (if using X).
Created attachment 142154 [details]
dmesg Ubuntu14.04, Kernel3.13.0-160, radeon 2.36.0, screen O.K.
Created attachment 142155 [details]
dmesg Ubuntu18.04, Kernel4.15.0-36, radeon 2.50.0, screen flickering
- I attached 2 dmesg-listings; booting Ubuntu14.04, Kernel3.13 -> screen is o.k.; no flickering booting Ubuntu18.04, Kernel4.15 -> screen flickers. - no Xorg log since the flickering happens already in text-mode - I did the following test (on Ubuntu18.04): . boot with radeon.modeset=3D0 (thus: disable radeon driver) -> screen o.k.; NO flickering . then sudo modprobe -v radeon modeset=3D1 -> and the flickering starts ...
Created attachment 142156 [details]
dmesg Ubuntu14.04, Kernel4.4.0-133, radeon 2.43.0, screen flickering
... and I found out that the screen-flickering already starts with
VERSION=3D"14.04.5 LTS, Trusty Tahr"
kernel: 4.4.0-133-generic
radeon 2.43.0
see the attached dmesg14.04_4.4.0-133.txt
Additional Information: - I have the same flickering screen with Debian Life CD: UBCD-life Linux version 3.16.0-4-586 [drm] Initialized radeon 2.39.0 20080528
some more tests with different systems give the following tabl= e: sorted by radeon-version system kernel radeon res= ult ------------------------- ----------- --------=20=20=20= =20=20=20=20 -------- UBUNTU 14.04.5 LTS, Trusty Tahr 3.13.0-161 2.36.0 O.K. puppy_tahr 6.0.5 3.14.56 2.37.0 O.K. puppy_slacko 6.3.2 3.14.55 2.37.0 O.K UBCD 3.16.0 2.39.0 FLI= CKER puppy_xenialpup 7.5 4.4.95 2.43.0 FLI= CKER UBUNTU 14.04.5 LTS, Trusty Tahr 4.4.0-133 2.43.0 FLI= CKER UBUNTU 18.04.1 LTS (Bionic Beaver) 4.15.0-36 2.50.0 FLI= CKER so the problem seems to start with a radeon.ko driver > 2.37.0; I wonder how the radeon-version 2.38.0 would work, but, so far, I havn't=20 found a system including it.
more tests with flickering screen: - check modelines "xvidtune -show -display :0" 14.04 trusty (NO flickering) "1680x1050" 122.00 1680 1712 1776 1904 1050 1051 1054 1066 -hsy= nc -vsync 18.04.1 LTS (Flickering screen) "1680x1050" 122.00 1680 1712 1776 1904 1050 1051 1054 1066 -hsy= nc -vsync -> exactly the same - on 18.04.1 LTS=20 (1) with flickering grafic screen: repeatedly switch the screen-mode (xrandr):=20 to 1440x900 and back to 1680x1050 -> typically after 2...5 repetitions the screen is o.k. and stops flic= kering (2) BUT: when the screen awakes from "sleep" -> the flickeri= ng starts again! switch to text-console (F1) -> flickers too! switch back to grafic (F7) -> flickering continues the I may continue with (1)=20 OR (frustrated):=20 BOOT 14.04 trusty; which still works fine; excellent grafic; never flick= ers; ... and start working! - BUT: what can I do when support for "14.04 trusty" ends?
(In reply to Alex Deucher from comment #1) > Any chance you can narrow down when the regressi= on occurred and bisect it > using git? Please attach your dmesg output and xorg log (if using X).= I tried to narrow down the flickering issue making several tests; see my comments below.
(In reply to Alex Deucher from comment #1) > Any chance you can narrow down when the regressi= on occurred and bisect it > using git? Please attach your dmesg output and xorg log (if using X).= ... sorry, by comments are not below, but "above" ...
(In reply to Werner Lueckel from comment #8) >=20 > - BUT: what can I do when support for "14.04 trusty" ends?= span > Try radeon.new_pll=3D0
thank you for your tip, but radeon.new_pll=3D0 gives me ... radeon: unknown parameter 'new_pll' ignored And: I cannot find 'new_pll' in 'modinfo -p radeon'; So new_pll seems to be (no longer?) a radeon parameter.
I am comparing PLL values for a not flickering kernel: Linux version 3.14.79-031479-generic and version 4.15 (recent one): Linux 4.15: Flickering values [ 5.554557] [drm:radeon_compute_pll_avivo [radeon]] 122000 - 121980, pll dividers - fb: 253.0 ref: 8, post 7 [ 465.773119] [drm:radeon_compute_pll_avivo [radeon]] 122000 - 121980, pll dividers - fb: 253.0 ref: 8, post 7 [ 503.796178] [drm:radeon_compute_pll_avivo [radeon]] 122000 - 121980, pll dividers - fb: 253.0 ref: 8, post 7 Linux version 3.14.79-031479-generic: no flickering [4.250932] [drm:radeon_compute_pll_avivo], 12201, pll dividers - fb: 189.8 = ref: 6, post 7 [ 230.376566] [drm:radeon_compute_pll_avivo], 12201, pll dividers - fb: 18= 9.8 ref: 6, post 7 122000 is about 10x 12201 I don't know what are these values, but it seems very different!
I had determined that 3.15-rc2 was the first version where fli= ckering appears. I guess it could be related to: https://lists.freedesktop.org/archives/dri-devel/2014-April/057800= .html
What | Removed | Added |
---|---|---|
Summary | heavy screen flickering with Mobility Radeon X1600 and kerne= l version onwards 3.13 | heavy screen flickering with Mobility Radeon X1600 and kerne= l version 3.15rc2 onward |
What | Removed | Added |
---|---|---|
See Also | https://launchpad.net/bugs/1791312 |
Created attachment 143324 [details]
Paul's dmesg with drm.debug=3D4 on kernel 3.14_79 (No flickering)
Created attachment 143325 [details]
Paul Dufresne's Xorg.0.log for k3.14.79 no_flickering
Created attachment =
143326 [details]
dufresnep's dmesg for kernel 4.15.0-45-generic (Linux Mint) with drm.debug=
=3D4
with a lot of flickering
Created attachment 143327 <=
a href=3D"attachment.cgi?id=3D143327&action=3Dedit" title=3D"dufresnep'=
s Xorg.0.log for kernel 4.15.0-45 (Mint 19) with drm.debug=3D4 lots of flic=
kering">[details]
dufresnep's Xorg.0.log for kernel 4.15.0-45 (Mint 19) with drm.debug=3D4 lo=
ts of
flickering
Created attachment 143328 [details]
dufresnep's dmesg for kernel 4.15.0-45-generic with drm.debug=3D0 with stra=
ngely
no flickering
Created attachment 143329 [d=
etails]
dufresnep's xorg log for kernel 4.15.0 with drm.debug=3D0 strangely without
flickering