Bug 19531 - [i915] readpix failed in toggling scale and bias
Summary: [i915] readpix failed in toggling scale and bias
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: haihao
QA Contact:
Depends on:
Reported: 2009-01-13 02:20 UTC by zhao jian
Modified: 2009-01-23 21:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

xorg.conf (4.03 KB, text/plain)
2009-01-13 02:20 UTC, zhao jian
xorg.0.log (41.79 KB, text/plain)
2009-01-13 02:21 UTC, zhao jian
press key 's' in readpix on 915 (499.27 KB, image/png)
2009-01-13 02:22 UTC, zhao jian
press key 's' in readpix on 915 (run with software rendering) (563.20 KB, image/png)
2009-01-13 02:24 UTC, zhao jian

Note You need to log in before you can comment on or make changes to this bug.
Description zhao jian 2009-01-13 02:20:15 UTC
Created attachment 21928 [details]

System Environment:
Platform: 915 945 
Architecture(32-bit,64-bit,compatiblity): 32-bit 64-bit 
--Xserver: (master)102c4dac7c521941f52652152b1660cd7f559d56
xf86_video_intel:   xf86-video-intel-2.6-branch
  4447973345a2a7af20ba1d6cb18c5f1ed8949d00 (
mesa   intel-2008-q4 branch  eef0dcc298f65158dc750a09f80317ded1101dc7 
kernel  drm-intel-2.6.28 branch  e1a6fcee467556a7e955fe1f7ccc134dd2f974e7 
libdrm  master branch  ac8b3308b9432edef5cabe30559004314d42d98c 

Bug detailed description:
start X,then run readpix, and press s to toggle scale/bias. Only the middle one (Read/Drawpixs) will have change the on on the right doesn't change.(As shown in picture 1) And it should be that both the middle and the right one change together.(As shown in picture 2) On gm45 and gm965 it works well. 

Reproduce steps:
1. xinit&
2. gnome-session&
3. demo/readpix
Comment 1 zhao jian 2009-01-13 02:21:02 UTC
Created attachment 21929 [details]
Comment 2 zhao jian 2009-01-13 02:22:59 UTC
Created attachment 21930 [details]
press key 's' in readpix on 915
Comment 3 zhao jian 2009-01-13 02:24:40 UTC
Created attachment 21931 [details]
press key 's' in readpix on 915 (run with software rendering)
Comment 4 haihao 2009-01-16 00:09:30 UTC
fixed in mesa master
commit 66a4f5cf9a74f906f802eeeae56de79fc640a2c9
Author: Xiang, Haihao <haihao.xiang@intel.com>
Date:   Fri Jan 16 16:06:33 2009 +0800

i915: fallback on transfer mode
Comment 5 Gordon Jin 2009-01-22 23:26:32 UTC
Jian, please remember to verify.
Comment 6 zhao jian 2009-01-23 21:24:09 UTC
Function toggling scale and bias now works well on both 915gm and 945gm. With th following configuration: 
Host:           915gm
Arch:           i386
OSD:            Fedora release 8 (Werewolf)
Kernel:         2.6.28
Libdrm:         (master)27fae006853647ad0087067adc4eaa8d4ed4594a
Mesa:           (master)af0e6336e9d7dc19d74950ce13b33e1fa1b2081d
Xorg:           7.2
Xserver:         (server-1.6-branch)251d0d8090322b2c9dc0c8b7bef001f338d19433
Xf86_video_intel:     (master)      fbf003ef2767a1a9f5e4064f04a17992030d8f5c

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.