Page 1 of 1
3d acceleration in Fedora 23
Posted: 27. Jan 2016, 22:50
by facboy
Hi,
I'm pretty clueless with this, i'm running 5.0.14 r105127 on a Windows 10 x64 host, with the extensions installed. Guest is Fedora 23 with the Guest Additions installed. How can I tell if 3d acceleration is working? To be honest I'm mostly interested in the desktop acceleration as Gnome feels a little sluggish to me. Running glxinfo produces
Code: Select all
name of display: :1
display: :1 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
*SNIP*
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
*SNIP*
GLX version: 1.4
GLX extensions:
*SNIP*
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits)
OpenGL version string: 2.1 Mesa 11.1.0 (git-525f3c2)
OpenGL shading language version string: 1.30
OpenGL extensions:
*SNIP*
which makes me think it's not working. glxgears launches but tries to render at 500fps. LIBGL_DEBUG=verbose seems to indicate it's using software rendering?
Code: Select all
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
Re: 3d acceleration in Fedora 23
Posted: 27. Jan 2016, 23:24
by Perryg
Code: Select all
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits)
This indicates software rendering so either the guest additions are not installed properly, you have a version of Xorg that is not supported, or you have not enabled 3D acceleration in the settings yet.
If when you run glxinfo | grep OpenGL in the guest terminal you see Chromium/Humper then you have the acceleration working.
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 00:16
by facboy
hi,
3d acceleration is ticked in the settings (it's on a per-VM basis, right?), and as far as i know the guest additions are installed properly. I have whatever the default version of Xorg is that ships with Fedora 23. How would i tell if it is supported or not?
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 01:12
by Perryg
Look at the /var/log/vboxadd-install.log of the guest.
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 02:50
by facboy
I think it looks ok:
Code: Select all
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxguest/5.0.14/source ->
/usr/src/vboxguest-5.0.14
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make KERNELRELEASE=4.3.3-303.fc23.x86_64 -C /lib/modules/4.3.3-303.fc23.x86_64/build M=/var/lib/dkms/vboxguest/5.0.14/build..........
cleaning build area...
DKMS: build completed.
vboxguest:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.3.3-303.fc23.x86_64/extra/
vboxsf.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.3.3-303.fc23.x86_64/extra/
vboxvideo.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.3.3-303.fc23.x86_64/extra/
Adding any weak-modules
depmod....
DKMS: install completed.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
Though vboxdd-install-x11.log is very thin:
Code: Select all
VirtualBox Guest Additions installation, Window System and desktop setup
I think I had the same problem mentioned in
this post, when i switched to lightdm i got a different error in Xorg.0.log:
Code: Select all
[ 10.776] (II) Next line is added to allow vboxvideo_drv.so to appear as whitelisted driver
[ 10.776] (II) The file referenced, is *NOT* loaded
[ 10.776] (II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
[ 10.776] (EE) AIGLX error: vboxvideo does not export required DRI extension
[ 10.776] (EE) AIGLX: reverting to software rendering
[ 11.001] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 11.002] (II) AIGLX: Loaded and initialized swrast
[ 11.002] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 11.002] (II) VBoxVideo(0): Setting screen physical size to 508 x 292
I'm not sure if that's expected but glxgears and glxinfo still report that they're using Gallium.
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 02:59
by Perryg
5.0.14 does support Xorg 1.18 and as far as I know Fedora is not using the pre-release version of Xorg any more so it should work. I would raise a ticket at
bugtracker giving your guests log file and explain the results you are seeing about Gallium being used instead of Chromium. Post the ticket number here as well so others can add to and check on the progress.
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 12:25
by facboy
I think 3d is just not supported yet with Xorg 1.18. In the changelog for 5.0.10 it says:
X11 Additions: added basic support for X.Org Server 1.18 (3D requires additional fixes)
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 15:09
by Perryg
Yes you are right. I work in the future and sometimes miss the release change logs.
Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 16:05
by facboy
Could I have a build where it works from the future?

Re: 3d acceleration in Fedora 23
Posted: 28. Jan 2016, 16:16
by Perryg
Sure. You build it from SVN and then hope for the best since it is the development branch. It sometime works and sometimes breaks. Right now it is broken sorry to say.
Seems the work to move Xorg to non-root is causing issues. (probably)