LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mesa with DRI custom build shows black 3D windows (glxgears...) (http://www.linuxquestions.org/questions/linux-software-2/mesa-with-dri-custom-build-shows-black-3d-windows-glxgears-827493/)

arond 08-20-2010 01:38 PM

Mesa with DRI custom build shows black 3D windows (glxgears...)
 
Hi, I'm using Opensuse 11.3 with the xorg and other video related packages from the X11org repo.

I have a question concerning the Mesa 3d library. The version from the X11org repository works well. However, building and installing Mesa by myself causes that certain 3d applications (glxgears or xmoto) only show a black screen. On both cases I can run compiz, which works quite well.

I have configured the custom Mesa build as follows (also tried enabling gallium), and in practice I use the i915 dri driver.

Quote:

prefix: /usr
exec_prefix: ${prefix}
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include

Driver: dri
OSMesa: no
DRI drivers: i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon savage sis tdfx unichrome swrast
DRI driver dir: ${libdir}/dri
Use XCB: no

Gallium: no

Shared libs: yes
Static libs: no
EGL: glx dri2
GLU: yes
GLw: yes (Motif: no)
glut: no
Demos: no

CFLAGS: -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -m32 -fPIC -m32
CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -m32 -fPIC -m32
Macros: -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
My question is what makes the opensuse build of Mesa different than my custom build? I see no big differences in the build configuration here: https://build.opensuse.org/package/v...ect=X11%3AXOrg

Also, I tried xlib instead of dri and that works, but really slow so not an option. (Im using the i586 version of the packages)


Thanks!


All times are GMT -5. The time now is 05:57 PM.