VMware Communities
Marshybob
Contributor
Contributor
Jump to solution

vmware-tools.service failed because the control process exited with error code + poweron script failed message

Hi,

I did a physical to virtual of my Linux Ubuntu 17.04 and have come across a couple of stumbling blocks

which I hope you very bright people out there can help problem solve.  I'm using workstation 12 player latest.

First off was the Vmware tools wouldn't install properly and gave a message - "  systemctl status vmware tools service and journalctl -xe unable to start services vmware-tools.service failed because the control process exited with error code"

I tried to - sudo apt-get install open-vm-tools-desktop -y

Which seems to install but on reboot the desktop window only scales a tiny bit in a 4:3 ratio, and now I also get a error message  "poweron script failed"

Kinda new to Vmware,  did some googling but info is a bit scant when it come to my situation.. Don't know what to do really?

Please help kind people if you can.

Many thanks!

1 Solution

Accepted Solutions
Marshybob
Contributor
Contributor
Jump to solution

So, for the benefit of all those who do a P 2 V conversion and get stuck with the wrong graphics driver like I did. I found the solution.

My Linux started out life 16.04 and was upgraded to 17.04 and that might be the reason why it was having trouble installing the mesa drivers.

My Linux headers where 4.9.0 and I noticed that the current headers for 17.04 go up to 4.11.  but mine wouldn't upgrade any further. So I decided

to manually upgrade to 4.10 from below

http://kernel.ubuntu.com/~kernel-ppa/mainline/

Downlaoded

linux-headers-4.10.0-041000_4.10.0-041000.201702191831_all.deb

linux-headers-4.10.0-041000-generic_4.10.0-041000.201702191831_amd64.deb

linux-image-4.10.0-041000-generic_4.10.0-041000.201702191831_amd64.deb

cd Downloads
sudo dpkg -i *.deb

Installed and rebooted. I cleaned out the system of all and any lingering old kernels using ubuntu tweak.

Went back to the last part of the mesa install firstly running command-

export TOP=$PWD

then.

cd $TOP/vmwgfx

  make

  sudo make install

  sudo cp 00-vmwgfx.rules /etc/udev/rules.d

  sudo depmod -ae

It complained about ssl problems and the last 2 commands didn't look like they worked but I did

sudo update-initramfs -u -k all

Rebooted and BINGO! we're on Gallium 0.4 on SVGA3D; build: RELEASE;

And it all works. Smiley Happy

Thanks for all the help! Vmware is the best!

View solution in original post

12 Replies
Marshybob
Contributor
Contributor
Jump to solution

Ok, after some digging it looks like my display driver might be the issue. I installed a fresh Ubuntu 17.04 to a VM

and it's display is reporting Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;

Where as the Physical to Virtual,  it's reporting Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits)

So I need to change to Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;

I found this link below which explains how to do it..

VMware guest GL driver

I'm not sure if all this is necessary tho?..

Anybody?

Reply
0 Kudos
wila
Immortal
Immortal
Jump to solution

Hi,

The steps on the mesa/gallium page are only needed if you really want to insist on running bleeding edge drivers.

Normally you would not want to go that far.

What I would do in your case is uninstall the open vmware tools.

  sudo apt-get purge open-vm-tools

  sudo apt-get purge open-vm-tools-desktop

and then instead install the VMware Tools that come with Player.

From the menu select "install VMware Tools" under the manage option.


That will present a virtual CD rom to your guest, which you can then mount from within linux.

Copy the tar.gz file with the tools, unpack it and run ./vmware-install-config.pl

If there's  a question about it suggesting to use open-vm-tools instead, then override that so you can install this version.

Your guest needs to have the kernel headers for your current kernel and the default build tools installed.

eg.

  sudo apt-get install build-essential

  sudo apt-get install kernel-headers

(this is all typed from memory, so hopefully no typos, otherwise.. adjust as needed)

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

Hi Wil,

Thanks for chiming in!

"install the VMware Tools that come with Player."

I tried that first and that's what fails with "vmware-tools.service failed because the control process exited with error code"

