Re: [Mesa3d-dev] GLSL compiler performance

2009-11-13 Thread Sedat Dilek
Alternatively use [1] (this commit is not it the glsl-pp-rework-2 GIT tree). - Sedat - [1] Mesa (master): xorg/st: fixup builds against later dpms headers. http://lists.freedesktop.org/archives/mesa-commit/2009-September/012317.html On Fri, Nov 13, 2009 at 12:05 PM, Sedat Dilek sedat.di

[Mesa3d-dev] Re: GLSL compiler performance

2009-11-13 Thread Sedat Dilek
Hi, I read about the new GLSL compiler in [1] and wanted to try out some performance tests on (drm-)radeon(-kms). While trying to compile glsl-pp-rework-2 mesa GIT branch [2] on a 32bit Debian/sid host, I got a build-failure like this: ... ccache gcc -c -I. -I../../../../src/gallium/include

Re: [Mesa3d-dev] GLSL compiler performance

2009-11-13 Thread Sedat Dilek
...or disabling the build of gallium... You have some hints on benchmarking? Which games? Sample programs to test? - Sedat - On Fri, Nov 13, 2009 at 6:04 PM, Zack Rusin za...@vmware.com wrote: On Friday 13 November 2009 06:42:47 Sedat Dilek wrote: Alternatively use [1] (this commit

Re: [Mesa3d-dev] [PATCH] xdemos: Add X11 and pthread linking options to satisfy GNU gold

2009-11-18 Thread Sedat Dilek
ACKed. - Sedat - On Tue, Nov 17, 2009 at 8:56 PM, Brian Paul bri...@vmware.com wrote: Sedat Dilek wrote: This patch was already sent to dri-de...@lists.sourceforge.net. Forgot to CC mesa3d-dev ML (thanks Julien Cristau for the hint on IRC). - Sedat - Hi, I had some discussion on #grml

[Mesa3d-dev] [mesa] svga: Fix error: cannot take address of bit-field 'texture_target' in svga_tgsi.h

2010-01-06 Thread Sedat Dilek
Mon Sep 17 00:00:00 2001 From: Sedat Dilek sedat.di...@gmail.com Date: Wed, 6 Jan 2010 17:22:14 +0100 Subject: [PATCH] svga: Fix error: cannot take address of bit-field 'texture_target' in svga_tgsi.h From build-log: ... In file included from svga_pipe_fs.c:37: svga_tgsi.h: In function

Re: [Mesa3d-dev] [mesa] svga: Fix error: cannot take address of bit-field 'texture_target' in svga_tgsi.h

2010-01-06 Thread Sedat Dilek
only once r300_state_inlines.h:263: error: for each function it appears in.) make: *** [r300_emit.o] Error 1 ... I am having dinner, now - Sedat - On Wed, Jan 6, 2010 at 6:07 PM, Brian Paul bri...@vmware.com wrote: Sedat Dilek wrote: Hi, this patch fixes a build-error in mesa GIT master

Re: [Mesa3d-dev] [mesa] svga: Fix error: cannot take address of bit-field 'texture_target' in svga_tgsi.h

2010-01-06 Thread Sedat Dilek
Compile-tested OK. - Sedat - On Wed, Jan 6, 2010 at 6:39 PM, michal mic...@vmware.com wrote: Brian Paul wrote on 2010-01-06 18:07: Sedat Dilek wrote: Hi, this patch fixes a build-error in mesa GIT master after... commit  251363e8f1287b54dc7734e690daf2ae96728faf (patch) configs: set

Re: [Mesa3d-dev] [mesa] svga: Fix error: cannot take address of bit-field 'texture_target' in svga_tgsi.h

2010-01-06 Thread Sedat Dilek
Sedat Dilek wrote: OK. That's the next one :-) ... In file included from r300_emit.c:36: r300_state_inlines.h: In function ‘r300_translate_tex_filters’: r300_state_inlines.h:263: error: ‘is_anisotropic’ undeclared (first use in this function) r300_state_inlines.h:263: error: (Each undeclared

Re: [Mesa3d-dev] Q1: speedup: parallel-make-jobs and/or ccache Q2: radeon*g*_dri.so Q3. enable XCB

2010-01-07 Thread Sedat Dilek
please, push that, Thanks. - Sedat - On Thu, Jan 7, 2010 at 11:27 PM, Sedat Dilek sedat.di...@googlemail.com wrote: [PATCH] Build libmesagallium.a before descending into drivers ...does NOT fix the parallel-make-job problem. $ grep libmesagallium mesa/src/mesa/Makefile default: depend

Re: [Mesa3d-dev] Q1: speedup: parallel-make-jobs and/or ccache Q2: radeon*g*_dri.so Q3. enable XCB

2010-01-08 Thread Sedat Dilek
, Jan 8, 2010 at 1:16 AM, Dan Nicholson dbn.li...@gmail.com wrote: On Thu, Jan 7, 2010 at 3:26 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Indeed, I discovered a failure in both cases. But, I always do a clean checkout (build-from-scratch) and clean/clear the cache of ccache. $ grep

Re: [Mesa3d-dev] Q1: speedup: parallel-make-jobs and/or ccache Q2: radeon*g*_dri.so Q3. enable XCB

2010-01-08 Thread Sedat Dilek
I built 5 times with -j3, but damn builds were all OK. Sorry, I have no broken build-log for you. - Sedat - On Fri, Jan 8, 2010 at 1:16 AM, Dan Nicholson dbn.li...@gmail.com wrote: On Thu, Jan 7, 2010 at 3:26 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Indeed, I discovered a failure

Re: [Mesa3d-dev] Q1: speedup: parallel-make-jobs and/or ccache Q2: radeon*g*_dri.so Q3. enable XCB

2010-01-08 Thread Sedat Dilek
libmesa* mesa/src/mesa/libmesa.a Strange. - Sedat - On Thu, Jan 7, 2010 at 11:51 PM, Dan Nicholson dbn.li...@gmail.com wrote: On Thu, Jan 7, 2010 at 2:40 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Hi Dan, [src/mesa/Makefile] ... -driver_subdirs: libmesa.a libglapi.a +driver_subdirs

Re: [Mesa3d-dev] Q1: speedup: parallel-make-jobs and/or ccache Q2: radeon*g*_dri.so Q3. enable XCB

2010-01-08 Thread Sedat Dilek
Dilek sedat.di...@googlemail.com wrote: Reported-and-Tested-by: Sedat Dilek sedat.di...@gmail.com 1. The complaints about missing file/dir are gone. 2. sl_pp_context.o matches libmesa.a and libmesagallium.a, again. This patch looks fine to me, thanks. It's in master now. Thanks for testing

Re: [Mesa3d-dev] Q1: speedup: parallel-make-jobs and/or ccache Q2: radeon*g*_dri.so Q3. enable XCB

2010-01-14 Thread Sedat Dilek
=8feb27b8ff7802f247017747fa6cc730940720d4 On Thu, Jan 7, 2010 at 8:05 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Hi, I have a couple of questions which araised while building mesa from upstream master [1]. Partially, I discussed them on #radeon IRC [2,3]. [Q1] SpeedUp build of mesa: parallel-make-jobs and/or ccache

[Mesa3d-dev] [mesa] r300g dri/st: OpenArena corruptions with mesa-7.8 and master GIT

2010-03-19 Thread Sedat Dilek
Hi, the last days I was testing Alex Deucher's power-management-2 patches for radeon OSS driver. While testing I saw that especially r300g dri/statetracker with OpenArena have problems with mesa 7.8/master GIT branch. Mesa r300 classic (KMS/DRI2) is working fine here on RV515. 7.8 GIT: Scenes

Re: [Mesa3d-dev] [mesa] r300g dri/st: OpenArena corruptions with mesa-7.8 and master GIT

2010-03-19 Thread Sedat Dilek
-trackers=dri,glx --enable-debug --enable-glx-tls ... On Fri, Mar 19, 2010 at 2:21 PM, Marek Olšák mar...@gmail.com wrote: On Fri, Mar 19, 2010 at 11:36 AM, Sedat Dilek sedat.di...@googlemail.com wrote: Hi, the last days I was testing Alex Deucher's power-management-2 patches for radeon OSS driver

Re: [Mesa3d-dev] [mesa] r300g dri/st: OpenArena corruptions with mesa-7.8 and master GIT

2010-03-19 Thread Sedat Dilek
a899c5a76ee056e237b19d97afaadd84bca9649f Author: Ben Skeggs bske...@redhat.com nv50: reset vbo_fifo before each validate THE UGLY: ??? Kind Regards, - Sedat - On Fri, Mar 19, 2010 at 2:21 PM, Marek Olšák mar...@gmail.com wrote: On Fri, Mar 19, 2010 at 11:36 AM, Sedat Dilek sedat.di...@googlemail.com wrote

[Mesa3d-dev] mesa 7.8 GIT: Broken by glapi: Correctly generate static disatches for X86.

2010-03-20 Thread Sedat Dilek
Hi, while upgrading my mesa from 7.8 GIT branch, I saw with commit 41a87a43e11c664935349f938022d58d3e22da4e glapi: Correctly generate static disatches for X86. the build breaking (especially with xdemos). - Sedat - [build.log] ccache gcc -I../../include -g -O2 -Wall -Wmissing-prototypes

Re: [Mesa3d-dev] mesa 7.8 GIT: Broken by glapi: Correctly generate static disatches for X86.

2010-03-20 Thread Sedat Dilek
My autogen.sh line looks like this: $ ./autogen.sh --prefix=/usr --with-driver=dri --with-dri-driverdir=/usr/lib/dri --with-dri-drivers=r300,swrast --enable-gallium-radeon --with-state-trackers=dri,glx --enable-glx-tls --enable-debug - Sedat - On Sat, Mar 20, 2010 at 2:51 PM, Sedat Dilek

Re: [Mesa3d-dev] mesa 7.8 GIT: Broken by glapi: Correctly generate static disatches for X86.

2010-03-20 Thread Sedat Dilek
*UND* glIsVertexArrayAPPLE 0001b570 l F .text 0058 __indirect_glBlendEquationSeparateEXT *UND* glBlendEquationSeparateEXT - Sedat - On Sat, Mar 20, 2010 at 2:55 PM, Sedat Dilek sedat.di...@googlemail.com wrote

[Mesa3d-dev] [PATCH] xdemos: Remove -L$(TOP)/$(LIB_DIR) from LIBS in Makefile

2010-03-20 Thread Sedat Dilek
Fixes here the problem described in [1] with mesa 7.8 GIT branch. - Sedat - [1] http://marc.info/?l=mesa3d-devm=126909519809790w=2 From 54276b697a93e7620290882e997cb0aed3ecb04c Mon Sep 17 00:00:00 2001 From: Sedat Dilek sedat.di...@gmail.com Date: Sat, 20 Mar 2010 15:53:25 +0100 Subject: [PATCH

Re: [Mesa3d-dev] mesa 7.8 GIT: Broken by glapi: Correctly generate static disatches for X86.

2010-03-20 Thread Sedat Dilek
commit 6fed3a9fa0a87ae797f995de5b51eb9be3493fe0 glapi: Fix aliases to non-static functions. ...fixes here the issues. THX for the quick fix. - Sedat - On Sat, Mar 20, 2010 at 5:11 PM, Chia-I Wu o...@lunarg.com wrote: On Sat, Mar 20, 2010 at 9:51 PM, Sedat Dilek sedat.di...@googlemail.com

