VMware Communities
COREstorm
Contributor
Contributor

Workstation 9 - No 3D Acceleration to Guest - Ubuntu 12.04 Host - Nvidia Card

Ok, I've been going at this for some time.

Current Installation: Fresh install of Ubuntu 12.04

Video card: Nvidia Optimus GT540M

VMware: Workstation 9. (Unbuntu 12.04 is the HOST)

(Brief history: tried to get 3D support working under Workstation 8, using numerous nvidia drivers (every step you can find online), upgraded to Workstation 9 and retried all the steps. Reinstalled Ubuntu.);

Current status: Currently using Bumblebee. 3D WORKS on Ubuntu. I have glxinfo returning YES for 3D support and glxspheres working.

Since No nvidia drivers are installed, Vmware Workstation WILL NOT recognize the video card, and thus will not enable 3D support for the Windows 7 VM. - This is the problem we need to solve.

I have tried to uninstall Bumblebee and install Nvidia drivers and suffered from the 640x480 issue, with the Nvidia Settings not detecting a proper x configuration.

So the issue is currently: VMware will not recognize the video card properly since Bumblebee is installed. The 3D support will ONLY (so far) work using Bumblebee.

Let the delimma begin. This is currently a Vmware issue, although could quickly become another Ubuntu 12.04 issue if I have to go down the path of many drivers.

(Yes, I spent 9 hours trying to install every version of the Nvidia drivers everyone "suggested" with zero luck and many issues.)

112 Replies
LinuxReCon
Contributor
Contributor

Thanks a lot, this worked ... but only with the Intel HD. Smiley Sad

Aero is running fine while I'm useing vmware with the Intel HD, but even if I try to start WS8 with "optirun vmware" it is starting the VM itself without the NVidia card just the VMWare Workstation interface runs on the NVidia card. Also, if I try to start a application which needs a little bit more GPU power I can see that the performance is to bad in comparison with my older rig (this rig was running with a weaker NVidia card, but it was running well with VMWare Workstation and some 3D applications).

Also, I get the message "The GPU driver currently installed on this host may cause issues with VMware products. If you notice any issues please disable the 3D support in the affected virtual machines." even if I start with "optirun" (or without).

How can I go on here?

Reply
0 Kudos
rashm2k
Contributor
Contributor

TJet18 that method has been plastered all over the internet. It does not work with ws9 which is why this thread was started> We need a solution for ws9.

LinuxReCon when doing my own testing I discovered intel hd and nvidia don't work well in linux together on my openSUSE 12.2 distro (kernel 3.4). If you add nomodeset to the command line parameters of GRUB then the NVIDIA graphics SHOULD work but the Intel HD does not work. So you have two options SLOW host UI or SLOW guest UI with enabling/disabling nomodeset.

VMware does not seem to recognise optirun.

Reply
0 Kudos
EtherealRemnant
Contributor
Contributor

I'm having a similar issue with VMWare Player 5 and Workstation 9, however, I don't have Optimus just an HD3000 in my Inspiron N7110. It is extremely frustrating that VMWare won't address this, especially considering that 3D acceleration works with the slower and more hassle-prone VirtualBox 😕

Reply
0 Kudos
TJet18
Contributor
Contributor

Bump it up....need this fixed.

Smiley Happy

Reply
0 Kudos
dskinner
Contributor
Contributor

Same here.

Running Debian Wheezy with 3.5 kernel on a thinkpad x230, intel HD4000 graphics only on the system. I can get the windows 7 vm to boot with 3D acceleration, dxdiag shows `enabled` for directx, directdraw, etc but within a few minutes, the VM crashes with Unexpected signal: 11 and makes a reference to the vmware tools graphics driver.

I do not have aero enabled nor have I tried to enable it.

Even though I paid for workstation 9, it's disheartening that the only way to make an official request for support is to also purchase a support contract.

Reply
0 Kudos
AlanaA
Enthusiast
Enthusiast

You get 30 days of email support for Workstation 9. You just need to fill out the required information in your My VMware profile and register your license key.

I did that and I'm currently working with tech support to resolve this or file a bug report. So far they told me to clean install Ubuntu 12.04 which didn't help. Then they told me install the latest Intel graphics package (http://intellinuxgraphics.org/install.html) which also installed the 3.5 kernel. That broke Workstation since 3.5 isn't supported and now I get display corruption. As an FYI, I have an Intel HD 3000 only. I'm waiting on what the support person suggests next. Hopefully, it's finally filing some sort of bug report.

Everyone should file a support request if you're within the 30 day period. That's probably a better way for VMware to track this issue.

Reply
0 Kudos
dskinner
Contributor
Contributor

there's an (i guess) unofficial patch for the vmware kernel modules that makes them work with the 3.5 kernel (search around on the forums here if you really want to keep the 3.5 kernel for some reason, i have it out of necessitaty for hd4000 graphics). The patch itself is so minor, I'm surprised it wasn't just an update. I have multiple vm's across different OS's without issue on 3.5 kernel right now, aside from 3D graphics not working.

Reply
0 Kudos
ChandraSystem
Contributor
Contributor

I just fill out a Suport Request for this issue. I will recommend you all do the same. As AlanaA says: "Everyone should file a support request if you're within the 30 day  period. That's probably a better way for VMware to track this issue.".

This thread have about 2700 views. 2700 Suport Request could make them work on the problem (and them solve the problem, of course Smiley Happy).

Let's all communicate this problem to technical support! Mourn in this thread is useless.

Reply
0 Kudos
ChandraSystem
Contributor
Contributor

I had read somewhere that Workstation 9 3D acceleration work well by installing the latest Intel graphics package from the repository of Stefan Glasenhardt (https://launchpad.net/~glasen/+archive/intel-driver). But that does not work for me.

I spent the morning doing a fresh install:

And... the same error!: "Hardware graphics acceleration is not available" and "No 3D support is available from the host".

If that is the Support Request response... does not work (at least for me).

I'm losing too much time with this VMware Workstation 9 update ...

Reply
0 Kudos
ninjacoding
Contributor
Contributor

Updated my system, but still no luck.

kernel 3.5.3 (with the patch posted here on the forums)

nvidia drivers 304.48

bumblebee 3.0.1

optirun runs perfectly now

But this cursed vmware still insists on not working with: optirun vmware

F*CK!

If glxinfo and other applications (even cuda applications) see the nvidia card, why can't vmware do the same?!

Optimus technology is ever increasingly more present in laptops.

Is vmware ignoring this fact?

When will they fix this issue?

A shame I only have 6 more days of trial and I won't be able to try anything else.

And I'm not going to pay for a broken product, even more when they don't even provide support for Debian.

On the other hand, I would only be able to test it if vmware released a new version.

PLEASE fix this issue!

I want to be a customer.

Reply
0 Kudos
ninjacoding
Contributor
Contributor

I had read somewhere that Workstation 9 3D acceleration work well by installing the latest Intel graphics package from the repository of Stefan Glasenhardt (https://launchpad.net/~glasen/+archive/intel-driver). But that does not work for me.

Where have you read that?

Links please.

Did you edited your xorg.conf to enable SNA?

Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "sna"
EndSection
Reply
0 Kudos
ChandraSystem
Contributor
Contributor

Where have you read that?

Links please.

Here, but con't work for me (Ubuntu 12.04 + nVIDIA Optimus + Intel graphics card).

Did you edited your xorg.conf to enable SNA?

I have not done that. It's the first time I've heard. Where did you get it??? And... What is SNA? :smileyconfused:

If I have time, I'll try later.

Reply
0 Kudos
ChandraSystem
Contributor
Contributor

Did you edited your xorg.conf to enable SNA?

I'm sorry, I'm so stupid. I had not seen the SNA configuration in the Stefan Glasenhardt's web. I was so anxious to try it ... I have not seen the full page :smileysilly:

Reply
0 Kudos
ninjacoding
Contributor
Contributor

ChandraSystem wrote:

Did you edited your xorg.conf to enable SNA?

I'm sorry, I'm so stupid. I had not seen the SNA configuration in the Stefan Glasenhardt's web. I was so anxious to try it ... I have not seen the full page :smileysilly:

Well the guy at the link you posted does say he has Optimus too.

http://askubuntu.com/questions/181829/how-to-fix-3d-acceleration-for-vmware-workstation-9

Intel HD 3000 , Nvidia Optimus .... By the way it was working fine in windows 7

And it was the original poster that answered his own question!

And did you follow his instructions?

- uninstall vmware

- install new drivers

- sudo apt-get update && sudo apt-get upgrade -y

- reboot

- install vmware

Reply
0 Kudos
ninjacoding
Contributor
Contributor

No luck for me.

I'm using Debian, so I can't test what he did exactly.

But I installed the xserver-xorg-video-intel 2.20.5 driver (which is a bit older than the one the Stefan Glasenhardt has uploaded for ubuntu).

I enabled the SNA accel in xorg (and the log shows it worked).

I uninstalled vmware, rebooted and installed it again.

But the damn thing still crashed:

2012-10-01T11:48:10.681Z| svga| I120: GL-Backend: GLRendererStart GLManager is started to render 3d.
2012-10-01T11:48:10.681Z| svga| I120: Started Shim3D
2012-10-01T11:48:10.681Z| svga| I120: GL-Backend: successfully started by renderMux to do screen composition.
2012-10-01T11:48:11.029Z| svga| I120: GlMapTexAddress: GL_EXT_texture_mirror_clamp is not supported.
2012-10-01T11:48:11Z[+0.002]| svga| W110: Caught signal 11 -- tid 7031
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: eip 0x7fbe629e3cad esp 0x7fbe61e117a0 ebp 0x53
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: eax 0x541 ebx 0x7fbe4bf14f00 ecx 0x7fbe4b8fdd60 edx 0x53 esi 0x53 edi 0x7fbe4bf14f00
2012-10-01T11:48:11Z[+0.002]| svga| I120:         r8 0x53 r9 0x101010101010101 r10 0x0 r11 0x7fbe9c181632 r12 0x53 r13 0x53 r14 0x7fbe4ac384c0 r15 0x54
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E117A0 : 0x00000000 0x00000000 0x4bf14f00 0x00007fbe
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E117B0 : 0x000000f9 0x00000000 0x629e3d22 0x00007fbe
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E117C0 : 0x402d7450 0x00007fbe 0x00000054 0x00000000
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E117D0 : 0x61e12180 0x00007fbe 0x00000053 0x00000000
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E117E0 : 0x00000053 0x00000000 0x628dbb1e 0x00007fbe
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E117F0 : 0x00000001 0x00000080 0x00000000 0x00000000
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E11800 : 0x00000000 0x00000000 0x00000000 0x00000000
2012-10-01T11:48:11Z[+0.002]| svga| I120: SIGNAL: stack 7FBE61E11810 : 0x00000000 0x00000000 0x00000000 0x00000000
2012-10-01T11:48:11Z[+0.002]| svga| I120: Backtrace:
....

I have the options enabled:

mks.enable3d = TRUE
mks.gl.allowBlacklistedDrivers = TRUE

And I also get this on the log:

2012-10-01T11:45:43.732Z| vmx| I120: VMIOP: unable to find plugin "svga3d"

2012-10-01T11:45:43.858Z| mks| I120: GL-Backend: GLRendererStart GLManager is started to render 3d.
2012-10-01T11:45:43.858Z| mks| I120: Started Shim3D
2012-10-01T11:45:43.858Z| mks| I120: GL-Backend: successfully started by renderMux to do screen composition.
2012-10-01T11:45:43.858Z| mks| I120: GL-Backend: GLRendererStop GLManager stopped processing 3d.
2012-10-01T11:45:43.862Z| mks| I120: Stopped Shim3D
2012-10-01T11:45:43.862Z| mks| I120: GL-Backend: stopped by renderMux to do screen composition.

The guy at askubuntu says he has an HD3000.

And I have an HD4000.

So it would be strange for my card to have less capabilities than his own.

*sigh*

Why do you release broken products vmware?

Reply
0 Kudos
ChandraSystem
Contributor
Contributor

Well... I've edited my xorg.conf to enable SNA. Then I've uninstalled and reinstalled VMware Workstation 9.

It does not work. Again no support for 3D acceleration :smileycry::smileycry::smileycry:

I'm desperate.

Reply
0 Kudos
dskinner
Contributor
Contributor

I'd be more inclined to say vmware did not release a completely broken product, a lot of this hardware is bleeding edge (as far as linux is concerned) and I know they made some serious performance updates to the 3D side of things, but would be more satisfied if they listed hardware and driver versions they tested with.

If I created a support ticket and support asked me to reinstall my OS, I'd probably laugh and ask for the issue to be escalated. There's no reason for me to reinstall my OS.

Reply
0 Kudos
Xxx1983
Contributor
Contributor

How To Get 3D Acceleration on Ubuntu

Before Intalling Vmware Workstation 9

sudo apt-get install build-essential linux-headers-$(uname -r)

And add this PPA

https://launchpad.net/~glasen/+archive/intel-driver

Then

sudo apt-get update && sudo apt-get upgrade -y

Restart your PC & then Install Vmware Workstation 9

3D Acceleration has been tested on Solaris 11 & Windows XP

http://askubuntu.com/questions/181829/how-to-fix-3d-acceleration-for-vmware-workstation-9

Reply
0 Kudos
TJet18
Contributor
Contributor

Uhmm....just because the checkbox is checked doesn't mean 3D support is working on your guest vm.

Here is my Windows 7 Guest with 3D support...and 3D "not" being seen by the vm:

Do you have a Windows 7 Guest with Aero running, or even an Ubuntu Guest with Unity 3D???

Has anyone got this working yet?

Reply
0 Kudos
dskinner
Contributor
Contributor

Exactly. Being this is windows xp, at least show dxdiag listing direct3d as enabled and tell us it doesn't crash as soon as you do something 3d related.

I tried using the latest intel driver (2.20) with AccelMethod sna (only available in 2.20), confirmed sna is used via the xorg log, but still get the same crash.

Reply
0 Kudos