Re: Please revert nouveau.

2011-01-16 Thread Ben Skeggs
On Sun, 2011-01-16 at 12:10 -0800, Linus Torvalds wrote: On Sun, Jan 16, 2011 at 12:00 PM, Anca Emanuel anca.eman...@gmail.com wrote: In 2.6.37-git5 with the revert, the boot screen is changing the resolution. With this version, it don't. So, can you make a nice report of that - along

Re: Please revert nouveau.

2011-01-16 Thread Ben Skeggs
On Sun, 2011-01-16 at 15:48 -0800, Linus Torvalds wrote: On Sun, Jan 16, 2011 at 3:44 PM, Ben Skeggs bske...@redhat.com wrote: I've tested a bit here, current git with the revert does appear to work fine for me. So Anca has a 8800GT - is that what you're testing? I don't have an 8800

Re: [patch] nouveau: off by one in nv50_gpio_location()

2010-06-02 Thread Ben Skeggs
On Thu, 2010-04-22 at 11:40 +0200, Dan Carpenter wrote: If gpio-line is 32 then nv50_gpio_reg[gpio-line 3] reads past the end of the array. Thanks, picked up in the nouveau tree. Signed-off-by: Dan Carpenter erro...@gmail.com diff --git a/drivers/gpu/drm/nouveau/nv50_gpio.c

[git pull] nouveau fixes

2010-04-08 Thread Ben Skeggs
at: git://anongit.freedesktop.org/nouveau/linux-2.6 for-airlied Ben Skeggs (16): drm/nv50: fix fbcon when framebuffer above 4GiB mark drm/nv50: add more 0x100c80 flushy magic drm/nouveau: remove some unused members from drm_nouveau_private drm/nouveau: detect vram amount

Re: [git pull] drm request 3

2010-03-04 Thread Ben Skeggs
On Thu, 2010-03-04 at 16:08 -0800, Linus Torvalds wrote: On Fri, 5 Mar 2010, Dave Airlie wrote: Speaking as distro maintainer here, No because we've got versioned interfaces and we are happy to support them yes it would be nice sometimes to dream about this, but its a major

Re: [git pull] drm

2010-02-15 Thread Ben Skeggs
On Mon, 2010-02-15 at 23:55 +0100, Christian Borntraeger wrote: Am Montag 15 Februar 2010 10:53:48 schrieb Christian Borntraeger: I think this regression is triggered by commit 39c9bfb453b748ce220ceefacbe2a5c19fabf67b Author: Ben Skeggs bske...@redhat.com Date: Tue Feb 9 10:22:29 2010

Re: Another TTM race bug.

2009-12-16 Thread Ben Skeggs
On Wed, 2009-12-16 at 12:11 +0100, Thomas Hellstrom wrote: Jerome Glisse wrote: On Wed, 2009-12-16 at 11:56 +0100, Thomas Hellstrom wrote: Hi guys, There is another TTM race bug that I'm going to fix but which doesn't yet affect any upstream code AFAICT. The effect is that it

Re: [PATCH] drm/ttm: Rework validation memory space allocation (V3)

2009-12-08 Thread Ben Skeggs
On Tue, 2009-12-08 at 15:33 +0100, Jerome Glisse wrote: This change allow driver to pass sorted memory placement, from most prefered placement to least prefered placement. In order to avoid long function prototype a structure is used to gather memory placement informations such as range

Re: [PATCH] drm: update crtc x/y when only fb changes

2009-09-17 Thread Ben Skeggs
On Thu, 2009-09-17 at 08:24 +0200, Maarten Maathuis wrote: On Thu, Sep 17, 2009 at 8:15 AM, skeg...@gmail.com wrote: From: Ben Skeggs bske...@redhat.com Fixes: xrandr --output DVI-I-0 --right-of DVI-I-1 xrandr --output DVI-I-0 --left-of DVI-I-1 xrandr --output

Re: [PATCH] drm: speed up EDID detection.

2009-05-05 Thread Ben Skeggs
On Wed, 2009-05-06 at 03:12 +0100, Dave Airlie wrote: This just tries EDID detection, then falls back to the slow path code. I think this is should detect most monitors currently available. I need to rework the I2C stuff so that it doesn't require the bit-bang i2c algo; Display

Re: [Mesa3d-dev] Gallium HW winsys

2008-07-11 Thread Ben Skeggs
Am Freitag, den 11.07.2008, 16:56 +0200 schrieb Jakob Bornecrantz: On Thu, Jul 10, 2008 at 6:22 PM, Younes Manton [EMAIL PROTECTED] wrote: I'm trying to get the HW winsys stuff set up for XvMC and have some questions. Is there any problem with dlopen()ing the DRI driver (in this case

Re: TTM merging?

2008-05-14 Thread Ben Skeggs
1) I feel there hasn't been enough open driver coverage to prove it. So far we have done an Intel IGD, we have a lot of code that isn't required for these devices, so the question of how much code exists purely to support poulsbo closed source userspace there is and why we need to

Re: R300 swizzle W/XYZ interaction strangeness

2006-01-19 Thread Ben Skeggs
Am Donnerstag, den 19.01.2006, 22:07 +0100 schrieb Jerome Glisse: Hi Ben, I don't know if you remember but we got a discussion on swizzle issue when we have to write W to a XYZ few month ago. You solved the issue by syncing the XYZ W emit, right (emitting W with the last XYZ emit) ? I

Re: [r300] Fragment program ops + questions

2006-01-06 Thread Ben Skeggs
Am Freitag, den 06.01.2006, 17:22 +0100 schrieb Rune Petersen: - Missing Commit from r300.sf.net: When trying to Implement the KIL ops I found a commit by Ben Skeggs on r300.sf.net that was lost in the Mesa tree: http://sourceforge.net/mailarchive/forum.php?thread_id=7728162forum_id=42268

Re: Doom3 + r300

2005-10-27 Thread Ben Skeggs
Am Donnerstag, den 27.10.2005, 19:27 -0400 schrieb Adam K Kirchhoff: FYI, doom3 seems to run with the latest r300 drivers. It's slow, and there are definite texture problems (lots of flickering), but it doesn't crash. You can see a screenshot at http://68.44.156.246/doom3.png I'm not sure

Re: where is libdrm

2005-10-10 Thread Ben Skeggs
Am Montag, den 10.10.2005, 02:41 -0400 schrieb Vladimir Dergachev: Stupid question - what is the official place to get libdrm from ? I read through the webpages (both mesa3d and DRI) and searched on Google, but I dont' seem to find it. It's in drm cvs: http://cvs.freedesktop.org/dri/drm/

Re: ARB_f_p R300 thoughts

2005-07-17 Thread Ben Skeggs
of temps when trying to allocate it. Cheers, Ben Skeggs. I've been watching the R300 CVS commits, looking forward to a day when we might be able to see good free 3D drivers for today's cards. I have a thought though, which might be fuelled by ignorance of ARB_f_p or of the ATI hardware. Don't

Re: r300 testing..

2005-06-26 Thread Ben Skeggs
Adam K Kirchhoff wrote: FYI I've had a chance today to test the r300 driver (using a Radeon 9550) with every 3d game and application I have installed. This includes UnrealTournament, ut2004, q3a, RTCW, Rune, Tribes2, Orbz, MarbleBlast (both from GarageGames), neverball, neverputt, NWN,

Re: [R300] new snapshot ?

2005-06-09 Thread Ben Skeggs
Aapo Tahkola wrote: Someone, I believe it was Aapo, said that they see white lines across the screen when the framerate is fairly high. I didn't see this up until yesterday when I had to change from my 9600pro to a 9600XT (I killed the card moving it between machines somehow). Are you

Re: [R300] the_perfect_frag snapshot

2005-05-28 Thread Ben Skeggs
to the output it's an NV_fragment_program opcode, and we're not advertising that extension.. Ben Skeggs. On America's Army, the text was almost unreadable (but I see this on the TODO). Also, the clouds overhead and straight ahead on the first training mission looked like square boxes. Thanks, Donnie 1

Re: [patches] Re: r300 radeon 9800 lockup

2005-05-28 Thread Ben Skeggs
Morning, After playing UT2004 for 10 or so minutes, and then quickly checking some other apps known to worn, I see no regressions with either patch. I'll be putting it through some more rigorous testing as the day progresses, will report back if I find anything. Also, out of interest, what

Re: R300 swizzle table

2005-05-22 Thread Ben Skeggs
a MAD t, -t, 1, 0 with appropriate write mask. Anyway once Keith commited your patch and you commited your change in r300, i will commit change to use table with individual neg support... Cool. I'll have a closer look at your code when I get home again in 12 or so hours. Cheers, Ben Skeggs

Re: [R300] new snapshot ?

2005-05-19 Thread Ben Skeggs
with Keith's texenv program generation that's in Mesa cvs. Not all arb_f_p opcodes are implemented, but I think everything's there that the texenv stuff needs. I was planning on commiting this soon, but you may have a better approach than I took so I'll wait a bit. Ben Skeggs. Moreover i see

Re: [R300] new snapshot ?

2005-05-19 Thread Ben Skeggs
yet. I also need to take another look at the generated code, to make sure that combining the xyz and w instuction streams is working as I intended. When I first integrated my test code into r300_dri it was, but I've changed much since then. Cheers, Ben Skeggs. Jerome Glisse

Re: [R300] new snapshot ?

2005-05-19 Thread Ben Skeggs
, instead, it uses the same method as temps do. I didn't see anything too nasty in ut2004 from doing this. I didn't test the patch in great detail, so there's probably something I missed :/ Ben Skeggs. Jerome Glisse --- This SF.Net email

Re: r300 patch to fix macro in r300_context.h

2005-05-11 Thread Ben Skeggs
cvs, anonymous may not have caught up yet. Thanks, Ben Skeggs. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id

Re: licenses, R300 code, etc

2005-04-30 Thread Ben Skeggs
This needs approval from everyone who contributed to R300 - please let me know ! Fine by me. --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great

Re: r300 fixed pipeline design

2005-04-21 Thread Ben Skeggs
will also benefit from having this functionality inside Mesa. Cheers, Ben Skeggs. Jerome Glisse --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating

Re: R300 pixel shader

2005-03-26 Thread Ben Skeggs
copied into. Cheers, Ben Skeggs. Jerome Glisse wrote: Hi, I was playing with pixel shader, trying to improve support of texenv co... But i didn't success to find a way to do swizzle. If i ask for SRC0A in FPI0 is the A component replicated ? Anyone so far played with all that ? By the way i take

[r300] Multitexturing support added

2005-03-15 Thread Ben Skeggs
go sleep now. Have fun! Cheers, Ben Skeggs. --- 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

Re: [r300] q3demo = _no_ artifacts

2005-03-04 Thread Ben Skeggs
in ut2004-demo. I believe that it was elts being implemented which corrected this, but I could be wrong. Cheers, Ben Skeggs. Rune Petersen --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds

Re: [r300] q3demo = _no_ artifacts

2005-03-04 Thread Ben Skeggs
if it *is* correct. Ben Skeggs. best Vladimir Dergachev Cheers, Ben Skeggs. best Vladimir Dergachev Cheers, Ben Skeggs. Rune Petersen --- SF email

Re: [r300] q3demo = _no_ artifacts

2005-03-04 Thread Ben Skeggs
Vladimir Dergachev wrote: On Sat, 5 Mar 2005, Ben Skeggs wrote: Rune Petersen wrote: Hi, I gave q3demo a try and to my surprise there was no artifacts. This must have been fixed by one of the many changes. Does this only work for me? Or is it time to update the status page? I can't actually run

Re: [R300] texture breakage

2005-03-03 Thread Ben Skeggs
:). Paul. Do you still see the same breakage with vertex buffer mode? The textures in neverball are broken for me in immediate mode with the latest cvs. Cheers, Ben Skeggs. --- SF email is sponsored by - The IT Product Guide Read honest candid

Re: [R300] Radeon 9550 Problems

2005-03-02 Thread Ben Skeggs
Hello, You need to use the drm that's in r300_driver/drm. The one that comes with the kernel doesn't have all the needed functions. Cheers, Ben. [EMAIL PROTECTED] wrote: Hi, I'm new to DRI development but am interested in helping with the r300 driver. I am trying to get the driver working with my

Re: [R300] DRM perturbation

2005-02-27 Thread Ben Skeggs
(): select: errno=22 error I was having with the current drm. One question about tiling, will this cause any problems with the current r300 code? Or is it something completely unrelated? Cheers, Ben Skeggs. best Vladimir Dergachev

Re: [r300] VB lockup found and fixed

2005-02-18 Thread Ben Skeggs
a problem for me. If I move a window over the top of a glxgears window my machine locks up immediately, but sysrq still works fine. Hopefully I'll have time to take a look at this on Sunday. Cheers, Ben Skeggs. --- SF email is sponsored

Re: [r300] VB lockup found and fixed

2005-02-18 Thread Ben Skeggs
can ssh in and successfuly kill glxgears, then X returns to normal. I can have a partially covered glxgears window and everything is fine, but as soon as the entire window (not incl. window decorations) is covered, it seems that the 2d driver is unable to update the screen. Ben Skeggs

Re: [r300] VB lockup found and fixed

2005-02-18 Thread Ben Skeggs
Nicolai Haehnle wrote: On Friday 18 February 2005 16:03, Keith Whitwell wrote: Ben Skeggs wrote: I still have a 100% reproducable bug which I need to find the cause of, but time is once again a problem for me. If I move a window over the top of a glxgears window my machine

Re: R300 success stories

2005-02-17 Thread Ben Skeggs
by moving a window over the top of the glxgears window? This is the only way I can cause a lockup with the vertex buffer code. I'm using xorg cvs from 1-2 days before the dlloader changes. Cheers, Ben Skeggs. --- SF email is sponsored

Re: R300 success stories

2005-02-17 Thread Ben Skeggs
which ut2004-demo has. Cheers, Ben Skeggs. However i now can turn on reflection in neverball without an slowdown (before i had an slowdown). I dont get any lockups since about a week (which seems to be strange as many others get lockups), however i do not use xorg-cvs, but ubuntus xorg-package

Re: R300 success stories

2005-02-14 Thread Ben Skeggs
be able to now until there is a 64-bit version, or the drm has support for 32-bit clients. Thanks again! Ben Skeggs. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users

Re: R300 success stories

2005-02-13 Thread Ben Skeggs
of glitches. Frankly, I'm thrilled at the handful of games that are now working! Adam Great! Thankyou for testing on some (afaik) untested programs. Cheers, Ben Skeggs. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews

r300 vb path

2005-02-10 Thread Ben Skeggs
this, or if it needs more work. Thanks, Ben Skeggs. diff -Nur r300_driver/drm/shared-core/r300_cmdbuf.c r300_driver_wip/drm/shared-core/r300_cmdbuf.c --- r300_driver/drm/shared-core/r300_cmdbuf.c 2005-01-08 13:46:34.0 +1100 +++ r300_driver_wip/drm/shared-core/r300_cmdbuf.c 2005-02-11 05:10

Re: DRM change for R300 DMA

2005-02-08 Thread Ben Skeggs
Michel Dnzer wrote: On Tue, 2005-02-08 at 14:59 +1100, Ben Skeggs wrote: Could someone with knowledge of r200_dri explain how vertex buffer uploads are put into framebuffer memory on r200? AFAIK they aren't, the only data the radeon and r200 drivers upload to the framebuffer is textures

Re: DRM change for R300 DMA

2005-02-07 Thread Ben Skeggs
Hello Jan, The patch to the drm shouldn't have actually done anything on it's own. It requires that r300_ioctl be modified to be of any use at all. I'll have a look into it some more in the morning. Ben Skeggs. Jan Kreuzer wrote: Hi Ben your patch seems to solve some of the lockups I experienced

Re: DRM change for R300 DMA

2005-02-07 Thread Ben Skeggs
as it might differ from mine. glxgears looks a little broken using this aswell, I have some random colours across the faces of the gears. Anyhow, it was a little experiment I was doing to see how to implement vertex buffers. Ben Skeggs. diff -Nur orig/r300_context.h mod/r300_context.h --- orig

Re: DRM change for R300 DMA

2005-02-07 Thread Ben Skeggs
r200 of the address of the buffer acquired from AllocDma. I've mostly likely got something very confused here. Thanks, Ben Skeggs. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real

DRM change for R300 DMA

2005-02-06 Thread Ben Skeggs
completely missed something? Regards, Ben Skeggs. diff -Nur drm.old/shared-core/r300_cmdbuf.c drm/shared-core/r300_cmdbuf.c --- drm.old/shared-core/r300_cmdbuf.c 2005-01-08 13:46:34.0 +1100 +++ drm/shared-core/r300_cmdbuf.c 2005-02-06 20:20:06.910617312 +1100 @@ -354,16 +354,37

Re: [R300] jump_and_click snapshot

2005-01-31 Thread Ben Skeggs
messing with it in my (somewhat limited) spare time. Thanks for the update Vladimir, and to everyone who's contributed. Ben Skeggs. --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create

Re: [R300] jump_and_click snapshot

2005-01-31 Thread Ben Skeggs
drivers use. Is there any documentation on the use of these templates? Regards, Ben Skeggs. --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over

Re: [R300] noisy_cube snapshot

2005-01-02 Thread Ben Skeggs
get this error sometimes, and programs randomly die. There's a bug report on the freedesktop bugzilla, but no resolution yet. IIRC it has something to do with the new DRM. Ben Skeggs. Peter Zubaj http://www.logofun.pobox.sk - urobte radost svojmu telefonu

Re: [R300] noisy_cube snapshot

2005-01-02 Thread Ben Skeggs
disabling the R300 piece with the long comment. I am curious to know whether a) You still see lockups with this disabled When the code is commented out glxgears locks up after a second or two for me. Ben Skeggs --- The SF.Net email

Re: [R300] rotating_gears snapshot

2004-12-31 Thread Ben Skeggs
outside of the glxgears window. Is anyone else testing with an RV350 that can confirm this? Perhaps there's a small difference to the R300. Ben Skeggs. Vladimir Dergachev wrote: Cool, could you try the new version of rotating_gears ? I am curious to see whether it works any better for you

Re: [R300] rotating_gears snapshot

2004-12-30 Thread Ben Skeggs
and pixel_shader.h seem to be missing from the r300_driver module, I needed to copy them over from r300_demo. Good work! Ben Skeggs. Vladimir Dergachev wrote: Hi all, New snapshot of r300_driver is available. Get it from CVS, tag rotating_gears Changes: * code cleanup, do not clobber hardware

Re: [R300] rotating_gears snapshot

2004-12-30 Thread Ben Skeggs
architecture a fair while ago, in hopes that I'd be able to contribute, but never got around to it. I'm starting to get a general idea of how things fit together with Mesa now. Watching this driver come together has been the perfect opportunity to learn! Regards, Ben Skeggs

Re: [R300] rotating_gears snapshot

2004-12-30 Thread Ben Skeggs
Cool ! Can you resize the window without lockups as well ? No, I can't. I didn't think to test that until after my last email. Okay, that wasn't quite true. I was just attempting to get the drm log of what happened on the lockup and it was quite hard to produce with drm debugging on. I'm

Re: [Fwd: r300 Report.]

2004-11-06 Thread Ben Skeggs
occurred, in case it helps. I also have the problem as Pat, where glxinfo reports direct rendering: No, but my Xorg log says it is. Ben Skeggs Nov 7 07:37:41 disoft-dc [drm:drm_core_init] drm_agp c0459e00 Nov 7 07:37:41 disoft-dc [drm] Initialized drm 1.0.0 20040925 Nov 7 07:37:44 disoft-dc

Re: [Fwd: r300 Report.]

2004-11-06 Thread Ben Skeggs
As long as the X server works and uses the ring buffer, that would point towards a simple configuration problem. Perhaps you could post a log of glxinfo with LIBGL_DEBUG=all and RADEON_DEBUG=all? cu, Nicolai Hmm, I believe you may be right about the config problem, I'm not sure why I

Re: [Fwd: r300 Report.]

2004-11-06 Thread Ben Skeggs
r300_dri.so needs to get linked against expat. - ajax Yup, that did the trick. Thankyou. Any thoughts as to why it wasn't linked against expat when I built it the first time around? Ben. from glxinfo: disabling 3D acceleration name of display: :0.0 display: :0 screen: 0 direct rendering:

r300.sf.net lockup

2004-11-05 Thread Ben Skeggs
Hello, I've been trying to get the experimental r300.sf.net driver to work on my machine. I've compiled and installed it ok, but everytime I start the X server with DRI enabled, the top of the screen is corrupted, which I'm assuming is the xterms that are supposed to be showing. However, the