"sudo apt-get install build-essential"

gives me -

build-essential is already the newest version (12.1ubuntu2).

0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

"sudo apt-get install kernel-headers"

gives me - E: Unable to locate package kernel-headers

Starting to look like a can of worms..

Reply
0 Kudos
wila
Immortal
Immortal
Jump to solution

Hi,

Ah, my bad, I mixed up my linux variants, in ubuntu/debian it is called slightly different.

sudo apt-get install linux-headers-`uname -r`

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

That's ok!

The output of  "sudo apt-get install linux-headers-`uname -r`"

Gives me -

linux-headers-4.9.0-040900rc1-generic is already the newest version (4.9.0-040900rc1.201610151630).

0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.

What about just getting the graphics driver to the right one, or is that part of vmware-tools?

Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

Ok so, after doinf these comands -

sudo apt-get install git-core

  sudo apt-get install automake libtool libpthread-stubs0-dev

  sudo apt-get install xserver-xorg-dev x11proto-xinerama-dev libx11-xcb-dev

  sudo apt-get install libxcb-glx0-dev libxrender-dev

  sudo apt-get build-dep libgl1-mesa-dri libxcb-glx0-dev

Most I had save for the first and last one. I uninstalled the vmware-tools

sudo apt-get purge open-vm-tools

rebooted and installed the vmware-tools that come with the player via

./vmware-install-config.pl  after extracting the vmware-tools-distrib to my desktop from the CD drive, and hey presto it

installed without errors. However, on reboot my graphic driver is still  Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits)

If only there was some nice and simple way to install Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; I think that would solve the desktop scaling issue.

If there are any geniuses out there who can crack this they will be legends forever more.

Reply
0 Kudos
wila
Immortal
Immortal
Jump to solution

Hi,

