Bug 678381

Summary: Screen blinking every 30 secs
Product: [Fedora] Fedora Reporter: Henrique C. S. Junior <henriquecsj>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: airlied, ajax, bskeggs, mcepl, raven.oscar, rh
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-20 23:08:41 UTC Type: ---
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
dmesg
none
Xorg.0.log
none
Xorg.0.log.old
none
Xorg.9.log
none
messages
none
dmesg none

Description Henrique C. S. Junior 2011-02-17 18:17:39 UTC
Created attachment 479376 [details]
dmesg

Description of problem:
After installing F15 (rawhide) my screen is blinking every 30 secs. TTY2 to 7 shows some errors. I do not know if this is juts Nouveau's fault.

(...)
Feb 17 16:04:42 localhost kernel: [  896.168188] i2c i2c-1: sendbytes: NAK bailout.
Feb 17 16:04:42 localhost kernel: [  896.168297] [drm] nouveau 0000:01:00.0: DDC responded, but no EDID for VGA-1
Feb 17 16:04:42 localhost kernel: [  896.181015] [drm] nouveau 0000:01:00.0: Load detected on output A
Feb 17 16:05:13 localhost kernel: [  927.156200] i2c i2c-1: sendbytes: NAK bailout.
Feb 17 16:05:13 localhost kernel: [  927.156310] [drm] nouveau 0000:01:00.0: DDC responded, but no EDID for VGA-1
Feb 17 16:05:13 localhost kernel: [  927.169014] [drm] nouveau 0000:01:00.0: Load detected on output A (...)

Version-Release number of selected component (if applicable):
xorg-x11-drv-nouveau-0.0.16-17.20110117git38e8809.fc15.i686
kernel-2.6.38-0.rc4.git0.1.fc15.i686



How reproducible:
Just install Rawhide and use it

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Screen blinking every 30 secs, TTYs poluted with errors


Expected results:
A stable and not-blinking screen.


Additional info:
Here is my hardware: 01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 SE/7200 GS] (rev a1)

Comment 1 Matěj Cepl 2011-03-01 14:48:21 UTC
Try to install from console package upower-devel. Does it help?

Comment 2 Henrique C. S. Junior 2011-03-07 22:47:06 UTC
No, it does not work. My F15 is updated, but the problem is still here.

Comment 3 Matěj Cepl 2011-03-08 13:18:25 UTC
OK, then it is something different and we need more information to find out what's going on here.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 4 Henrique C. S. Junior 2011-03-09 12:23:38 UTC
Created attachment 483186 [details]
Xorg.0.log

Comment 5 Henrique C. S. Junior 2011-03-09 12:24:41 UTC
Created attachment 483189 [details]
Xorg.0.log.old

Comment 6 Henrique C. S. Junior 2011-03-09 12:25:22 UTC
Created attachment 483191 [details]
Xorg.9.log

Comment 7 Henrique C. S. Junior 2011-03-09 12:27:45 UTC
Created attachment 483193 [details]
messages

Comment 8 Henrique C. S. Junior 2011-03-09 12:29:57 UTC
Created attachment 483195 [details]
dmesg

Comment 9 Henrique C. S. Junior 2011-03-09 12:30:54 UTC
Hi, Matej, I hope it helps.
Let me know if you need more info.

Comment 10 Henrique C. S. Junior 2011-03-09 12:33:08 UTC
(In reply to comment #9)
> Hi, Matej, I hope it helps.
> Let me know if you need more info.

By the way, my system does not have a xorg.conf

Comment 11 Henrique C. S. Junior 2011-03-10 23:54:56 UTC
Just to let you know that the last update to xorg-x11-drv-nouveau-0.0.16-20.20110224gitbc5dec2.fc15.i686 did not fix the problem.

Comment 12 Henrique C. S. Junior 2011-03-15 19:44:57 UTC
I've noticed that the same bug is present in my new openSUSE 11.4 install, so, that means that the problem is not restricted to Fedora.

Comment 13 Constantine 2011-03-16 04:14:03 UTC
I have the same problem with ATI Radeon x1400 card (01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400). It seems that screens connected via VGA are affected with this bug. 
The same situation is in OpenSuse 11.4.

Comment 14 Constantine 2011-03-16 17:55:11 UTC
Output of dmesg between blinking:

[  415.009892] [drm:radeon_atombios_connected_scratch_regs], LCD1 connected
[  415.040474] [drm:radeon_atom_dac_detect], Bios 0 scratch 40002 00000004
[  415.040488] [drm:radeon_atombios_connected_scratch_regs], TV1 disconnected
[  415.103227] [drm:radeon_atombios_connected_scratch_regs], CRT1 connected


[  415.009892] [drm:radeon_atombios_connected_scratch_regs], LCD1 connected
[  415.040474] [drm:radeon_atom_dac_detect], Bios 0 scratch 40002 00000004
[  415.040488] [drm:radeon_atombios_connected_scratch_regs], TV1 disconnected
[  415.103227] [drm:radeon_atombios_connected_scratch_regs], CRT1 connected
[  418.935985] gspca: URB error -32, resubmitting
[  445.009902] [drm:radeon_atombios_connected_scratch_regs], LCD1 connected
[  445.040479] [drm:radeon_atom_dac_detect], Bios 0 scratch 40002 00000004
[  445.040494] [drm:radeon_atombios_connected_scratch_regs], TV1 disconnected
[  445.103321] [drm:radeon_atombios_connected_scratch_regs], CRT1 connected

Comment 15 Nicolai Lissner 2011-03-18 13:01:02 UTC
After asking in #nouveau on irc.freenode.net I got the information, to try booting with drm_kms_helper.poll=0 first. After this didn't help here they've been sure the problem is caused by a userspace application still polling for CRT changes. 

The nouveau hackers added events to the drm so apps didn't have to sit in a loop reprobing.

I've been asked to kill userspace applications until the problem disappears.

Killing upowerd actually did the trick here then, the blanks disappeared, and I'm a happy nouveau user now :)

Comment 16 Ben Skeggs 2011-03-20 23:08:41 UTC

*** This bug has been marked as a duplicate of bug 668297 ***