Bug 17443

Summary: [965GM] mesa-7.1 + server-1.5.0 + kernel 2.6.23.17 and it's drm modules cause stripey display corruption
Product: Mesa Reporter: Jens Stroebel <dr-xorg>
Component: Drivers/DRI/i965Assignee: Gordon Jin <gordon.jin>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: 7.1   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: snapshot of running glxgears
Xorg log for configuration which shows the described behaviour
drirc which disables vblank-sync for 965_dri driver

Description Jens Stroebel 2008-09-05 01:58:02 UTC
Created attachment 18689 [details]
snapshot of running glxgears

Setup: 965GM in Dell latitude D830

kernel 2.6.23.17 and drm-modules included therein
libdrm-2.3.1
xorg-libs from master (2008-09-04)
xorg-server 1.5.0 
xf86-video-intel driver 2.4.2
Comment 1 Jens Stroebel 2008-09-05 02:01:19 UTC
Created attachment 18690 [details]
Xorg log for configuration which shows the described behaviour
Comment 2 Jens Stroebel 2008-09-05 03:23:47 UTC
when replacing kernel 2.6.23.17 and it's drm-modules with the drmnext-kernel pulled from the git repo at git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git , the display corruption does not occur.

glxgears is then at ~60FPS, though.
Comment 3 Gordon Jin 2008-09-07 20:08:22 UTC
Since it's working fine with drm-next, I guess this can be marked as fixed?
Or could you confirm if the latest stable kernel like 2.6.26 or 2.6.27-rcX also works fine?
Comment 4 Jens Stroebel 2008-09-08 03:28:14 UTC
(In reply to comment #3)
> Since it's working fine with drm-next, I guess this can be marked as fixed?
> Or could you confirm if the latest stable kernel like 2.6.26 or 2.6.27-rcX also
> works fine?
> 

Weeeeelllllll, as I said, the glxgears' FPS are at ~60FPS, dropping to around 15FPS when opening another GL/GLX application. I wouldn't call that "fine"; but with kernel 2.6.26.3 (and it's included drm-modules), there is no display corruption like there was with 2.6.23.17 and it's drm-modules.

So it is kind of "already fixed", yes.
Comment 5 Jens Stroebel 2008-09-09 01:21:34 UTC
(In reply to comment #4)

> So it is kind of "already fixed", yes.


https://bugs.freedesktop.org/show_bug.cgi?id=17491 seems to indicate that there is still some problem, though...
Comment 6 Gordon Jin 2008-09-09 05:56:38 UTC
As explained in http://bugs.freedesktop.org/show_bug.cgi?id=17491#c6, 60fps is expected with default vblank-sync. 
Is the speed up and glxgears running "fine" if you disable vblank-sync?
Comment 7 Jens Stroebel 2008-09-09 06:49:37 UTC
(In reply to comment #6)
> As explained in http://bugs.freedesktop.org/show_bug.cgi?id=17491#c6, 60fps is
> expected with default vblank-sync. 
> Is the speed up and glxgears running "fine" if you disable vblank-sync?

yes, with disabled vblank-sync, the speed is up to ~530FPS and the display corruption does not appear, not even with 2.6.23.17 and it's kernel modules.
Comment 8 Jens Stroebel 2008-09-09 07:34:23 UTC
Created attachment 18785 [details]
drirc which disables vblank-sync for 965_dri driver
Comment 9 Eric Anholt 2008-09-23 15:06:16 UTC

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

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.