Sorry have not been home today (the King's birthday here in Holland)

All the mesa stuff really should not be needed to run, perhaps automake or libtool was still something that was missing from the install to have vmware-tools complete without errors.

Being able to run that part without errors is at least a good start.

Anyways..

What I would do in your case is to compare the output of lsmod on the VM that works OK vs. the output of the lsmod on the physical to virtual.

Also make sure that the virtual hardware on your P2V is also set to the latest version (virtual hardware)

If you compare the output of lsmod (sudo lsmod) and the missing part looks like the graphics driver then try inserting the kernel module via insmod

eg.

  sudo insmod vmwgfx

(not sure if it is the vmwgfx module that is missing, but it is one of the modules needed for vmware 3D support)

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

I hope the King is well and he enjoyed his birthday. Smiley Happy

I tried sudo insmod vmwgfx but got back - ERROR: could not load module vmwgfx: No such file or directory

So I decided to follow the mesa guide to install from git - all seemed to go fine with the install except when I

sudo modprobe vmwgfx  it returns with modprobe: ERROR: could not insert 'vmwgfx': Unknown symbol in module, or unknown parameter (see dmesg)

Looked at dmesg no mention vmwgfx?

However the display driver is now reporting as Software Rasterizer. And is running very slow.

Perhaps a step closer?

Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

Command - glxinfo

gives me

name of display: :1

display: :1  screen: 0

direct rendering: Yes

server glx vendor string: SGI

server glx version string: 1.4

server glx extensions:

    GLX_ARB_create_context, GLX_ARB_create_context_profile,

    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,

    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,

    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,

    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,

    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,

    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,

    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read

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_create_context_robustness, GLX_ARB_fbconfig_float,

    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,

    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,

    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,

    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,

    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,

    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,

    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,

    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,

    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,

    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,

    GLX_SGI_swap_control, GLX_SGI_video_sync

GLX version: 1.4

GLX extensions:

    GLX_ARB_create_context, GLX_ARB_create_context_profile,

    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,

    GLX_ARB_get_proc_address, GLX_ARB_multisample,

    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,

    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,

    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,

    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,

    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,

    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,

    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read

Extended renderer info (GLX_MESA_query_renderer):

    Vendor: Mesa Project (0xffffffff)

    Device: Software Rasterizer (0xffffffff)

    Version: 17.2.0

    Accelerated: no

    Video memory: 1982MB

    Unified memory: no

    Preferred profile: compat (0x2)

    Max core profile version: 0.0

    Max compat profile version: 2.1

    Max GLES1 profile version: 1.1

    Max GLES[23] profile version: 2.0

OpenGL vendor string: Mesa Project

OpenGL renderer string: Software Rasterizer

OpenGL version string: 2.1 Mesa 17.2.0-devel (git-9d346af322)

OpenGL shading language version string: 1.20

OpenGL extensions:

    GL_3DFX_texture_compression_FXT1, GL_AMD_shader_trinary_minmax,

    GL_APPLE_object_purgeable, GL_APPLE_packed_pixels,

    GL_ARB_clear_buffer_object, GL_ARB_compressed_texture_pixel_storage,

    GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_clamp,

    GL_ARB_depth_texture, GL_ARB_draw_buffers,

    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,

    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,

    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,

    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,

    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image,

    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,

    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment,

    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multisample,

    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2,

    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,

    GL_ARB_program_interface_query, GL_ARB_provoking_vertex,

    GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_separate_shader_objects,

    GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,

    GL_ARB_sync, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,

    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc,

    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_mirror_clamp_to_edge,

    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,

    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_storage,

    GL_ARB_texture_swizzle, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra,

    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding,

    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,

    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers,

    GL_ATI_fragment_shader, GL_ATI_separate_stencil,

    GL_ATI_texture_compression_3dc, GL_ATI_texture_env_combine3,

    GL_ATI_texture_mirror_once, 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_compiled_vertex_array,

    GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_draw_buffers2,

    GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord,

    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object,

    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays,

    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,

    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,

    GL_EXT_polygon_offset, GL_EXT_provoking_vertex, 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_array, GL_EXT_texture_compression_latc,

    GL_EXT_texture_compression_rgtc, GL_EXT_texture_cube_map,

    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_texture_sRGB, GL_EXT_texture_sRGB_decode,

    GL_EXT_texture_shared_exponent, GL_EXT_texture_swizzle,

    GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,

    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,

    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,

    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,

    GL_MESA_pack_invert, GL_MESA_window_pos, GL_MESA_ycbcr_texture,

    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,

    GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, GL_NV_point_sprite,

    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,

    GL_NV_texture_rectangle, GL_OES_read_format, GL_SGIS_generate_mipmap,

    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,

    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 17.2.0-devel (git-9d346af322)

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

OpenGL ES profile extensions:

    GL_APPLE_texture_max_level, GL_EXT_blend_minmax,

    GL_EXT_discard_framebuffer, GL_EXT_draw_buffers,

    GL_EXT_draw_elements_base_vertex, GL_EXT_frag_depth,

    GL_EXT_map_buffer_range, GL_EXT_multi_draw_arrays,

    GL_EXT_read_format_bgra, GL_EXT_separate_shader_objects,

    GL_EXT_texture_border_clamp, GL_EXT_texture_filter_anisotropic,

    GL_EXT_texture_format_BGRA8888, GL_EXT_texture_rg,

    GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage,

    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,

    GL_NV_draw_buffers, GL_NV_fbo_color_attachments, GL_NV_read_buffer,

    GL_NV_read_depth, GL_NV_read_depth_stencil, GL_NV_read_stencil,

    GL_OES_EGL_sync, GL_OES_depth24, GL_OES_depth_texture,

    GL_OES_draw_elements_base_vertex, GL_OES_element_index_uint,

    GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,

    GL_OES_packed_depth_stencil, GL_OES_rgb8_rgba8,

    GL_OES_standard_derivatives, GL_OES_stencil8, GL_OES_surfaceless_context,

    GL_OES_texture_3D, GL_OES_texture_border_clamp, GL_OES_texture_npot,

    GL_OES_vertex_array_object, GL_OES_vertex_half_float

64 GLX Visuals

    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav

  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat

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

0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x0a3 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x0a4 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x0a5 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x0a6 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x0a7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x0a8 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x0a9 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x0aa 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x0ab 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x0ac 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x0ad 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x0ae 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x0af 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x0b0 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x0b1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x0b2 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x0b3 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x0b4 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x0b5 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x0b6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x0b7 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x0b8 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x0b9 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x0ba 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x0bb 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x0bc 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x0bd 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x0be 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x0bf 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x0c0 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x0c1 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x0c2 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x0c3 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x0c4 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x0c5 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x0c6 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x0c7 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x0c8 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x0c9 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x0ca 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x0cb 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x0cc 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x0cd 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x0ce 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x0cf 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x0d0 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x0d1 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x0d2 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x0d3 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x0d4 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x0d5 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x0d6 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x0d7 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x0d8 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x0d9 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x0da 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x0db 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x0dc 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x0dd 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x0de 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x0df 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x0e0 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x042 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

96 GLXFBConfigs:

    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav

  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat

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

0x043  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None

0x044  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x045  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None

0x046  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x047  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  8  0  0  0  0  0 0 None

0x048  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x049  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  8  0  0  0  0  0 0 None

0x04a  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x04b  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None

0x04c  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow

0x04d  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None

0x04e  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow

0x04f  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  8  0  0  0  0  0 0 None

0x050  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  8 16 16 16  0  0 0 Slow

0x051  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  8  0  0  0  0  0 0 None

0x052  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  8 16 16 16  0  0 0 Slow

0x053 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x054 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x055 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x056 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x057 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x058 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x059 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x05a 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x05b 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x05c 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x05d 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x05e 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x05f 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x060 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x061 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x062 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x063 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x064 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x065 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x066 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x067 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x068 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x069 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x06a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x06b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x06c 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x06d 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x06e 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x06f 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x070 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x071 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x072 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x073  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None

0x074  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x075  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None

0x076  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x077  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  8  0  0  0  0  0 0 None

0x078  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x079  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  8  0  0  0  0  0 0 None

0x07a  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x07b  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None

0x07c  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow

0x07d  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None

0x07e  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow

0x07f  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  8  0  0  0  0  0 0 None

0x080  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  8 16 16 16  0  0 0 Slow

0x081  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  8  0  0  0  0  0 0 None

0x082  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  8 16 16 16  0  0 0 Slow

0x083 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x084 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x085 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None

0x086 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0 16 16 16  0  0 0 Slow

0x087 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x088 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x089 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8  0  0  0  0  0 0 None

0x08a 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  8 16 16 16  0  0 0 Slow

0x08b 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x08c 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x08d 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0  0  0  0  0  0 0 None

0x08e 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  0 16 16 16  0  0 0 Slow

0x08f 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x090 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x091 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None

0x092 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow

0x093 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x094 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x095 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None

0x096 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0 16 16 16 16  0 0 Slow

0x097 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x098 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x099 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8  0  0  0  0  0 0 None

0x09a 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  8 16 16 16 16  0 0 Slow

0x09b 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x09c 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x09d 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0  0  0  0  0  0 0 None

0x09e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  0 16 16 16 16  0 0 Slow

0x09f 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x0a0 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

0x0a1 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

0x0a2 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

So after reinstalling the the P to V I thought I'd try the mesa instructions again -

This time I got as far as -

cd $TOP/vmwgfx

  make

  sudo make install

  sudo cp 00-vmwgfx.rules /etc/udev/rules.d

  sudo depmod -ae

But gave me errors -

cd $TOP/vmwgfx

ubun@ubun-desktop:~/vmwgfx$   make

make -C /lib/modules/4.9.0-040900rc1-generic/build  KCPPFLAGS="-DVMWGFX_STANDALONE -DTTM_STANDALONE" SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules

make[1]: Entering directory '/usr/src/linux-headers-4.9.0-040900rc1-generic'

  CC [M]  /home/ubun/vmwgfx/ww_mutex.o

  CC [M]  /home/ubun/vmwgfx/dma-fence.o

  CC [M]  /home/ubun/vmwgfx/reservation.o

  CC [M]  /home/ubun/vmwgfx/drm_auth.o

  CC [M]  /home/ubun/vmwgfx/drm_bufs.o

  CC [M]  /home/ubun/vmwgfx/drm_context.o

  CC [M]  /home/ubun/vmwgfx/drm_crtc.o

  CC [M]  /home/ubun/vmwgfx/drm_drv.o

  CC [M]  /home/ubun/vmwgfx/drm_fops.o

  CC [M]  /home/ubun/vmwgfx/drm_ioctl.o

  CC [M]  /home/ubun/vmwgfx/drm_irq.o

  CC [M]  /home/ubun/vmwgfx/drm_modes.o

/home/ubun/vmwgfx/drm_modes.c: In function ‘drm_display_mode_from_videomode’:

/home/ubun/vmwgfx/drm_modes.c:591:22: error: dereferencing pointer to incomplete type ‘const struct videomode’

  dmode->hdisplay = vm->hactive;

                      ^~

/home/ubun/vmwgfx/drm_modes.c:604:18: error: ‘DISPLAY_FLAGS_HSYNC_HIGH’ undeclared (first use in this function)

  if (vm->flags & DISPLAY_FLAGS_HSYNC_HIGH)

                  ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:604:18: note: each undeclared identifier is reported only once for each function it appears in

/home/ubun/vmwgfx/drm_modes.c:606:23: error: ‘DISPLAY_FLAGS_HSYNC_LOW’ undeclared (first use in this function)

  else if (vm->flags & DISPLAY_FLAGS_HSYNC_LOW)

                       ^~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:608:18: error: ‘DISPLAY_FLAGS_VSYNC_HIGH’ undeclared (first use in this function)

  if (vm->flags & DISPLAY_FLAGS_VSYNC_HIGH)

                  ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:610:23: error: ‘DISPLAY_FLAGS_VSYNC_LOW’ undeclared (first use in this function)

  else if (vm->flags & DISPLAY_FLAGS_VSYNC_LOW)

                       ^~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:612:18: error: ‘DISPLAY_FLAGS_INTERLACED’ undeclared (first use in this function)

  if (vm->flags & DISPLAY_FLAGS_INTERLACED)

                  ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:614:18: error: ‘DISPLAY_FLAGS_DOUBLESCAN’ undeclared (first use in this function)

  if (vm->flags & DISPLAY_FLAGS_DOUBLESCAN)

                  ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:616:18: error: ‘DISPLAY_FLAGS_DOUBLECLK’ undeclared (first use in this function)

  if (vm->flags & DISPLAY_FLAGS_DOUBLECLK)

                  ^~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c: In function ‘drm_display_mode_to_videomode’:

/home/ubun/vmwgfx/drm_modes.c:632:4: error: dereferencing pointer to incomplete type ‘struct videomode’

  vm->hactive = dmode->hdisplay;

    ^~

/home/ubun/vmwgfx/drm_modes.c:646:16: error: ‘DISPLAY_FLAGS_HSYNC_HIGH’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_HSYNC_HIGH;

                ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:648:16: error: ‘DISPLAY_FLAGS_HSYNC_LOW’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_HSYNC_LOW;

                ^~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:650:16: error: ‘DISPLAY_FLAGS_VSYNC_HIGH’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_VSYNC_HIGH;

                ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:652:16: error: ‘DISPLAY_FLAGS_VSYNC_LOW’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_VSYNC_LOW;

                ^~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:654:16: error: ‘DISPLAY_FLAGS_INTERLACED’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_INTERLACED;

                ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:656:16: error: ‘DISPLAY_FLAGS_DOUBLESCAN’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_DOUBLESCAN;

                ^~~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:658:16: error: ‘DISPLAY_FLAGS_DOUBLECLK’ undeclared (first use in this function)

   vm->flags |= DISPLAY_FLAGS_DOUBLECLK;

                ^~~~~~~~~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c: In function ‘of_get_drm_display_mode’:

/home/ubun/vmwgfx/drm_modes.c:679:19: error: storage size of ‘vm’ isn’t known

  struct videomode vm;

                   ^~

/home/ubun/vmwgfx/drm_modes.c:682:8: error: implicit declaration of function ‘of_get_videomode’ [-Werror=implicit-function-declaration]

  ret = of_get_videomode(np, &vm, index);

        ^~~~~~~~~~~~~~~~

/home/ubun/vmwgfx/drm_modes.c:679:19: warning: unused variable ‘vm’ [-Wunused-variable]

  struct videomode vm;

                   ^~

cc1: some warnings being treated as errors

scripts/Makefile.build:290: recipe for target '/home/ubun/vmwgfx/drm_modes.o' failed

make[2]: *** [/home/ubun/vmwgfx/drm_modes.o] Error 1

Makefile:1488: recipe for target '_module_/home/ubun/vmwgfx' failed

make[1]: *** [_module_/home/ubun/vmwgfx] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-040900rc1-generic'

Makefile:140: recipe for target 'modules' failed

make: *** [modules] Error 2

ubun@ubun-desktop:~/vmwgfx$   sudo make install

make -C /lib/modules/4.9.0-040900rc1-generic/build  KCPPFLAGS="-DVMWGFX_STANDALONE -DTTM_STANDALONE" SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules_install

make[1]: Entering directory '/usr/src/linux-headers-4.9.0-040900rc1-generic'

  DEPMOD  4.9.0-040900rc1-generic

make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-040900rc1-generic'

ubun@ubun-desktop:~/vmwgfx$   sudo cp 00-vmwgfx.rules /etc/udev/rules.d

cp: cannot stat '00-vmwgfx.rules': No such file or directory

ubun@ubun-desktop:~/vmwgfx$   sudo depmod -ae

depmod: WARNING: -e needs -E or -F

ubun@ubun-desktop:~/vmwgfx$

Output of -

find /lib/modules -name vmwgfx.ko -exec ls -l '{}' \;

Gives-

-rw-r--r-- 1 root root 412326 Oct 15  2016 /lib/modules/4.9.0-040900rc1-generic/kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko

Graphics is back to Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits)

