[Mesa-dev] dri broken on i915
Knut Petersen
Knut_Petersen at t-online.de
Tue Jun 26 00:12:10 PDT 2012
dri is currently broken on an AOpen i915GMm-hfs motherboard:
=====================
knut at golem:~/git> glxgears -v
Window x=0, y=0, width=300, height=300
libGL error: failed to load driver: i915
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
GL_MAX_VIEWPORT_DIMS=2048/2048
GL_RENDERER = Gallium 0.4 on i915 (chipset: 915GM)
GL_VERSION = 1.4 (2.0 Mesa 8.1-devel (git-37d699a))
GL_VENDOR = VMware, Inc.
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression
GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr
GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters
GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc
GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_draw_buffers GL_ATI_texture_env_combine3
GL_ATIX_texture_env_combine3 GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_SGIS_generate_mipmap
GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
***
*** WARNING: Direct Rendering is NOT enabled
***
*** NOTE: Don't use glxgears as a benchmark.
OpenGL implementations are not optimized for frame rates >> 60fps,
thus these numbers are meaningless when compared between vendors.
Event: ConfigureNotify
Event: Expose
341 frames in 5.0 seconds = 68.163 FPS
320 frames in 5.3 seconds = 60.029 FPS
320 frames in 5.3 seconds = 60.020 FPS
================
xorg (full build) on 2012-07-19 works fine, relevant git versions:
mesa/drm a1d462d2a6f720538eaf1199a94dd27cd04e8a54
mesa/mesa ee99647e02fe5b947838cfea276f095775eb1537
xorg (full build) on 2012-06-25) is broken, relevant git versions:
mesa/drm ae137f4669ccdbc615d18facebdb804a9af9846b
mesa/mesa 37d699a296ac1d63b9276224847df4b645b53fe2
script to build xorg: see attached compX-u
script to run xorg: see attached testX-u
LD_* seems to be partially ignored, but copying libdricore* to /usr/lib
only fixes the lib-not-found error, dri is still broken.
@Eric: I don´t think that is a good idea to require libdricore* files to be
present in the system library directories!
@ Chris: mieq* problems are back, see log.
cu,
Knut
-------------- next part --------------
wol -h 192.168.22.255 00:01:80:62:cf:b1
export MYROOT=/home/knut/git/X11-u
export PREFIX=$MYROOT/usr
export EPREFIX=$PREFIX
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL="aclocal -I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib
export PYTHONPATH=$PREFIX/lib/python2.7/site-packages
export MAKEFLAGS="-j 15"
export GMAKEFLAGS="-j 15"
export CC=/opt/icecream/bin/gcc
export CXX=/opt/icecream/bin/g++
export CFLAGS="-g3 -O0 --verbose -D MULTITOUCH"
export CXXFLAGS="-g3 -O0 "
cd /home/knut/git
rm -rf $MYROOT
mkdir -p $PREFIX/usr
util/modular/build.sh $PREFIX --modfile modules_to_build -a -n --cmd "git reset --hard"
util/modular/build.sh $PREFIX --modfile modules_to_build -a -n --cmd "git clean -dfx"
util/modular/build.sh $PREFIX --modfile modules_to_build -a -n --cmd "git log -n 1 --pretty=oneline" &> $PREFIX/../versions
cd mtdev-1.1.2
./configure --prefix=$PREFIX
make
make install
cd ..
util/modular/build.sh -g $PREFIX \
--autoresume built-modules.txt \
--modfile modules_to_build \
--confflags " \
--enable-kdrive \
--with-dri-drivers=i915 \
--with-gallium-drivers=i915 \
--disable-gallium \
--disable-radeon \
--enable-gles1 \
--enable-gles2 \
--disable-docs \
--disable-devel-docs \
--disable-specs \
--localstatedir=$MYROOT/var \
--enable-config-dbus \
--with-serverconfig-path=$PREFIX/share/X11/xorg.conf.d \
"
-------------- next part --------------
export PREFIX=/home/knut/git/X11-u/usr
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib
export LD_PRELOAD=$PREFIX/lib/libmtdev.so
/home/knut/startx -- $PREFIX/bin/Xorg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 57104 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120626/4a0d96b8/attachment-0001.bin>
More information about the mesa-dev
mailing list