Skip to contentSkip to conversation

New: [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

Bug 29272 [email protected] 1 participant 14 messages Feb 17, 2011 – Feb 20, 2011

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=29272

Summary: [BISECTED] Screen becomes corrupted when switching
video mode with Radeon KMS
Product: Drivers
Version: 2.5
Kernel Version: 2.6.38-rc5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: Yes

After updating the kernel to 2.6.38-rc5 screen gets corrupted when video mode switches for KMS. This is on laptop eMachines E640G with integrated ATI Mobility Radeon HD 5470. It was working just fine with -rc4. I have bisected the commits and this one was pointed out as the culprit:

5b40ddf888398ce4cccbf3b9d0a18d90149ed7ff is the first bad commit commit 5b40ddf888398ce4cccbf3b9d0a18d90149ed7ff

Author: Alex Deucher <[email protected]>
Date:   Mon Feb 14 11:43:11 2011 -0500

drm/radeon/kms: hopefully fix pll issues for real (v3)

The problematic boards have a recommended reference divider to be used when spread spectrum is enabled on the laptop panel. Enable the use of the recommended reference divider along with the new pll algo.

v2: testing options

v3: When using the fixed reference divider with LVDS, prefer min m to max p and use fractional feedback dividers.

Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=28852
https://bugzilla.kernel.org/show_bug.cgi?id=24462
https://bugzilla.kernel.org/show_bug.cgi?id=26552
MacbookPro issues reported by Justin Mattock <[email protected]>

:040000 040000 8736f993b97cc8370fd29048761a1e0da4969306
657bdb221e3f4da6efdfec02f8f348db5a537b29 M drivers

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#1 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #1 from Jure Repinc <[email protected]> 2011-02-17 00:54:29 --- Created an attachment (id=47972)
--> (https://bugzilla.kernel.org/attachment.cgi?id=47972)
dmesg

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#2 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #2 from Jure Repinc <[email protected]> 2011-02-17 00:55:51 --- Created an attachment (id=47982)
--> (https://bugzilla.kernel.org/attachment.cgi?id=47982)
lspci

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#3 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #3 from Alex Deucher <[email protected]> 2011-02-17 00:58:19 --- Can you attach your xorg log and a copy of your vbios?

(as root)
(use lspci to get the bus id)
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/vbios.rom
echo 0 > rom

Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
#4 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #4 from Jure Repinc <[email protected]> 2011-02-17 01:04:36 --- Created an attachment (id=47992)
--> (https://bugzilla.kernel.org/attachment.cgi?id=47992)
vbios

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#5 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #5 from Jure Repinc <[email protected]> 2011-02-17 01:06:20 --- Created an attachment (id=48002)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48002)
Xorg.0.log

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#6 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #6 from Alex Deucher <[email protected]> 2011-02-17 01:24:30 --- Created an attachment (id=48012)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48012)
set frac fb div for dce4+

Does this patch help?

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#7 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #7 from Jure Repinc <[email protected]> 2011-02-17 01:44:20 --- No, unfortunately it doesn't help :(

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#8 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

Alex Deucher <[email protected]> changed:

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

  Attachment #48012|0                           |1

is obsolete| |

--- Comment #8 from Alex Deucher <[email protected]> 2011-02-17 01:53:58 --- Created an attachment (id=48022)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48022)
alternate patch

How about this one?

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#9 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #9 from Jure Repinc <[email protected]> 2011-02-17 02:06:29 --- Yes, this one helped :) Thank you very much!

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#10 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

--- Comment #10 from Alex Deucher <[email protected]> 2011-02-17 02:07:23 --- Created an attachment (id=48032)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48032)
one more

If the patch in comment 8 doesn't work, try this one. But test the one in comment 8 first.

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#11 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

Alex Deucher <[email protected]> changed:

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

  Attachment #48022|0                           |1
        is obsolete|                            |
  Attachment #48032|0                           |1
        is obsolete|                            |

--- Comment #11 from Alex Deucher <[email protected]> 2011-02-17 02:18:55 --- Created an attachment (id=48042)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48042)
patch for upstream

I've attached the commit I'm sending to Dave.

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#12 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

Rafael J. Wysocki <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
             Blocks|                            |27352
         Resolution|                            |PATCH_ALREADY_AVAILABLE

--- Comment #12 from Rafael J. Wysocki <[email protected]> 2011-02-17 22:57:46 ---

Patch : https://bugzilla.kernel.org/attachment.cgi?id=48042

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#13 lore raw

[Bug 29272] [BISECTED] Screen becomes corrupted when switching video mode with Radeon KMS

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29272

Florian Mickler <[email protected]> changed:

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

             Status|RESOLVED                    |CLOSED
         Resolution|PATCH_ALREADY_AVAILABLE     |CODE_FIX

--- Comment #13 from Florian Mickler <[email protected]> 2011-02-20 00:15:25 --- merged for .38-rc6:
commit 9f4283f49f0a96a64c5a45fe56f0f8c942885eef

Author: Alex Deucher <[email protected]>
Date:   Wed Feb 16 21:17:04 2011 -0500

drm/radeon/kms: add missing frac fb div flag for dce4+

Signature · 15 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel