[Bug 15825] [965] “vertattrib” fai led in Glean test

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15825





--- Comment #1 from haihao [EMAIL PROTECTED]  2008-05-07 23:02:49 PST ---
I can't reproduce it. Could you try the latest  mesa code?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15825] [965] “vertattrib” fai led in Glean test

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15825


liuhaien [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15825] [965] “vertattrib” fai led in Glean test

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15825


liuhaien [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15825] [965] “vertattrib” fai led in Glean test

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15825





--- Comment #2 from liuhaien [EMAIL PROTECTED]  2008-05-08 00:11:04 PST ---
it's ok when using the latest code.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15851] [i915 i965 32-bit] glean case logicOp failed

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15851





--- Comment #3 from Shuang He [EMAIL PROTECTED]  2008-05-08 02:15:25 PST ---
Seems this issue only happend when mesa is built with 'make linux-dri-x86'
and after some testing, I just found compiler option USE_SSE_ASM trigers this
issue. also see bug #15850


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15850] [i915 i965 32-bit] glean case blendFunc failed

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15850





--- Comment #3 from Shuang He [EMAIL PROTECTED]  2008-05-08 02:14:08 PST ---
Seems this issue only happend when mesa is built with 'make linux-dri-x86'
and after some testing, I just found compiler option USE_SSE_ASM trigers this
issue. also see bug #15851


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10628] New: 2.6.26-rc1-git1 -- trying to get vblank count for disabled pipe 0

2008-05-08 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=10628

   Summary: 2.6.26-rc1-git1 -- trying to get vblank count for
disabled pipe 0
   Product: Drivers
   Version: 2.5
 KernelVersion: 2.6.26-rc1-git1
  Platform: All
OS/Version: Linux
  Tree: Mainline
Status: NEW
  Severity: normal
  Priority: P1
 Component: Video(DRI)
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
OtherBugsDependingO 10492
 nThis:
Regression: 1


Subject: 2.6.26-rc1-git1 -- trying to get vblank count for disabled pipe 0
Submitter  : Miles Lane [EMAIL PROTECTED]
Date   : 2008-05-04 21:12
References : http://lkml.org/lkml/2008/5/4/309
Handled-By : Jesse Barnes [EMAIL PROTECTED]

This entry is being used for tracking a regression from 2.6.25.  Please don't
close it until the problem is fixed in the mainline.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10628] 2.6.26-rc1-git1 -- trying to get vblank count for disabled pipe 0

2008-05-08 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=10628





--- Comment #1 from [EMAIL PROTECTED]  2008-05-08 12:56 ---
The vblank stuff is reverted in Dave's latest DRM update, please re-test.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


glGenerateMipmapEXT and DRI drivers.

2008-05-08 Thread Dave Airlie

Hi guys,

So compiz calls glGenerateMipmapEXT to generate mipmaps for some icons on 
its switcher, this fails with a NULL src data ptr when running under 
TTM+DRI2, my initial feeling is that we don't have the miptrees mapped and 
from looking the texture data ptr is set to NULL.

I'm just wondering how best to hook this into the drivers? a new entry 
point? or maybe I'm just missing something.

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


libdrm: patch for drmClose memory leak

2008-05-08 Thread Bastian, Waldo
Reported this on April 11 but didn't get any response,
so I'm just trying again :-)

Valgrind complains about drmHashTable staying around. It's ironic because in my 
application drmClose creates the hash table and creates an entry for no other 
purpose than to delete the entry. So my first patch is libdrm_drmclose.patch 
which stops doing any of that if there wasn't a hash table already.

libdrm_drmclose2.patch extends that and deletes drmHashTable when its empty.

I have a DSO that links against libdrm and I don't want dlopen/dlclose cycles 
to leak memory.

Cheers,
Waldo
-- 
Intel Corporation - Hillsboro, Oregon
Ultra Mobility Group - Platform Software Architecture
Tel: +1 503 264 6237 - Mobile: +1 503 703-7327


libdrm_drmclose.patch
Description: libdrm_drmclose.patch


