LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-13-2011, 12:55 PM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Enable Intel VT for Direct I/O?


Before I upgrade VirtualBox-4-1.4-rsomething-Linux-amd64 to VirtualBox-4.1.6-74727-Linux_amd64 on a Slackware 64-bit 13.37 box running Win7 64-bit in a virtual machine I'm wondering if enabling Intel VT for Direct I/O in the BIOS might solve a problem and not cause any unintended problems in Slackware (Win7 is is booted, oh, just about every Patch Tuesday but not often otherwise).

The problem in Win7 is that I cannot enable 3-D acceleration. I have tried installing the guest additions in Windows safe mode (as instructed by VirtualBox) but have been unsuccessful. Just wondering if enabling Intel VT would help with no penalty or is there something else that might be good to try?
 
Old 11-14-2011, 06:04 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Enabling Intel VT in the hosts BIOS is not going to impact 3D acceleration in the guest. Having said that, there's no reason not to enable VT in the BIOS, and general performance would likely improve.

Now, as for 3D... Do you have 3D acceleration working in the host OS? What video card and drivers are you using?

Adam
 
Old 11-14-2011, 07:18 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Hey, thanks for that.

Yes, 3D acceleration does appear to work on the host -- it's
Code:
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Or maybe not, but all the effects and stuff in KDE work and at one time this machine did have Win7 installed -- came with it, blew it away, it's a 100% Slackware box with Win7 as a guest only -- and all the Winy7 eye candy worked.

For some reason that I'm not sure of installing guest additions has not allowed 3-D -- maybe I've got something not set in VirtualBox?

Looking at the set up, I do not have PAE/NX enabled, both VT-x/AMD-V and Nested Paging are enabled, I can check 3-D acceleration but, say, starting the Solitare game says there's not hardware acceleration and I'm at a loss.
 
Old 11-14-2011, 07:44 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Bring up dxdiag in the guest, go to the Display tab, and see if it shows direct3d acceleration as enabled. What "Chip Type" does it show?

Do you know where VirtualBox is storing the log file for this guest?

Adam
 
Old 11-14-2011, 08:18 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Hm. It shows Direct3D Acceleration not available (oh, darn!). The other stuff is VirtualBox Graphics Adapter, chip VBOX, DAC type integrated RAMDAC, Total Memory 29.0 MB, Display Mode 1280x768 (32-bit) (60Hz) and Monitor generic non-PnP monitor. The Main Driver VBoxDisp. I suppose that's not too surprising.

The only log I know of is /var/log/vbox-install.log unless there's another one somewhere by a different name.
 
Old 11-14-2011, 08:21 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
What's the name of your Windows 7 VM? There should be a directory called ~/VirtualBox VM/Windows 7/Logs or ~/.VirtualBox/Machines/Windows 7/Logs

Replace "Windows 7" with the actual name of your Windows 7 VM. Inside that directory there should be a VBox.log. Pastebin the file and give us the link or include it here between [code][/code] tags.

Adam
 
Old 11-14-2011, 08:54 AM   #7
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Well, duh! It's /var/lib/virtual/Machines/Win7/Logs (where /dev/sda8 on /var/lib/virtual type ext4 (rw,commit=0); it's a mounted 92G partition with 30G assigned to Win7).

The log ought to be attached.
Attached Files
File Type: log VBox.log (81.9 KB, 27 views)
 
Old 11-14-2011, 10:30 AM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Alright, so it clearly detects that 3D acceleration is available from the host. I have no experience with Windows 7 (or even Vista) in virtualbox, but in Windows XP, direct3d 9 is available on a machine with an even older Intel GPU. Perhaps Windows 7 requires a more powerful GPU for direct3d acceleration? When you installed the guest additions in safe-mode, you did make sure to check the box for direct3d acceleration, right?

Adam
 
Old 11-14-2011, 12:50 PM   #9
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Well, like I said, when Win7 was on the thing (I had to pay the Microsoft Tax when I bought from Dell), all that 3-D stuff worked. It seems that the guest additions from the previous releases of VirtualBox just didn't want to "take" or something. I'm thinking that a good approach may be to upgrade to VirtualBox-4.1.6-74727-Linux_amd64 and give that a shot and see what happens; after all, the video drivers are VBox and maybe there's an improved driver or something.

I'm going to do that shortly and see.

Thank you for all your time and effort, it is appreciated.
 
Old 11-14-2011, 01:07 PM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Quote:
Originally Posted by tronayne View Post
Well, like I said, when Win7 was on the thing (I had to pay the Microsoft Tax when I bought from Dell), all that 3-D stuff worked. It seems that the guest additions from the previous releases of VirtualBox just didn't want to "take" or something. I'm thinking that a good approach may be to upgrade to VirtualBox-4.1.6-74727-Linux_amd64 and give that a shot and see what happens; after all, the video drivers are VBox and maybe there's an improved driver or something.
As you said, the video drivers are VBox, so the fact that 3D acceleration worked fine when you were running Windows 7 is completely irrelevant to this situation.

In any case, you are correct, it can't hurt to update virtualbox and the guest additions, and that would be my next suggestion anyway.

Adam
 
Old 11-14-2011, 04:54 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I never would have installed guest additions in safe mode. Safe mode may have used the vesa driver instead of the virtualbox driver.

I think you have to load the latest guest additions and install it as admin user in a normal boot. They have to work.

http://www.virtualbox.org/manual/ch04.html#guestadd-3d

Last edited by jefro; 11-14-2011 at 04:55 PM.
 
Old 11-14-2011, 05:06 PM   #12
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Only the experimental WDDM driver can be installed outside of safe-mode. The normal direct3d driver for VirtualBox window's guests must be installed in safe-mode. I would assume (perhaps incorrectly) that the OP is trying to use the normal, non-experimental driver, but that might be an option for him.

Adam
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to enable direct rendering. dr_zayus69 Linux - Games 8 06-02-2008 05:10 PM
How can I Enable Direct Rendering in Intel 915 Express? woodstock72 Linux - Laptop and Netbook 4 12-17-2006 11:09 AM
How to enable direct rendering in a Intel i915 adrian_mx Linux - Hardware 3 06-03-2006 01:05 AM
Enable Direct Rendering rca36 Mandriva 12 03-29-2005 01:15 PM
how to enable direct rendering? marsques Slackware 2 09-07-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration