Bug 1241579

Summary: primary display flicker after boot or wakeup or mode switch on Radeon Mobility X1600
Product: [Fedora] Fedora Reporter: Andrej Kvasnica <andrej>
Component: xorg-x11-drv-atiAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: bocketb, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 19:14:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
flickering and snow at native resolution
none
dmesg on old kernel
none
dmesg-4.0.6-300.fc22.x86_64 (flickering)
none
lsmod-3.14.27-100.fc19.x86_64 no flicker
none
lsmod-4.0.6-300.fc22.x86_64 flickering
none
radeon registers on 3.14.27-100.fc19.x86_64 no flickering
none
radeon registers on 4.0.6-300.fc22.x86_64 flickering
none
flickering screen detail
none
flickering screen detail 2 none

Description Andrej Kvasnica 2015-07-09 14:12:45 UTC
Created attachment 1050299 [details]
flickering and snow at native resolution

Description of problem:
Primary display start to flicker after choosing kernel at the boot time or after waking machine up from sleep.

It seems to be related to radeon x1600 and kernel combination since the display is ok on older kernel-3.14.27-100.fc19.x86_64 and start to flicker on kernel-3.19.8-100.fc20.x86_64 through latest kernel-4.0.7-300.fc22.x86_64 from testing repo.

Version-Release number of selected component (if applicable):
kernel-3.14.27-100.fc19.x86_64 is ok
kernel-3.19.8-100.fc20.x86_64 flickers
kernel-4.0.5-200.fc21.x86_64 flickers
kernel-4.0.6-300.fc22.x86_64 flickers
kernel-4.0.7-300.fc22.x86_64 flickers

How reproducible:
Always flicker and sometimes there is something like synchronisation snowing at the right side of vertical lines (right window frame).

Steps to Reproduce:
1. boot/wakeup machine with post-3.14 kernel
2. watch flickering
3.

Actual results:
screen flicker

Expected results:
screen does not flicker

Additional info:
It's possible to cure the display flickering by switching to lower resolution and then switch back to native resolution. I made a script so I don't need to switch resolutions manually:

#!/bin/bash
xrandr --output LVDS --mode 1440x900 
sleep 3
xrandr --output LVDS --mode 1680x1050

This should be run one or several times to stop screen flickering at the native resolution.
The screen sometimes flicker on lower resolution too, it seems it's somehow related to screen refresh frequency (it flicker less often when the frequency is closer to 59Hz but it may be just unrelated fact).

Comment 1 Andrej Kvasnica 2015-07-09 14:13:44 UTC
Created attachment 1050300 [details]
dmesg on old kernel

Comment 2 Andrej Kvasnica 2015-07-09 14:14:41 UTC
Created attachment 1050302 [details]
dmesg-4.0.6-300.fc22.x86_64 (flickering)

Comment 3 Andrej Kvasnica 2015-07-09 14:15:20 UTC
Created attachment 1050303 [details]
lsmod-3.14.27-100.fc19.x86_64 no flicker

Comment 4 Andrej Kvasnica 2015-07-09 14:15:45 UTC
Created attachment 1050304 [details]
lsmod-4.0.6-300.fc22.x86_64 flickering

Comment 5 Andrej Kvasnica 2015-07-09 14:16:35 UTC
Created attachment 1050305 [details]
radeon registers on 3.14.27-100.fc19.x86_64 no flickering

Comment 6 Andrej Kvasnica 2015-07-09 14:17:11 UTC
Created attachment 1050306 [details]
radeon registers on 4.0.6-300.fc22.x86_64 flickering

Comment 7 Andrej Kvasnica 2015-07-09 14:20:38 UTC
Created attachment 1050318 [details]
flickering screen detail

Comment 8 Andrej Kvasnica 2015-07-09 14:21:15 UTC
Created attachment 1050319 [details]
flickering screen detail 2

Comment 9 bocketb 2015-07-29 20:24:45 UTC
Same problem here. I have a Compaq nc8430.

$ lspci -k | grep -A3 VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV530/M56-P [Mobility Radeon X1600]
        Subsystem: Hewlett-Packard Company Compaq NW8440
        Kernel driver in use: radeon
        Kernel modules: radeon

A similar problem seem to have occurred in the past [1].

Symptoms: the screen starts flickering after the kernel version is selected in grub, when the fedora logo shows the loading progress.
It seems that when rebooting flickering is lighter, or might not come at all (rare).

The problem appeared when I upgraded from fedora 19 to 21 (kernels: 3.14 -> 4.0.8). I upgraded just after to fedora 22 (with still kernel 4.0.8).

I have tried downgrading xorg-x11-drv-intel as advised at [3], but it was unsuccessful (it’s not an Intel graphics card indeed).

I also tried the recommendations at [4] but it was unsuccessful too.

Booting on my 3.14 kernel works around the problem. (Thanks for keeping the last 3 kernels in the Grub config!)
The machine is unusable with this screen flickering.

Another person seems to have the same problem on Ask Fedora [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=571046
[2] https://ask.fedoraproject.org/en/question/65843/screen-flickering-when-install-fedora21/
[3] https://fedoraproject.org/wiki/Common_F22_bugs#Massive_screen_corruption_on_older_Intel_graphics_cards
[4] https://ask.fedoraproject.org/en/question/69542/fedora-22-full-screen-tearingflickering-under-kde/

Comment 10 Andrej Kvasnica 2015-07-31 15:26:59 UTC
same problem described at https://bugzilla.kernel.org/show_bug.cgi?id=85361

Comment 11 Fedora End Of Life 2016-07-19 19:14:11 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.