libdrm_drmclose2.patch
Description: libdrm_drmclose2.patch
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15881] New: [i915 i965] glean case api2/fragProg1/texCombine/ vertProg1 failed with assertion failure

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15881

   Summary: [i915 i965] glean case
api2/fragProg1/texCombine/vertProg1 failed with
assertion failure
   Product: Mesa
   Version: unspecified
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/i915
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


System Environment:
--

--Platform: 915G, G33, G965


--2D driver:
commit 548d4c0f979a72eac5d0c9c76da12f0bd05e64e1 

--3D driver:
commit 990e010394a2685c1daeaef61cf4f7e2a0ba419e

--Xserver:
commit cf20df39cc78203d17b99223908af388ecbf7d0e 

--Drm
commit b44f2da380e78769b58c751e81f376f0fa1f48aa 

--Kernel:
2.6.23.1


Bug detailed description:
-
glean case api2/fragProg1/texCombine/vertProg1 failed with following assertion
failure:

glean: shader/program.c:306: _mesa_delete_program: Assertion
`prog-RefCount==0' failed.

and I see api2 only failure on i965

back trace:
0x003a38c30ec5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x003a38c30ec5 in raise () from /lib64/libc.so.6
#1  0x003a38c32970 in abort () from /lib64/libc.so.6
#2  0x003a38c2a11f in __assert_fail () from /lib64/libc.so.6
#3  0x7f638dc08bbc in _mesa_delete_program (ctx=value optimized out,
prog=0x8ba450) at shader/program.c:306
#4  0x7f638dc1153d in _mesa_free_shader (ctx=0x5cc100, sh=0x8ba360)
at shader/shader_api.c:251
#5  0x7f638dc1243d in _mesa_reference_shader (ctx=0x5cc100, ptr=0x8c9690,
sh=0x0) at shader/shader_api.c:288
#6  0x7f638dc1288d in _mesa_free_shader_program_data (ctx=0x5cc100,
shProg=0x8c95f0) at shader/shader_api.c:126
#7  0x7f638dc128f9 in _mesa_free_shader_program (ctx=0xcfa, shProg=0xcfa)
at shader/shader_api.c:148
#8  0x7f638dc1299d in _mesa_reference_shader_program (ctx=0x5cc100,
ptr=0x5df2a8, shProg=0x0) at shader/shader_api.c:184
#9  0x00412a8b in GLEAN::API2Test::testShaderObjectFuncs (
this=0x5a8940) at tapi2.cpp:491
#10 0x004114b6 in GLEAN::API2Test::runSubTests (this=0x5a8940,
[EMAIL PROTECTED]) at tapi2.cpp:990
#11 0x0041361c in GLEAN::API2Test::runOne (this=0x5a8940, [EMAIL 
PROTECTED],
w=value optimized out) at tapi2.cpp:1007
#12 0x004140d7 in GLEAN::BaseTestGLEAN::MultiTestResult::run (
this=0x5a8940, environment=value optimized out) at tbase.h:290
---Type return to continue, or q return to quit---
#13 0x0040e076 in main (argc=6, argv=value optimized out)
at main.cpp:128


Reproduce steps:

1. start X
2. ./glean -r log -t api2 fragProg1 vertPorg1



Current result:

glean: shader/program.c:306: _mesa_delete_program: Assertion
`prog-RefCount==0' failed.
test.sh: line 12:  4346 Aborted ./glean -o -r test -t api2


Expected result:

glean case api2/fragProg1/texCombine/vertProg1 should pass


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15881] [i915 i965] glean case api2/fragProg1/texCombine/ vertProg1 failed with assertion failure

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15881





--- Comment #1 from Shuang He [EMAIL PROTECTED]  2008-05-08 19:57:54 PST ---
Created an attachment (id=16441)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=16441)
xorg log


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15881] [i915 i965] glean case api2/fragProg1/texCombine/ vertProg1 failed with assertion failure

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15881





--- Comment #2 from Shuang He [EMAIL PROTECTED]  2008-05-08 19:58:15 PST ---
Created an attachment (id=16442)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=16442)
xorg conf


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: glGenerateMipmapEXT and DRI drivers.

