Discussion:
3d problems in Win7 64-bit
intercrap
2013-10-09 16:16:50 UTC
Permalink
Sorry, just realised I forgot to put a subject line before.

Hi.

I can't seem to use 3d in Windows 7. If I open a 3d app, the app will just
crash..

Host: Debian/GNOME, AMD64. I have updated the graphics driver to the latest
version, there are no problems with 3d programs in Debian itself.

Guest: Windows 7 Enterprise 64 bit.

Vbox: VirtualBox <https://www.virtualbox.org/wiki/VirtualBox> VM 4.2.18
r88780. Guest additions is fully installed (most recent version). 3d
acceleration is enabled in the settings.

The program I am running is Half-Life 2: Lost Coast. I thought this would
be a good test as it was a game the computer could run well when windows
used to be the host system. I tried OpenArena too, and that doesn't work
either, though it works fine on the host system.

The dxdiag test said that agp texture support was not available.
Fernando Cassia
2013-10-09 16:35:23 UTC
Permalink
Post by intercrap
Host: Debian/GNOME, AMD64. I have updated the graphics driver to the
latest version, there are no problems with 3d programs in Debian itself.
Guest: Windows 7 Enterprise 64 bit.
Vbox: VirtualBox <https://www.virtualbox.org/wiki/VirtualBox> VM 4.2.18
r88780. Guest additions is fully installed (most recent version). 3d
acceleration is enabled in the settings.
Hi there.

According to
https://www.virtualbox.org/manual/ch04.html#guestadd-3d

"The 3D acceleration currently has the following preconditions:

1.

It is only available for certain Windows, Linux and Solaris guests. In
particular:
-

3D acceleration with Windows guests requires Windows 2000, Windows
XP, Vista or Windows 7. Both OpenGL and Direct3D 8/9 (not with Windows
2000) are supported (experimental).
-

OpenGL on Linux requires kernel 2.6.27 and higher as well as X.org
server version 1.5 and higher. Ubuntu 10.10 and Fedora 14 have
been tested
and confirmed as working."

Make sure that you also install the guest additions in the Windows guest in
SAFE MODE, this because the Guest Additions installer needs to replace
certain windows files that are otherwise "protected" from change.

For the basic Direct3D acceleration to work in a Windows Guest, VirtualBox
needs to replace Windows system files in the virtual machine. As a result,
the Guest Additions installation program offers Direct3D acceleration as an
option that must be explicitly enabled. Also, you must install the Guest
Additions in "Safe Mode".

I hope this helps!
FC
--
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
Fernando Cassia
2013-10-09 16:40:41 UTC
Permalink
Post by intercrap
Host: Debian/GNOME, AMD64
What release?. Do you know if Debian has decided to go with Mir or Wayland?

I'm curious if the move in certain Linux distros away from Xorg to the
Ubuntu sponsored Mir will cause all sorts of hassles for low-level software
like Vbox...

But that's pure forward-thinking speculation on my part...

Devs, can you comment if Mir/Wayland makes a difference wrt VBox drivers
for 3D acceleration?

Thanks in advance.

FC
--
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
Michael Thayer
2013-10-10 07:21:03 UTC
Permalink
Hello Fernando,

On 09/10/13 18:40, Fernando Cassia wrote:
[...]
Post by Fernando Cassia
Devs, can you comment if Mir/Wayland makes a difference wrt VBox drivers
for 3D acceleration?
My understanding is that X11 applications are expected to work unchanged
using the X11 compatibility layer on top of the respective display
server. If that holds true (and VirtualBox would not be the only victim
if it doesn't) there shouldn't be any problems. I imagine that at some
point we would want to support at least Wayland natively.

By the way, if you are asking questions directly to the developers it
might be an idea in future to start a new thread (or to write to
vbox-dev) as at least I tend to scan this list by subject line and not
always read each individual reply if a thread doesn't look directly
relevant to me. Fortunately I did this time.

Regards,

Michael
--
ORACLE Deutschland B.V. & Co. KG Michael Thayer
Werkstrasse 24 VirtualBox engineering
71384 Weinstadt, Germany mailto:michael.thayer-QHcLZuEGTsvQT0dZR+***@public.gmane.org

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
intercrap
2013-10-10 10:11:46 UTC
Permalink
Hi,

First of all, I really appreciate you getting back to me. Everywhere
else I raised this problem I got nothing :(.

I checked the kernel and Xorg server.

Kernel is 3.2.0-4-amd64

Xorg server is 1:7.7+3~deb7.

So both are above what you say is necessary. Yes, I installed guest
additions in safe mode.

I'm afraid I was unable to find out whether I had Mir or Wayland. What
are they exactly? I am using Debian Wheezy, if you meant that.

On this computer, I have had two stabs at doing 3d acceleration in
Virtualbox. The first time, it sort of worked sometimes, very
choppily. However, the VM would usually crash altogether and say
'aborted'.

Then I deleted than VM and tried again. This time it did not crash the
VM, but the apps in question crashed in the VM. As far as I know, both
times settings were identical :/

Should I try a different host OS?

Here are the logs for both. Top one is the machine where it worked
sometimes, second machine it didn't work at all.

intercrap
2013-10-09 23:05:39 UTC
Permalink
Hi,

First of all, I really appreciate you getting back to me. Everywhere else I
raised this problem I got nothing :(.

I checked the kernel and Xorg server.

Kernel is 3.2.0-4-amd64

Xorg server is 1:7.7+3~deb7.

So both are above what you say is necessary. Yes, I installed guest
additions in safe mode.

I'm afraid I was unable to find out whether I had Mir or Wayland. What are
they exactly? I am using Debian Wheezy, if you meant that.

On this computer, I have had two stabs at doing 3d acceleration in
Virtualbox. The first time, it sort of worked sometimes, very choppily.
However, the VM would usually crash altogether and say 'aborted'.

Then I deleted than VM and tried again. This time it did not crash the VM,
but the apps in question crashed in the VM. As far as I know, both times
settings were identical :/

Should I try a different host OS?
Loading...