Ubuntu 18.04 Virtual box : 3D acceleration activated, does not work
So I install a brand new ubuntu 18.04 in virtual box. I installed both host extensions and guest additions. My host system in a windows 10. I activated the 3D acceleration in my VM settings.
when I ask ubuntu, I thinks it answers that I do have 3D acceleration :
glxinfo | grep direct
direct rendering: Yes
The thing is, gnome 3 is not running smooth at all. No fancy effect or anything. Any lead is welcome, from the good combination of versions to maybe just tell my guest ubuntu how to use the 3D acceleration ?
gnome virtualbox 18.04 3d hardware-acceleration
add a comment |
So I install a brand new ubuntu 18.04 in virtual box. I installed both host extensions and guest additions. My host system in a windows 10. I activated the 3D acceleration in my VM settings.
when I ask ubuntu, I thinks it answers that I do have 3D acceleration :
glxinfo | grep direct
direct rendering: Yes
The thing is, gnome 3 is not running smooth at all. No fancy effect or anything. Any lead is welcome, from the good combination of versions to maybe just tell my guest ubuntu how to use the 3D acceleration ?
gnome virtualbox 18.04 3d hardware-acceleration
this is duplicated of askubuntu.com/questions/1029585/…
– rodvlopes
May 9 '18 at 13:10
1
How is it a duplicate ? My vm does not freeze on startup (or ever), it starts with 3D acceleration activated in the vbox settings and aglxinfo
inside the VM tells me the direct rendering is activated.
– Tom
May 9 '18 at 13:15
sure, it's just quite similar.
– rodvlopes
May 9 '18 at 18:15
add a comment |
So I install a brand new ubuntu 18.04 in virtual box. I installed both host extensions and guest additions. My host system in a windows 10. I activated the 3D acceleration in my VM settings.
when I ask ubuntu, I thinks it answers that I do have 3D acceleration :
glxinfo | grep direct
direct rendering: Yes
The thing is, gnome 3 is not running smooth at all. No fancy effect or anything. Any lead is welcome, from the good combination of versions to maybe just tell my guest ubuntu how to use the 3D acceleration ?
gnome virtualbox 18.04 3d hardware-acceleration
So I install a brand new ubuntu 18.04 in virtual box. I installed both host extensions and guest additions. My host system in a windows 10. I activated the 3D acceleration in my VM settings.
when I ask ubuntu, I thinks it answers that I do have 3D acceleration :
glxinfo | grep direct
direct rendering: Yes
The thing is, gnome 3 is not running smooth at all. No fancy effect or anything. Any lead is welcome, from the good combination of versions to maybe just tell my guest ubuntu how to use the 3D acceleration ?
gnome virtualbox 18.04 3d hardware-acceleration
gnome virtualbox 18.04 3d hardware-acceleration
edited May 9 '18 at 17:39
Tom
asked May 9 '18 at 1:11
TomTom
13116
13116
this is duplicated of askubuntu.com/questions/1029585/…
– rodvlopes
May 9 '18 at 13:10
1
How is it a duplicate ? My vm does not freeze on startup (or ever), it starts with 3D acceleration activated in the vbox settings and aglxinfo
inside the VM tells me the direct rendering is activated.
– Tom
May 9 '18 at 13:15
sure, it's just quite similar.
– rodvlopes
May 9 '18 at 18:15
add a comment |
this is duplicated of askubuntu.com/questions/1029585/…
– rodvlopes
May 9 '18 at 13:10
1
How is it a duplicate ? My vm does not freeze on startup (or ever), it starts with 3D acceleration activated in the vbox settings and aglxinfo
inside the VM tells me the direct rendering is activated.
– Tom
May 9 '18 at 13:15
sure, it's just quite similar.
– rodvlopes
May 9 '18 at 18:15
this is duplicated of askubuntu.com/questions/1029585/…
– rodvlopes
May 9 '18 at 13:10
this is duplicated of askubuntu.com/questions/1029585/…
– rodvlopes
May 9 '18 at 13:10
1
1
How is it a duplicate ? My vm does not freeze on startup (or ever), it starts with 3D acceleration activated in the vbox settings and a
glxinfo
inside the VM tells me the direct rendering is activated.– Tom
May 9 '18 at 13:15
How is it a duplicate ? My vm does not freeze on startup (or ever), it starts with 3D acceleration activated in the vbox settings and a
glxinfo
inside the VM tells me the direct rendering is activated.– Tom
May 9 '18 at 13:15
sure, it's just quite similar.
– rodvlopes
May 9 '18 at 18:15
sure, it's just quite similar.
– rodvlopes
May 9 '18 at 18:15
add a comment |
3 Answers
3
active
oldest
votes
So, if you have nothing against using unity instead of gnome (still on ubuntu 18.04), here is a solution that worked for me. ubuntu 18.04 on virtualbox with 3D acceleration (on windows 10 host).
Step to reproduce :
- install virtualbox 5.2.8
- install ubuntu 18.04 from official CD image (I choose the minimal install at startup)
- install build-essential and ubuntu-unity-desktop
- reboot
- install virtualbox guest extension from the virtualbox menu (not the apt-get version, maybe it works, did not test it).
- reboot
- ????
- Profit !
I don't know if it worked this time because I installed unity before the guest extension or because I use the guest extension provided by virtualbox and not from the repo.
It would seem it works with unity because unity does not use X11 and virtualbox does not support X11 very well ? (not sure about that part though, lots of other thread read, I might be a bit confused)
add a comment |
I am having the exact same issue as OP. I did a fresh install of Ubuntu 18.04 on the latest version of Virtualbox with 3D enabled and installed the latest version on guest utilities today 5/28, No smooth animations at all. glxinfo does show as yes for Direct rendering.
one workaround I found is that switching to Wayland Gnome on login works and animations work in Vbox, but it's definitely not as smooth as what I can get from the free VMware player, after using VMware player, I'm starting to like it more compared to VBOX and even thinking about purchasing a license.
From what I have seen, VMware provides better 3D support so I installed Ubuntu 18.04 on VMWare player free version with 3D enabled and all default animation work out of the box, gnome is smooth working as it should. I don't know how to report this as a bug but it is definitely a bug in Vbox 3D - Ubuntu 18.04 don't know if its a vbox issue or an ubuntu issue.
add a comment |
Virtualbox supports virtualization provider. One of them is KVM. You could change it in Virtualbox Settings.
Please check Virtualbox documentation about Paravirtualization providers. This may solve 3D Acceleration problem including window dragging. I had problem same as yours.
Optionally, turn on Paravirtualized Network (virtio-io) adapter to leverage KVM benefit.
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033817%2fubuntu-18-04-virtual-box-3d-acceleration-activated-does-not-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
So, if you have nothing against using unity instead of gnome (still on ubuntu 18.04), here is a solution that worked for me. ubuntu 18.04 on virtualbox with 3D acceleration (on windows 10 host).
Step to reproduce :
- install virtualbox 5.2.8
- install ubuntu 18.04 from official CD image (I choose the minimal install at startup)
- install build-essential and ubuntu-unity-desktop
- reboot
- install virtualbox guest extension from the virtualbox menu (not the apt-get version, maybe it works, did not test it).
- reboot
- ????
- Profit !
I don't know if it worked this time because I installed unity before the guest extension or because I use the guest extension provided by virtualbox and not from the repo.
It would seem it works with unity because unity does not use X11 and virtualbox does not support X11 very well ? (not sure about that part though, lots of other thread read, I might be a bit confused)
add a comment |
So, if you have nothing against using unity instead of gnome (still on ubuntu 18.04), here is a solution that worked for me. ubuntu 18.04 on virtualbox with 3D acceleration (on windows 10 host).
Step to reproduce :
- install virtualbox 5.2.8
- install ubuntu 18.04 from official CD image (I choose the minimal install at startup)
- install build-essential and ubuntu-unity-desktop
- reboot
- install virtualbox guest extension from the virtualbox menu (not the apt-get version, maybe it works, did not test it).
- reboot
- ????
- Profit !
I don't know if it worked this time because I installed unity before the guest extension or because I use the guest extension provided by virtualbox and not from the repo.
It would seem it works with unity because unity does not use X11 and virtualbox does not support X11 very well ? (not sure about that part though, lots of other thread read, I might be a bit confused)
add a comment |
So, if you have nothing against using unity instead of gnome (still on ubuntu 18.04), here is a solution that worked for me. ubuntu 18.04 on virtualbox with 3D acceleration (on windows 10 host).
Step to reproduce :
- install virtualbox 5.2.8
- install ubuntu 18.04 from official CD image (I choose the minimal install at startup)
- install build-essential and ubuntu-unity-desktop
- reboot
- install virtualbox guest extension from the virtualbox menu (not the apt-get version, maybe it works, did not test it).
- reboot
- ????
- Profit !
I don't know if it worked this time because I installed unity before the guest extension or because I use the guest extension provided by virtualbox and not from the repo.
It would seem it works with unity because unity does not use X11 and virtualbox does not support X11 very well ? (not sure about that part though, lots of other thread read, I might be a bit confused)
So, if you have nothing against using unity instead of gnome (still on ubuntu 18.04), here is a solution that worked for me. ubuntu 18.04 on virtualbox with 3D acceleration (on windows 10 host).
Step to reproduce :
- install virtualbox 5.2.8
- install ubuntu 18.04 from official CD image (I choose the minimal install at startup)
- install build-essential and ubuntu-unity-desktop
- reboot
- install virtualbox guest extension from the virtualbox menu (not the apt-get version, maybe it works, did not test it).
- reboot
- ????
- Profit !
I don't know if it worked this time because I installed unity before the guest extension or because I use the guest extension provided by virtualbox and not from the repo.
It would seem it works with unity because unity does not use X11 and virtualbox does not support X11 very well ? (not sure about that part though, lots of other thread read, I might be a bit confused)
answered May 9 '18 at 23:50
TomTom
13116
13116
add a comment |
add a comment |
I am having the exact same issue as OP. I did a fresh install of Ubuntu 18.04 on the latest version of Virtualbox with 3D enabled and installed the latest version on guest utilities today 5/28, No smooth animations at all. glxinfo does show as yes for Direct rendering.
one workaround I found is that switching to Wayland Gnome on login works and animations work in Vbox, but it's definitely not as smooth as what I can get from the free VMware player, after using VMware player, I'm starting to like it more compared to VBOX and even thinking about purchasing a license.
From what I have seen, VMware provides better 3D support so I installed Ubuntu 18.04 on VMWare player free version with 3D enabled and all default animation work out of the box, gnome is smooth working as it should. I don't know how to report this as a bug but it is definitely a bug in Vbox 3D - Ubuntu 18.04 don't know if its a vbox issue or an ubuntu issue.
add a comment |
I am having the exact same issue as OP. I did a fresh install of Ubuntu 18.04 on the latest version of Virtualbox with 3D enabled and installed the latest version on guest utilities today 5/28, No smooth animations at all. glxinfo does show as yes for Direct rendering.
one workaround I found is that switching to Wayland Gnome on login works and animations work in Vbox, but it's definitely not as smooth as what I can get from the free VMware player, after using VMware player, I'm starting to like it more compared to VBOX and even thinking about purchasing a license.
From what I have seen, VMware provides better 3D support so I installed Ubuntu 18.04 on VMWare player free version with 3D enabled and all default animation work out of the box, gnome is smooth working as it should. I don't know how to report this as a bug but it is definitely a bug in Vbox 3D - Ubuntu 18.04 don't know if its a vbox issue or an ubuntu issue.
add a comment |
I am having the exact same issue as OP. I did a fresh install of Ubuntu 18.04 on the latest version of Virtualbox with 3D enabled and installed the latest version on guest utilities today 5/28, No smooth animations at all. glxinfo does show as yes for Direct rendering.
one workaround I found is that switching to Wayland Gnome on login works and animations work in Vbox, but it's definitely not as smooth as what I can get from the free VMware player, after using VMware player, I'm starting to like it more compared to VBOX and even thinking about purchasing a license.
From what I have seen, VMware provides better 3D support so I installed Ubuntu 18.04 on VMWare player free version with 3D enabled and all default animation work out of the box, gnome is smooth working as it should. I don't know how to report this as a bug but it is definitely a bug in Vbox 3D - Ubuntu 18.04 don't know if its a vbox issue or an ubuntu issue.
I am having the exact same issue as OP. I did a fresh install of Ubuntu 18.04 on the latest version of Virtualbox with 3D enabled and installed the latest version on guest utilities today 5/28, No smooth animations at all. glxinfo does show as yes for Direct rendering.
one workaround I found is that switching to Wayland Gnome on login works and animations work in Vbox, but it's definitely not as smooth as what I can get from the free VMware player, after using VMware player, I'm starting to like it more compared to VBOX and even thinking about purchasing a license.
From what I have seen, VMware provides better 3D support so I installed Ubuntu 18.04 on VMWare player free version with 3D enabled and all default animation work out of the box, gnome is smooth working as it should. I don't know how to report this as a bug but it is definitely a bug in Vbox 3D - Ubuntu 18.04 don't know if its a vbox issue or an ubuntu issue.
edited May 28 '18 at 21:37
answered May 28 '18 at 21:20
MadhanMadhan
11
11
add a comment |
add a comment |
Virtualbox supports virtualization provider. One of them is KVM. You could change it in Virtualbox Settings.
Please check Virtualbox documentation about Paravirtualization providers. This may solve 3D Acceleration problem including window dragging. I had problem same as yours.
Optionally, turn on Paravirtualized Network (virtio-io) adapter to leverage KVM benefit.
add a comment |
Virtualbox supports virtualization provider. One of them is KVM. You could change it in Virtualbox Settings.
Please check Virtualbox documentation about Paravirtualization providers. This may solve 3D Acceleration problem including window dragging. I had problem same as yours.
Optionally, turn on Paravirtualized Network (virtio-io) adapter to leverage KVM benefit.
add a comment |
Virtualbox supports virtualization provider. One of them is KVM. You could change it in Virtualbox Settings.
Please check Virtualbox documentation about Paravirtualization providers. This may solve 3D Acceleration problem including window dragging. I had problem same as yours.
Optionally, turn on Paravirtualized Network (virtio-io) adapter to leverage KVM benefit.
Virtualbox supports virtualization provider. One of them is KVM. You could change it in Virtualbox Settings.
Please check Virtualbox documentation about Paravirtualization providers. This may solve 3D Acceleration problem including window dragging. I had problem same as yours.
Optionally, turn on Paravirtualized Network (virtio-io) adapter to leverage KVM benefit.
answered Jun 3 '18 at 21:30
DNXDNX
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033817%2fubuntu-18-04-virtual-box-3d-acceleration-activated-does-not-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
this is duplicated of askubuntu.com/questions/1029585/…
– rodvlopes
May 9 '18 at 13:10
1
How is it a duplicate ? My vm does not freeze on startup (or ever), it starts with 3D acceleration activated in the vbox settings and a
glxinfo
inside the VM tells me the direct rendering is activated.– Tom
May 9 '18 at 13:15
sure, it's just quite similar.
– rodvlopes
May 9 '18 at 18:15