Bug 21788 - [i915 i965]readpix failed when toggle front/back
Summary: [i915 i965]readpix failed when toggle front/back
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 02:17 UTC by Yifei Chen
Modified: 2009-08-24 12:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
screen shot of readpix after toggle front/back (106.85 KB, image/png)
2009-05-18 02:17 UTC, Yifei Chen
Details
xorg log (32.39 KB, text/plain)
2009-07-12 19:11 UTC, Shuang He
Details
dmesg (83.81 KB, text/plain)
2009-07-12 19:11 UTC, Shuang He
Details

Description Yifei Chen 2009-05-18 02:17:39 UTC
Created attachment 25957 [details]
screen shot of readpix after toggle front/back

when run readpix of mesa demos, if we press t to toggle front/back, the display of the right window(CopyPixels) is not correct. see attachment for screenshot.

tested on:
Arch:           x86_64
OSD:            Fedora release 10 (Cambridge)
Kernel_version:         2.6.30-rc5 with KMS
Libdrm:         (master)f57d7f4b0b14972f92a83f155ae8033478aa7729
Mesa:           (master)08ec7e0d329a72433b427e8167b2c3442d1f53b4
Xserver:                (master)2f6253376df45e508284ff7766b186cfc7fb56d6
Xf86_video_intel:               (master)87332a7cc16af82aa47e07fbf90da3635b071dbf
Comment 1 Eric Anholt 2009-07-02 13:05:38 UTC
Need to know your chipset, Xorg.0.log, and dmesg.


Works fine on my GM45.
Comment 2 Shuang He 2009-07-12 19:10:32 UTC
I can reproduce this issue with following configuration on Q35:
libdrm: (master) 790097c51330090b2b7b90429b9ab8ddf259fd8e
mesa: (master) 7266e33abd9723fcec47933ed9ff4132abbd6eba
xserver: (master) bf0f3b8f2bc830c8bd6f8f9410b89394b8d96257
xf86-video-intel: (master) f6f79eb629184366b1355743d601129a526da90c
Comment 3 Shuang He 2009-07-12 19:11:14 UTC
Created attachment 27620 [details]
xorg log
Comment 4 Shuang He 2009-07-12 19:11:53 UTC
Created attachment 27621 [details]
dmesg
Comment 5 Eric Anholt 2009-08-03 14:34:23 UTC
commit fd65418f600874b05f902b622078b40bc1abb24a
Author: Eric Anholt <eric@anholt.net>
Date:   Mon Aug 3 14:27:41 2009 -0700

    intel: Fix inverted test for disabling flushing of front buffer output.
    
    The comment disagreed with the code, and nicely drew my eyes to what was
    going wrong.
    
    Bug #21774 (blender)
    Bug #21788 (readpix)
Comment 6 Adam Jackson 2009-08-24 12:32:14 UTC
Mass version move, cvs -> git


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.