Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 17:51:41 -0500
From:      Adam K Kirchhoff <adamk@voicenet.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: astro/google-earth do not work with recent Xorg
Message-ID:  <20090206175141.7e7938e3@scroll>
In-Reply-To: <1233906496.1746.28.camel@localhost>
References:  <1233906496.1746.28.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

What GPU is this?  If it's an r500 card (x1300 through x1950) linux
apps will not work properly since graphics/linux_dri has not yet been
updated to Mesa 7.2 or 7.3.

Adam

On Fri, 06 Feb 2009 10:48:16 +0300
Vladimir Grebenschikov <vova@fbsd.ru> wrote:

> Hi
> 
> It starts, then shows on console:
> --
> unknown chip id 0x7145, can't guess.
> libGL warning: 3D driver returned no fbconfigs.
> libGL error: InitDriver failed
> libGL error: reverting to (slow) indirect rendering
> --
> 
> Then shows pop-up with "Google Earth can't runon your machine as it
> could not access the graphics card. ..."
> 
> Then crashes with:
> 
> terminate called after throwing an instance of 'QString'
> Google Earth has caught signal 6.
> 
> Stacktrace from glibc:
>   ./googleearth-bin [0x806c3a3]
>   ./googleearth-bin [0x806c916]
>   [0xbfbfffbb]
>   /lib/libc.so.6(abort+0x101) [0x493d0301]
>   ./libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x179) [0x4816a019]
>   ./libstdc++.so.6 [0x481679a5]
>   ./libstdc++.so.6 [0x481679e2]
>   ./libstdc++.so.6 [0x48167b4a]
>   ./librender.so(_ZN12RenderWidget6SetApiEPN5earth4evll3APIE+0x34e) [0x49f3b57e]
>   ./librender.so(_ZN5earth6render12RenderWindow12createWidgetEv+0xb2) [0x49f1cf62]
>   ./libgoogleearth_lib.so(_ZN5earth6client12ModuleWidget9showEventEP10QShowEvent+0x8e) [0x4931af6e]
>   ./libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x7cf) [0x4851715f]
> ... (full crash log attached)
> 
> I have working openGL for FreeBSD applications (radeonhd driver, ATI X1400 card):
> 
> $ glinfo 
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> GL_VERSION: 1.3 Mesa 7.3
> GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_shadow_ambient 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_MESAX_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object 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_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_gpu_program_parameters GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_
 c!
>  olor 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_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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow_ambient GL_SUN_multi_draw
 _!
>  arrays
> GL_RENDERER: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
> GL_VENDOR: DRI R300 Project
> GLU_VERSION: 1.3
> GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess 
> GLUT_API_VERSION: 5
> GLUT_XLIB_IMPLEMENTATION: 15
> $
> 
> Probably reason is in outdated X libraries:
> 
> xorg-7.4            X.Org complete distribution metaport
> xorg-apps-7.4_1     X.org apps meta-port
> xorg-drivers-7.4    X.org drivers meta-port
> xorg-libraries-7.4  X.org libraries meta-port
> xorg-server-1.5.3_4,1 X.Org X server and related programs
> dri-7.3,2           OpenGL hardware acceleration drivers for the DRI
> libGL-7.3_1         OpenGL library that renders using GLX or DRI
> libGLU-7.3          OpenGL utility library
> ...
> linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
> linux_base-f8-8_11  Base set of packages needed in Linux mode (for i386/amd64)
> linux_dri-7.0       Binary Linux DRI libraries for 3D hardware acceleration of 
> 
> ...
> 
> Any hints will be very appreciated.
> 
> PPS:
> Also, looks like binary get lost in home on non-first start:
> $ googleearth
> Warning: Unable to create prefs directory '/home/vova/.googleearth'. File exists.
> ...
> 
> $ file /home/vova /home/vova/.googleearth /compat/linux/home/vova
> /home/vova:              directory
> /home/vova/.googleearth: directory
> /compat/linux/home/vova: cannot open `/compat/linux/home/vova' (No such file or directory)
> 
> -- 
> Vladimir B. Grebenschikov
> vova@fbsd.ru

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090206175141.7e7938e3>