2008-05-08 Thread Dave Airlie

 
 So compiz calls glGenerateMipmapEXT to generate mipmaps for some icons on 
 its switcher, this fails with a NULL src data ptr when running under 
 TTM+DRI2, my initial feeling is that we don't have the miptrees mapped and 
 from looking the texture data ptr is set to NULL.
 
 I'm just wondering how best to hook this into the drivers? a new entry 
 point? or maybe I'm just missing something.
 

And I was and I fixed this in the tree and it looks fairly obvious.

Dave.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: glGenerateMipmapEXT and DRI drivers.

2008-05-08 Thread Dave Airlie
 
  
  So compiz calls glGenerateMipmapEXT to generate mipmaps for some icons on 
  its switcher, this fails with a NULL src data ptr when running under 
  TTM+DRI2, my initial feeling is that we don't have the miptrees mapped and 
  from looking the texture data ptr is set to NULL.
  
  I'm just wondering how best to hook this into the drivers? a new entry 
  point? or maybe I'm just missing something.
  
 
 And I was and I fixed this in the tree and it looks fairly obvious.
 

Since I'm talking to myself (damn timezones...)

Okay I added a hook to Map/Unmap texture around the mipmap generate 
function, however I'm wonder should I just have added a new dd hook,
for this whole GenerateMipmapEXT call and punt it into the drivers..

Intel code has a intel_generate_mipmap function which wraps the mesa one 
so I'm wondering if I really need to be calling this, even though it 
appears to work..

Dave.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: glGenerateMipmapEXT and DRI drivers.

2008-05-08 Thread Brian Paul
On Thu, May 8, 2008 at 9:06 PM, Dave Airlie [EMAIL PROTECTED] wrote:

 
  So compiz calls glGenerateMipmapEXT to generate mipmaps for some icons on
  its switcher, this fails with a NULL src data ptr when running under
  TTM+DRI2, my initial feeling is that we don't have the miptrees mapped and
  from looking the texture data ptr is set to NULL.
 
  I'm just wondering how best to hook this into the drivers? a new entry
  point? or maybe I'm just missing something.
 

 And I was and I fixed this in the tree and it looks fairly obvious.


 Since I'm talking to myself (damn timezones...)

 Okay I added a hook to Map/Unmap texture around the mipmap generate
 function, however I'm wonder should I just have added a new dd hook,
 for this whole GenerateMipmapEXT call and punt it into the drivers..

 Intel code has a intel_generate_mipmap function which wraps the mesa one
 so I'm wondering if I really need to be calling this, even though it
 appears to work..

On the gallium-0.1 branch I added a device driver hook for
GenerateMipmap.  I think you could cherry-pick that into master.  I
don't recall if it was one or two commits.

-Brian

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: glGenerateMipmapEXT and DRI drivers.

2008-05-08 Thread Dave Airlie
 
 On the gallium-0.1 branch I added a device driver hook for
 GenerateMipmap.  I think you could cherry-pick that into master.  I
 don't recall if it was one or two commits.
 

Thanks Brian,

I've pulled them over, fixed up swrast and checked my patch in for the 
intel drivers.

Dave.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15850] [i915 i965] glean case blendFunc failed if compiled with USE_SSE_ASM option

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15850


Gordon Jin [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||dri-
   ||[EMAIL PROTECTED]
 AssignedTo|dri-|[EMAIL PROTECTED]
   |[EMAIL PROTECTED] |
Summary|[i915 i965 32-bit] glean|[i915 i965] glean case
   |case blendFunc failed   |blendFunc failed if compiled
   ||with USE_SSE_ASM option




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 15851] [i915 i965] glean case logicOp failed if compiled with USE_SSE_ASM option

2008-05-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15851


Gordon Jin [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||dri-
   ||[EMAIL PROTECTED]
 AssignedTo|dri-|[EMAIL PROTECTED]
   |[EMAIL PROTECTED] |
Summary|[i915 i965 32-bit] glean|[i915 i965] glean case
   |case logicOp failed |logicOp failed if compiled
   ||with USE_SSE_ASM option




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
You are the assignee for the bug.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel