Linux - Virtualization and CloudThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
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?
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?
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.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
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.
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.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
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).
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?
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.