Bug 13152

Summary: [915GM FBC] external CRT display distorts after rotating
Product: xorg Reporter: Pi, Fengming <fengming.pi>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: VERIFIED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: keithp, nian.wu, thomas, zhenyu.z.wang
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 13027, 13088, 13493    
Attachments:
Description Flags
xorg log file none

Description Pi, Fengming 2007-11-09 00:56:31 UTC
System Environment:
--------------------------

Kernel: 2.6.23.1
Drm: 2.3.0
Mesa: 7.0.2-rc1
Xf86-video-intel: 2.1.99(2.2 pre-release)
Xserver: 1.4

Bug detailed description:
when useing dual head,you rotate any of screen at a time.the screen will become chaos(lots of color line).this situation can not happen every time,but most time can happen.This can both happen on 32-bit and 64-bit machine.

Reproduce step:
1 connecting a VGA on laptop
2 rotate one of the two screen with xrandr
Comment 1 Pi, Fengming 2007-11-09 01:00:01 UTC
Created attachment 12417 [details]
xorg log file
Comment 2 Gordon Jin 2007-11-11 19:24:32 UTC
This also happens on git tip.
Comment 3 Gordon Jin 2007-12-04 17:59:07 UTC
Fengming, are you able to find the regression commit by git-bisect?
Comment 4 Pi, Fengming 2007-12-05 18:51:55 UTC
(In reply to comment #3)
> Fengming, are you able to find the regression commit by git-bisect?

I do some bisects and find following things:
(Note:Unfortunately,on oct 24 Drm had some big changes on DRM Lockfree and setStatus,accordingly 2D driver did change also.so only following combination can building pass.I can not fix only one module and do the bisect.)
Using xf86_video_intel(git commit:d2c78f82c20f33fc9c22cab8a7ca161e57a34bf8)and Drm(git commit:690dd04d1b9a4da92139793d3f5129a80f9c7353),then the bug can reproduce;

Using xf86_video_intel(git commit:78aaec0ffc711742bf8ad77757ed8c15cc3f7a9f)and Drm(git commit:a69c85fec8ed323bffb1324ea08157b3897e97db),then the bug can not reproduce,rotate works well.
Comment 5 Hong Liu 2008-01-24 00:36:59 UTC
Would you please retry the latest driver, I can't reproduce it here.

Thanks,
Hong
Comment 6 Pi, Fengming 2008-01-24 22:40:30 UTC
(In reply to comment #5)
> Would you please retry the latest driver, I can't reproduce it here.
> 
> Thanks,
> Hong
> 

On 945G this problem is gone. but on 915G this problem still happen which seems related to FramebufferCompression problem.Hong will open a new bug for this.
Comment 7 Hong Liu 2008-01-24 23:03:11 UTC
rechange title 
Comment 8 Gordon Jin 2008-01-24 23:22:42 UTC
So it's FBC issue, reassigning to Jesse.
Comment 9 Jesse Barnes 2008-02-05 14:11:28 UTC
I just pushed some FBC changes that I hope will fix this bug.  Can you retest with the latest git?
Comment 10 WuNian 2008-02-12 23:31:11 UTC
I retested this bug on our GM915 platform. After started X and rotated screens for several times, I did not see this bug.

Change the bug status to FIXED.
Comment 11 WuNian 2008-02-12 23:32:23 UTC
verified.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.