[Nouveau] G73 [GeForce 7600 GT] - nv41_sgdma_backend

2011-05-16 Thread Krzysztof Smiechowicz
Hello, I got a report from an AROS user that his current card (mentioned above) has problems in 3D with nouveau - very slow rendering. After some investigation it turned out the problem is usage of nv41_sgdma_backend for this card. Once changed into nv04_sgdma_backend card works correctly

Re: [Nouveau] Porting nouveau/ttm/drm to FreeBSD/OpenSolaris

2010-01-23 Thread Krzysztof Smiechowicz
C. Bergström pisze: Hi all, Hi Christopher nouveau itself should be relatively easy to port, but what information do others have with regards to the surrounding dependencies. I can give you some information my work porting the nouveau/drm/ttm to AROS (http://www.aros.org/). AROS is

[Nouveau] NV_PFIFO_INTR_DMA_PUSHER

2010-01-04 Thread Krzysztof Smiechowicz
Hello, Could someone briefly describe (or point me to the documentation) what can be a reason for getting NV_PFIFO_INTR_DMA_PUSHER status (nouveau_fifo_irq_handler). This started happening immediately after I set the nouveau_vram_pushbuf flag to TRUE ,it's 100% repetitive and causes fences

[Nouveau] [PATCH 1/2] Unreference state/buffer objects on context/screen destruction

2009-12-27 Thread Krzysztof Smiechowicz
(resending as git patch) - unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index e4cf91c..be7735b 100644 ---

[Nouveau] [PATCH 2/2] libdrm: Unreference pushbuf objects on channel destruction

2009-12-27 Thread Krzysztof Smiechowicz
(resending as git patch) - unreference pushbuf objects on channel destruction diff --git a/nouveau/nouveau_channel.c b/nouveau/nouveau_channel.c index 674c5c3..6f71f89 100644 --- a/nouveau/nouveau_channel.c +++ b/nouveau/nouveau_channel.c @@ -111,6 +111,8 @@ nouveau_channel_free(struct

Re: [Nouveau] Synchronization mostly missing?

2009-12-27 Thread Krzysztof Smiechowicz
Luca Barbieri pisze: I'm not sure why this hasn't been noticed before though. Is everyone getting randomly misrendered OpenGL or is my machine somehow more prone to reusing buffers? I reported a similar problem about 2 weeks ago. It first became apparent with NV40 but I also confirmed it

Re: [Nouveau] [PATCH 1/2] Unreference state/buffer objects on context/screen destruction

2009-12-24 Thread Krzysztof Smiechowicz
Hi, Any feedback on those patches? If they are ok, please commit them as I don't have access to either of repositories. Best regards, Krzysztof Krzysztof Smiechowicz pisze: - unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel

Re: [Nouveau] Clean up of nv40_context-state.hw and nv40_screen-state

2009-12-21 Thread Krzysztof Smiechowicz
Krzysztof Smiechowicz pisze: Hi, I'm trying to find a place where objects held in nv40_context-state.hw[] and nv40_screen-state[] are being unreferenced during pipe_context destruction. Currently I'm observing that these objects are not unreferenced and since they hold reference

[Nouveau] [PATCH 1/2] Unreference state/buffer objects on context/screen destruction

2009-12-21 Thread Krzysztof Smiechowicz
- unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Index: nv50/nv50_screen.c === --- nv50/nv50_screen.c (wersja 32083) +++ nv50/nv50_screen.c (kopia

[Nouveau] [PATCH 2/2] libdrm: Unreference pushbuf objects on channel destruction

2009-12-21 Thread Krzysztof Smiechowicz
- unreference pushbuf objects on channel destruction Index: nouveau/nouveau_pushbuf.c === --- nouveau/nouveau_pushbuf.c (wersja 32082) +++ nouveau/nouveau_pushbuf.c (kopia robocza) @@ -262,6 +262,12 @@ return 0; }

[Nouveau] Clean up of nv40_context-state.hw and nv40_screen-state

2009-12-20 Thread Krzysztof Smiechowicz
Hi, I'm trying to find a place where objects held in nv40_context-state.hw[] and nv40_screen-state[] are being unreferenced during pipe_context destruction. Currently I'm observing that these objects are not unreferenced and since they hold reference to buffer objects, the buffer objects

[Nouveau] Question about nv40_draw_array

2009-12-17 Thread Krzysztof Smiechowicz
Hi, My name is Krzysztof and currently I'm working on porting nouveau (gallium3d driver + libdrm + drm) to AROS Research OS (http://www.aros.org). I completed a quite successful port of old drm (one from libdrm git - now removed) and currently I'm working on drm port from the nouveau kernel

Re: [Nouveau] Question about nv40_draw_array

2009-12-17 Thread Krzysztof Smiechowicz
Christoph Bumiller pisze: Hi. Hi, thanks for the quick feedback. :) Most probably the state tracker calls pipe_buffer_map on the vertex buffer which (if it was not created as a user buffer) causes an mmap of it to the user's address space (so either GART system memory pages or VRAM pages