PDA

View Full Version : Can we set up a window driver, on a virtual machine ?



Lolilolight
04-01-2015, 12:28 PM
Hi, I've installed windows on a virtual machine with virtual box, but, the opengl version is 1.1.

So I'm just wondering if we can set up an opengl driver in a virtual machine. (My driver is MESA and support opengl 3.3 on the host machine but I want to install a driver supporting at least opengl4.2 on a windows virtual machine. (without having to have to reboot to swith the OS))

Alfonse Reinheart
04-01-2015, 03:38 PM
How exactly could a virtual machine offer access to capabilities that the host machine does not? Virtual machines can only play with what the host provides.

mhagain
04-01-2015, 04:15 PM
How exactly could a virtual machine offer access to capabilities that the host machine does not? Virtual machines can only play with what the host provides.

I would suspect that the Mesa driver only supports GL3.3 but the OP's hardware is actually capable of GL 4.x, hence asking if a Windows VM would be able to access that capability. I've no experience with hardware virtualization of GPUs (my VM experience is more in the enterprise area) but if the OP could confirm if my suspicion is actually the case, it would hugely assist others in providing the answer.

Alfonse Reinheart
04-01-2015, 04:52 PM
Here's an AskUbuntu question about virtualization and GPUs (http://askubuntu.com/questions/272613/is-there-a-virtual-machine-with-direct-access-to-cpu-and-gpu-for-gaming). It's not the answer you probably want.

Lolilolight
04-02-2015, 04:05 AM
Ok it seems that the only solution is to boot on windows. :/

Getting GPU great performance under linux is something difficult. :/

I've tried everything :

-vmware but it doesn't work very well as explained on this link (many bugs)
-installing ATI priority drivers on ubuntu but I get back screen at logon.

I guess I have to wait until the version 4.5 of mesa is released.

I don't think I can make a better driver than the mesa, I don't have this experience, my experience goes most of all in high level programming.

But, I'm always ok to learn if I can find good resources and documentation about it.

Dark Photon
04-02-2015, 07:40 PM
Ok it seems that the only solution is to boot on windows. :/

Getting GPU great performance under linux is something difficult. :/
If you have an NVidia GPU, it's actually easier to get great stability and performance on Linux. With ATI, it's more hit and miss in my experience.

What ATI GPU do you have? Doubtless folks here could give you some tips.

If you're talking VMs, you're not truly serious about performance. If you want the best performance, don't run in a VM.

Lolilolight
04-03-2015, 06:38 AM
What ATI GPU do you have?

ATI Mobility Radeon 5470 graphics 512 MB.

My experience is also missing for running modern opengl (4.5) on linux system, on my old window system, I was able to use opengl 4.1.

But now my bios doesn't want to boot from a cd anymore and windows 7 is too big for my USB key.

The only opengl version which is running well on my PC is 1.4, 3.3 is supported by mesa but glsl doesn't work as expected, the proprietary drivers from the amd website and from the repository doesn't work too. (I have no logon screen)

Dark Photon
04-03-2015, 07:02 PM
ATI Mobility Radeon 5470 graphics 512 MB.... the proprietary drivers from the amd website and from the repository doesn't work too. (I have no logon screen)

Ouch. Hopefully an ATI user here can chime in and help you out with running ATI proprietary drivers. If you want the latest OpenGL support with hardware accelleration, that's your best bet.

Lolilolight
04-04-2015, 01:15 PM
Really ?!!! who ?