[Mesa-users] RES: mesa-users Digest, Vol 48, Issue 2

Alexandre Fernandes Pedrosa byalefp at yahoo.com.br
Thu Mar 6 17:26:22 PST 2014


Hey,

Thanks for the answer, and sorry for the delay, was doing a new fresh
install after broken my system.
The first thing I need say is:

I dindt payed attention about the tutorial title.

Was think it is for enable 3D support from Host to Guest, then I did the
setup on host...
Don't need say I broken almost everything (did make as sudo and the my unity
dindt started anymore - because this I did a new install - offcourse all my
fault)

I grab the VMware 10 30 day trial, but, everytime I try run any Virtual
Machine (guest) after power on I receive this message:

"The 3D features of the virtual machine will be disabled"

Then I was looking for a fix for it.
The host is a old notebook Core 2 Duo with an GPU Nvidia 7900 GS, Toshiba
P105-S9337.
>From default installation, Ubuntu 12.04 x64 set the graphics driver as:

Gallium 0.4 on NV49

For the first time in my life I was able to see youtube in 1080p without lag
using this incredible driver.
So, there no reason for I use the NVidia drivers.

I have installed the mesa-utils and glxgears run fine giving to me 256 fps
(never see this GPU get more of 20 fps).

Searching on google, VMware forums, and other places, seems VMware 10 is
bugged, lot of people switch back to VMware 8 for get the 3D support.

On host, I can use the cube, unity, and see other 3D effects pretty nice
using this marvelous driver.
But, if VMware can't see the drive I think gonna need switch to another
Virtual Machine system.


-----Mensagem original-----
De: mesa-users-bounces at lists.freedesktop.org
[mailto:mesa-users-bounces at lists.freedesktop.org] Em nome de
mesa-users-request at lists.freedesktop.org
Enviada em: quarta-feira, 5 de março de 2014 17:00
Para: mesa-users at lists.freedesktop.org
Assunto: mesa-users Digest, Vol 48, Issue 2

Send mesa-users mailing list submissions to
	mesa-users at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freedesktop.org/mailman/listinfo/mesa-users
or, via email, send a message with subject or body 'help' to
	mesa-users-request at lists.freedesktop.org

You can reach the person managing the list at
	mesa-users-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of mesa-users digest..."


Today's Topics:

   1. Re: Question about an updated manual (Brian Paul)
   2. Mesa latest git compilation issue: mtypes.h:3842:4: error:
      unknown type name 'GLDEBUGPROC' (D?niel Fraga)


----------------------------------------------------------------------

Message: 1
Date: Tue, 04 Mar 2014 15:01:21 -0700
From: Brian Paul <brianp at vmware.com>
To: mesa-users at lists.freedesktop.org
Subject: Re: [Mesa-users] Question about an updated manual
Message-ID: <53164D31.9050108 at vmware.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 03/04/2014 05:39 AM, Alexandre wrote:
> Hey,
>
> I`m using Ubuntu x64 12.04 LTS and followed this guide:
>
> http://www.mesa3d.org/vmware-guest.html
>
> And did some updates like:
>
> --libdir=/usr/lib64 To libdir=/lib64
>
> Downloaded missing packages after see some erros, like:
>
> sudo apt-get install libxatracker1 libxatracker-dev

What errors?


>
> Then restarted my system and VMware workstation 10 still saying I 
> can't get the 3D features.
>
> Would be possible get an updated guide step by step how to setup the 
> VMware 3D features please?

The instructions on the website are pretty much up to date.  However, on
some distros like Ubuntu have the libGL/DRI/Mesa files in places that don't
get updated when you do a 'make install'.  I've  had the most success by
installing everything into /usr/lib/ and then rm'ing all the previously
install libGL/DRI/mesa files.


>
> My glxinfo output:
>
> name of display: :0.0
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 30
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 30
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 55
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 56
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 59
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 58
> nvfx_screen_get_param:95 -  Warning: unknown PIPE_CAP 30
> display: :0  screen: 0
> direct rendering: Yes
> server glx vendor string: SGI
> server glx version string: 1.4
> server glx extensions:
>      GLX_ARB_multisample, GLX_EXT_import_context, 
> GLX_EXT_texture_from_pixmap,
>      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
>      GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
>      GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
>      GLX_INTEL_swap_event
> client glx vendor string: Mesa Project and SGI client glx version 
> string: 1.4 client glx extensions:
>      GLX_ARB_create_context, GLX_ARB_create_context_profile,
>      GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context,
>      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
>      GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
>      GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
>      GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
>      GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
>      GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
>      GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event GLX version: 
> 1.4 GLX extensions:
>      GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context,
>      GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
>      GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
>      GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
>      GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
>      GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
>      GLX_EXT_texture_from_pixmap
> OpenGL vendor string: nouveau
> OpenGL renderer string: Gallium 0.4 on NV49

Is this on the host-side?  I don't think you'd ever see this in the guest.


> OpenGL version string: 2.1 Mesa 8.0.4
> OpenGL shading language version string: 1.20 OpenGL extensions:
>      GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
>      GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
>      GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,
>      GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,
>      GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,
>      GL_EXT_draw_range_elements, GL_EXT_packed_pixels, 
> GL_EXT_point_parameters,
>      GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
>      GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,
>      GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
>      GL_SGIS_texture_lod, GL_ARB_multitexture, 
> GL_IBM_multimode_draw_arrays,
>      GL_IBM_texture_mirrored_repeat, GL_ARB_texture_cube_map,
>      GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
>      GL_EXT_blend_func_separate, GL_EXT_fog_coord, 
> GL_EXT_multi_draw_arrays,
>      GL_EXT_secondary_color, GL_EXT_texture_env_add,
>      GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
>      GL_INGR_blend_func_separate, GL_NV_blend_square, 
> GL_NV_light_max_exponent,
>      GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
>      GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
>      GL_ARB_texture_compression, GL_EXT_framebuffer_object,
>      GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
> GL_MESA_window_pos,
>      GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, 
> GL_ARB_depth_texture,
>      GL_ARB_occlusion_query, GL_ARB_shadow, GL_ARB_texture_env_combine,
>      GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
>      GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos,
>      GL_EXT_stencil_two_side, GL_EXT_texture_cube_map, GL_NV_fog_distance,
>      GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, 
> GL_ARB_draw_buffers,
>      GL_ARB_fragment_program, GL_ARB_fragment_shader, 
> GL_ARB_shader_objects,
>      GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
>      GL_ATI_texture_env_combine3, GL_EXT_shadow_funcs,
GL_EXT_stencil_wrap,
>      GL_MESA_pack_invert, GL_NV_primitive_restart,
>      GL_ARB_fragment_program_shadow, GL_ARB_half_float_pixel,
>      GL_ARB_occlusion_query2, GL_ARB_point_sprite, 
> GL_ARB_shading_language_100,
>      GL_ARB_sync, GL_ARB_texture_non_power_of_two, 
> GL_ARB_vertex_buffer_object,
>      GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
>      GL_OES_read_format, GL_ARB_pixel_buffer_object, 
> GL_ARB_texture_rectangle,
>      GL_EXT_pixel_buffer_object, GL_EXT_texture_mirror_clamp,
>      GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, 
> GL_ARB_framebuffer_object,
>      GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
>      GL_EXT_packed_depth_stencil, GL_ARB_vertex_array_object,
>      GL_ATI_separate_stencil, GL_ATI_texture_mirror_once,
>      GL_EXT_gpu_program_parameters, GL_EXT_texture_sRGB_decode,
>      GL_OES_EGL_image, GL_ARB_copy_buffer, GL_ARB_half_float_vertex,
>      GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
>      GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
>      GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
>      GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
>      GL_ARB_fragment_coord_conventions, GL_ARB_provoking_vertex,
>      GL_ARB_sampler_objects, GL_EXT_provoking_vertex, GL_ARB_robustness,
>      GL_ARB_texture_storage
>
> Before the reboot my dmesg was saying vmwgfx was enabled (but VMware 
> Workstation dind`t enabld 3D suport).
> After reboot i can`t found the vmwgfx on output.

You mean you don't see vmwgfx in the output of 'lsmod'?  If that's the case,
what happens when you run 'sudo modprobe vmwgfx'?

>
> Mine 00-vmwgfx.rules output:
>
> SUBSYSTEM=="vmwgfx",                            GROUP="video"
> KERNEL=="controlD[0-9]*", SUBSYSTEM=="vmwgfx",  NAME="dri/%k", MODE="0666"
> KERNEL=="card[0-9]*", SUBSYSTEM=="vmwgfx",      NAME="dri/%k",
> ENV{ACL_MANAGE}=$
>
> Thanks in advice.
> Alexandre

-Brian




------------------------------

Message: 2
Date: Tue, 4 Mar 2014 21:45:06 -0300
From: D?niel Fraga <fragabr at gmail.com>
To: mesa-users at lists.freedesktop.org
Subject: [Mesa-users] Mesa latest git compilation issue:
	mtypes.h:3842:4: error: unknown type name 'GLDEBUGPROC'
Message-ID: <lf5s23$ddj$1 at ger.gmane.org>
Content-Type: text/plain; charset=US-ASCII

	I'm trying to compile the latest Mesa git
(5f23a2d9c2df7e7b860246be37b495e7fbea76ca) and I get these errors:

make[6]: Entering directory
'/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri/common'
  CC       utils.lo
In file included from ../../../../../src/mesa/main/errors.h:47:0,
                 from ../../../../../src/mesa/main/imports.h:41,
                 from ../../../../../src/mesa/main/macros.h:34,
                 from utils.c:35:
../../../../../src/mesa/main/mtypes.h:3842:4: error: unknown type name
'GLDEBUGPROC'
    GLDEBUGPROC Callback;
    ^
In file included from ../../../../../src/mesa/main/imports.h:41:0,
                 from ../../../../../src/mesa/main/macros.h:34,
                 from utils.c:35:
../../../../../src/mesa/main/errors.h:121:28: error: unknown type name
'GLDEBUGPROC'
 _mesa_DebugMessageCallback(GLDEBUGPROC callback,
                            ^
In file included from utils.c:40:0:
dri_util.h:183:9: error: unknown type name '__DRIimageLoaderExtension'
         __DRIimageLoaderExtension *loader;
         ^
dri_util.h:298:1: error: unknown type name '__DRIimageDriverExtension'
 extern const __DRIimageDriverExtension driImageDriverExtension;  ^
utils.c: In function 'driQueryRendererIntegerCommon':
utils.c:501:9: error: '__DRI2_RENDERER_VERSION' undeclared (first use in
this function)
    case __DRI2_RENDERER_VERSION: {
         ^
utils.c:501:9: note: each undeclared identifier is reported only once for
each function it appears in
utils.c:523:9: error: '__DRI2_RENDERER_OPENGL_CORE_PROFILE_VERSION'
undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_CORE_PROFILE_VERSION:
         ^
utils.c:527:9: error: '__DRI2_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION'
undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION:
         ^
utils.c:531:9: error: '__DRI2_RENDERER_OPENGL_ES_PROFILE_VERSION' undeclared
(first use in this function)
    case __DRI2_RENDERER_OPENGL_ES_PROFILE_VERSION:
         ^
utils.c:535:9: error: '__DRI2_RENDERER_OPENGL_ES2_PROFILE_VERSION'
undeclared (first use in this function)
    case __DRI2_RENDERER_OPENGL_ES2_PROFILE_VERSION:
         ^
Makefile:670: recipe for target 'utils.lo' failed
make[6]: *** [utils.lo] Error 1
make[6]: Leaving directory
'/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri/common'
Makefile:717: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
'/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri/common'
Makefile:729: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
'/usr/local/src/git/modular/x/mesa/mesa/src/mesa/drivers/dri'
Makefile:3936: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa'
Makefile:1402: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src/mesa'
Makefile:540: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/git/modular/x/mesa/mesa/src'
Makefile:591: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

	*********************************************

	Any hints? Thanks.

--
Linux 3.12.13: Shuffling Zombie Juror
http://www.youtube.com/DanielFragaBR
http://mcxnow.com?r=danielfragabr
Bitcoin: 12H6661yoLDUZaYPdah6urZS5WiXwTAUgL




------------------------------

_______________________________________________
mesa-users mailing list
mesa-users at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-users


End of mesa-users Digest, Vol 48, Issue 2
*****************************************



More information about the mesa-users mailing list