Re: current DRM CVS

2004-09-22 Thread Keith Whitwell
Dave Airlie wrote: If I get a chance this evening or over the weekend, I think we need to split 2.4 and 2.6, they can pretty much share everything that isn't drm_stub.h and drm_drv.h from what I can see... I think linknig over files into a 2.4 build might help a lot... Jon most of the 2.6 specific

Re: current DRM CVS

2004-09-22 Thread Dave Airlie
If I get a chance this evening or over the weekend, I think we need to split 2.4 and 2.6, they can pretty much share everything that isn't drm_stub.h and drm_drv.h from what I can see... I think linknig over files into a 2.4 build might help a lot... Jon most of the 2.6 specific stuff is in these

current DRM CVS

2004-09-22 Thread Jon Smirl
I just fixed DRM CVS so that it compiles again on 2.4 but it doesn't work. I'm open to clean solutions for making DRM(probe) in drm_stub.h work on 2.4. 2.4 is missing all of the register_chrdev_region, cdev_init, cdev_add, kobject stuff. This is too complicated for stubbing things out with inline

latest Mesa radeon crashing out...

2004-09-22 Thread Dave Airlie
I'm running Mesa top of CVS with S3TC on Radeon 9200, my app is crapping out with [drm:radeon_emit_packets] *ERROR* Packet size provided larger than data provided [drm:radeon_cp_cmdbuf] *ERROR* radeon_emit_packets failed in dmesg and drmCommandWrite: -22 drmRadeonCmdBuffer: -22 (exiting) I'm run

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Dag Bakke
- Original Message - From: Alex Deucher <[EMAIL PROTECTED]> Date: Wed, 22 Sep 2004 14:02:16 -0400 To: Vladimir Dergachev <[EMAIL PROTECTED]> Subject: Re: [r300] - likely compatibility w rv360? > On Wed, 22 Sep 2004 13:27:23 -0400 (EDT), Vladimir Dergachev > <[EMAIL PROTECTED]> wrote: > >

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Dave Jones
On Wed, Sep 22, 2004 at 09:18:55AM -0800, Dag Bakke wrote: > agpgart: Found an AGP 3.5 compliant device at :00:00.0. > agpgart: Badness. Don't know which AGP mode to set. [cmd:1f000a0a tmp:1f000a0a f > ell back to:- cmd:1f000a08 tmp:1f000a0a] > agpgart: Bridge couldn't do AGP x4. > agpgar

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Roland Scheidegger
Alex Deucher wrote: On Wed, 22 Sep 2004 18:56:40 -0400 (EDT), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: I think I've seen this one - check your BIOS settings - maybe you need to enable something AGP related there. As I recall, since the X server doesn't have official 8x agp support yet for rade

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Alex Deucher
On Wed, 22 Sep 2004 18:56:40 -0400 (EDT), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > >> I think I've seen this one - check your BIOS settings - maybe you need to > >> enable something AGP related there. > > > > As I recall, since the X server doesn't have official 8x agp support > > yet for ra

Question about FRONT BUFFER?

2004-09-22 Thread Amir Bukhari
Is the frontbuffer shared between all contexts, or for each Context there will be a different frontbuffer? In direct rendering I understand that frontbuffer point to the visible framebuffer of the card (write to screen). Using at the end the position of the window and its clips mask you will writ

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Vladimir Dergachev
I think I've seen this one - check your BIOS settings - maybe you need to enable something AGP related there. As I recall, since the X server doesn't have official 8x agp support yet for radeons, you have to force the bridge into 4x mode in the bios so it comes up in 4x mode. How very interesting.

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Vladimir Dergachev
so it comes up in 4x mode. Alex Bingo. My rv360 now runs all the r300_demo tests. They look about the same as the snapshots on r300.sf.net. --triangles comes out a bit different than http://r300.sourceforge.net/files/how_it_looks.1.png I get one multicolored and one white triangle. Yep, that's h

PATCH: DRM and sysfs

2004-09-22 Thread Jon Smirl
This code switches DRM off from class simple to it's own internal sysfs code. You need to do this in order to add attributes. The attached code adds a simple "version" attribute. More attributes are planned once the initial framework is in place. This code has a bunch of ifdef kernel versions in i

Re: exception testing in r200 driver

2004-09-22 Thread Eric Anholt
On Wed, 2004-09-22 at 13:21, Ian Romanick wrote: > Philipp Klaus Krause wrote: > > _mesa_test_os_sse_exception, executed upon start of any OpenGL > > application raises SIGFPE. Normally this is not a problem, > > applications continue to execute normally. > > > > However when using the jogl OpenGL

Re: exception testing in r200 driver

2004-09-22 Thread Ian Romanick
Philipp Klaus Krause wrote: _mesa_test_os_sse_exception, executed upon start of any OpenGL application raises SIGFPE. Normally this is not a problem, applications continue to execute normally. However when using the jogl OpenGL Java binding programs exit. I tried both with Java 1.4 from Sun and sab

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Alex Deucher
On Wed, 22 Sep 2004 13:27:23 -0400 (EDT), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > > > On Wed, 22 Sep 2004, Dag Bakke wrote: > > > > [drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc RV350 > > AR [Radeon 9600] > > agpgart: Found an AGP 3.5 compliant device at :0

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Vladimir Dergachev
On Wed, 22 Sep 2004, Dag Bakke wrote: [drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc RV350 AR [Radeon 9600] agpgart: Found an AGP 3.5 compliant device at :00:00.0. agpgart: Badness. Don't know which AGP mode to set. [cmd:1f000a0a tmp:1f000a0a f ell back to:- cmd:1f00

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Dag Bakke
- Original Message - From: Vladimir Dergachev <[EMAIL PROTECTED]> Date: Wed, 22 Sep 2004 01:23:38 -0400 (EDT) To: Dag Bakke <[EMAIL PROTECTED]> Subject: Re: [r300] - likely compatibility w rv360? > > Hi Dag, > > Try this: before starting X switch to another console and execute: > >

Re: DRM radeon i2c support and GPL

2004-09-22 Thread Alan Cox
On Mer, 2004-09-22 at 06:09, Eric Anholt wrote: > lines are GPLed of a file otherwise MIT-licensed). I was very bothered > by Jon's suggestion that a lot of the code could be GPLed by accident or > something, as if that license would have infected the entire DRM > (including shared bits) while nob

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Nicolai Haehnle
Hi, On Wednesday 22 September 2004 00:45, Dag Bakke wrote: > If I load "dri" in my xorg.conf, the graphics gets wedged as soon > as I start X. I get more or less garbled stuff from the previous session. I > can move the cursor, but that's it. I can not exit from X with > ctrl-alt-backspace, or sh

Re: DRM radeon i2c support and GPL

2004-09-22 Thread Eric Anholt
On Tue, 2004-09-21 at 02:48, Alan Cox wrote: > On Maw, 2004-09-21 at 08:58, Kean Johnston wrote: > > That's not a statement thats safe to make. BSD (or any other OS > > that XOrg supports) may not have Linux's I2C driver system. TODAY. > > What if, next week, BSD gets such a beast, or HP-UX does, o

Re: [r300] - likely compatibility w rv360?

2004-09-22 Thread Vladimir Dergachev
Hi Dag, Try this: before starting X switch to another console and execute: sleep 15 ; dmesg > dmesg.1 ; sync Then start X, wait 30 seconds and shutdown your machine after that - this will let you look at dmesg messages. Also see below: On Tue, 21 Sep 2004, Dag Bakke wrote: I have tried the two

Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-22 Thread Jay Phelps
I appreciate the quick response!  I just caught up with this e-mail chain and have not had a chance to try anything.  My DRM is dated and broken among other things but it also looks like there's some vigorous activity on getting the DRI code patched as well.  Let me know if I can assist in some