Reply
0 Kudos
Marshybob
Contributor
Contributor
Jump to solution

So, for the benefit of all those who do a P 2 V conversion and get stuck with the wrong graphics driver like I did. I found the solution.

My Linux started out life 16.04 and was upgraded to 17.04 and that might be the reason why it was having trouble installing the mesa drivers.

My Linux headers where 4.9.0 and I noticed that the current headers for 17.04 go up to 4.11.  but mine wouldn't upgrade any further. So I decided

to manually upgrade to 4.10 from below

http://kernel.ubuntu.com/~kernel-ppa/mainline/

Downlaoded

linux-headers-4.10.0-041000_4.10.0-041000.201702191831_all.deb

linux-headers-4.10.0-041000-generic_4.10.0-041000.201702191831_amd64.deb

linux-image-4.10.0-041000-generic_4.10.0-041000.201702191831_amd64.deb

cd Downloads
sudo dpkg -i *.deb

Installed and rebooted. I cleaned out the system of all and any lingering old kernels using ubuntu tweak.

Went back to the last part of the mesa install firstly running command-

export TOP=$PWD

then.

cd $TOP/vmwgfx

  make

  sudo make install

  sudo cp 00-vmwgfx.rules /etc/udev/rules.d

  sudo depmod -ae

It complained about ssl problems and the last 2 commands didn't look like they worked but I did

sudo update-initramfs -u -k all

Rebooted and BINGO! we're on Gallium 0.4 on SVGA3D; build: RELEASE;

And it all works. Smiley Happy

Thanks for all the help! Vmware is the best!

wila
Immortal
Immortal
Jump to solution

Hi,

That's some journey!

I would not have guessed that your kernel was still on an old kernel and yes a kernel module like vmwgfx is indeed very tightly coupled with the kernel.

Sorry I guess that installing a local copy would have shown me the difference in version numbers.

Note that for updating to a more recent kernel that you don't need to install a mainline kernel, but instead run:

sudo apt-get update

sudo apt-get dist-upgrade

That should normally get you on the latest kernel supported for your debian/ubuntu version.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos