Jump to content

VMware SVGA II display driver for OS X, v1.2.5


308 posts in this topic

Recommended Posts

I can only think this is your guestOS setting in your VMX file, not being set to "darwin11" or "darwin11-64".

 

thanks for your fast reply

 

SCREENSHOT (error)

 

post-919047-1321284507_thumb.png

 

this is my configuration:

 

and the parameter is set to "darwin10-64"

 

After I installed the darwin tools (before the first post) it was possible to change the resolution. but not possible to install display driver. :(

 

 

.encoding = "UTF-8"

config.version = "8"

virtualHW.version = "7"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

scsi1.present = "TRUE"

scsi1.virtualDev = "lsilogic"

memsize = "4096"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Mac OS X Lion 10.7-000001.vmdk"

scsi1:0.present = "TRUE"

scsi1:0.autodetect = "TRUE"

scsi1:0.deviceType = "cdrom-image"

ethernet0.present = "TRUE"

ethernet0.connectionType = "nat"

ethernet0.virtualDev = "e1000"

ethernet0.wakeOnPcktRcv = "FALSE"

ethernet0.addressType = "generated"

ethernet0.linkStatePropagation.enable = "TRUE"

usb.present = "TRUE"

ehci.present = "TRUE"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

smc.present = "TRUE"

ich7m.present = "TRUE"

firmware = "efi"

roamingVM.exitBehavior = "go"

tools.syncTime = "TRUE"

displayName = "Mac OS X Lion 10.7"

guestOS = "darwin10-64"

nvram = "Mac OS X Lion 10.7.nvram"

virtualHW.productCompatibility = "hosted"

keyboardAndMouseProfile = "macProfile"

proxyApps.publishToHost = "FALSE"

tools.upgrade.policy = "upgradeAtPowerCycle"

powerType.powerOff = "soft"

powerType.powerOn = "soft"

powerType.suspend = "soft"

powerType.reset = "soft"

extendedConfigFile = "Mac OS X Lion 10.7.vmxf"

numvcpus = "2"

scsi1:0.fileName = "C:\Users\bklein\_etc\Darwin.iso"

ethernet0.generatedAddress = "00:0c:29:45:98:10"

uuid.location = "56 4d a8 2c e8 e6 2a c1-50 36 01 ef 8a 45 98 10"

uuid.bios = "56 4d a8 2c e8 e6 2a c1-50 36 01 ef 8a 45 98 10"

cleanShutdown = "TRUE"

replay.supported = "FALSE"

replay.filename = ""

scsi0:0.redo = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "16"

scsi1.pciSlotNumber = "32"

usb.pciSlotNumber = "33"

ethernet0.pciSlotNumber = "34"

ehci.pciSlotNumber = "35"

vmci0.pciSlotNumber = "36"

vmotion.checkpointFBSize = "134217728"

usb:1.present = "TRUE"

ethernet0.generatedAddressOffset = "0"

vmci0.id = "387192566"

tools.remindInstall = "FALSE"

usb:1.deviceType = "hub"

scsi1:0.startConnected = "FALSE"

usb:1.speed = "2"

checkpoint.vmState = ""

gui.lastPoweredViewMode = "fullscreen"

isolation.tools.hgfs.disable = "FALSE"

sharedFolder.maxNum = "1"

gui.viewModeAtPowerOn = "fullscreen"

sharedFolder0.present = "TRUE"

sharedFolder0.enabled = "TRUE"

sharedFolder0.readAccess = "TRUE"

sharedFolder0.writeAccess = "TRUE"

sharedFolder0.hostPath = "C:\Users\bklein\Downloads"

sharedFolder0.guestName = "Downloads (host)"

sharedFolder0.expiration = "never"

svga.autodetect = "TRUE"

svga.numDisplays = "2"

svga.maxWidth = "3200"

svga.maxHeight = "2400"

svga.vramSize = "134217728"

mks.enable3d = "TRUE"

floppy0.present = "FALSE"

usb:0.present = "TRUE"

usb:0.deviceType = "mouse"

usb:0.port = "0"

usb:0.parent = "-1"

Link to comment
Share on other sites

I have the same issue, my autofit guest is not working either.

OS X 10.7.2

 

VMware Workstation 8

Windows 7 x64 Host

 

I have the same issue, my autofit guest is not working either.

OS X 10.7.2

 

VMware Workstation 8

Windows 7 x64 Host

 

 

.encoding = "windows-1252"

config.version = "8"

virtualHW.version = "8"

numvcpus = "4"

cpuid.coresPerSocket = "4"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "2048"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "vm-osx-mcr2-000003.vmdk"

scsi0:1.present = "TRUE"

scsi0:1.fileName = "auto detect"

scsi0:1.deviceType = "cdrom-raw"

ethernet0.present = "TRUE"

ethernet0.virtualDev = "e1000"

ethernet0.wakeOnPcktRcv = "FALSE"

ethernet0.addressType = "generated"

usb.present = "TRUE"

ehci.present = "TRUE"

sound.present = "TRUE"

sound.fileName = "-1"

sound.autodetect = "TRUE"

mks.enable3d = "TRUE"

pciBridge0.present = "TRUE"

pciBridge4.present = "TRUE"

pciBridge4.virtualDev = "pcieRootPort"

pciBridge4.functions = "8"

pciBridge5.present = "TRUE"

pciBridge5.virtualDev = "pcieRootPort"

pciBridge5.functions = "8"

pciBridge6.present = "TRUE"

pciBridge6.virtualDev = "pcieRootPort"

pciBridge6.functions = "8"

pciBridge7.present = "TRUE"

pciBridge7.virtualDev = "pcieRootPort"

pciBridge7.functions = "8"

vmci0.present = "TRUE"

smc.present = "TRUE"

ich7m.present = "TRUE"

firmware = "efi"

roamingVM.exitBehavior = "go"

displayName = "vm-osx-mcr2 (Lion)"

guestOS = "darwin10-64"

nvram = "vm-osx-mcr2.nvram"

virtualHW.productCompatibility = "hosted"

extendedConfigFile = "vm-osx-mcr2.vmxf"

scsi0:1.startConnected = "FALSE"

ethernet0.generatedAddress = "00:0c:29:0e:3e:cf"

tools.syncTime = "FALSE"

uuid.location = "56 4d 6f f4 01 a4 52 a1-c5 c9 0d a7 68 0e 3e cf"

uuid.bios = "56 4d 6f f4 01 a4 52 a1-c5 c9 0d a7 68 0e 3e cf"

cleanShutdown = "FALSE"

replay.supported = "FALSE"

isolation.tools.hgfs.disable = "FALSE"

sharedFolder.maxNum = "2"

replay.filename = ""

scsi0:0.redo = ""

pciBridge0.pciSlotNumber = "17"

pciBridge4.pciSlotNumber = "21"

pciBridge5.pciSlotNumber = "22"

pciBridge6.pciSlotNumber = "23"

pciBridge7.pciSlotNumber = "24"

scsi0.pciSlotNumber = "16"

usb.pciSlotNumber = "32"

ethernet0.pciSlotNumber = "33"

sound.pciSlotNumber = "34"

ehci.pciSlotNumber = "35"

vmci0.pciSlotNumber = "36"

vmotion.checkpointFBSize = "134217728"

usb:1.present = "TRUE"

ethernet0.generatedAddressOffset = "0"

vmci0.id = "1745764047"

usb:1.deviceType = "hub"

scsi0:1.autodetect = "TRUE"

rollingTier0.uid = "1"

rollingTier0.interval = "86400"

rollingTier0.maximum = "1"

rollingTier0.live = "TRUE"

rollingTier0.clientFlags = "8"

rollingTier0.displayName = "AutoProtect Snapshot"

rollingTier1.uid = "2"

rollingTier1.interval = "604800"

rollingTier1.baseTier = "1"

rollingTier1.baseTierInterval = "7"

rollingTier1.maximum = "1"

rollingTier1.live = "TRUE"

rollingTier1.clientFlags = "8"

rollingTier1.displayName = "AutoProtect Snapshot"

rollingTier2.uid = "3"

rollingTier2.interval = "2419200"

rollingTier2.baseTier = "1"

rollingTier2.baseTierInterval = "28"

rollingTier2.maximum = "1"

rollingTier2.live = "TRUE"

rollingTier2.clientFlags = "8"

rollingTier2.displayName = "AutoProtect Snapshot"

snapshot.numRollingTiers = "3"

sharedFolder0.present = "TRUE"

rollingTier0.timeSincelast = "76693"

rollingTier1.timeSincelast = "163093"

rollingTier2.timeSincelast = "1372693"

usb.autoConnect.device0 = ""

sharedFolder0.enabled = "TRUE"

sharedFolder0.readAccess = "TRUE"

sharedFolder0.hostPath = "E:\"

sharedFolder0.guestName = "Huge Drive"

sharedFolder0.expiration = "never"

hpet0.present = "TRUE"

usb.vbluetooth.startConnected = "TRUE"

usb:1.speed = "2"

checkpoint.vmState.readOnly = "FALSE"

checkpoint.vmState = ""

annotation = "SNAPSHOT BEFORE ANY UPDATES JUST IN CASE!!!"

floppy0.present = "FALSE"

sharedFolder1.present = "TRUE"

rollingTier1.baseTierSnapshotCount = "1"

rollingTier2.baseTierSnapshotCount = "15"

usb:0.present = "TRUE"

usb:0.deviceType = "hid"

usb:0.port = "0"

usb:0.parent = "-1"

sharedFolder0.writeAccess = "TRUE"

sharedFolder1.enabled = "TRUE"

sharedFolder1.readAccess = "TRUE"

sharedFolder1.writeAccess = "TRUE"

sharedFolder1.hostPath = "F:\"

sharedFolder1.guestName = "Data Drive"

sharedFolder1.expiration = "never"

Link to comment
Share on other sites

I have the same issue, my autofit guest is not working either.

OS X 10.7.2

 

VMware Workstation 8

Windows 7 x64 Host

 

I have the same issue, my autofit guest is not working either.

OS X 10.7.2

 

VMware Workstation 8

Windows 7 x64 Host

 

 

.encoding = "windows-1252"

config.version = "8"

virtualHW.version = "8"

 

Hi I think the problem was the vmware image. I tried anotherone and I worked.

 

I think I'm not allowed to post a link in this forum. But it just worked for me.

 

It was possible to install the vmware display driver.

 

BUT

 

I doesn't helped that much. :) Graphic is still slow.

 

 

Other solutions?! :)

Link to comment
Share on other sites

Hi,

I would like to know if the svga driver for vmware Workstation can enable Qe/Ci on vm.

Sorry in a word, No, needs some development work from VMware, which seems unlikely currently, or some clever Legends on this forum to take up the challenge, Zenith432 has moved this forward, but I think this requires some full time commitment, which without pay non of us can devote that sort of time!

Link to comment
Share on other sites

Sorry in a word, No, needs some development work from VMware, which seems unlikely currently, or some clever Legends on this forum to take up the challenge, Zenith432 has moved this forward, but I think this requires some full time commitment, which without pay non of us can devote that sort of time!

 

Hey,

 

I may not able to code at all, but having QE/CI inside Vmware would be awesome. I think some of us should have a pledge or pool money for this.

 

I can start of stating that I will pledge/donate $50.00 for the fully functional QE/CI feature inside Vmware.

 

I hope other users can contribute/donate to this.

 

What do you all say?

 

Flynnl

Link to comment
Share on other sites

  • 2 months later...

I would be willing to support this effort. OS X in VMWare would be incredibly useful with QE/CI. Right now its more of a curiosity rather than a functional tool. I know a lot of people that would like to give presentations on their PC using keynote and not have to carry around two laptops. Zenith would have to lead the funding effort as he is the one with the most street credit. Zenith432, assuming you even want to do this, how much money would you need to make it worth your while?

Link to comment
Share on other sites

I have proven to myself that any <£500 Apple PC, even from Ebay, has laughable performance compared with OSX in a VM on a Win7 workstation with a moderately high specification. Except for QE/CI. I'd be very happy to sell my Mac Mini and donate a good proportion of the proceeds to any effort to complete the OSX-VM experience.

Link to comment
Share on other sites

  • 2 weeks later...

Sorry, but I don't have time to work on VMsvga2 at present.

 

There are some serious hurdles

  • Apple does not countenance implementing QE/CI over a virtualization platform. This would not only be a more attractive platform for running OS/X than a PC, but also a more attractive option for running OS/X than most Macs. Since Windows or Linux are more popular host OSes, it could lead to there being a lot more copies of OS/X running on top of these host OSes than on Apple's systems.
  • VMware's support for OS/X is done with some kind of agreement or license from Apple. So they're limited in what they're allowed to do and have to respect Apple's licensing limitations.
  • Without Apple's support, implementing QE/CI requires a huge amount of reverse engineering. Plus, Apple's code changes every several OS minor releases, which means it needs to be followed and updated.
  • Some support from VMware would also help, as there may be functions in QE/CI that can't be implemented using VMware's current SVGA3D backed, so they'd need to extend it to make everything work.
  • While I'm willing to do all the reverse engineering required myself, I'd rather there to be some other programmers involved - ones knowledgeable in 3D graphics (OpenGL or Direct3D.) That way I could leave the forward engineering of the driver to others and focus on the reverse engineering.

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

I'm running 10.7.3 in a VM on Win7. I want to run iBooks Author, but since install, it will not display any of the ibook content in the program. It displays briefly when changing from portrait mode to landscape mode and back again, but is white otherwise.

 

I've used 10.7.3 straight up, I've got vmware tools installed (fusion 3; I'd like to try fusion 4 tools but I can't find them available for download anywhere), svgaII drivers installed (thank you Zenith, that made a lot of things, not just video, work a lot smoother), I've done all the edits with svga.enablescreen_whateveritwas, svga.auto, I've enabled and disabled 3d acceleration, used auto-detect monitors and set it to specify 1 monitor at 1024x768.. I'd sacrafice a live chicken if I thought it would help. One guy in Germany said that his video either worked or didn't work based on whether he selected "German (Germany)" or "German (English)" for his system language, so I tried that too. I'm lost.

 

Is it possible it's the QE/CI thing? I don't know how to check for that. If it is, is there a way to disable QE/CI so it doesn't even try to use it? I don't need nor want fancy animations for my windows and such.

 

EDIT: So it turns out I'm not the only one with the issue. It's been reported here too: http://www.insanelymac.com/forum/index.php?showtopic=274878

Link to comment
Share on other sites

  • 4 months later...

Sorry to bump after the long hiatus on this topic, but it seems the most appropriate place without starting a new thread.

 

Was there ever any resolution on the RDP/black box cursor problem, or is this related to the almost insurmountable QE/CI problem as well?

 

 

 

(BTW, new on this blog, and I’m seeing some excellent work being done here, particular nods to Zenith432 and Donk, but many others too).

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

when I install vmsvga2-1.2.4 driver in my SL 10.6.8 VM and reboot, the WindowManager doesn't come up. Means, it boots and at some point I only get the boot splash (or boot log with -v) and a working mouse cursor. Nothing suspicious in vmware.log - ScreenObject and SVGA3D are enabled.

 

The VM runs nawcom legacy 10.8 kernel with -force64, and some weird version of vmware-tools with a VmwareGFX64.kext - I tried uninstalling vmware tools completely or just moving the kexts out of the way - same result.

 

Does anyone have a hint what could be the issue?

Link to comment
Share on other sites

Hi,

 

when I install vmsvga2-1.2.4 driver in my SL 10.6.8 VM and reboot, the WindowManager doesn't come up. Means, it boots and at some point I only get the boot splash (or boot log with -v) and a working mouse cursor. Nothing suspicious in vmware.log - ScreenObject and SVGA3D are enabled.

 

The VM runs nawcom legacy 10.8 kernel with -force64, and some weird version of vmware-tools with a VmwareGFX64.kext - I tried uninstalling vmware tools completely or just moving the kexts out of the way - same result.

 

Does anyone have a hint what could be the issue?

 

Nevermind, I found the issue. I used some ready2go 10.6.7 vmware image, and that one seems to have vmware graphics enabled (lightroom 4 trial works on it).

I did a complete as-vanilla-as-possible install on my own now, and vmsvga2 works. Auto-fit is just "one-shot" when the window manager loads and refuses to work afterwards, but that's a minor issue. Now I just need to find out how to "enable" graphics for vmsvga2.

Link to comment
Share on other sites

  • 2 weeks later...

Hi all,

I was trying to install VMware SVGA II on a Lion (10.7.5) VM which run on Fusion 5.0.1.

The VM is hw version 8, has VM tools installed (version bundled with Fusion 5.0.1).

 

After installing the VMware SVGA II the VM rebooted and it hangs during the initial splash screen.

The weird thing is that the VM is actually running!!! I can ssh into it, it seems that just the windows server

doesn't come up.

 

Is there anything I can work on to have the VM work with SVGAII driver?

 

Regards

AxeL

Link to comment
Share on other sites

Guys,

following up on my previous post, by upgrading to HW ver 9, the VM SVGA II is working.

By the way the VMware stock driver VMwareGFX works both with HW ver 8 and 9.

Remember I'm on Fusion 5, VM is 10.7.5.

 

Digging into the problem a little bit, I log the two dmesg in the VM and noticed that in the HW ver 8

(not working) there is a line

 

Init: SVGA3D: 3D disabled by host.

 

For sake of knowledge and for the record, is there any reason why SVGA II 1.2.4 doesn't work

on HW ver. 8?

 

Ciao

AxeL

Link to comment
Share on other sites

VMsvga2 v1.2.4 is broken in Workstation 9/Fusion 5 and has been broken in all release previews of these products.

 

The problem is related to screen object, and I haven't yet been able to figure it out. Something was changed in the implementation of screen object that makes VMsvga2 show a black screen sometimes instead of rendering graphics. This may have some relation to HW ver 8/9, but for me it shows black even with HW ver 9.

 

As a workaround, you can set

svga.enableScreenObject2 = "FALSE"

in the .vmx file. This will disable screen object for the VM and make VMsvga2 fall back to rendering in "smart framebuffer" mode, which still works.

