Skip to contentSkip to conversation

external display flickering

Bug 25741 [email protected] 1 participant 12 messages Jan 7, 2010 – Mar 24, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #14 from Luca Tettamanti <[email protected]> 2010-01-07 09:00:06 PST --- Created an attachment (id=32509)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32509)
Add a module parameter to disable spread spectrum unconditionally

In case this turns out to be a bug in my card bios or a hardware problem; it's really a show-stopper for me.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#2 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

Philipp Claves <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #15 from Philipp Claves <[email protected]> 2010-03-06 07:56:45 PST --- I have the same VGA ripple effect.

01:00.0 VGA compatible controller: ATI Technologies Inc M76 [Radeon Mobility HD 2600 Series]

agd5f on IRC suggested to try 'avivotool regset 0x458 0x00000000' or 'avivotool regset 0x45c 0x00000000'. The first command fixes it (didn't try the second one).

avivotool is a part of radeontool and can be found here:
http://cgit.freedesktop.org/~airlied/radeontool

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#3 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #16 from Philipp Claves <[email protected]> 2010-03-06 07:58:07 PST --- Created an attachment (id=33815)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33815)
dmesg with 2.6.33 KMS enabled

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#4 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #17 from Philipp Claves <[email protected]> 2010-03-06 07:59:25 PST --- Created an attachment (id=33816)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33816)
Xorg log with Kernel 2.6.33 KMS

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#5 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #18 from Alex Deucher <[email protected]> 2010-03-06 08:06:50 PST --- Created an attachment (id=33817)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33817)
possible fix

Does this patch help?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#6 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #19 from Luca Tettamanti <[email protected]> 2010-03-08 05:00:29 PST --- (In reply to comment #18)

Quoted 1 line

Created an attachment (id=33817)

--> (http://bugs.freedesktop.org/attachment.cgi?id=33817) [details]

Quoted 3 lines

possible fix

Does this patch help?

No. However fiddling with avivotool as suggested by Philipp fixes the issue.

Quoted 1 line

From the output of the tool it seems that the kernel driver is setting the

wrong (PLL id swapped?) register:

#. /avivotool regset 0x458 0x00000000
OLD: 0x458 (0458) 0x2a020101 (704774401)
NEW: 0x458 (0458) 0x00000000 (0)

# ./avivotool regset 0x45c 0x00000000
OLD: 0x45c (045c)       0x00000000 (0)
NEW: 0x45c (045c)       0x00000000 (0)

Setting 0x458 (AVIVO_P1PLL_INT_SS_CNTL) stops the flickering on the external VGA monitor.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#7 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #20 from Alex Deucher <[email protected]> 2010-03-08 10:30:34 PST --- (In reply to comment #19)

Quoted 2 lines

(In reply to comment #18)

Quoted 1 line

Created an attachment (id=33817)

--> (http://bugs.freedesktop.org/attachment.cgi?id=33817) [details] [details]

Quoted 12 lines
Quoted 3 lines

possible fix

Does this patch help?

No. However fiddling with avivotool as suggested by Philipp fixes the issue. From the output of the tool it seems that the kernel driver is setting the wrong (PLL id swapped?) register:

#. /avivotool regset 0x458 0x00000000
OLD: 0x458 (0458) 0x2a020101 (704774401)
NEW: 0x458 (0458) 0x00000000 (0)

Quoted 7 lines
# ./avivotool regset 0x45c 0x00000000
OLD: 0x45c (045c)       0x00000000 (0)
NEW: 0x45c (045c)       0x00000000 (0)

Setting 0x458 (AVIVO_P1PLL_INT_SS_CNTL) stops the flickering on the external VGA monitor.

Do things work properly if you boot without the VGA monitor attached and then connect and enable it later?

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#8 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #21 from Philipp Claves <[email protected]> 2010-03-08 10:43:02 PST --- (In reply to comment #20)

Quoted 3 lines

Do things work properly if you boot without the VGA monitor attached and then connect and enable it later?

Yes, this works for me.

Maybe this is related: When booting with UMS and VGA connected, the LVDS Panel is the first Monitor and VGA the second. With KMS it is the other way round.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#9 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #22 from Alex Deucher <[email protected]> 2010-03-08 14:17:04 PST --- Created an attachment (id=33870)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33870)
fix spread spectrum

This should do the trick. Please apply this on top of the previous patch.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#10 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

--- Comment #23 from Luca Tettamanti <[email protected]> 2010-03-09 01:50:32 PST --- (In reply to comment #22)

Quoted 1 line

Created an attachment (id=33870)

--> (http://bugs.freedesktop.org/attachment.cgi?id=33870) [details]

Quoted 3 lines

fix spread spectrum

This should do the trick. Please apply this on top of the previous patch.

Works for me, thanks!

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#11 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #24 from Alex Deucher <[email protected]> 2010-03-09 06:16:16 PST --- Patch sent to Dave.

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#12 lore raw
In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=25741

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #25 from Alex Deucher <[email protected]> 2010-03-23 18:45:50 PST --- *** Bug 27278 has been marked as a duplicate of this bug. ***

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--