Bugzilla – Bug 36005
Screen flicker approx. every 30 seconds
Last modified: 2011-04-13 23:58:56 UTC
Forwarding this bug from Ubuntu reporter Lucas Reece:
Screen flicker approx. every 30 seconds after updating to Natty.
The system itself is 4 years old and has booted previous Linux distros and versions without seeing this flicker before.
Booting from the live CD and subsequently after installing, the screen flickers to black and back every 30 seconds or so.
Using daily build of Natty (2011-03-02).
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6~3ubuntu9
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
modes: 1280x1024 1280x1024 1152x864 1024x768 1024x768 800x600 800x600 640x480 640x480 720x400
Date: Wed Mar 2 19:11:15 2011
DistUpgraded: Fresh install
ATI Technologies Inc RV516 [Radeon X1300/X1550 Series] [1002:7183] (prog-if 00 [VGA controller])
Subsystem: Dell Device [1028:0302]
Subsystem: Dell Device [1028:0303]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
MachineType: Dell Inc. Dell DM061
LANG=en_GB.UTF-8ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic root=UUID=14233ea6-5c49-447c-b3a6-2b9c132deb9b ro quiet splash vt.handoff=7
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.vendor: Dell Inc.
dmi.board.vendor: Dell Inc.
dmi.chassis.vendor: Dell Inc.
dmi.product.name: Dell DM061
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4-0ubuntu3
version.libdrm2: libdrm2 2.4.23-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1~git20110215.cc1636b6-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu9
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu5
Created attachment 45320 [details]
Created attachment 45321 [details]
Created attachment 45322 [details]
Several other people claim to have the same issue. All remark that they did not have the issue on maverick but have on natty. Of those, several have tested with turning KMS off via radeon.modeset=0 and found that made the flickering go away, but led to some other issues.
One of these other people adds these test findings:
Silvio-frishi on 3/26:
I have the same problem on natty64 with VGA video projectors.
I tested it with two computers with two different drivers (xf86-video-ati, xf86-video-nouveau).
I tested it with three different video projector.
I tested it with three different VGA cables.
I tested it with kernels 2.6.35, 2.6.37, 2.6.38
I tested it with libdrm(i.e. libkms) 2.4.21, 2.4.23 (remark here i didn't reboot)
And it always flickered (with exception 3. projector see below).
Remark with two of three projectors I used addmode since the drivers didn't recognize the native resolution of the beamer.
Everything always worked well if I used my old Gentoo (2.6.33 - but with KMS,ati and with addmode)
With the 3. projector in natty it worked properly because it recognized the native resolution. But if I
added an other resolution to it and changed to that it flickered again.
so it's possible It has some thing to do with --addmode
I think this worked on Maverik but I'm not sure since I didn't use --addmode much
Most likely this is upowerd or keventd polling the outputs using randr at 30 second intervals looking for a monitor. If nothing is connected, load detection will be attempted which on analog outputs which can cause a flicker. They shouldn't be doing that as the kms drm will automatically generate events when outputs are connected.
*** Bug 33437 has been marked as a duplicate of this bug. ***
I have same regression with Debian Sid.At the moment I'm using quick and ugly workaround and kill upowerd in order to make external monitor usable without going blank/reseting settings after every ~30 seconds.
Anyhow, if you need any output, I'm glad to provide.
 Linux 2.6.38-2-686 #1 SMP Tue Mar 29 17:27:45 UTC 2011 i686 GNU/Linux
 pkill -9 upowerd
It is "fixed" for me in version 0.9.9 because of this commit:
with PollDockDevices=false in UPower.conf it's only relying on uevents and stops polling sysfs.
So marking this as fixed then, thanks for checking!