[Nouveau] [Bug 28212] image corruption

2010-05-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28212 --- Comment #6 from Martin Peres martin.pe...@ensi-bourges.fr 2010-05-23 02:05:50 PDT --- okias: Can you try to activate the image preview in dolphin ? If all you get is scrambled thumbnails, then, you have found a good way to reproduce this

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

2010-05-23 Thread Marcin Kościelnicki
This will be useful for computing GPU-CPU latency, including GL_ARB_timer_query extension. Signed-off-by: Marcin Kościelnicki koria...@0x04.net --- drivers/gpu/drm/nouveau/nouveau_state.c |3 +++ include/drm/nouveau_drm.h |1 + 2 files changed, 4 insertions(+), 0

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

2010-05-23 Thread Marcin Kościelnicki
This will be useful for computing GPU-CPU latency, including GL_ARB_timer_query extension. Signed-off-by: Marcin Kościelnicki koria...@0x04.net --- drivers/gpu/drm/nouveau/nouveau_state.c |3 +++ include/drm/nouveau_drm.h |1 + 2 files changed, 4 insertions(+), 0

[Nouveau] [PATCH] nv: improve KMS detection

2010-05-23 Thread Marcin Slusarz
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 Gentoo's eselect opengl set nvidia switcher) Open code

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