Re: [Mesa3d-dev] [PATCH] xdemos: Remove -L$(TOP)/$(LIB_DIR) from LIBS in Makefile

2010-03-20 Thread Sedat Dilek
Real fix is this one: commit 6fed3a9fa0a87ae797f995de5b51eb9be3493fe0 glapi: Fix aliases to non-static functions. - Sedat - On Sat, Mar 20, 2010 at 4:06 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Fixes here the problem described in [1] with mesa 7.8 GIT branch. - Sedat - [1] http

Re: [Mesa3d-dev] mesa 7.8 GIT: Broken by glapi: Correctly generate static disatches for X86.

2010-03-20 Thread Sedat Dilek
glBlendEquationSeparateEXT - Sedat - On Sat, Mar 20, 2010 at 5:11 PM, Chia-I Wu o...@lunarg.com wrote: On Sat, Mar 20, 2010 at 9:51 PM, Sedat Dilek sedat.di...@googlemail.com wrote: while upgrading my mesa from 7.8 GIT branch, I saw with commit 41a87a43e11c664935349f938022d58d3e22da4e glapi

Re: [Mesa3d-dev] [mesa] r300g dri/st: OpenArena corruptions with mesa-7.8 and master GIT

2010-03-21 Thread Sedat Dilek
...@gmail.com wrote: On Sat, Mar 20, 2010 at 4:18 AM, Sedat Dilek sedat.di...@googlemail.com wrote: Hi Marek - you are nominated for the next DRIgeller (Uri Geller) :-) concerning my problems r300g dri/st with mesa master GIT: THE BAD: commit 68e58a96e80865878e6881dc4d34fcc3ec24eb19 Author

Re: [Mesa3d-dev] New branch to switch st/dri to st_api.h

2010-03-21 Thread Sedat Dilek
Hi Chia-I (hope this is the first name), I've merged the branch. All Gallium DRI drivers now use st_api.h instead of st_public.h. If you notice any regression due the merge, please let me know so that I can work on it. The last days I have tested your gallium-st-api-dri GIT branch by merging

Re: [Mesa3d-dev] New branch to switch st/dri to st_api.h

2010-03-21 Thread Sedat Dilek
On Sun, Mar 21, 2010 at 10:33 AM, Chia-I Wu olva...@gmail.com wrote: On Sun, Mar 21, 2010 at 5:19 PM, Sedat Dilek sedat.di...@googlemail.com wrote: [...] Even I see OpenArena got a boost from ~25fps (7.8 GIT) to ~32fps (master GIT incl. gallium-st-api-dri merge) $ cat oa_benchmark.txt s

Re: [Mesa3d-dev] New branch to switch st/dri to st_api.h

2010-03-21 Thread Sedat Dilek
Maybe you try a git-hard-reset to the commit-no of the merge and then compile again. (To see if it is related to gallium-st-api-dri merge) $ git reset --hard 12deb9e6ca76d222badf71c8643e84640673e86d -- Sedat -- Download

[Mesa3d-dev] r300g: mesa master fails to build - missing depend to libdrm =2.4.19

2010-03-23 Thread Sedat Dilek
Hi, I was trying to compile latest mesa master GIT: commit 2a3accb r300g: fix glean occlusion query test Unfortunately, the build breaks (see below investigations). I suspect the cause is I have here Debian's libdrm-2.4.18 installed. radeon: add square-tiling flag in [1] was post-2.4.18. So

[Mesa3d-dev] [PATCH] configure.ac: Bump LIBDRM_RADEON_REQUIRED to 2.4.19

2010-03-23 Thread Sedat Dilek
Fixes here latest issues with mesa master GIT [1]. -- Sedat [1] http://marc.info/?l=mesa3d-devm=126934502904478w=2 From abfee27605a026769152f067fa572eacea150dc2 Mon Sep 17 00:00:00 2001 From: Sedat Dilek sedat.di...@gmail.com Date: Tue, 23 Mar 2010 12:53:34 +0100 Subject: [PATCH] configure.ac

Re: [Mesa3d-dev] [PATCH] configure.ac: Bump LIBDRM_RADEON_REQUIRED to 2.4.19

2010-03-23 Thread Sedat Dilek
On Tue, Mar 23, 2010 at 1:41 PM, Marek Olšák mar...@gmail.com wrote: Fixed in master without requiring new libdrm. -Marek On Tue, Mar 23, 2010 at 1:01 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Fixes here latest issues with mesa master GIT [1]. -- Sedat [1] http://marc.info/?l

[Mesa3d-dev] [PROPOSAL] configure.ac: Simplify LIBDRM_RADEON_REQUIRED and introduce LIBDRM_INTEL_REQUIRED variable

2010-03-23 Thread Sedat Dilek
Hi, what do you think about this proposal? -- Sedat From dafb5cf87fa3cc0d8dee0ad4d8dbb9e7a9ab4078 Mon Sep 17 00:00:00 2001 From: Sedat Dilek sedat.di...@gmail.com Date: Tue, 23 Mar 2010 14:09:23 +0100 Subject: [PATCH 1/2] configure.ac: Simplify check for LIBDRM_RADEON_REQUIRED --- configure.ac

Re: [Mesa3d-dev] [PROPOSAL] configure.ac: Simplify LIBDRM_RADEON_REQUIRED and introduce LIBDRM_INTEL_REQUIRED variable

2010-03-23 Thread Sedat Dilek
} handled the same way in configure.ac. I have sent a V2 of my proposals with really checking for $LIBDRM_RADEON_REQUIRED (keeping $RADEON_CFLAGS and $RADEON_LDFLAGS). -- Sedat On Tue, Mar 23, 2010 at 3:02 PM, Luc Verhaegen l...@skynet.be wrote: On Tue, Mar 23, 2010 at 02:16:03PM +0100, Sedat Dilek

Re: [Mesa3d-dev] [PATCH] configure.ac: Bump LIBDRM_RADEON_REQUIRED to 2.4.19

2010-03-23 Thread Sedat Dilek
On Tue, Mar 23, 2010 at 6:37 PM, Marek Olšák mar...@gmail.com wrote: On Tue, Mar 23, 2010 at 1:57 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Thanks for the turbo fix, but you workarounded the real bug. Frankly, the Mesa build system isn't my area and I don't want to have anything

Re: [Mesa3d-dev] Current tinderbox regression (xeglthreads)

2010-03-23 Thread Sedat Dilek
We have a hack in the xdemos directory to link the programs with -lpthread for the same reason (I think). Probably need to carry that hack to the progs/egl directory for xeglthreads, too. Reasons for the hack in xdemos was linking with binutils-gold. See explanations in [1] concerning X11. --

Re: [Mesa3d-dev] Current tinderbox regression (dri)

2010-03-23 Thread Sedat Dilek
The issue should be hopefully completely fixed by 7e246e6aa63979d53731a591f4caee3651c1d96b. Unfortunately, build breaks here. Not sure which of the last changes really breaks it. [build.log] ... /bin/bash ../../../../../bin/mklib -o r300_dri.so.tmp -noprefix -linker 'ccache gcc' -ldflags '' \

Re: [Mesa3d-dev] Current tinderbox regression (xeglthreads)

2010-03-23 Thread Sedat Dilek
On Tue, Mar 23, 2010 at 10:14 PM, Dan Nicholson dbn.li...@gmail.com wrote: On Tue, Mar 23, 2010 at 2:04 PM, Sedat Dilek sedat.di...@googlemail.com wrote: We have a hack in the xdemos directory to link the programs with -lpthread for the same reason (I think). Probably need to carry that hack

Re: [Mesa3d-dev] [r300g] BROKEN st/dri: state_tracker/st_atom_framebuffer.c:162:update_framebuffer_state: Assertion `framebuffer-zsbuf-texture-bind (1 0)' failed.

2010-04-24 Thread Sedat Dilek
, Jakob Bornecrantz wallbra...@gmail.com wrote: On Sat, Apr 24, 2010 at 11:04 AM, Sedat Dilek sedat.di...@googlemail.com wrote: Hi, Backlog from #radeon/freenode (24-Apr-2010, German local-time UTC+2): [...] [11:49:16] dileX here I get w/ openaren and mesa (commit

[Mesa3d-dev] egl_dri2: Checking for xcb/dri2.h and xcb/xfixes.h

2010-07-13 Thread Sedat Dilek
Hi, I was trying to build a mesa snapshot from GIT master and egl_dri2 seems to be broken on first sight (see below for build.log). As egl_dri2 is build by-default, you can workaround the problem by setting explicitly --disable-egl to configure-line. Alternatively, for example Debian-systems

Re: [Mesa3d-dev] egl_dri2: Checking for xcb/dri2.h and xcb/xfixes.h

2010-07-13 Thread Sedat Dilek
On Tue, Jul 13, 2010 at 5:25 PM, Sedat Dilek sedat.di...@googlemail.com wrote: [...] Shouldn't there be a more rough depend-checking on XCB_DRI2 (libxcb-1.6) in configure.ac? With rough I mean to stop immediately the build, so someone can check for the missing packages. Looking at [1] feom

Re: [Mesa3d-dev] egl_dri2: Checking for xcb/dri2.h and xcb/xfixes.h

2010-07-16 Thread Sedat Dilek
On Fri, Jul 16, 2010 at 1:43 PM, Chia-I Wu olva...@gmail.com wrote: On Wed, Jul 14, 2010 at 1:53 AM, Sedat Dilek sedat.di...@googlemail.com wrote: On Tue, Jul 13, 2010 at 5:25 PM, Sedat Dilek sedat.di...@googlemail.com wrote: [...] Shouldn't there be a more rough depend-checking

Re: [Mesa3d-dev] [PATCH] r200: revalidate after radeon_update_renderbuffers

2010-10-11 Thread Sedat Dilek
Hi, I have tested v2 on a RV250 (AGP), Linux-kernel 2.6.36-rc7-git2, mesa master GIT (commit e1003336f0dcd9248c0127fbdc173522e35c5bdb, gallivm: Eliminate unsigned integer arithmetic from texture coordinates.), libdrm (2.4.22-1) and xorg-server (2:1.7.7-8), last both from official Debian/sid i386

[Mesa3d-dev] [PATCH] r600g: Change AS_HELP_STRING for Gallium Radeon r600g configuration

2010-10-17 Thread Sedat Dilek
build gallium radeon [default=disabled] --enable-gallium-nouveau build gallium nouveau [default=disabled] --enable-gallium-swrast build gallium swrast [default=auto] Kind Regards, - Sedat - From d1949410d63c208ffed8c6b4dd2e19da62e71018 Mon Sep 17 00:00:00 2001 From: Sedat

[Mesa3d-dev] [mesa] master broken with make -j3

2011-02-11 Thread Sedat Dilek
Hi, yesterdays (aprrox 24hrs ago) mesa master was OK for building with make -j3 on my IBM T41p (Pentium-M, 1G RAM, radeon RV250), now it's broken: gcc: ../../src/glsl/libglsl.a: No such file or directory make[2]: *** [glcpp/glcpp] Error 1 make[2]: *** Waiting for unfinished jobs make[2]:

Re: [Mesa3d-dev] [mesa] master broken with make -j3

2011-02-11 Thread Sedat Dilek
On Fri, Feb 11, 2011 at 2:45 PM, Sedat Dilek sedat.di...@googlemail.com wrote: Hi, yesterdays (aprrox 24hrs ago) mesa master was OK for building with make -j3 on my IBM T41p (Pentium-M, 1G RAM, radeon RV250), now it's broken: gcc: ../../src/glsl/libglsl.a: No such file or directory make[2