Aero Glass / WDDM support works, but may crash

Temporary forum to discuss issues and problems during a VirtualBox Beta or Release Candidate phase.

Re: Aero Glass / WDDM support works, but may crash

Postby Perryg » 6. Jul 2011, 00:38

Sas,
I had an issue like this some time ago where the two files got out of sync. What I had to do was first boot into safe mode and remove the guest additions. Then while in safe mode I installed directx, rebooted and then installed the guest additions again. Perhaps that will work for you.
Perryg
Site Moderator
 
Posts: 25939
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Aero Glass / WDDM support works, but may crash

Postby Perryg » 6. Jul 2011, 23:28

Win-7 x86_64 (new install) seems to be a lot more stable with WDDM than 32-bit (which has massive issues for me). Even the Windows games work. I have had a couple of crashes though, but nothing serious yet. Full screen works as well. One thing that I found interesting (but might have been just me) is that updating after installing the guest additions cause Windows to reboot itself. VBox only saw this as a shutdown according to the guest logs. More if and when I find it.
Perryg
Site Moderator
 
Posts: 25939
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Aero Glass / WDDM support works, but may crash

Postby wacher » 7. Jul 2011, 00:12

Sasquatch wrote:Well, installed DX9 successfully, but still d3d8.dll and d3d9.dll are branded by VB. The sfc /scannow command gives the same result, found errors but unable to fix.


I experienced exactly same what Sasquatch did. After that, I simple overwrote these files with others extracted from DX9 install pack.
Anyway, I could not activate Aero*, I'm very excited about a newer BETA, maybe I'll see the miracle :)
(*Lenovo T400 with latest Intel Display driver. I had to upgrade the driver because the previous one with VB BETA1 together caused recurring crash)
wacher
 
Posts: 65
Joined: 26. Mar 2011, 04:47
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: W7

Re: Aero Glass / WDDM support works, but may crash

Postby pentagonik » 7. Jul 2011, 13:50

Replacing the d3d8.dll/d3d9.dll files is a bit tricky since they're protected by the Windows File Protection (WFP). So before the original d3d8.dll/d3d9.dll files get replaced a backup is made to msd3d*.dll in the same directory (respectively in the DLL cache). On uninstall the Guest Additions should replace the installed files with the original ones again. Could you check if there are these backup files on you VM?
pentagonik
Oracle Corporation
 
Posts: 92
Joined: 19. May 2008, 16:09
Primary OS: MS Windows 7
VBox Version: OSE self-compiled
Guest OSses: Too many to specify!

Re: Aero Glass / WDDM support works, but may crash

Postby wacher » 7. Jul 2011, 14:28

I checked my entire WINDOWS directory, there isn't any msd3d* file.
---
1) I installed 4.0.8
2) I installed 4.1 (without uninstall previous GA, as usual. Maybe.... the installer backup the Virtualbox-related d3d files like as original?)
3) Aero didn't work.
4) I uninstalled 4.1, but d3d files are still VirtualBox files.
5) I overwrote these files, I installed 4.1 WDDM driver.
6) Aero didn't work.
7) <- I'm here :)
wacher
 
Posts: 65
Joined: 26. Mar 2011, 04:47
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: W7

Re: Aero Glass / WDDM support works, but may crash

Postby MaidenFan » 8. Jul 2011, 12:43

wacher wrote:I checked my entire WINDOWS directory, there isn't any msd3d* file.
---
1) I installed 4.0.8
2) I installed 4.1 (without uninstall previous GA, as usual. Maybe.... the installer backup the Virtualbox-related d3d files like as original?)
3) Aero didn't work.
4) I uninstalled 4.1, but d3d files are still VirtualBox files.
5) I overwrote these files, I installed 4.1 WDDM driver.
6) Aero didn't work.
7) <- I'm here :)


Make sure you have > 128MB of video RAM and > 1GB of real RAM assigned to your VM, and also enable 2D and 3D video acceleration in your VM configuration. Also make sure that your host OS supports 3D acceleration (e.g. you're using nVidia proprietary drivers if you're on Linux). After installing the drivers, you will need to manually enable Aero by right-clicking on your Desktop -> Personalize and choose an Aero theme.
* Fedora Linux User * Personal Website & Blog
MaidenFan
 
Posts: 33
Joined: 25. Sep 2008, 16:14
Location: London, UK
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Fedora, CentOS, Ubuntu, Windows 7

Re: Aero Glass / WDDM support works, but may crash

Postby Sasquatch » 8. Jul 2011, 20:29

Perryg wrote:Sas,
I had an issue like this some time ago where the two files got out of sync. What I had to do was first boot into safe mode and remove the guest additions. Then while in safe mode I installed directx, rebooted and then installed the guest additions again. Perhaps that will work for you.

Tried, didn't work.

pentagonik wrote:Replacing the d3d8.dll/d3d9.dll files is a bit tricky since they're protected by the Windows File Protection (WFP). So before the original d3d8.dll/d3d9.dll files get replaced a backup is made to msd3d*.dll in the same directory (respectively in the DLL cache). On uninstall the Guest Additions should replace the installed files with the original ones again. Could you check if there are these backup files on you VM?

Just checked, no msd3dx.dll files in the system32 folder. The DllCache has the VB version of d3dx.dll files, nothing else. Seems like the Windows install is bugged now. Luckily, I have a few snapshots that I can restore to, as far as a clean installation of W7 without anything else. But it is odd that I don't have those backup files. When the bug report came out about the D3Dx.dll files being in the wrong version, I checked and was not affected. Now it seems I was.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Aero Glass / WDDM support works, but may crash

Postby wacher » 8. Jul 2011, 23:15

MaidenFan wrote:Make sure you have > 128MB of video RAM and > 1GB of real RAM assigned to your VM, and also enable 2D and 3D video acceleration in your VM configuration. Also make sure that your host OS supports 3D acceleration (e.g. you're using nVidia proprietary drivers if you're on Linux). After installing the drivers, you will need to manually enable Aero by right-clicking on your Desktop -> Personalize and choose an Aero theme.


I've done my homework :)

Video RAM > 128M - checked (256M)
Real RAM > 1G - checked (1280 MB - I won't dare to assign more, see ticket #8630)
3D Acceleration: Enabled - checked
2D Video Acceleration: Enabled - checked

I think 3D acceleration is supported by host OS (Win XP Pro, dxdiag D7-D8-D9 test got right result). The host hardware is able to use Aero, my co-worker has T400 as well and he use W7 "natively". I tried the VMware several months ago, that used the Aero properly (i don't know how).

My video driver is the latest (older driver causes crash since 4.1B1), Aero troubleshooter didn't found any issue.

-- from here I use 4.1 Beta 2

But dxdiag (in guest) say "Direct3D Not Available". I don't know if it's correct or not.

I have installed the Direct3D GA but the guest no start anymore :)
In safe mode I have uninstalled the D3D GA and installed the WDDM GA.
It's working again, but no Aero.


:!: I've made a new, very fresh, clean Windows 7 guest install with WDDM driver.
- DXdiag crash when collect information (DxDiag has detected that there might have been a problem accessing Direct3D the last time this program was used)
- "The Windows Experience Index" calculation stopped working.

I'm attaching a log for this fresh install and tests.
Attachments
VBox_fresh_and_clean.log
Fresh and clean
(93.75 KiB) Downloaded 4 times
Last edited by wacher on 9. Jul 2011, 13:04, edited 1 time in total.
wacher
 
Posts: 65
Joined: 26. Mar 2011, 04:47
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: W7

Re: Aero Glass / WDDM support works, but may crash

Postby Sasquatch » 9. Jul 2011, 00:54

I made two shots of my Windows 7 VM right when it should show the desktop. I log in and just when it should change to my desktop, I get a black screen. When I look at the manager GUI, I see something else. I used vboxmanage controlvm --screenshotpng to get the first shot. The other one is what is shown in the VM GUI itself.
In order to get going, I have to put the VM in saved state and then resume. This happened in beta 1 too with 3D enabled and the GA installed with wddm/Aero driver. Aero is enabled.
Attachments
Windows 7-2011-07-14-21-21-06.log
Log of the black screen run that requires a save state.
(86.1 KiB) Downloaded 6 times
shot2.png
What the VM GUI is showing me instead.
shot2.png (26.04 KiB) Viewed 1319 times
shot1.png
Shot using screenshotpng, this is what the manager shows.
shot1.png (426.52 KiB) Viewed 1319 times
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Aero Glass / WDDM support works, but may crash

Postby Andre.Ziegler » 9. Jul 2011, 01:53

here is the output of the WinSAT.exe crash:

Code: Select all   Expand viewCollapse view
FAULTING_IP:
wined3dwddm!WineDirect3DCreateClipper+3383
02ed57b3 8b8e6c0f0000    mov     ecx,dword ptr [esi+0F6Ch]

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 02ed57b3 (wined3dwddm!WineDirect3DCreateClipper+0x00003383)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: 00000f6c
Attempt to read from address 00000f6c

DEFAULT_BUCKET_ID:  INVALID_POINTER_READ

PROCESS_NAME:  WinSAT.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%08lx verweist auf Speicher 0x%08lx. Der Vorgang %s konnte nicht im Speicher durchgef hrt werden.

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%08lx verweist auf Speicher 0x%08lx. Der Vorgang %s konnte nicht im Speicher durchgef hrt werden.

EXCEPTION_PARAMETER1:  00000000

EXCEPTION_PARAMETER2:  00000f6c

READ_ADDRESS:  00000f6c

FOLLOWUP_IP:
wined3dwddm!WineDirect3DCreateClipper+3383
02ed57b3 8b8e6c0f0000    mov     ecx,dword ptr [esi+0F6Ch]

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

FAULTING_THREAD:  00000ef0

PRIMARY_PROBLEM_CLASS:  INVALID_POINTER_READ

BUGCHECK_STR:  APPLICATION_FAULT_INVALID_POINTER_READ

LAST_CONTROL_TRANSFER:  from 02ed6515 to 02ed57b3

STACK_TEXT: 
WARNING: Stack unwind information not available. Following frames may be wrong.
04a5f944 02ed6515 75cc1280 0bf872b8 75cbbbd0 wined3dwddm!WineDirect3DCreateClipper+0x3383
04a5f95c 02edbad4 0bf872b8 00000000 00000001 wined3dwddm!WineDirect3DCreateClipper+0x40e5
04a5f97c 022828e4 0bf872b8 022825a0 00000000 wined3dwddm!WineDirect3DCreateClipper+0x96a4
04a5f998 10003d08 00000000 0c5ff5e0 14740048 VBoxD3D9wddm!D3DPERF_SetRegion+0xa94
04a5f9ac 6e3021de 01d875f0 00000000 14740048 VBoxDispD3D!VBoxDispCrHgsmiQueryClient+0x2848
04a5f9c0 6e2f9c45 14740048 00000000 0c5ff8e8 d3d9!DestroyDeviceLHDDI+0x98
04a5f9d8 6e302141 14740048 03e0cb80 0c5ff5e0 d3d9!D3D8DeleteDirectDrawObject+0x2f
04a5f9f8 6e302040 1e5bf8b7 03e05160 0c5ff5e0 d3d9!CBaseDevice::~CBaseDevice+0xed
04a5fa28 6e301f47 1e5bf8d3 0c5ff5e0 0c5ff5e0 d3d9!CD3DBase::~CD3DBase+0x131
04a5fa4c 6e301e3f 0c5ff614 04a5fa6c 6e301e26 d3d9!CD3DHal::~CD3DHal+0xfb
04a5fa58 6e301e26 00000001 0778989c 07789810 d3d9!CD3DHal::`vector deleting destructor'+0xd
04a5fa6c 6ec0dca8 0c5ff5e0 0f4ae5f9 00000000 d3d9!CBaseDevice::Release+0x47
04a5fa98 6ec0de3b 07789810 04a5fab8 6ebeaefe evr!VideoOTAContainer::~VideoOTAContainer+0xbb
04a5faa4 6ebeaefe 00000001 02eafad0 02eaf890 evr!VideoOTAContainer::`vector deleting destructor'+0xd
04a5fab8 6d6ed174 07789810 02eaf890 02eaf890 evr!UnknownImpl<IVideoOTA>::Release+0x27
04a5fad8 6d6e937f 00000001 13f6bd54 13f6bc98 mf!MFCreateAudioRendererActivate+0x18e00
04a5faf0 6d6f08a4 02eaf890 00000000 13f6bc98 mf!MFCreateAudioRendererActivate+0x1500b
04a5fb10 6d6ee14b 00000001 6d61524c 02eac378 mf!MFCreateVideoRenderer+0x2890
04a5fb24 6d739ce9 13f6bc98 6d61524c 02eac378 mf!MFCreateVideoRenderer+0x137
04a5fb6c 6d7339c3 00907c70 00408a10 00000000 mf!MFCreateMediaSession+0x6139
04a5fb88 009d507a 0caaf860 1f89b260 00000000 mf!MFCreateMediaProcessor+0x1a0ae
04a5fe2c 009d20a1 000005c0 04a5fe50 1f89b228 WinSAT!WinSAT::MFMediaTest::PerformMediaTest+0x104e
04a5fe64 76471287 004089c8 1f8ba180 00000000 WinSAT!WinSAT::MFMediaOp::ps_MFMediaWorkerThread+0x2a
04a5fe9c 76471328 04a5feb0 75cc3c45 0053d340 msvcrt!_endthreadex+0x44
04a5fea4 75cc3c45 0053d340 04a5fef0 778537f5 msvcrt!_endthreadex+0xce
04a5feb0 778537f5 0053d340 7346e24c 00000000 kernel32!BaseThreadInitThunk+0xe
04a5fef0 778537c8 764712e5 0053d340 00000000 ntdll!__RtlUserThreadStart+0x70
04a5ff08 00000000 764712e5 0053d340 00000000 ntdll!_RtlUserThreadStart+0x1b
Andre.Ziegler
 
Posts: 62
Joined: 17. Jul 2007, 13:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Embedded Standard 7, Windows Vista Sp2, Linux (Ubuntu, Linux Mint, Zorin)

Re: Aero Glass / WDDM support works, but may crash

Postby wacher » 9. Jul 2011, 13:07

Sasquatch wrote:I made two shots ....

Oops, I wrote "the guest no start anymore", but is this possible that i just saw a blank screen as you?
wacher
 
Posts: 65
Joined: 26. Mar 2011, 04:47
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: W7

Re: Aero Glass / WDDM support works, but may crash

Postby Sasquatch » 9. Jul 2011, 13:19

That would be the case. Try to put the VM in saved state and resume it. I bet you get your VM going again. Do note that you might get a black screen in return, but if you click anywhere, things will go back to life. Press F5 and the whole screen will refresh (as you essentially refresh the desktop).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: Aero Glass / WDDM support works, but may crash

Postby Kingy » 18. Jul 2011, 21:40

Has anyone else noticed that Windows Aero sometimes won't start on boot on guests (did it on Vista 32-bit Ultimate guest) because of the Task Scheduler? Killing the Task Scheduler via the task manager then allows it to work. Very odd.
Kingy
 
Posts: 13
Joined: 5. Sep 2010, 18:40
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Ubuntu, etc.

Previous

Return to VirtualBox Beta/Release Candidate Feedback

Who is online

Users browsing this forum: No registered users and 1 guest