Page 1 of 1
How's DirectX support going?
Posted: 2. Oct 2016, 22:29
by TheGuy101
I have a laptop with i5-5200U and GT 930M.
I am on 4.4.0-38-generic kernel. My host operating system is Microsoft Windows 10.
I installed your guest additions, I enabled Direct3D Support, it asked if I maybe wanted to install basic 3D support instead, I said No.
So I tried to get it to the best, I gave it 2D and 3D acceleration, I gave it 256MB of VRAM.
I downloaded and run Unity3D, aaaaand, "Unity can't load graphics".
Am I missing something? Have I missed a step? I just need to see it render stuff from time to time and think about scripts I wrote for it.
I just need it to render 15FPS of low-end graphics, in 480p.
Re: How's DirectX support going?
Posted: 2. Oct 2016, 22:45
by socratis
You forgot to mention the guest, but from the fact that you were asked whether to install or not the basic 3D support, I'd say Windows 7. With the VM shut-down, right click on the VM and select "Show log". ZIP it (the first one) and attach it.
Virtual machines will never be as powerful as the host, especially on the video side. They use after all a virtual graphics card, not your host's real graphics card. Applications that have high requirements on the GPU (drawing, 3D, games, video) are expected to not work as good as on the real hardware, if they work at all.
Re: How's DirectX support going?
Posted: 2. Oct 2016, 22:57
by TheGuy101
"You forgot to mention the guest,"
I mentioned... oh wait... not "host". I meant guest. My guest is Microsoft Windows 10.
"but from the fact that you were asked whether to install or not the basic 3D support,"
I need as advanced as it gets, because basic didn't get me anywhere.
"I'd say Windows 7."
Is this one that has most compatibility?
"With the VM shut-down, right click on the VM and select "Show log". ZIP it (the first one) and attach it."
Sure, I'll post it on failure, and in-case of success I'll let you know anyways.
"Virtual machines will never be as powerful as the host, especially on the video side."
I know.
"They use after all a virtual graphics card, not your host's real graphics card.
I know, I'm not an idiot

, it's not even real virtual graphics card, but integrated emulated video requests resolved by code anyways.
"Applications that have high requirements on the GPU (drawing, 3D, games, video) are expected to not work as good as on the real hardware, if they work at all."
Like I said, nothing explosive, just bare pixel horror games etc., not even playing, but just coding them up, I just need application to work, from there I'll manage everything.
(I'm off to sleep, see you tomorrow)
Re: How's DirectX support going?
Posted: 2. Oct 2016, 23:20
by socratis
TheGuy101 wrote:I mentioned... oh wait... not "host". I meant guest. My guest is Microsoft Windows 10.
Yes, now that I re-read your message you started by saying
"I am on 4.4.0-38-generic kernel.". Duh...

In that case you're not even asked if you want to install the basic Direct3D support (non-WDDM) or the experimental one (WDDM); you're getting the WDDM one. The only case you're asked, is if the guest is Windows 7
(or Vista, but who uses Vista?).
TheGuy101 wrote:"I'd say Windows 7."
Is this one that has most compatibility?
Compatibility with what? If you're referring to the 3D graphics, Windows 7 as I said gives you the option to choose between WDDM and non-WDDM
(does this thing even have a name?). Windows 10 doesn't. The WDDM graphics drivers are the same in both.
TheGuy101 wrote:"They use after all a virtual graphics card, not your host's real graphics card."
I know, I'm not an idiot
You'd be surprised how many people don't know and actually try to install the drivers of their physical GPU to the VM. The answer that I gave you is a snippet that I keep handy, just because it's been used way too many times. Saves typing...

Re: How's DirectX support going?
Posted: 13. Oct 2016, 08:21
by vigilian
I would like to know the same thing. How can I test if 3D acceleration is really enabled? of course the virtualbox GUI tells me it's activated and the VM is launched without an error. But windows aero is not activated for example.... So how could I test it?
host: ubuntu 16.04.1
guest: win 7 SP1
Re: How's DirectX support going?
Posted: 13. Oct 2016, 10:01
by socratis
With the VM completely shutdown, right-click on the VM in VirtualBox Manager, Show log. Save it (ONLY the first one), ZIP it and attach it to your response.
How do you test it? Run "dxdiag", "Display" tab, look at the "Drivers". If it says "VBoxDispD3D.dll", it's installed. If it doesn't work for some things, it's because it's not a real graphics card, it's a virtualized one.
Re: How's DirectX support going?
Posted: 13. Oct 2016, 12:55
by vigilian
dxdiag crash when I try to run it.
Re: How's DirectX support going?
Posted: 14. Oct 2016, 04:32
by socratis
I don't know why your dxdiag crashes. Have you investigated it, but with having your Windows "glasses" on, not the VirtualBox ones? Your 3D drivers are installed; the WDDM ones.
What you could try is to install the "traditional" ones, not the WDDM ones, after you restart Windows in safe mode.
Re: How's DirectX support going?
Posted: 15. Oct 2016, 15:56
by vigilian
yes no maybe?