00:21 imirkin: did any distro with live cd's ship nvidia drivers in their live iso's at any point?
00:22 imirkin: i'm looking for something that'd have xorg 1.15
00:22 imirkin: or, more specifically, nvidia-drivers 173.x
00:24 imirkin: hm, maybe i'll get debian wheezy.....
00:33 imirkin: apparently that's harder than it sounds. grabbing ubuntu 13.10... that probably won't go well.
00:46 imirkin: skeggsb: let me know if you have any thoughts on https://trello.com/c/PHZjdkSc/5-nv30-create-a-way-to-have-a-different-backing-rt-to-fix-unreasonable-render-format-restrictions-between-cbuf-and-zsbuf
00:46 imirkin: that's how i plan on handling that
08:52 mogorva: Hello...this is the first time I installed a 64-bit Linux distro. I managed to compile and install 64-bit Mesa into /usr/local. Can you tell me how to install 32-bit mesa so that I could try some 32-bit games?
08:53 mogorva: do i have to clone a separate mesa git repo for the 32-bit build?
08:56 mogorva: I don't know exactly how LIBGL_DRIVERS_PATH and LD_PRELOAD env vars work when both 32 and 64-bit mesa are installed.
09:04 newbie99: mogorva: hello if it can help you
09:04 newbie99: here what I do
09:06 gregory38: mesa_setup () {
09:06 gregory38: mesa=/home/gregory/project/mesa
09:06 gregory38: drm=/home/gregory/project/drm/local_install
09:06 gregory38: export LIBGL_DRIVERS_PATH=$mesa/lib/gallium
09:06 gregory38: export EGL_DRIVERS_PATH=$mesa/lib/egl
09:06 gregory38: export LIBGL_DEBUG=verbose
09:06 gregory38: export LD_LIBRARY_PATH="$mesa/lib"
09:06 gregory38: }
09:06 gregory38: I created this zsh alias (you could drop the verbose stuff)
09:06 gregory38: and drm too
09:06 gregory38: and to build mesa on a 64 bits env
09:07 gregory38: export CFLAGS=" -m32 -Ofast"
09:07 gregory38: export CXXFLAGS=" -m32 -Ofast"
09:07 gregory38: export PKG_CONFIG_PATH="/usr/lib/i386-linux-gnu/pkgconfig"
09:07 gregory38: Use --disable-asm option
09:08 gregory38: build my complain on bad architecture, so I manually hack the path
09:09 gregory38: of .la files
09:09 gregory38: sed -i -e 's@/usr/lib/x86_64-linux-gnu/libexpat.la@/usr/lib/i386-linux-gnu/libexpat.la@' **/*.la
09:09 gregory38: There is a surely a better way but at least it works on my system to run PCSX2
09:10 gregory38: (note my distribution is Debian)
09:10 mogorva: gregory38: thank you for your help, I will check that out. I'm still stucked with an error during configure that tells me that 'C compiler cannot create executables'
09:12 gregory38: did you clean your previous 64 bits compil
09:12 gregory38: ?
09:12 gregory38: make clean
09:12 mogorva: no, i created a separate git repo for 32-bit
09:14 gregory38: check if you have a error file somewhere
09:14 gregory38: config... .files
09:14 gregory38: maybe config.log
09:14 gregory38: have more info
09:16 mogorva: i'm using these parameters to configure mesa 32-bit: CFLAGS="-m32 -O2 -ggdb -g -gdwarf-2 -gstrict-dwarf" CXXFLAGS="${CFLAGS}" ./autogen.sh --libdir=/usr/local/lib --enable-selinux --enable-dri3 --enable-dri --with-dri-drivers=nouveau,swrast --enable-egl --with-egl-platforms=x11,drm --enable-gallium-llvm --enable-llvm-shared-libs --enable-xvmc --with-gallium-drivers=nouveau,swrast --enable-osmesa --enable-gbm --enable-gles2 --enable-glx
09:16 mogorva: --enable-glx-tls --enable-shared-glapi --enable-texture-float --enable-va --enable-vdpau --with-clang-libdir=/usr/lib
09:17 gregory38: Do you need the debug info?
09:18 gregory38: export CFLAGS=" -m32 -g -Ofast -fno-omit-frame-pointer " was enough for me
09:18 gregory38: and maybe you need some space before the final "
09:20 mogorva: i have gcc and gcc-c++ 64-bit versions installed, do i need the 32-bit version as well?
09:21 gregory38: multilib
09:21 gregory38: and you might need to set CXXFLAGS
09:25 gregory38: gcc -v
09:25 gregory38: to check the version
09:25 gregory38: I need to leave
09:25 gregory38: good luck
09:26 mogorva: gcc -v : http://pastebin.com/FmkEeftD
09:26 mogorva: gregory38: bye :)
09:30 gregory38: it is good
09:30 gregory38: bye
15:05 imirkin: mogorva: http://mesa3d.org/autoconf.html - look at the notes right above section 2
15:08 mogorva: imirkin: i was missing 32-bit glibc libraries. Now I can get a bit further in compiling 32-bit mesa. Compiling the source stops because i can't install 32-bit llvm.
15:08 imirkin: mogorva: build without llvm
15:10 imirkin: mogorva: anyways, as per that doc, the thing to do is ./configure CC="gcc -m32" CXX="g++ -m32" --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu ...
15:10 mogorva: it seems it's not possible to install both 32-bit and 64-bit llvm development (header) files. At least the package manager warns me about that.
15:10 imirkin: yeah, just build without llvm. you don't need it for anything.
15:11 imirkin: unless you plan on using an old version of blender, which makes heavy use of GL_SELECT
15:13 mogorva: what parameters need to be passed to configure to disable llvm? I tried adding '--disable-gallium-llvm' but it didn't work.
15:14 imirkin: uhhhh
15:14 imirkin: that SHOULD have worked
15:16 mogorva: PKG_CONFIG_PATH=/usr/lib/pkgconfig CC="ccache gcc -m32" CXX="ccache g++ -m32" CFLAGS="-O2 -ggdb -g -gdwarf-2 -gstrict-dwarf " CXXFLAGS="${CFLAGS}" ./autogen.sh --libdir=/usr/local/lib --enable-selinux --enable-dri3 --enable-dri --with-dri-drivers=nouveau --enable-egl --with-egl-platforms=x11,drm --enable-glx --enable-glx-tls --enable-shared-glapi --enable-texture-float --disable-asm --disable-gallium-llvm
15:16 imirkin: erm
15:16 imirkin: no
15:16 imirkin: --with-dri-drivers= --with-gallium-drivers=nouveau,swrast
15:16 imirkin: also you're missing the build/host args i mentioned
15:18 imirkin: [unless you're trying to build support for nouveau_vieux, which covers Riva TNT - GeForce 4, inclusive]
16:29 mogorva: imirkin: Success! I managed to compile mesa 32-bit and installed into /usr/local. Now, how can I make use of it? Are 'LIBGL_DRIVERS_PATH' and 'LD_PRELOAD' controlling which libs (32 or 64 bit) are loaded?
18:25 imirkin: mogorva: LD_LIBRARY_PATH
18:26 imirkin: mogorva: it controls both 32- and 64-bit libs, but it obviously won't load 64-bit libs on a 32-bit process and vice-versa