Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

VMware Workstation and 3D acceleration Optimus Laptop

$
0
0

Hi there I followed step by step the guide below to enable 3D acceleration on my Optimus Laptop but I got this error when I run it in a Terminal, the VMware workstartion start and I got no messages about 3D acceleration disabled but I think that doesn't wo

 

---------Error I got while I run VMware------------------

 

Z ~ $ sudo vmware
[sudo] password for alex:
Logging to /tmp/vmware-root/vmware-modconfig-20395.log
filename:       /lib/modules/3.5.0-17-generic/misc/vmmon.ko
supported:      external
license:        GPL v2
description:    VMware Virtual Machine Monitor.
author:         VMware, Inc.
srcversion:     9342145FB4C112347AF67BE
depends:       
vermagic:       3.5.0-17-generic SMP mod_unload modversions
Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display "unix:0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".

 

--------------------My Specs--------------------------

 

~ $ inxi -Gx
Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107 [GeForce GT 650M] bus-ID: 01:00.0
           X.Org: 1.13.0 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@59.9hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 9.0 Direct Rendering: Yes
~ $ inxi
CPU~Quad core Intel Core i7-3610QM CPU (-HT-MCP-) clocked at 1200.000 Mhz Kernel~3.5.0-17-generic x86_64 Up~2:30 Mem~1007.4/7872.0MB HDD~750.2GB(39.1% used) Procs~223 Client~Shell inxi~1.8.4 

 

----------------------------------THE GUIDE----------------------------------------------

 

Ok, here's the guide to get vmware workstation working with nvidia acceleration.

 

 

 

ASSUMING: vmware workstation 9.0.1 or 8.0.5, ubuntu 12.10, optimus, working bumblebee config, x86_64 os.

 

 

 

If you don't have bumblebee set up yet, there are numerous tutorials to help you. Follow them.

 

 

 

1.  sudo apt-add-repository ppa:zhurikhin/primus

 

2. sudo apt-get update; sudo apt-get install primus primus-libs primus-libs:i386

 

3. Check that primus works. Try primusrun glxspheres.

 

 

 

4. If you don't have vmware installed, install it now.

 

5. sudo chmod a+s /usr/lib/x86_64-linux-gnu/primus/libGL.so.1

 

6. sudo ln -s /usr/lib/nvidia-current/tls/libnvidia-tls.so.304.43 /usr/lib/x86_64-linux-gnu/
sudo ln -s /usr/lib/nvidia-current/libnvidia-glcore.so.304.43 /usr/lib/x86_64-linux-gnu/

 

{{ for me was ..304.64 as below
6. sudo ln -s /usr/lib/nvidia-current/tls/libnvidia-tls.so.304.64 /usr/lib/x86_64-linux-gnu/
sudo ln -s /usr/lib/nvidia-current/libnvidia-glcore.so.304.64 /usr/lib/x86_64-linux-gnu/
}}

 

sudo ldconfig

 

 

 

7. sudo /etc/init.d/vmware stop

 

sudo mv /usr/lib/vmware/bin/vmware-vmx /usr/lib/vmware/bin/vmware-vmx.real
8. sudo gedit /usr/lib/vmware/bin/vmware-vmx
(paste in the following)

 

#!/bin/bash
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/primus/libGL.so.1 exec primusrun /usr/lib/vmware/bin/vmware-vmx.real "$@"
9. sudo chmod u+s,a+x /usr/lib/vmware/bin/vmware-vmx
sudo /etc/init.d/vmware start
10. Run vmware, AS ROOT (sudo vmware)
11. Enjoy 3d acceleration.
So far, no crashes, decent performance.  Of course it's nowhere near an ideal solution, but it's the best I've been able to come up with at this point, and I'm really, really happy to have hardware acceleration.


Viewing all articles
Browse latest Browse all 193198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>