Link to comment
Share on other sites

VMsvga2 v1.2.4 is broken in Workstation 9/Fusion 5 and has been broken in all release previews of these products.

Hmm. Works fine here though. No black screens and it's as fast as with WS8. These are fresh installs of OS X 10.6 and 10.8 on Workstation 9.0.0 under Linux. I only had the black screen problem when trying to run the already existing WS8 VMs on WS9 (upgrade virtual hardware to WS9 didn't help.) When creating new VMs and doing the fresh installs, there were no black screens with VMsvga2 v1.2.4.

Link to comment
Share on other sites

Hmm. Works fine here though. No black screens and it's as fast as with WS8. These are fresh installs of OS X 10.6 and 10.8 on Workstation 9.0.0 under Linux. I only had the black screen problem when trying to run the already existing WS8 VMs on WS9 (upgrade virtual hardware to WS9 didn't help.) When creating new VMs and doing the fresh installs, there were no black screens with VMsvga2 v1.2.4.

 

VMsvga2 v1.2.4 only supports 'svga.enableScreenObject = "TRUE"'. I'm using v1.2.5d4 built from trunk :)

It supports both enableScreenObject and enableScreenObject2.

 

So, in Workstation 9/Fusion 5

  • HWVersion 8 sets ScreenObject = True and ScreenObject2 = True --> v1.2.4 and v1.2.5d4 both give black screen.
  • HWVersion 9 sets ScreenObject = False and ScreenObject2 = True. --> v1.2.4 works! (w/o screen object) and v1.2.5d4 gives black screen.

At any rate, the black screen is caused by attempting to use screen-object/screen-object2 and that isn't fixed.

Link to comment
Share on other sites

VMsvga2 v1.2.4 only supports 'svga.enableScreenObject = "TRUE"'. I'm using v1.2.5d4 built from trunk :)

It supports both enableScreenObject and enableScreenObject2.

 

So, in Workstation 9/Fusion 5

  • HWVersion 8 sets ScreenObject = True and ScreenObject2 = True --> v1.2.4 and v1.2.5d4 both give black screen.
  • HWVersion 9 sets ScreenObject = False and ScreenObject2 = True. --> v1.2.4 works! (w/o screen object) and v1.2.5d4 gives black screen.

At any rate, the black screen is caused by attempting to use screen-object/screen-object2 and that isn't fixed.

 

Where can we get v1.2.5d?

Link to comment
Share on other sites

Hi,

 

I was wondering since Workstation 9 added OpenGL functionalities to their virtual graphics for linux guest, could that be used to enable QE/CI ?

Quartz Extreme seems to only be using OpenGL cf wikipedia:

"Quartz Extreme only uses OpenGL commands, and requires a graphics card connected to an AGP 2X or faster bus (including AGP 4X, 8X, and PCI Express), supporting textures and maps of arbitrary size, since many of the renderers have no size limitation (Quartz 2D for example).It is automatically enabled on Mac systems with one of the following types of graphics cards: AMD (ATI) Radeon, AGP-based, 16MB VRAM minimum, or better // NVIDIA GeForce2 MX, 16MB VRAM minimum, or better".

 

I'd love to see more love dedicated to graphic support of OSX in VMs. Could even use it to debug my IOS apps without switching to my mac.

Good luck Zenith and I'm hoping to see next version of your drivers soon!

Is there a google project or similar with last sources since last files on SourceForge are a bit old now.

Link to comment
Share on other sites

I fixed the bug with usage of screen-object/screen-object-2.

The latest code is on svn://svn.code.sf.net/p/vmsvga2/code/VMsvga2/trunk. It's versioned 1.2.5d5. Can be built with Xcode 4.5.x on MountainLion.

 

Update: I uploaded a prerelease v1.2.5d6 to vmsvga2-files on sourceforge. It fixes the screen-object issues with Workstation 9/Fusion 5. It should work on OS 10.6 - OS 10.8, though I only tested it on OS 10.8.2 w/ 64-bit kernel.

I still have some things to do with it before finalizing v1.2.5. This interim build seems fairly stable. The memory management has been overhauled. It'll be in the release notes for v1.2.5.

  • Like 4
Link to comment
Share on other sites

Hi Zenith,

Great work! Seems to work pretty well - and much better than the stock graphics from vmware-tools.

 

Quick question though. In Mission Control view, the thumbnails are garbled (see screenshot attached), is this normal? Also, Launchpad doesn't work well compared to Lion, but I suppose this may be a QE/CI issue...

 

Anyway. thanks!

post-868120-0-28990800-1350150804_thumb.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...