DRM and latency..

2004-05-19 Thread Dave Airlie
It has been pointed out to me by Andrew and Fernando Pablo Lopez-Lezcano that we do a lot of sleeping in code that probably should reschedule rather than sleep,radeon_do_wait_for_idle being a prime example, this has a DRM_UDELAY(1), this messes up audio latencys, Now I'm not sure that wholesale

What is the current canonical procedure for reporting dri bugs?

2004-05-19 Thread Chris Metzler
Hi. I'm a bit confused about the favored procedure for reporting DRI bugs. The DRI User Guide, at http://dri.sourceforge.net/doc/DRIuserguide.html is recommended by the DRI wiki as important reading before bringing up problems. The DRI User Guide, in turn, suggests the Sourceforge bug databas

Assert in r200 driver

2004-05-19 Thread Jon Smirl
Any ideas about what this is? It is from the Redhat -2 xorg rpm's. All of these programs ran fine on SW mesa and R128 driver. [EMAIL PROTECTED] cairogears]$ ./cairogears -glx COMP cairogears: r200_cmdbuf.c:295: r200EmitBlit: Assertion `(src_offset & 1023) == 0 ' failed. Aborted [EMAIL PROTECTED]

Re: intel i865 chipset docs...

2004-05-19 Thread Alex Deucher
--- Dave Airlie <[EMAIL PROTECTED]> wrote: > > Hi, > I've just gotten an i865 system are there any docs out there for > programming the 3d end of this? Intels site for that chipset has no > programmers reference beyond the datasheet which doesn't say muc > about 3D > stuff.. > > Are these

Re: Current redhat xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm

2004-05-19 Thread Jon Smirl
I got this working. Something is wrong in those rpm's when they overlaid the -0.5 versions. For example 0.5 has the tls subdir and -2 does not. I whacked my X11R6 tree and reinstalled from the -2 rpms and everything works. I didn't spend the time tracking things down but some files that needed to

intel i865 chipset docs...

2004-05-19 Thread Dave Airlie
Hi, I've just gotten an i865 system are there any docs out there for programming the 3d end of this? Intels site for that chipset has no programmers reference beyond the datasheet which doesn't say muc about 3D stuff.. Are these docs available non-NDA? Dave. -- David Airlie, Software E

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Jon Smirl
--- Holger Waechtler <[EMAIL PROTECTED]> wrote: > hmmm, it's not clear to me how this concept would allow real multiple > user logins at the same time like it is common -- you can rum multiple > X11 instances on multiple VTs and every new user is able to hit SAK > without killing other user's ap

Re: What is the current canonical procedure for reporting dri bugs?

2004-05-19 Thread Ian Romanick
Chris Metzler wrote: Hi. I'm a bit confused about the favored procedure for reporting DRI bugs. The DRI User Guide, at Thank you for pointing out the inconsistency of our documentation. As it turns out, we're in the process of changing the bug repository we use (again). Adam Jackson is settin

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Holger Waechtler
Jon Smirl wrote: --- Holger Waechtler <[EMAIL PROTECTED]> wrote: Why does VT switch have to be in the kernel? I can have multiple xterms logged in as different users without kernel support. Why can't VT switching be implemented as if I was switching between multiple fullscreen xterms? I guess I don

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Eric Anholt
On Wed, 2004-05-19 at 11:25, Ian Romanick wrote: > Jon Smirl wrote: > > --- Alan Cox <[EMAIL PROTECTED]> wrote: > > > >>s/OpenGL/Some drawing library/ - providing its using the kernel > >>interfaces we don't care what. (eg the bogl console driver is very > >>small, the opengl one would probably be

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Jon Smirl
A rep from the SELinux group was at the Xdev conference. They are starting a project to verify X server. --- Alan Cox <[EMAIL PROTECTED]> wrote: > On Mer, 2004-05-19 at 20:30, Jon Smirl wrote: > > xserver draws each app into it's own pbuffer. The individual apps don't have > > access to the main f

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Alan Cox
On Mer, 2004-05-19 at 20:30, Jon Smirl wrote: > xserver draws each app into it's own pbuffer. The individual apps don't have > access to the main framebuffer. A properly designed xserver should be free from > the screen scraping attack too. The DRM module will have to make sure you can't > read buf

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Jon Smirl
--- Alan Cox <[EMAIL PROTECTED]> wrote: > On Mer, 2004-05-19 at 01:35, Jon Smirl wrote: > > Why does VT switch have to be in the kernel? I can have multiple xterms > logged > > in as different users without kernel support. Why can't VT switching be > > implemented as if I was switching between mult

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Alan Cox
On Maw, 2004-05-18 at 23:27, Keith Packard wrote: > No thoughts to supporting multiple sets of VTs, one per physical device > then? That would be nice but how much of that needs to be kernel side. Not a lot I suspect. --- This SF.Net email is

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Alan Cox
On Mer, 2004-05-19 at 01:35, Jon Smirl wrote: > Why does VT switch have to be in the kernel? I can have multiple xterms logged > in as different users without kernel support. Why can't VT switching be > implemented as if I was switching between multiple fullscreen xterms? I guess I > don't see why

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Jon Smirl
--- Ian Romanick <[EMAIL PROTECTED]> wrote: > IMO, this is a long standing problem with the DRM. The main issue is > that there's only one version number associated with each DRM module. > What's needed is a device independent version and a device dependent > version. In a sense, it needs some

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Ian Romanick
Jon Smirl wrote: --- Alan Cox <[EMAIL PROTECTED]> wrote: s/OpenGL/Some drawing library/ - providing its using the kernel interfaces we don't care what. (eg the bogl console driver is very small, the opengl one would probably be rather larger and nicer) I wasn't thinking that the kernel interface wa

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Jon Smirl
--- Holger Waechtler <[EMAIL PROTECTED]> wrote: > hmmm, it's not clear to me how this concept would allow real multiple > user logins at the same time like it is common -- you can rum multiple > X11 instances on multiple VTs and every new user is able to hit SAK > without killing other user's ap

Re: Current redhat xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm

2004-05-19 Thread Jon Smirl
--- Alex Deucher <[EMAIL PROTECTED]> wrote: > > --- Jon Smirl <[EMAIL PROTECTED]> wrote: > > --- Adam Jackson <[EMAIL PROTECTED]> wrote: > > > From your second post it looks like the same issue as > > > http://marc.theaimsgroup.com/?l=dri-users&m=108328244131329&w=2 . > > Run ldd on > > > glxge

Re: Current redhat xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm

2004-05-19 Thread Alex Deucher
--- Jon Smirl <[EMAIL PROTECTED]> wrote: > --- Adam Jackson <[EMAIL PROTECTED]> wrote: > > From your second post it looks like the same issue as > > http://marc.theaimsgroup.com/?l=dri-users&m=108328244131329&w=2 . > Run ldd on > > glxgears and see where it's getting libGL from. > > > > I'm pu

Re: Current redhat xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm

2004-05-19 Thread Jon Smirl
Getting rid of the copy in /usr/X11R6/lib/tls doesn't make a difference. --- Jon Smirl <[EMAIL PROTECTED]> wrote: > --- Adam Jackson <[EMAIL PROTECTED]> wrote: > > From your second post it looks like the same issue as > > http://marc.theaimsgroup.com/?l=dri-users&m=108328244131329&w=2 . Run ldd

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Jon Smirl
--- Holger Waechtler <[EMAIL PROTECTED]> wrote: > > Why does VT switch have to be in the kernel? I can have multiple xterms > logged > > in as different users without kernel support. Why can't VT switching be > > implemented as if I was switching between multiple fullscreen xterms? I > guess I > >

Re: Current redhat xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm

2004-05-19 Thread Jon Smirl
--- Adam Jackson <[EMAIL PROTECTED]> wrote: > From your second post it looks like the same issue as > http://marc.theaimsgroup.com/?l=dri-users&m=108328244131329&w=2 . Run ldd on > glxgears and see where it's getting libGL from. > > I'm pulling down the SRPM now, I'll take a look in the morning

Re: savage texture compression - good news

2004-05-19 Thread Alex Deucher
FYI, relevant patents numbers are: 5,956,431 6,658,146 See more info here: http://marc.theaimsgroup.com/?l=dri-devel&m=107704096508208&w=2 --- Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Mark Cass wrote: > > > > guys, > > > > finally have some good news. uploading DXT1, DXT3, and DXT5 > co

Re: savage texture compression - good news

2004-05-19 Thread Roland Scheidegger
Mark Cass wrote: guys, finally have some good news. uploading DXT1, DXT3, and DXT5 compressed textures is working. i still need to implement compressed sub textures and test very small textures. the issue was the tile size. i wrote an iterator into the driver to test all possible tile sizes

Re: [Mesa3d-dev] Re: [Dri-devel] Memory management of AGP and VRAM

2004-05-19 Thread Holger Waechtler
Jon Smirl wrote: --- Alan Cox <[EMAIL PROTECTED]> wrote: On Maw, 2004-05-18 at 21:14, Jon Smirl wrote: So you don't have any problem with pulling VT support out of the kernel? You need the code to handle video context switches. You also need vt's because you have multiple security contexts on the P