Re: [Mesa-dev] Wayland with radeon-KMS pageflipping

2010-10-31 Thread Sedat Dilek
On Sun, Oct 31, 2010 at 3:21 PM, Peter Clifton wrote: > On Sun, 2010-10-31 at 10:36 +0100, Sedat Dilek wrote: >> I made a 2nd wayland build: >> >> OK, there is definitely a problem with $DISPLAY, >> if I use a different one (for example DISPLAY=:1.0), I get "failed to >> create compositor". >> If

Re: [Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize

2010-10-31 Thread Kristian Høgsberg
On Sun, Oct 31, 2010 at 1:08 PM, Chia-I Wu wrote: > On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke > wrote: >> This Patch fixes DRMBuffer stride, which is to short when using >> wayland with r300g. (only one quarter of the screen has real data, >> with some parts left out..) >> Funnily, on no

Re: [Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize

2010-10-31 Thread ben
yes, at least in wayland it is used that way..: compositor-x11.c:430 attribs[5] = buffers[0].pitch / 4; 2010/10/31 Chia-I Wu : > On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke > wrote: >> This Patch fixes DRMBuffer stride, which is to short when using >> wayland with r300g. (only one quarter

Re: [Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize

2010-10-31 Thread Chia-I Wu
On Sun, Oct 31, 2010 at 11:17 PM, Benjamin Franzke wrote: > This Patch fixes DRMBuffer stride, which is to short when using > wayland with r300g. (only one quarter of the screen has real data, > with some parts left out..) > Funnily, on nouveau wayland runs with and without this patch for me.. > B

[Mesa-dev] [PATCH 6/6] st/mesa: Reset the constant buffers before destroying the pipe context.

2010-10-31 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- src/mesa/state_tracker/st_context.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index b5ea6d0..c0bfbea 100644 --- a/src/mesa/state_tracker/st_context.c ++

[Mesa-dev] [PATCH 5/6] st/mesa: Reset the index buffer before destroying the pipe context.

2010-10-31 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- src/mesa/state_tracker/st_context.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 75fd695..b5ea6d0 100644 --- a/src/mesa/state_tracker/st_context.c +++

[Mesa-dev] [PATCH 4/6] r600g: Destroy the winsys in r600_destroy_screen().

2010-10-31 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- src/gallium/drivers/r600/r600_pipe.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 952c7f6..55370f0 100644 --- a/src/gallium/drivers/r600/r600_pipe.c

[Mesa-dev] [PATCH 3/6] r600g: Fixed two memory leaks in winsys.

2010-10-31 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- src/gallium/winsys/r600/drm/r600_hw_context.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index 2521ff9..82d5dea 100644 --- a/src/galliu

[Mesa-dev] [PATCH 1/6] r600g: We don't support PIPE_CAP_PRIMITIVE_RESTART.

2010-10-31 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- src/gallium/drivers/r600/r600_pipe.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 3564539..d25de55 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +

[Mesa-dev] [PATCH 2/6] r600g: Delete custom_dsa_flush on shutdown.

2010-10-31 Thread Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck --- src/gallium/drivers/r600/r600_pipe.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index d25de55..952c7f6 100644 --- a/src/gallium/drivers/r600/r600_pipe.c

[Mesa-dev] [Bug 31257] New: S3TC libtxc_dxtn

2010-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31257 Summary: S3TC libtxc_dxtn Product: Mesa Version: 7.9 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Other

[Mesa-dev] [Bug 31256] New: S3TC libtxc_dxtn

2010-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31256 Summary: S3TC libtxc_dxtn Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Other

[Mesa-dev] [PATCH] st/egl image: multiply drm buf-stride with blocksize

2010-10-31 Thread Benjamin Franzke
This Patch fixes DRMBuffer stride, which is to short when using wayland with r300g. (only one quarter of the screen has real data, with some parts left out..) Funnily, on nouveau wayland runs with and without this patch for me.. But hey, now wayland runs fine on r300g using x11-compositor and the c

Re: [Mesa-dev] Wayland with radeon-KMS pageflipping

2010-10-31 Thread Peter Clifton
On Sun, 2010-10-31 at 15:32 +0100, Sedat Dilek wrote: > On Sun, Oct 31, 2010 at 3:21 PM, Peter Clifton wrote: > > On Sun, 2010-10-31 at 10:36 +0100, Sedat Dilek wrote: > >> I made a 2nd wayland build: > >> > > > > In my case, it was because mesa was compiled without --disable-gallium > > > > That

Re: [Mesa-dev] Wayland with radeon-KMS pageflipping

2010-10-31 Thread Peter Clifton
On Sun, 2010-10-31 at 10:36 +0100, Sedat Dilek wrote: > I made a 2nd wayland build: > > OK, there is definitely a problem with $DISPLAY, > if I use a different one (for example DISPLAY=:1.0), I get "failed to > create compositor". > If I want to use DISPLAY=:0.0, the error-message is "failed to >

[Mesa-dev] [Bug 31255] New: Unigine Sanctuary v 2.2: some surfaces have wrong colours

2010-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31255 Summary: Unigine Sanctuary v 2.2: some surfaces have wrong colours Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Sev

Re: [Mesa-dev] Wayland with radeon-KMS pageflipping

2010-10-31 Thread Sedat Dilek
Before I forget, I switched als Window-Manager from KDE4 to Fluxbox to see if the WM has influence on Wayland. Here is what I see in VT-1 from where I started X via startx command (I always bootup into runlevel-3): Setting default value Failed to read: session.screen0.tabs.intitlebar Setting defa

Re: [Mesa-dev] Wayland with radeon-KMS pageflipping

2010-10-31 Thread Sedat Dilek
I made a 2nd wayland build: OK, there is definitely a problem with $DISPLAY, if I use a different one (for example DISPLAY=:1.0), I get "failed to create compositor". If I want to use DISPLAY=:0.0, the error-message is "failed to initialize display" ending with a Segmentation fault. Having a look

Re: [Mesa-dev] Wayland with radeon-KMS pageflipping

2010-10-31 Thread Sedat Dilek
Just as an addendum: # udevadm trigger --verbose --subsystem-match=drm --subsystem-match=input /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6 /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event6 /sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:03/LNXVIDEO:00/input/input4 /sys/devices/LN