DRI and framebuffer

2004-12-13 Thread Tomas Carnecky
Hi,
Can I control a graphics card _completely_ with DRI? I mean
allocate the framebuffer, switch between modes etc. Or do I
need some kind of helper code that does these things (like
fbdev or the Xserver)?
I'm particulary interested in allocating memory for the
framebuffer via DRI, I think there is an ioctl for that, but
I'm not sure.
And is it possible to allocate offscreen memory with DRI?
So I could render into it, read the pixels out of it and
put them into an image (for example).
thanks
tom
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: DRI backwards compatibility problem from X.Org 6.8.0 onwards

2004-12-13 Thread Alan Cox
Does this not break compatibility with 6.8.0/6.8.1 - that seems at least
as big a problem as the breakage from 6.7 because it will prevent anyone
stuck with a 6.8.* driver from updating to get security fixes ?



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: radeon: Unknown symbol i2c_bit_add_bus (was: Re: new hyperz patch)

2004-12-13 Thread Adam Jackson
On Monday 13 December 2004 17:15, Dave Airlie wrote:
  radeon: Unknown symbol i2c_bit_add_bus
  radeon: Unknown symbol i2c_bit_del_bus

 you need i2c support modules loaded.. modprobe the radeon driver it should
 all work then...

Shouldn't radeon.ko build without i2c hooks if CONFIG_I2C == NO ?

- ajax


pgpTUJVBTu72P.pgp
Description: PGP signature


[Bug 2067] New: Back faces of triangles are not drawn. (Unichrome).

2004-12-13 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=2067
   
   Summary: Back faces of triangles are not drawn. (Unichrome).
   Product: Mesa
   Version: CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Drivers/DRI/Unichrome
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Back faces of triangles are not properly drawn on Unichrome.

To reproduce, Launch morph3d, and watch how the inverted shapes never get drawn
properly.
   
   
-- 
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.


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: R300 code in Xorg

2004-12-13 Thread Alan Cox
On Sul, 2004-12-12 at 18:53, Eric Anholt wrote:
 An all-fallback DRI driver is slower than software indirect GLX, if I
 remember right.

If your fallback driver has the frame buffer mapped and allocates the
backbuffer in main memory it ought to give good performance. A nave
implementation of DRI fallbacks puts the buffer in video ram and that is
a disaster.



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Weekly IRC meeting reminder

2004-12-13 Thread Ian Romanick

This is just a friendly reminder that the weekly dri-devel IRC meeting will
be starting in the #dri-devel channel on irc.freenode.net at 2100 UTC (or
4:00PM EST or 1:00PM PST, if you prefer).

Time zone conversion available at:

http://www.timezoneconverter.com/cgi-bin/tzc.tzc

Logs of previous IRC meetings are available at:

http://dri.sourceforge.net/IRC-logs/


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: radeon: Unknown symbol i2c_bit_add_bus (was: Re: new hyperz patch)

2004-12-13 Thread Dave Airlie

 Shouldn't radeon.ko build without i2c hooks if CONFIG_I2C == NO ?

it does but all stock Fedora kernels have I2c configured you just have to
use modprobe to load kernel modules not insmod..

Dave.

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



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


simple patches to compile xorg cvs with lastest Mesa (linked)

2004-12-13 Thread Sergio Monteiro Basto
Hi ,

and I still can compile unichrome and lately radeon so I use xorg2.diff
to workaround 

thanks,
-- 
Sérgio M.B.
--- xc/lib/GL/mesa/shader/Imakefile.inc.orig	2004-06-16 10:27:56.0 +0100
+++ xc/lib/GL/mesa/shader/Imakefile.inc	2004-10-31 18:48:35.0 +
@@ -15,7 +15,8 @@
 			$(MESASHADERBUILDDIR)nvfragparse.c \
 			$(MESASHADERBUILDDIR)nvvertexec.c \
 			$(MESASHADERBUILDDIR)nvvertparse.c \
-			$(MESASHADERBUILDDIR)program.c
+			$(MESASHADERBUILDDIR)program.c \
+			$(MESASHADERBUILDDIR)shaderobjects.c
 
 #ifdef NeedToLinkMesaSrc
 LinkSourceFile(arbprogparse.c, $(MESASRCDIR)/src/mesa/shader)
@@ -44,6 +45,8 @@
 LinkSourceFile(grammar_syn.h, $(MESASRCDIR)/src/mesa/shader)
 LinkSourceFile(program.c, $(MESASRCDIR)/src/mesa/shader)
 LinkSourceFile(program.h, $(MESASRCDIR)/src/mesa/shader)
+LinkSourceFile(shaderobjects.c, $(MESASRCDIR)/src/mesa/shader)
+LinkSourceFile(shaderobjects.h, $(MESASRCDIR)/src/mesa/shader)
 #endif
 
   MESA_SHADER_OBJS =	$(MESASHADERBUILDDIR)arbprogparse.o \
@@ -55,7 +58,8 @@
 			$(MESASHADERBUILDDIR)nvfragparse.o \
 			$(MESASHADERBUILDDIR)nvvertexec.o \
 			$(MESASHADERBUILDDIR)nvvertparse.o \
-			$(MESASHADERBUILDDIR)program.o
+			$(MESASHADERBUILDDIR)program.o \
+			$(MESASHADERBUILDDIR)shaderobjects.o
 
 #if defined(DoSharedLib)  DoSharedLib
   MESA_SHADER_UOBJS =	$(MESASHADERBUILDDIR)unshared/arbprogparse.o \
@@ -67,7 +71,8 @@
 			$(MESASHADERBUILDDIR)unshared/nvfragparse.o \
 			$(MESASHADERBUILDDIR)unshared/nvvertexec.o \
 			$(MESASHADERBUILDDIR)unshared/nvvertparse.o \
-			$(MESASHADERBUILDDIR)unshared/program.o
+			$(MESASHADERBUILDDIR)unshared/program.o \
+			$(MESASHADERBUILDDIR)unshared/shaderobjects.o
 #else
  MESA_SHADER_UOBJS = $(MESA_SHADER_OBJS)
 #endif
@@ -81,7 +86,8 @@
 			$(MESASHADERBUILDDIR)debugger/nvfragparse.o \
 			$(MESASHADERBUILDDIR)debugger/nvvertexec.o \
 			$(MESASHADERBUILDDIR)debugger/nvvertparse.o \
-			$(MESASHADERBUILDDIR)debugger/program.o
+			$(MESASHADERBUILDDIR)debugger/program.o \
+			$(MESASHADERBUILDDIR)debugger/shaderobjects.o
 
   MESA_SHADER_POBJS =	$(MESASHADERBUILDDIR)profiled/arbprogparse.o \
 			$(MESASHADERBUILDDIR)profiled/arbprogram.o \
@@ -92,4 +98,5 @@
 			$(MESASHADERBUILDDIR)profiled/nvfragparse.o \
 			$(MESASHADERBUILDDIR)profiled/nvvertexec.o \
 			$(MESASHADERBUILDDIR)profiled/nvvertparse.o \
-			$(MESASHADERBUILDDIR)profiled/program.o
+			$(MESASHADERBUILDDIR)profiled/program.o \
+			$(MESASHADERBUILDDIR)profiled/shaderobjects.o
--- xc/lib/GL/mesa/drivers/dri/r128/Imakefile.inc.orig	2004-11-13 19:07:21.0 +
+++ xc/lib/GL/mesa/drivers/dri/r128/Imakefile.inc	2004-10-21 20:29:16.0 +0100
@@ -48,8 +48,7 @@
 		$(MESADRVR128BUILDDIR)r128_tex.c \
 		$(MESADRVR128BUILDDIR)r128_texmem.c \
 		$(MESADRVR128BUILDDIR)r128_texstate.c \
-		$(MESADRVR128BUILDDIR)r128_tris.c \
-		$(MESADRVR128BUILDDIR)r128_vb.c
+		$(MESADRVR128BUILDDIR)r128_tris.c 
 
  R128OBJS = $(MESADRVR128BUILDDIR)r128_context.o \
 		$(MESADRVR128BUILDDIR)r128_dd.o \
@@ -61,8 +60,7 @@
 		$(MESADRVR128BUILDDIR)r128_tex.o \
 		$(MESADRVR128BUILDDIR)r128_texmem.o \
 		$(MESADRVR128BUILDDIR)r128_texstate.o \
-		$(MESADRVR128BUILDDIR)r128_tris.o \
-		$(MESADRVR128BUILDDIR)r128_vb.o
+		$(MESADRVR128BUILDDIR)r128_tris.o
 
  R128UOBJS = $(MESADRVR128BUILDDIR)unshared/r128_context.o \
 		$(MESADRVR128BUILDDIR)unshared/r128_dd.o \
@@ -74,8 +72,7 @@
 		$(MESADRVR128BUILDDIR)unshared/r128_tex.o \
 		$(MESADRVR128BUILDDIR)unshared/r128_texmem.o \
 		$(MESADRVR128BUILDDIR)unshared/r128_texstate.o \
-		$(MESADRVR128BUILDDIR)unshared/r128_tris.o \
-		$(MESADRVR128BUILDDIR)unshared/r128_vb.o
+		$(MESADRVR128BUILDDIR)unshared/r128_tris.o 
 
  R128DOBJS = $(MESADRVR128BUILDDIR)debugger/r128_context.o \
 		$(MESADRVR128BUILDDIR)debugger/r128_dd.o \
@@ -87,8 +84,7 @@
 		$(MESADRVR128BUILDDIR)debugger/r128_tex.o \
 		$(MESADRVR128BUILDDIR)debugger/r128_texmem.o \
 		$(MESADRVR128BUILDDIR)debugger/r128_texstate.o \
-		$(MESADRVR128BUILDDIR)debugger/r128_tris.o \
-		$(MESADRVR128BUILDDIR)debugger/r128_vb.o
+		$(MESADRVR128BUILDDIR)debugger/r128_tris.o 
 
  R128POBJS = $(MESADRVR128BUILDDIR)profiled/r128_context.o \
 		$(MESADRVR128BUILDDIR)profiled/r128_dd.o \
@@ -100,8 +96,7 @@
 		$(MESADRVR128BUILDDIR)profiled/r128_tex.o \
 		$(MESADRVR128BUILDDIR)profiled/r128_texmem.o \
 		$(MESADRVR128BUILDDIR)profiled/r128_texstate.o \
-		$(MESADRVR128BUILDDIR)profiled/r128_tris.o \
-		$(MESADRVR128BUILDDIR)profiled/r128_vb.o
+		$(MESADRVR128BUILDDIR)profiled/r128_tris.o 
 
 #ifdef NeedToLinkMesaSrc
 LinkSourceFile(r128_context.c, $(MESADRVSRCDIR)/r128)
@@ -125,6 +120,4 @@
 LinkSourceFile(r128_texstate.c, $(MESADRVSRCDIR)/r128)
 LinkSourceFile(r128_tris.c, $(MESADRVSRCDIR)/r128)
 LinkSourceFile(r128_tris.h, $(MESADRVSRCDIR)/r128)
-LinkSourceFile(r128_vb.c, $(MESADRVSRCDIR)/r128)
-LinkSourceFile(r128_vb.h, $(MESADRVSRCDIR)/r128)
 #endif
--- xc/config/cf/xorg.cf.orig	2004-12-12 02:45:45.0 +
+++ xc/config/cf/xorg.cf	2004-12-12 

[Bug 1819] Add AGP 8x support to radeon

2004-12-13 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=1819
   

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Additional Comments From [EMAIL PROTECTED]  2004-12-13 17:39 ---
I just try my Radeon 9200SE AGP 8X with cvs and with Mesa of some minutes ago. 
I compile Mesa and install radeon dri with :
cd Mesa
make linux-dri-x86
cd Mesa/lib/
cp radeon_dri.so /usr/X11R6/lib/modules/dri/radeon_dri.so

Option  AGPMode 4 works 
Option  AGPMode 8 screen go tottaly crazy on start up 

btw can't enable 
#   Option EnablePageFlip true
#   Option AGPFastWrite true
because hangs the computer.

that all for today :)
   
   
-- 
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.


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


s3 virge docs

2004-12-13 Thread Ryan Underwood

Found this random link which some folks may be interested in:

http://members.shaw.ca/mm99mm/S3_Virge_programming_spec.html

-- 
Ryan Underwood, [EMAIL PROTECTED]


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel