[Bug 8814] New: Mesa no longer compiles, error in vblank.c

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8814  
 
   Summary: Mesa no longer compiles, error in vblank.c
   Product: DRI
   Version: DRI CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: blocker
  Priority: P2
 Component: General
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Following the procedure from http://dri.freedesktop.org/wiki/Building for a 
mach64 ATI card as usual, Mesa 3D drivers cannot be compiled successfully:

cd ../Mesa
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
make realclean
make linux-dri-x86
...

../common/vblank.c: In function ‘driGetCurrentVBlank’:
../common/vblank.c:306: error: ‘DRM_VBLANK_SECONDARY’ undeclared (first use 
in
this function)
../common/vblank.c:306: error: (Each undeclared identifier is reported only once
../common/vblank.c:306: error: for each function it appears in.)
../common/vblank.c: In function ‘driWaitForVBlank’:
../common/vblank.c:363: error: ‘DRM_VBLANK_SECONDARY’ undeclared (first use 
in
this function)
make[6]: *** [../common/vblank.o] Fehler 1
make[6]: Verlasse Verzeichnis
'/home/c72578/compile/cvs/Mesa/src/mesa/drivers/dri/i810'
make[5]: *** [subdirs] Fehler 1
make[5]: Verlasse Verzeichnis 
'/home/c72578/compile/cvs/Mesa/src/mesa/drivers/dri'
make[4]: *** [linux-solo] Fehler 2
make[4]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src/mesa'
make[3]: *** [default] Fehler 2
make[3]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src/mesa'
make[2]: *** [subdirs] Fehler 1
make[2]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa/src'
make[1]: *** [default] Fehler 1
make[1]: Verlasse Verzeichnis '/home/c72578/compile/cvs/Mesa'
make: *** [linux-dri-x86] Fehler 2  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8814] Mesa no longer compiles, error in vblank.c

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8814  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 02:05 ---
At the very least you need to update drm (and libdrm).  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8814] Mesa no longer compiles, error in vblank.c

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8814  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|blocker |trivial
 Status|NEW |RESOLVED
   Priority|P2  |P5
 Resolution||NOTABUG




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 08:21 ---
Problem was caused by script using old cvs
cvs -d:pserver:[EMAIL PROTECTED]:/cvs/dri login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/dri co drm

Changing to git helped:
git clone git://anongit.freedesktop.org/git/mesa/drm

Thanks for the info.
  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] partly working fragment.position patch

2006-10-29 Thread Rune Petersen
Keith Whitwell wrote:
 Roland Scheidegger wrote:
 Keith Whitwell wrote:
 I think Rune is rather refering to the fact that you can't change (not
 with legal means at least) the constant you got with
 _mesa_add_unnamed_constant.
 
 Ah right.  I missed that.
 
 I think there exist at least 2 solutions for that. The clean way would
 probably be to add some more INTERNAL_STATE (like i965 driver uses) so
 you use _mesa_add_state_reference instead, in this case mesa's shader
 code would need to update program parameter based on the drawable
 information - I'm not sure if accessing a driver's drawable
 information there would get messy). The easier solution would probably
 be to just directly manipulate the ParameterValues entry associated
 with the constant you added, easy though it might be considered
 somewhat hackish. Just don't forget you not only have to update the
 constant within r300UpdateWindow (if the currently bound fp requires
 it), but also when the active fp is switched to another one (and make
 sure that a parameter upload is actually triggered if it not already
 is upon drawable changes).
 
 I think the parameter approach is probably the right one.  This would
 require that there be a callback into the driver to get this state, and
 more importantly, the driver would have to set a bit in ctx-NewState
 (perhaps _NEW_BUFFERS) to indicate that a statechange has occurred which
 would affect that internal state atom.

Thank you.


I've hit a bit of a problem:
I was planning to have state flags returned from a callback
make_state_flags().
something like:
ctx-Driver.GetGenericStateFlags(state);

The problem being that the context ctx is not a parameter in
make_state_flags().

Is there smart way of solving this?


Rune Petersen



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8816] New: hard lock on startx with AGPFastWrite on radeon mobility 9600 (aka M10)

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8816  
 
   Summary: hard lock on startx with AGPFastWrite on radeon mobility
9600 (aka M10)
   Product: DRI
   Version: XOrg CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: major
  Priority: P2
 Component: General
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


This is simple: X windows works fine for me with AGPFastWrite disabled in my
xorg.conf, but when I enable it, starting X crashes everything, to the point
where I can't even debug over ssh.  The most useful output I can get is 
attached.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8817] New: error compiling Mesa CVS , DRM_VBLANK_SECONDARY undeclared !

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8817  
 
   Summary: error compiling Mesa CVS , DRM_VBLANK_SECONDARY
undeclared !
   Product: Mesa
   Version: CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Keywords: janitor
  Severity: major
  Priority: P3
 Component: Drivers/DRI/i810
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


i have the last CVS Version of Mesa in my portage tree on Gentoo
When i try to compile it i get this error message :

Doing emerge --ask --verbose xgl compiz i get this : 
 
 
make[6]: Leaving directory
`/var/tmp/portage/mesa-6.5.1_p20061027/work/Mesa/src/mesa/drivers/dri/i810'
make[6]: Entering directory
`/var/tmp/portage/mesa-6.5.1_p20061027/work/Mesa/src/mesa/drivers/dri/i810'
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config
--cflags libdrm`  -O3 -pipe -march=pentium-m -mtune=pentium-m -ftracer
-fomit-frame-pointer -ffast-math -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
 ../../common/driverfuncs.c -o ../../common/driverfuncs.o
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config
--cflags libdrm`  -O3 -pipe -march=pentium-m -mtune=pentium-m -ftracer
-fomit-frame-pointer -ffast-math -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
 ../common/utils.c -o ../common/utils.o
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config
--cflags libdrm`  -O3 -pipe -march=pentium-m -mtune=pentium-m -ftracer
-fomit-frame-pointer -ffast-math -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
 ../common/texmem.c -o ../common/texmem.o
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config
--cflags libdrm`  -O3 -pipe -march=pentium-m -mtune=pentium-m -ftracer
-fomit-frame-pointer -ffast-math -fno-strict-aliasing -fPIC -m32 -DGLX_USE_TLS
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
 ../common/vblank.c -o ../common/vblank.o
../common/vblank.c: In function `driGetCurrentVBlank':
../common/vblank.c:306: erreur: « DRM_VBLANK_SECONDARY » non déclaré 

[Bug 8816] hard lock on startx with AGPFastWrite on radeon mobility 9600 (aka M10)

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8816  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 12:58 ---
Created an attachment (id=7572)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=7572action=view)
output of startx when duplicating bug

I took this from another machine with an ssh client, the text ends at the point
where the computer starting X stops responding.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8817] error compiling Mesa CVS , DRM_VBLANK_SECONDARY undeclared !

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8817  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 12:59 ---
Some informations about my config : 

Linux portable 2.6.16-gentoo-r7 #1 Wed Jun 7 18:22:05 CEST 2006 i686 Intel(R)
Pentium(R) M processor 1.60GHz GNU/Linux
gcc (GCC) 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
i have already compiled Mesa 6.5.1-r2 without any problem !

The last lines of the compilation log can be found here :
http://rafb.net/paste/results/TMYPJF45.nln.html  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8816] hard lock on startx with AGPFastWrite on radeon mobility 9600 (aka M10)

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8816  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 13:01 ---
Created an attachment (id=7573)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=7573action=view)
xorg.conf

Here's my pretty xorg.conf, though on looking at it, I realize that a large
portion of it is irrelevant cruft, hehe..  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8816] hard lock on startx with AGPFastWrite on radeon mobility 9600 (aka M10)

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8816  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 13:19 ---
the canonical answer to this is 'yeah, don't do that'.  various hardware bugs
and combinations make it pretty close to impossible to get right.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8814] Mesa no longer compiles, error in vblank.c

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8814  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 13:28 ---
*** Bug 8817 has been marked as a duplicate of this bug. ***  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8816] hard lock on startx with AGPFastWrite on radeon mobility 9600 (aka M10)

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8816  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 13:36 ---
(In reply to comment #3)
 Oh, and you might want to enable debugging in radeon module
 and thus get a better view of what's going on (look at your
 kernel log not xorg log).

Can you elaborate?  I was aware that fast write usage is plain discouraged, but
I do intend to try and debug this if possible, I just don't know how to get more
detailed info out.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8818] New: total system freeze in quake 3 vtk

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8818  
 
   Summary: total system freeze in quake 3  vtk
   Product: Mesa
   Version: 6.5
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Drivers/DRI/r300
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Here are my system specs:

Gentoo + xorg 7.1 + Mesa 6.5.1 (vanilla compilation, no special effects)
Vanilla kernel 2.6.18
PCIE ATI Technologies Inc M22 [Radeon Mobility M300]

Here are the relevant bits of xorg.conf:

Section Module
   Load dri
   Load glx
   ...
EndSection

Section Device
   Identifier  ATI Graphics Adapter 0
   Driver  radeon
   BusID   PCI:1:0:0
   # The crash happens with or without this option.
   Option  DynamicClocks on
EndSection

I will attach an Xorg log, and a glxinfo dump. 

This problem doesn't happen with the proprietary drivers, or if r300_dri.so is
not loaded (moving it or disabling DRI does the trick).

glxgears runs fine, and reasonably smoothly (750 fps reported). I see small
glitches in the framerate every second or so, but I see similar, much worse
effects without DRI, so this is probably unrelated.

Many other simple demos run fine too. 

I can start Quake3 demo, and the intro  menus work, and at a reasonable speed
too. I create a game, it loads, and at the point when the level is supposed to
be first rendered, I get a total system hang. 

Also, VTK (visualization toolkit) has a pseudo-volumetric rendering demo, which
renders a fair number of polygons. This program also triggers the same hang,
although once I had to run the program two times. The rendering was incorrect
when the program didn't crash.

The same volumetric rendering program works fine (although a bit slowly) without
DRI. Quake3 is way too slow to try.

I'm willing to compile debug versions of stuff and run gdb on it, but I would
need a bit of guidance as to the best set-up and procedures.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8818] total system freeze in quake 3 vtk

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8818  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 14:10 ---
Created an attachment (id=7574)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=7574action=view)
X.org start-up log
  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8818] total system freeze in quake 3 vtk

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8818  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 14:10 ---
Created an attachment (id=7575)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=7575action=view)
glxinfo  glxinfo.txt
  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8819] New: make DRM_MODULES=radeon fails on ppc; typo + x86-specific call [with patch]

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8819  
 
   Summary: make DRM_MODULES=radeon fails on ppc; typo + x86-
specific call [with patch]
   Product: DRI
   Version: DRI CVS
  Platform: Macintosh
OS/Version: Linux
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: DRM modules
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Trying to run make DRM_MODULES=radeon on ppc linux, there are two problems:
/home/me/x11/clean/drm/linux-core/drm_vm.c: In function ‘drm_io_prot’:
/home/me/x11/clean/drm/linux-core/drm_vm.c:60: error: ‘map’ undeclared 
(first
use in this function)
/home/me/x11/clean/drm/linux-core/drm_vm.c:60: error: (Each undeclared
identifier is reported only once
/home/me/x11/clean/drm/linux-core/drm_vm.c:60: error: for each function it
appears in.)

This is just a typo; - needs to be changed to _.  Once this is fixed, the
module compiles, but does not load, as it refers to wbinvd (in 
drm_ttm_ipi_handler in drm_ttm.c), which doesn't exist on ppc.  
ati_pcigart.c contains the following code:
#if defined(__i386__) || defined(__x86_64__)
wbinvd();
#else
mb();
#endif
When this replaces the unconditional use of wbinvd in drm_ttm.c, the module
loads and direct rendering works (I'm using a ATI Technologies Inc RV350
[Mobility Radeon 9600 M10] in a Powerbook).

This code probably shouldn't be duplicated, but I'm not aware of what coding
standards are used by this project, sorry.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8819] make DRM_MODULES=radeon fails on ppc; typo + x86-specific call [with patch]

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8819  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 14:16 ---
Created an attachment (id=7576)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=7576action=view)
Fix to the compile and undefined function errors mentioned in the bug report
  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


PPC radeon fixes (minor: build error and unresolved symbol)

2006-10-29 Thread Katerina Barone-Adesi
The git sources of the DRI kernel modules for PPC don't build on PPC
(due to a typo in platform-specific code), and once that is fixed,
don't load, due to an unresolved symbol (wbinvd(), a kernel macro for
an x86 instruction, which doesn't exist on PPC.)

I've uploaded a patch at https://bugs.freedesktop.org/show_bug.cgi?id=8819
Using this, the radeon kernel module builds and loads, and direct
rendering works.

Katerina Barone-Adesi

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 8818] total system freeze in quake 3 vtk

2006-10-29 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=8818  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-10-29 16:42 ---
Actually, I just recompiled my X server (I thought about the issue being caused
by switching from gcc 3.4.6 to gcc 4.1.1), and while the VTK demo still renders
wrong, I haven't been able to get it to crash now. Quake 3 crashes just as 
before.

The VTK demo also says this:

*WARN_ONCE*
File r300_vertexprog.c function t_dst_index line 184
Unknown output 13
***
*WARN_ONCE*
File radeon_mm.c function radeon_mm_alloc line 216
Ran out of GART memory!
Please consider adjusting GARTSize option.
***

Also, dmesg reports some information:

Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt :01:00.0[A] - GSI 16 (level, low) - IRQ 16
PCI: Setting latency timer of device :01:00.0 to 64
[drm] Initialized radeon 1.25.0 20060524 on minor 0:
mtrr: 0xd000,0x800 overlaps existing 0xd000,0x200
mtrr: 0xd000,0x800 overlaps existing 0xd000,0x200
mtrr: 0xd000,0x800 overlaps existing 0xd000,0x200
[drm] Setting GART location based on new memory map
[drm] Loading R300 Microcode
[drm] writeback test succeeded in 1 usecs
[drm] Loading R300 Microcode
[drm] Loading R300 Microcode  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel