Re: [Nouveau] Fedora and direct rendering

2007-06-09 Thread Ben Skeggs
Am Sonntag, den 10.06.2007, 01:55 +0100 schrieb Ioannis Nousias: Ioannis Nousias wrote: Hello, I'm using Fedora 7 and I thought I should try nouveau. I couldn't get direct rendering to work. I found out that the Mesa package that ships with Fedora 7 doesn't include a DRI

Re: [Nouveau] Current state - how to get gallium-stuff running?

2008-03-08 Thread Ben Skeggs
Am Sonntag, den 09.03.2008, 01:25 + schrieb seventh guardian: On Sat, Mar 8, 2008 at 10:00 PM, Pekka Paalanen [EMAIL PROTECTED] wrote: On Sat, 8 Mar 2008 15:04:30 +0100 Hanno Böck [EMAIL PROTECTED] wrote: Using Gentoo, using the nouveau-overlay. Installing git-packages of

Re: [Nouveau] Current tinderbox regression (nouveau)

2008-07-08 Thread Ben Skeggs
Am Dienstag, den 08.07.2008, 00:30 -0400 schrieb Chris Ball: http://tinderbox.x.org/builds/2008-07-08-0003/ http://tinderbox.x.org/builds/2008-07-08-0003/logs/xf86-video-nouveau/#build nouveau_bo.c: In function 'nouveau_bo_new': nouveau_bo.c:51: error: 'NOUVEAU_MEM_TILE' undeclared (first

Re: [Nouveau] NV86 (Quadro NVS 140M) errors in dmesg

2008-08-01 Thread Ben Skeggs
Am Samstag, den 02.08.2008, 10:20 +1200 schrieb Jasper Bryant-Greene: In case it's any use for debugging, I get these error messages in dmesg on my NV86 (Quadro NVS 140M) card: [ 21.729435] [drm] Initialized drm 1.1.0 20060810 [ 21.749414] nouveau :01:00.0: power state changed by

Re: [Nouveau] NV86 (Quadro NVS 140M) errors in dmesg

2008-08-02 Thread Ben Skeggs
Am Samstag, den 02.08.2008, 21:54 +1200 schrieb Jasper Bryant-Greene: On Sat, 2008-08-02 at 10:02 +1000, Ben Skeggs wrote: Am Samstag, den 02.08.2008, 10:20 +1200 schrieb Jasper Bryant-Greene: Also, Xvideo does not work properly, with mplayer printing a large number of these: X11

Re: [Nouveau] [Bug 16978] New: tile offscreen pixmaps causing graphics corruption on NV50?

2008-08-04 Thread Ben Skeggs
: [EMAIL PROTECTED] Hi, (Shamelessly Cc'ing Ben Skeggs as he authored the offending commits) Not necessary, unsurprisingly I'm subscribed :) Am seeing some graphics corruption on nouveau with my 8600 GT consisting of odd black or white speckles on some widgets. It's especially

Re: [Nouveau] [PATCH for review] (hopefully) improve error message upon incorrect pgraph irq

2008-11-06 Thread Ben Skeggs
On Fri, 2008-11-07 at 00:43 +0100, Maarten Maathuis wrote: My main question is, do the error messages accurately reflect the situation. Anything else wrong with this patch? A (n)ack by darktama would be nice. An instance value of zero can very well be valid, a definite NACK on that part of

Re: [Nouveau] Memory corruption on Gallium window resize, diagnosed?

2008-11-11 Thread Ben Skeggs
Am Mittwoch, den 12.11.2008, 00:26 +0200 schrieb Pekka Paalanen: Hi, I've been playing with nouveau/mesa branch gallium-0.1, trying to get trivial/tri working on nv20 (with nv10 code). When ever I resize the window, it ends up in an assert failure: Hey, I fixed nv4x recently, gallium-0.2

Re: [Nouveau] NV50: xv fullscreen issues

2008-12-26 Thread Ben Skeggs
On 12/26/08, Daniel Eklöf dan...@ekloef.se wrote: Hi, I've been trying out nouveau for a while now and I must say I'm impressed. Performance in KDE4 in general seems better than the nvidia blob; way to go! There are a couple of annoyances though: XV in fullscreen doesn't work. I'm running

Re: [Nouveau] some patches and remarks for ng

2009-01-05 Thread Ben Skeggs
Am Montag, den 05.01.2009, 16:27 +0100 schrieb Maarten Maathuis: On 01/05/2009 04:07 PM, Maarten Maathuis wrote: On 01/05/2009 01:24 AM, Ben Skeggs wrote: On Sat, 2009-01-03 at 17:53 +0100, Maarten Maathuis wrote: 1 patch for libnouveau_drm, 4 for drm and one work in progress patch

[Nouveau] extra PRAMIN flushiness patch

2009-02-15 Thread Ben Skeggs
pramin_more_flush.diff Description: Binary data ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau

Re: [Nouveau] [PATCH 2/2] exa: do PrepareAccess for classic too, since we do need to map the frontbuffer.

2009-02-26 Thread Ben Skeggs
On Thu, 2009-02-26 at 21:55 +0100, Maarten Maathuis wrote: - I'm surprised we didn't get serious complaints about not being able to render to the frontbuffer. We don't get serious complaints because it's not an issue. EXA is given the virtual address, and it remembers it. The design of the mm

Re: [Nouveau] [PATCH 1/2] exa: turn WaitMarker into a NOP.

2009-02-26 Thread Ben Skeggs
On Thu, 2009-02-26 at 21:55 +0100, Maarten Maathuis wrote: - map should handle this. It does, but we don't use prepare/finish_access() hooks to do map() on the buffer in the non-driver-pixmaps case. I guess we could use prepare/finish_access() there too, it probably wouldn't hurt any. Ben. ---

Re: [Nouveau] [PATCH] Fix nouveau_pipe_create() / nouveau_context_init()

2009-03-06 Thread Ben Skeggs
On Fri, 2009-03-06 at 13:59 +0100, Victor Stinner wrote: My first patch to help the gallium driver :-) Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the screen/pipe creation failed. Thanks, committed! Victor ___ Nouveau

Re: [Nouveau] [PATCH] Fix nv50_screen_create()

2009-03-06 Thread Ben Skeggs
On Fri, 2009-03-06 at 14:05 +0100, Victor Stinner wrote: Setup screen-pipe before using it (screen-constbuf = screen-pipe.buffer_create(...)): just move the code. Also committed. Thanks :) Victor ___ Nouveau mailing list

Re: [Nouveau] Where did the nv50 texture unit setup come from?

2009-03-10 Thread Ben Skeggs
On Mon, 2009-03-09 at 19:10 +0100, Maarten Maathuis wrote: I'm especially interested in the original data that was used to derive the constant buffer arguments. renouveau.. turn on dumping of all mappings and you'll see them magically appear. I'm looking for the texture unit switch for

Re: [Nouveau] (patch) Gallium NV50: honor bypass_vs_clip_and_viewport

2009-04-01 Thread Ben Skeggs
On Tue, 2009-03-31 at 15:47 +0200, Christoph Bumiller wrote: When trying out the Gallium3D NV50 driver (curiosity) with a small OpenGL program that renders 2 rotating triangles partially occluding each other I noticed that depth buffer clearing by rendering a quad

Re: [Nouveau] [Nouveau-cvs] xf86-video-nv: Branch 'master'

2009-04-03 Thread Ben Skeggs
some minor modesetting changes seemingly without reason. Ben. Maarten. On Fri, Apr 3, 2009 at 6:26 AM, Ben Skeggs darkt...@kemper.freedesktop.org wrote: src/nv50reg.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit

Re: [Nouveau] [Nouveau-cvs] xf86-video-nv: Branch 'master'

2009-04-07 Thread Ben Skeggs
are different for 8xxx and 9xxx. Maarten. On Fri, Apr 3, 2009 at 12:13 PM, Ben Skeggs skeg...@gmail.com wrote: On Fri, 2009-04-03 at 10:43 +0200, Maarten Maathuis wrote: You need these ports for LVDS? Because i know these ports are correct for dvi and friends. So if you changed them

Re: [Nouveau] pre-nv50 KMS

2009-05-24 Thread Ben Skeggs
On Mon, 2009-05-25 at 10:08 +0800, Luo Jinghua wrote: It'll likely work well everywhere except nv4 if my own pre-nv5x kms code is any indication. I've got fixes to TTM for nv4 in my kernel tree I'll post sometime this week. I'll try your tree once you published it. I get another issue,

[Nouveau] Nouveau DRM kernel tree

2009-06-03 Thread Ben Skeggs
Just a heads up that there's a Linux kernel tree up at git://anongit.freedesktop.org/git/nouveau/linux-2.6 which (after discussion in #nouveau) is where development of the Nouveau drm will continue. In the newttm-devel branch is the latest work towards using the re-worked TTM memory manager that

Re: [Nouveau] Nouveau DRM kernel tree

2009-06-03 Thread Ben Skeggs
On Wed, 2009-06-03 at 15:49 +0200, Maarten Maathuis wrote: If you had to estimate, how long did it take you to figure out evo? It's hard to say. It works pretty much exactly how I said I thought it would ages back. The missing piece (as expected) was using the push buffer rather than poking

Re: [Nouveau] [Nouveau-cvs] xf86-video-nv: Branch 'master' - 2 commits

2009-06-10 Thread Ben Skeggs
On Wed, 2009-06-10 at 12:00 +0200, Maarten Maathuis wrote: I just realised that this mode of tiling is quite different from the one i observed, this one is linear inside the tile, not recursively tiled. Ah right, yeah, I should've mentioned that earlier. The GPU deals with all the weirdness,

Re: [Nouveau] [PATCH] drm/nv50: wait for fifo completion when needed

2009-07-02 Thread Ben Skeggs
On Thu, 2009-07-02 at 23:20 +0200, Maarten Maathuis wrote: This smells like taping over a bigger issue imo. The only reason the old code did this because it didn't have interrupts to signal clock changes (and such). I have no other solution, nor personal experience, because i've been away (and

Re: [Nouveau] [PATCH] drm/nouveau: rewrite nouveau_dma_wait()

2009-08-21 Thread Ben Skeggs
On Fri, 2009-08-21 at 21:30 +0200, Maarten Maathuis wrote: The timeout is too short, the gallium driver will easily trigger an assert. Oops, that was a typo. Thanks, fixed. Any other comments? Maarten. ___ Nouveau mailing list

Re: [Nouveau] [PATCH 1/2] man page: Fix the supported fb depths.

2009-08-24 Thread Ben Skeggs
On Mon, 2009-08-24 at 16:07 +0200, Maarten Maathuis wrote: On Mon, Aug 24, 2009 at 4:03 PM, Francisco Jerezcurroje...@riseup.net wrote: Signed-off-by: Francisco Jerez curroje...@riseup.net --- man/nouveau.man |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [Nouveau] [PATCH] drm/nouveau: init some list_heads

2009-08-31 Thread Ben Skeggs
On Mon, 2009-08-31 at 21:37 +0300, Pekka Paalanen wrote: On Wed, 26 Aug 2009 23:53:36 +0200 Maarten Maathuis madman2...@gmail.com wrote: - In the case of nvbo-head it is really important to avoid an OOPS if ttm_buffer_object_init fails. Signed-off-by: Maarten Maathuis

Re: [Nouveau] [Nouveau-cvs] xf86-video-nv: Branch 'master'

2009-09-14 Thread Ben Skeggs
On Mon, 2009-09-14 at 20:26 +0300, Pekka Paalanen wrote: On Sun, 13 Sep 2009 20:06:59 -0700 (PDT) darkt...@kemper.freedesktop.org (Ben Skeggs) wrote: src/drmmode_display.c |6 ++ src/nv_driver.c |2 ++ 2 files changed, 8 insertions(+) New commits: commit

Re: [Nouveau] [PATCH 1/3] drm/nouveau: Ignore DCB I2C indices for on-chip TV-out.

2009-10-05 Thread Ben Skeggs
On Mon, 2009-10-05 at 04:37 +0200, Francisco Jerez wrote: The nv31m in bug 23212 claims its TV-out and LVDS are in the same connector. Ignore it completely as it's otherwise useless. ACK for all three. Signed-off-by: Francisco Jerez curroje...@riseup.net ---

Re: [Nouveau] Integrated GeForce 8200

2009-10-20 Thread Ben Skeggs
On Tue, 2009-10-20 at 21:26 -0700, John W wrote: Hello, I have an integrated GeForce 8200 video card (motherboard: MSI K9N2G Neo-FD). I have tried using the nouveau driver, but with no luck so far ): The nouveau site does say Some GPUs integrated onto the motherboard do not function with

Re: [Nouveau] [PATCH 2/2] drm/nv04-nv10: Don't jump back to our PUT offset on PUSHBUF_CALL.

2009-11-08 Thread Ben Skeggs
On Fri, 2009-11-06 at 16:11 +0100, Francisco Jerez wrote: It causes occasional DMA_PUSHER errors. Signed-off-by: Francisco Jerez curroje...@riseup.net Reviewed-by: Ben Skeggs bske...@redhat.com --- drivers/gpu/drm/nouveau/nouveau_gem.c | 12 1 files changed, 8 insertions

Re: [Nouveau] [PATCHv2] nv04-nv40/exa: Match the blob behavior more closely on PrepareCopy.

2009-11-08 Thread Ben Skeggs
scheduled fail corrupting the nearby screen areas. Signed-off-by: Francisco Jerez curroje...@riseup.net Reviewed-by: Ben Skeggs bske...@redhat.com --- src/nv04_exa.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/nv04_exa.c b/src/nv04_exa.c index

Re: [Nouveau] [PATCH 1/2] drm/nv10: Keep the lower bits of PGRAPH_CTX_USER during context switches.

2009-11-08 Thread Ben Skeggs
of a malfunctioning M2MF). Signed-off-by: Francisco Jerez curroje...@riseup.net Reviewed-by: Ben Skeggs bske...@redhat.com --- drivers/gpu/drm/nouveau/nv10_graph.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv10_graph.c b/drivers

Re: [Nouveau] [PATCH] nouveau: Set i2c adapter parent device

2009-11-17 Thread Ben Skeggs
On Tue, 2009-11-17 at 17:56 -0500, Matthew Garrett wrote: The parent device of the i2c adapter should be set to the appropriate PCI device in order for it to show up properly in sysfs. Signed-off-by: Matthew Garrett m...@redhat.com Applied :) --- drivers/gpu/drm/nouveau/nouveau_i2c.c |

Re: [Nouveau] strange change in commit 38c34b28f04518fec8ec474a6530d0fb37002cf5

2009-12-03 Thread Ben Skeggs
On Thu, 2009-12-03 at 23:15 +0100, Xavier wrote: On Thu, Dec 3, 2009 at 10:57 PM, Maarten Maathuis madman2...@gmail.com wrote: diff --git a/drivers/gpu/drm/nouveau/nv10_fifo.c b/drivers/gpu/drm/nouveau/nv10_fifo.c index 877f00e..ed7f466 100644 --- a/drivers/gpu/drm/nouveau/nv10_fifo.c

Re: [Nouveau] [PATCH] nouveau: avoid running out of relocs

2009-12-04 Thread Ben Skeggs
NACK. You'll want to do this once, at the start of nv50_state_emit(), if we run out *during* state_emit() something's gone very wrong, and we'd need to fallback to software as the DDX does. Having the flush occur mid-frame will cause other issues. Ben. On Fri, 2009-12-04 at 22:59 +0100,

Re: [Nouveau] [PATCH] nouveau: avoid running out of relocs

2009-12-04 Thread Ben Skeggs
safe to flush. On Sat, Dec 5, 2009 at 12:32 AM, Ben Skeggs skeg...@gmail.com wrote: NACK. You'll want to do this once, at the start of nv50_state_emit(), if we run out *during* state_emit() something's gone very wrong, and we'd need to fallback to software as the DDX does. Having

Re: [Nouveau] [PATCH] drm/nouveau: fix array overflow

2009-12-05 Thread Ben Skeggs
On Sat, 2009-12-05 at 18:42 +0200, Pekka Paalanen wrote: Noticed by sparse: in nouveau_dp_link_train(), the array 'status' was defined as 2 bytes, yet it was accessed for 3 bytes. Fix it by making the array size 3. Thanks, pushed. Though, for obvious things like this just commit away :)

Re: [Nouveau] When will KMS be the default?

2009-12-10 Thread Ben Skeggs
On Thu, 2009-12-10 at 20:57 +0100, Maarten Maathuis wrote: As far as i'm concerned UMS shouldn't be the default anyone, as it's not really maintained anymore. Agreed. I for one have been completely ignoring the UMS code, on G80 in particular it's horribly insufficient for a lot of

Re: [Nouveau] When will KMS be the default?

2009-12-11 Thread Ben Skeggs
On Fri, 2009-12-11 at 14:24 +0100, Anders Eriksson wrote: skeg...@gmail.com said: s not a solution by any means, but try: Option EXAPixmaps false In your xorg.conf. That does seem to do the trick! Thanks. Cool :) There'll be more work done to help the situation on low-mem

Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Ben Skeggs
On Tue, 2009-12-15 at 10:09 +, STEVEN WARD wrote: Dear Ben, I would like to test the firmware for you,but where do I exactly put them into? Ah sorry, I should've been clearer about that. Make sure you're running the latest nouveau DRM (from either nouveau git, or latest

Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Ben Skeggs
On Tue, 2009-12-15 at 21:54 -0500, Jimmy Rentz wrote: On Tue, 15 Dec 2009 17:14:10 +1000 Ben Skeggs skeg...@gmail.com wrote: So, I've spent the last few days messing around with replacing our use of NVIDIA's context programs on GeForce 6/7 hardware and have something that works on the 4

Re: [Nouveau] [TEST REQUEST] nv40 firmware replacement

2009-12-15 Thread Ben Skeggs
On Wed, 2009-12-16 at 01:05 -0500, Jimmy Rentz wrote: On Wed, 16 Dec 2009 13:19:11 +1000 Ben Skeggs skeg...@gmail.com wrote: On Tue, 2009-12-15 at 21:54 -0500, Jimmy Rentz wrote: On Tue, 15 Dec 2009 17:14:10 +1000 Ben Skeggs skeg...@gmail.com wrote: So, I've spent the last few

Re: [Nouveau] [PATCH] drm/nouveau: fix fillrect color on nv50

2009-12-21 Thread Ben Skeggs
On Mon, 2009-12-21 at 23:00 +0100, Marcin Slusarz wrote: struct fb_fillrect-color is not a color, but index into pseudo_palette array Thanks, applied to git. Ben. Signed-off-by: Marcin Slusarz marcin.slus...@gmail.com --- drivers/gpu/drm/nouveau/nv50_fbcon.c |3 ++- 1 files changed, 2

Re: [Nouveau] NV50: the tiled buffer object eviction problem

2009-12-26 Thread Ben Skeggs
On Sat, 2009-12-26 at 03:13 +0100, Maarten Maathuis wrote: In short, we move out the low level content of a buffer object. In the case of textures and such this is utterly useless. Still it is accessed, because ttm sees no problem in using PL_SYSTEM or PL_TT memory. What is the best way to let

Re: [Nouveau] [PATCH] dri: Use classic mesa on the fixed pipe cards.

2009-12-26 Thread Ben Skeggs
On Sat, 2009-12-26 at 15:59 +0100, Francisco Jerez wrote: Signed-off-by: Francisco Jerez curroje...@riseup.net Signed-off-by: Ben Skeggs bske...@redhat.com --- src/nouveau_dri2.c |6 +- src/nv_dri.c |6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git

Re: [Nouveau] [PATCH] nouveau: nv50: fix -pseudo_palette usage

2010-01-03 Thread Ben Skeggs
On Sun, 2010-01-03 at 11:17 +0200, Alexey Dobriyan wrote: Sometimes struct fb_fillrect::color is color, sometimes palette index. This doesn't apply on current git, which already has a similar (though, not quite the same) patch applied. We may yet need some additional fixes from your patch, I'll

Re: [Nouveau] [PATCH v2 1/2] drm/nouveau: create function for dealing with gpu lockup

2010-01-03 Thread Ben Skeggs
On Sun, 2010-01-03 at 18:38 +0100, Marcin Slusarz wrote: New version, without file/line markers in nouveau_gpu_lockup (they were useless...). Looks mostly good to me, can you rename to nouveau_fbcon_gpu_lockup() instead however, as the function only deals with fbcon and not a more general

Re: [Nouveau] [PATCH v2 1/2] drm/nouveau: create function for dealing with gpu lockup

2010-01-04 Thread Ben Skeggs
On Mon, 2010-01-04 at 19:25 +0100, Marcin Slusarz wrote: On Mon, Jan 04, 2010 at 08:19:34AM +1000, Ben Skeggs wrote: On Sun, 2010-01-03 at 18:38 +0100, Marcin Slusarz wrote: New version, without file/line markers in nouveau_gpu_lockup (they were useless...). Looks mostly good to me

Re: [Nouveau] [PATCH/TESTING(all hw)/DISCUSSION] FIFO (minor) create and (major) destroy instabilities on nv50+

2010-01-04 Thread Ben Skeggs
On Mon, 2010-01-04 at 20:29 +0100, Maarten Maathuis wrote: I've narrowed it down further, the pgraph-fifo_access bit is still cleanup (register 0x400500 represents pgraph fifo access), the rest appears needed for the desired effect. The reordering of pfifo and pgraph destroy is needed. As

Re: [Nouveau] [PATCH/TESTING(all hw)/DISCUSSION] FIFO (minor) create and (major) destroy instabilities on nv50+

2010-01-04 Thread Ben Skeggs
On Mon, 2010-01-04 at 23:54 +0100, Maarten Maathuis wrote: I forgot to mention that you should run nop from fbcon without X running for reliable lockups. Yup, that's what I've been doing. On Mon, Jan 4, 2010 at 11:39 PM, Ben Skeggs skeg...@gmail.com wrote: On Mon, 2010-01-04 at 20:29 +0100

Re: [Nouveau] [PATCH/TESTING(all hw)/DISCUSSION] FIFO (minor) create and (major) destroy instabilities on nv50+

2010-01-06 Thread Ben Skeggs
...@gmail.com wrote: On Tue, Jan 5, 2010 at 4:20 AM, Ben Skeggs skeg...@gmail.com wrote: On Mon, 2010-01-04 at 23:54 +0100, Maarten Maathuis wrote: I forgot to mention that you should run nop from fbcon without X running for reliable lockups. Yup, that's what I've been doing. On Mon

Re: [Nouveau] Removal of Non-KMS support

2010-01-06 Thread Ben Skeggs
On Wed, 2010-01-06 at 21:59 +0100, Francisco Jerez wrote: Ben Skeggs skeg...@gmail.com writes: I did a very quick pass at removing all the non-KMS support from the DDX. It's tested on G80 but nowhere else currently, I thought some discussion would be a good idea rather than just ripping

Re: [Nouveau] Removal of Non-KMS support

2010-01-06 Thread Ben Skeggs
On Thu, 2010-01-07 at 00:58 +0200, Pekka Paalanen wrote: On Wed, 06 Jan 2010 15:32:30 +1000 Ben Skeggs skeg...@gmail.com wrote: I did a very quick pass at removing all the non-KMS support from the DDX. It's tested on G80 but nowhere else currently, I thought some discussion would

Re: [Nouveau] Removal of Non-KMS support

2010-01-07 Thread Ben Skeggs
On Thu, 2010-01-07 at 20:49 +0100, Xavier wrote: On Wed, Jan 6, 2010 at 6:32 AM, Ben Skeggs skeg...@gmail.com wrote: I did a very quick pass at removing all the non-KMS support from the DDX. It's tested on G80 but nowhere else currently, I thought some discussion would be a good idea

Re: [Nouveau] low memory

2010-01-07 Thread Ben Skeggs
On Fri, 2010-01-08 at 00:51 +0100, Xavier wrote: On Sun, Dec 13, 2009 at 9:35 PM, Xavier shinin...@gmail.com wrote: On Sat, Dec 12, 2009 at 10:50 PM, Maarten Maathuis madman2...@gmail.com wrote: Can you retry with the latest ddx? Maarten. Awesome, it works, thanks ! :) I

Re: [Nouveau] [PATCH] nouveau: Make winsys recognise the original NV50.

2010-01-10 Thread Ben Skeggs
On Mon, 2010-01-11 at 05:15 +, Marcin Kościelnicki wrote: --- .../winsys/drm/nouveau/drm/nouveau_drm_api.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Pushed. diff --git a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c

Re: [Nouveau] [PATCH 3/3] drm/nv50: wait for pgraph to idle before unloading the context

2010-01-11 Thread Ben Skeggs
On Mon, 2010-01-11 at 22:12 +0100, Maarten Maathuis wrote: A few comments are in order, i noticed that this additional wait_for_idle does cause delays sometimes (obviously). and it seems like an excellent way to do a DOS attack on your gpu. fbcon is visibly lagging sometimes and even unusable

Re: [Nouveau] Removal of Non-KMS support

2010-01-13 Thread Ben Skeggs
On Wed, 2010-01-13 at 22:22 +0100, Xavier wrote: On Wed, Jan 6, 2010 at 9:59 PM, Francisco Jerez curroje...@riseup.net wrote: [...] diff --git a/src/drmmode_display.c b/src/drmmode_display.c index e37e7c1..3d2df8d 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c [...]

Re: [Nouveau] DDX patch: Remove deprecated NV1 readme

2010-01-18 Thread Ben Skeggs
On Mon, 2010-01-18 at 11:50 +0100, okias wrote: Thanks, pushed. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau ___ Nouveau mailing list

Re: [Nouveau] [mesa PATCH] nv50: fix uninitialized variable in nv50_revdep_reorder

2010-01-24 Thread Ben Skeggs
On Sun, 2010-01-24 at 19:27 +0100, Marcin Slusarz wrote: unsafe is never initialized, but used (found by valgrind) Pushed, plus the other three patches you pinged on. Ben. --- src/gallium/drivers/nv50/nv50_program.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [Nouveau] [PATCH] drm/nouveau: enlarge GART aperture

2010-02-04 Thread Ben Skeggs
On Thu, 2010-01-28 at 19:25 +0100, Luca Barbieri wrote: This patch enlarges the PCI GART aperture to 512 MB. The current 64MB aperture is too small and should be enlarged. The optimal amound may be card/system-dependent, so a more sophisticated approach may be preferable. In particular, if

Re: [Nouveau] [PATCH] drm/nouveau: Fix fbcon on mixed pre-NV50 + NV50 multicard.

2010-02-04 Thread Ben Skeggs
On Wed, 2010-01-27 at 14:03 +, Marcin Kościelnicki wrote: We used single shared fbops struct and patched it at fb init time with pointers to the right variant. On mixed multicard, this meant that it was either sending NV50-style commands to all cards, or NV04-style commands to all cards.

Re: [Nouveau] [PATCH 1/2] libdrm/nouveau: new optimized libdrm pushbuffer ABI

2010-02-07 Thread Ben Skeggs
On Fri, 2010-01-29 at 09:53 +0100, Luca Barbieri wrote: This patch changes the pushbuffer ABI to: 1. No longer use/expose nouveau_pushbuffer. Everything is directly in nouveau_channel. This saves the extra pushbuf pointer dereference. 2. Use cur/end pointers instead of tracking the

Re: [Nouveau] [PATCH 1/2] libdrm/nouveau: new optimized libdrm pushbuffer ABI

2010-02-08 Thread Ben Skeggs
On Mon, 2010-02-08 at 10:04 +0100, Luca Barbieri wrote: IMO, the changes are good. However, DRM_NOUVEAU_HEADER_PATCHLEVEL is used to indicate the version of the kernel interface that's supported, and not the libdrm API version. OK. Perhaps it would be useful to add a libdrm API

Re: [Nouveau] [PATCH] drm/nouveau: Add proper vgaarb support.

2010-02-08 Thread Ben Skeggs
On Mon, 2010-02-08 at 18:44 +0100, Maarten Maathuis wrote: 2010/2/8 Marcin Kościelnicki koria...@0x04.net: Signed-off-by: Marcin Kościelnicki koria...@0x04.net --- drivers/gpu/drm/nouveau/nouveau_state.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git

Re: [Nouveau] [PATCH 1/2] drm/nouveau: Unmap pushbuf BOs when we're done with them.

2010-02-18 Thread Ben Skeggs
On Fri, 2010-02-19 at 04:59 +0100, Francisco Jerez wrote: If you're especially unlucky BOs would move around and their kmaps would end up pointing to something else in GART, then ioctl_pushbuf() would use the kmaps again corrupting textures or other pushbufs (the most noticeable symptom was a

Re: [Nouveau] Why report LVDS as disconnected when lid is closed?

2010-02-24 Thread Ben Skeggs
On Wed, 2010-02-24 at 18:51 -0500, Tavian Barnes wrote: What's the motivation behind commit 60821e0 (drm/nouveau: report LVDS as disconnected if lid closed)? The only noticeable effect I can see from it is that if I turn on my laptop and then close the lid, X fails to start as it can't find

Re: [Nouveau] [PATCH] drm/nouveau: use ALIGN instead of open coding it

2010-02-24 Thread Ben Skeggs
On Wed, 2010-02-24 at 23:27 -0500, Matt Turner wrote: CC: Ben Skeggs bske...@redhat.com Signed-off-by: Matt Turner matts...@gmail.com --- drivers/gpu/drm/nouveau/nv04_fbcon.c |2 +- drivers/gpu/drm/nouveau/nv50_fbcon.c |2 +- drivers/gpu/drm/nouveau/nv50_instmem.c |2 +- 3

[Nouveau] nouveau_class.h

2010-04-09 Thread Ben Skeggs
So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version. This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact. I'm proposing we drop nouveau_class.h from

Re: [Nouveau] nouveau_class.h

2010-04-09 Thread Ben Skeggs
On Fri, 2010-04-09 at 09:24 +0200, Maarten Maathuis wrote: On Fri, Apr 9, 2010 at 8:51 AM, Ben Skeggs skeg...@gmail.com wrote: So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version. This is much like what

Re: [Nouveau] nouveau_class.h

2010-04-09 Thread Ben Skeggs
On Fri, 2010-04-09 at 00:33 -0700, Stephane Marchesin wrote: On Thu, Apr 8, 2010 at 23:51, Ben Skeggs skeg...@gmail.com wrote: So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version. This is much like what

Re: [Nouveau] Cannot compile origin/for-airlied against kernel 2.6.34

2010-05-19 Thread Ben Skeggs
On Wed, 2010-05-19 at 20:16 +0200, Johannes Obermayr wrote: Am 19.05.2010 19:55, schrieb Johannes Obermayr: Hi, As summary says I cannot compile latest origin/for-airlied against kernel 2.6.34 on openSUSE. Why are you trying to even do this? That branch is intended for airlied to pull

Re: [Nouveau] [PATCH] nv: improve KMS detection

2010-05-23 Thread Ben Skeggs
On Sun, 2010-05-23 at 21:46 +0200, Marcin Slusarz wrote: 1) DRICreatePCIBusID belongs to xserver dri module, so when it's unavailable we can't format string for drmCheckModesettingSupported. (This situation happened to me with KMS enabled and dri module moved somewhere else by

Re: [Nouveau] [PATCH v2] drm/nouveau: Add getparam for current PTIMER time.

2010-05-23 Thread Ben Skeggs
On Sun, 2010-05-23 at 11:36 +, Marcin Kościelnicki wrote: This will be useful for computing GPU-CPU latency, including GL_ARB_timer_query extension. Looks fine, just a quick question as to whether this is necessary? I seem to recall that on nv40, the QUERY methods actually return timestamps

Re: [Nouveau] [PATCH v2] drm/nouveau: Add getparam for current PTIMER time.

2010-05-24 Thread Ben Skeggs
On Mon, 2010-05-24 at 07:50 +, Marcin Kościelnicki wrote: On Sun, 2010-05-23 at 11:36 +, Marcin Kościelnicki wrote: This will be useful for computing GPU-CPU latency, including GL_ARB_timer_query extension. Looks fine, just a quick question as to whether this is necessary? I

Re: [Nouveau] Why do we disable local IRQ around nouveau_fence_update?

2010-05-27 Thread Ben Skeggs
On Thu, 2010-05-27 at 17:55 +0300, Pekka Paalanen wrote: On Wed, 26 May 2010 23:24:57 +0200 Maarten Maathuis madman2...@gmail.com wrote: For NV04 i can understand, since it's irq driven fences, so let's split the question. NV10+: can we reduce it to just spin_lock? I don't know the

Re: [Nouveau] Why do we disable local IRQ around nouveau_fence_update?

2010-05-28 Thread Ben Skeggs
On Thu, 2010-05-27 at 23:03 -0700, Stephane Marchesin wrote: On Thu, May 27, 2010 at 22:47, Ben Skeggs skeg...@gmail.com wrote: On Thu, 2010-05-27 at 17:55 +0300, Pekka Paalanen wrote: On Wed, 26 May 2010 23:24:57 +0200 Maarten Maathuis madman2...@gmail.com wrote

Re: [Nouveau] Why do we disable local IRQ around nouveau_fence_update?

2010-05-29 Thread Ben Skeggs
Sent from my iPhone On 30/05/2010, at 9:22, Maarten Maathuis madman2...@gmail.com wrote: On Fri, May 28, 2010 at 7:47 AM, Ben Skeggs skeg...@gmail.com wrote: On Thu, 2010-05-27 at 17:55 +0300, Pekka Paalanen wrote: On Wed, 26 May 2010 23:24:57 +0200 Maarten Maathuis madman2...@gmail.com

[Nouveau] [PATCH] nv50/exa: use dual-source blending for component-alpha composite

2010-05-30 Thread Ben Skeggs
From: Ben Skeggs bske...@redhat.com --- src/nv50_accel.c | 38 -- src/nv50_accel.h |1 - src/nv50_exa.c | 45 - 3 files changed, 28 insertions(+), 56 deletions(-) diff --git a/src/nv50_accel.c b/src

[Nouveau] [PATCH] drm/nouveau: reduce usage of fence spinlock to when absolutely necessary

2010-05-30 Thread Ben Skeggs
From: Ben Skeggs bske...@redhat.com Signed-off-by: Ben Skeggs bske...@redhat.com --- drivers/gpu/drm/nouveau/nouveau_channel.c |2 -- drivers/gpu/drm/nouveau/nouveau_drv.h |1 - drivers/gpu/drm/nouveau/nouveau_fence.c | 28 drivers/gpu/drm/nouveau

[Nouveau] [PATCH] drm/nouveau: reduce usage of fence spinlock to when absolutely necessary

2010-05-30 Thread Ben Skeggs
From: Ben Skeggs bske...@redhat.com Signed-off-by: Ben Skeggs bske...@redhat.com --- drivers/gpu/drm/nouveau/nouveau_channel.c |2 - drivers/gpu/drm/nouveau/nouveau_drv.h |3 +- drivers/gpu/drm/nouveau/nouveau_fence.c | 31 +--- drivers/gpu/drm/nouveau

Re: [Nouveau] [PATCH] nv50/exa: use dual-source blending for component-alpha composite

2010-05-31 Thread Ben Skeggs
On Mon, 2010-05-31 at 10:30 +0200, Christoph Bumiller wrote: On 31.05.2010 03:49, Ben Skeggs wrote: On Mon, 2010-05-31 at 11:44 +1000, Ben Skeggs wrote: From: Ben Skeggs bske...@redhat.com This is the result of some playing around, thought it'd be useful so sending to the list

Re: [Nouveau] when will vram_notify be set to zero?

2010-05-31 Thread Ben Skeggs
On Mon, 2010-05-31 at 19:04 +0200, Maarten Maathuis wrote: Title says it all. I'll test it again here on G8x today and make sure it still works, then I'll flip the switch and see if it breaks anyone else. Ben. Maarten. ___ Nouveau mailing list

Re: [Nouveau] typo in drm/nv50: cast IGP memory location to u64 before shifting

2010-06-01 Thread Ben Skeggs
On Tue, 2010-06-01 at 18:46 +0200, Marcin Slusarz wrote: Hi This does not look right: diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c b/drivers/gpu/drm/nouveau/nouveau_mem.c index 775a701..c1fd42b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_mem.c +++

Re: [Nouveau] [PATCH] nouveau: detect incompatible libglx.so

2010-06-01 Thread Ben Skeggs
On Tue, 2010-06-01 at 20:15 +0200, Marcin Slusarz wrote: On Sun, May 23, 2010 at 09:49:16PM +0200, Marcin Slusarz wrote: Exit with proper message instead of crashing when user forgot to uninstall the proprietary driver. Signed-off-by: Marcin Slusarz marcin.slus...@gmail.com ---

Re: [Nouveau] [PATCH] nv: improve KMS detection

2010-06-02 Thread Ben Skeggs
On Wed, 2010-06-02 at 12:07 -0700, Aaron Plattner wrote: On Wed, Jun 02, 2010 at 09:20:47AM -0700, Marcin Slusarz wrote: On Fri, May 28, 2010 at 11:45:17AM -0700, Aaron Plattner wrote: On Sun, May 23, 2010 at 03:37:03PM -0700, Ben Skeggs wrote: On Sun, 2010-05-23 at 21:46 +0200, Marcin

Re: [Nouveau] Building Nouveau DRM for a recent kernel (linux-2.6.35-rc1)

2010-06-07 Thread Ben Skeggs
On Mon, 2010-06-07 at 15:18 +0200, Sebastian Jegerås wrote: Hello. I had some trouble building nouveau drm for linux-2.6.35-rc1. I investigated a bit why it failed and noticed that the fb_info-structure had changed slightly. This is known. I'll merge Linus' tree into ours when 2.6.35-rc3 is

Re: [Nouveau] [BUG ?] Nouveau driver on 330M GT

2010-06-15 Thread Ben Skeggs
On Tue, 2010-06-15 at 15:06 +0200, Eric Lacombe wrote: Is this a system with switchable graphics (Optimus probably)? If so, fiddle with your BIOS options and try and enable only the NVIDIA board. oops, my fault... I forgot to switch to the nvidia chip (my laptop is a sony vaio Z11Z9E)

Re: [Nouveau] deadlock possiblity introduced by drm/nouveau: use drm_mm in preference to custom code doing the same thing

2010-07-10 Thread Ben Skeggs
On Sun, 2010-07-11 at 01:24 +0200, Marcin Slusarz wrote: Hi Patch drm/nouveau: use drm_mm in preference to custom code doing the same thing in nouveau tree introduced new deadlock possibility, for which lockdep complains loudly: [ 1541.070202] [drm] nouveau :02:00.0: Allocating

Re: [Nouveau] Strange problem with dual head on GeForce9600GT (dual DVI)

2010-07-13 Thread Ben Skeggs
On Tue, 2010-07-13 at 18:46 +0200, Abelenda Diego wrote: On Tue, 13 Jul 2010 18:42:31 +0200 Abelenda Diego diego.abele...@gmail.com wrote: Hi, I am using nouveau for some time now, I am quite happy with it. I had two screens connected with DVI to VGA adapters and dual screen was

Re: [Nouveau] [Bug 29129] New: Cannot set refresh rate on nv50

2010-07-17 Thread Ben Skeggs
...@75 is ignored. I bisected this to the following commit: drm/nv50: enable hpd on any connector we know the gpio line for Signed-off-by: Ben Skeggs bske...@redhat.com diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 61a89f2..ebcd8bf

Re: [Nouveau] [PATCH] drm/nv50: initialize ramht_refs list for faked 0 channel

2010-08-31 Thread Ben Skeggs
On Tue, 2010-08-31 at 23:22 +0200, Marcin Slusarz wrote: On Sun, Aug 22, 2010 at 08:54:08PM +0200, Marcin Slusarz wrote: We need it for PFIFO_INTR_CACHE_ERROR interrupt handling, because nouveau_fifo_swmthd looks for matching gpuobj in ramht_refs list. It fixes kernel panic in

Re: [Nouveau] [PATCH] drm/nv50: initialize ramht_refs list for faked 0 channel

2010-09-02 Thread Ben Skeggs
On Thu, 2010-09-02 at 12:45 +0200, Marcin Slusarz wrote: On Wed, Sep 01, 2010 at 07:52:58AM +1000, Ben Skeggs wrote: On Tue, 2010-08-31 at 23:22 +0200, Marcin Slusarz wrote: On Sun, Aug 22, 2010 at 08:54:08PM +0200, Marcin Slusarz wrote: We need it for PFIFO_INTR_CACHE_ERROR interrupt

Re: [Nouveau] nouveau/ttm: BUG in ttm_bo_release_list

2010-09-17 Thread Ben Skeggs
On Fri, 2010-09-17 at 19:43 +0200, Marcin Slusarz wrote: Hi Since upgrade from 2.6.35 to 2.6.36-rc3 (nouveau tree) I'm hitting this bug a couple of times a day: [ 2869.618504] [ cut here ] [ 2869.618532] kernel BUG at drivers/gpu/drm/ttm/ttm_bo.c:153! [

Re: [Nouveau] nouveau and multiple video cards

2010-09-19 Thread Ben Skeggs
On Sun, 2010-09-19 at 20:22 -0400, Younes Manton wrote: On Sun, Sep 19, 2010 at 6:48 PM, Felix Blanke felixbla...@gmail.com wrote: Hi, I hope it is ok if I would ask one last question: It is possible to use a quadro NVS 450 with 3 monitors via DVI and nouveau? The status matrix is

Re: [Nouveau] [drm] failed to open device

2010-09-26 Thread Ben Skeggs
On Mon, 2010-09-27 at 15:35 +1000, Dmitri Sosnik wrote: Hi All, I am trying to get nouveau working on MacBookPro 4,1. I am using kernel from nouveau/linux-2.6 repository, XOrg 1.9, libdrm and xf86-video-nouveau from git repositories. When drm module is loaded with debug=1 it gives a number

Re: [Nouveau] [drm] failed to open device

2010-09-27 Thread Ben Skeggs
, if you could trace it (http://nouveau.freedesktop.org/wiki/MmioTrace) that'd be very helpful to figure out what to do. Ben. Thanks, D On Mon, Sep 27, 2010 at 3:44 PM, Ben Skeggs skeg...@gmail.com wrote: On Mon, 2010-09-27 at 15:35 +1000, Dmitri Sosnik wrote: Hi All, I am trying

Re: [Nouveau] [drm] failed to open device

2010-09-27 Thread Ben Skeggs
On Mon, 2010-09-27 at 16:43 +1000, Dmitri Sosnik wrote: That's the problem. Nouveau requires KMS enabled. Ah, ok, got it. Does the NVIDIA binary driver work? If so, if you could trace it (http://nouveau.freedesktop.org/wiki/MmioTrace) that'd be very helpful to figure out what to do.

Re: [Nouveau] NV50 backlight brightness

2010-10-19 Thread Ben Skeggs
On Tue, 2010-10-19 at 11:10 +0200, Aaron Sowry wrote: Hi, The NV50 codepath in nouveau_backlight.c invariably sets max_brightness to 1025, regardless of the chipset in question. The maximum brightness is not 1025 for all NV50 chipsets (for example, by setting the brightness via ACPI

  1   2   3   4   5   6   7   >