Ubuntu 14.04 Desktop under Windows 8.1 Hyper-V

Is it possibly to speed up the graphics of Ubuntu 14.04 Desktop under Windows 8.1 Hyper-V anyhow?

I've already decreased the screen resolution and disabled the COMPIZ video effects, but it's still very laggy. It used to work with almost native performance under VMware Player, but I have to move on with Hyper-V.

UPDATE

Can you post the output of /usr/lib/nux/unity_support_test -p

Sure:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
OpenGL version string: 2.1 Mesa 10.1.3

Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: no

Also:

avo@Ubuntu-Desktop-VM:~$ lsmod | grep hv
hv_netvsc 31255 0 
hv_storvsc 17785 2 
hv_utils 19003 0 
hv_vmbus 50383 6 hyperv_keyboard,hv_netvsc,hid_hyperv,hv_utils,hyperv_fb,hv_storvsc

Solution 1:

The desktop lags because Hyper-V is using software rendering instead of using the GPU:

$ /usr/lib/nux/unity_support_test -p

Not software rendered: no
Unity 3D supported: no

This appears to be because Hyper-V has no 3D GPU acceleration capability. Hyper-V is a server-virtualization techonology that is not meant to be used for virtual desktops:

It is fact that physical servers usually don't come with powerful video adapter cards. Consequently, virtualization technologies limit virtual desktops to run only simple 2-D user-interface's applications. (source)

-

Lack of 3D Accelerated Graphics in guest operating systems. Hyper-v client does not give the option to add virtual accelerated graphics card for guest OSes.

That is not what Hyper-V was designed to do. If you want improved video performance, run over RDP from the host. Hyper-V is not a replacement for VMware Player! (source)

-

Hyper-V was being developed solely for server virtualization and therefore is mainly for developers or IT admins looking to test out multiple environments. (source)

Solution 2:

I just installed Ubuntu 14.04 Desktop on Hyper-V and was facing the same problem with performance. Later figured out that Hyper-V allocates 1 Virtual Processor to each Virtual Machine by default. Increased it to 4 and its working fine now.

Solution 3:

Read first and make the same VM step-by-step:
Benjamin Armstrong: Ubuntu 14.04 in a Generation 2 VM

One chance versus two that is to alternate your hardware with second video controller and proposition for Hyper-V settings to use separate video thread. Most important part here is BIOS Hyper-V settings. Especially for Hyper-V-specific video device option.
Refer to Enabling virtualization in the system BIOS

Also suggested to include numa=off parameter, read more about, and also disabling secure boot on guest os. Refer to common guide and optimize your host and guest:
Ubuntu virtual machines on Hyper-V

Quote: The following daemons must be installed manually for Ubuntu distributions:
VSS Snapshot daemon – This daemon is required to create live Linux virtual machine backups.
KVP daemon – This daemon allows setting and querying intrinsic and extrinsic key value pairs.
To install both daemons, please use the following command (at your GUEST UBUNTU):

$ sudo apt-get update
$ sudo apt-get install hv-kvp-daemon-init

Note: Hyper-V-specific video device option available only for 13.10 and 14.04.


VMware Player perfomance & troubleshooting:

Performance Problem on 64-Bit Windows Hosts with Intel EM64T Processors (1082240)

Quote: If your virtual machine exhibits slow performance and high CPU usage, add the following line to the virtual machine's configuration (.vmx) file:
sched.mem.pshare.enable=FALSE


I think what you should to figure out is only details of your configuration. Your problem possible exist any place where VMware Docs able to cover. So please look this complex guide:

Troubleshooting virtual machine performance issues (1008360)