Page 1 of 1

Gentoo Linux Guest, 3D Acceleration only under root.

Posted: 12. Jun 2010, 08:13
by ori0n
Hey guys, I have a fresh installation of Gentoo Linux. I've used the example xorg.conf file from the Guest Additions. Using the latest everything. Virtualbox 3.2.4 + 3.2.4 Guest Additions of course...

Anyways, glxgears is accelerated while running under root, but not under a non-root user. The non-root user I'm using is in the "video" group, if that matters.

Re: Gentoo Linux Guest, 3D Acceleration only under root.

Posted: 13. Jun 2010, 19:43
by ori0n
I've found the answer!

Add your non-root user to the "vboxguest" group. I didn't find this documented anywhere, but I found the group in my /etc/group file and decided to try it.

As root, run the following:

Code: Select all

usermod -a -G vboxguest <non-root username>

Re: Gentoo Linux Guest, 3D Acceleration only under root.

Posted: 13. Jun 2010, 22:11
by Sasquatch
Odd, I don't have that group on my Ubuntu VMs. Nor do I need to be in any group for 3D capabilities inside the Guest.