Announcement

Collapse
No announcement yet.

Early Virgil 3D Results Show This Virtual GPU For QEMU Has Room For Improvement

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Early Virgil 3D Results Show This Virtual GPU For QEMU Has Room For Improvement

    Phoronix: Early Virgil 3D Results Show This Virtual GPU For QEMU Has Room For Improvement

    Virgil 3D (also sometimes marked as VirGL 3D) is now part of all the key mainline components for supporting 3D acceleration on guest VMs that's then passed onto the host using a pure open-source software stack by creating a virtual 3D GPU inside QEMU. Here are some benchmark numbers...

    http://www.phoronix.com/scan.php?pag...F24-Beta-Tests

  • #2
    It's promising that we're seeing any frames at all. I look forward to seeing the performance come into the useful range.

    Comment


    • #3
      VMware seems to have the best virtual graphics driver so far. It's fairly impressive when VMware Player can support DirectX 10 games via Windows guests on Linux hosts before Wine reliably can and the 3D performance is decent--probably similar to Wine Staging + CSMT when compared to bare metal. Cannot wait to see Direct3D 11 level API support arrive in virtual drivers.

      Comment


      • #4
        Originally posted by microcode View Post
        It's promising that we're seeing any frames at all. I look forward to seeing the performance come into the useful range.
        Still way better than it was. Finally looking forward to a lag free VM desktop.

        Comment


        • #5
          Originally posted by phoronix View Post
          Phoronix: Early Virgil 3D Results Show This Virtual GPU For QEMU Has Room For Improvement

          Virgil 3D (also sometimes marked as VirGL 3D) is now part of all the key mainline components for supporting 3D acceleration on guest VMs that's then passed onto the host using a pure open-source software stack by creating a virtual 3D GPU inside QEMU. Here are some benchmark numbers...

          http://www.phoronix.com/scan.php?pag...F24-Beta-Tests
          I can't see the guest driver name from the test logs, maybe I just don't know where to look.

          I'm 50/50 on that being llvmpipe.

          Dave.

          Comment


          • #6
            Debian still didn't enable it though: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=813658

            Comment


            • #7
              Originally posted by airlied View Post

              I can't see the guest driver name from the test logs, maybe I just don't know where to look.

              I'm 50/50 on that being llvmpipe.

              Dave.
              Yeah, I was going to say those results line up about with what I'd expect from llvmpipe.

              Still impressive that it's running successfully though.

              Comment


              • #8
                Does anybody managed to get Ubuntu 16.04 running as guest with Virgl? I am running Qemu 2.6.0 on a Gentoo host and Ubuntu inside the VM does not come past the plymouth boot screen. Just changing the -vga option to something else fixes the boot problem, but the whole point is trying out 3D support inside Ubuntu.

                Comment


                • #9
                  Originally posted by airlied View Post

                  I can't see the guest driver name from the test logs, maybe I just don't know where to look.

                  I'm 50/50 on that being llvmpipe.

                  Dave.
                  He probably didn't upload the logs when it asked, but I guess it's llvmpipe because I saw better numbers from Virgil.
                  ## VGA ##
                  AMD: X1950XTX, HD3870, HD5870
                  Intel: GMA45, HD3000 (Core i5 2500K)

                  Comment


                  • #10
                    Guest info:

                    dmesg | grep drm

                    [ 1.330375] [drm] Initialized drm 1.1.0 20060810
                    [ 1.342425] [drm] pci: virtio-vga detected
                    [ 1.342503] [drm] virgl 3d acceleration enabled
                    [ 1.342865] [drm] virtio vbuffers: 272 bufs, 192B each, 51kB total.
                    [ 1.343002] [drm] number of scanouts: 1
                    [ 1.343006] [drm] number of cap sets: 1
                    [ 1.347016] [drm] cap set 0: id 1, max-version 1, max-size 308
                    [ 1.357814] virtio_gpu virtio0: fb0: virtiodrmfb frame buffer device
                    [ 1.369904] [drm] Initialized virtio_gpu 0.0.1 0 on minor 0



                    Xorg
                    [1921]: (==) modeset(0): Backing store enabled
                    [1921]: (==) modeset(0): Silken mouse enabled
                    [1921]: (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
                    [1921]: (==) modeset(0): DPMS enabled
                    [1921]: (II) modeset(0): [DRI2] Setup complete
                    [1921]: (II) modeset(0): [DRI2] DRI driver: virtio_gpu
                    [1921]: (II) modeset(0): [DRI2] VDPAU driver: virtio_gpu




                    glxinfo | grep OpenGL
                    OpenGL vendor string: Red Hat
                    OpenGL renderer string: Gallium 0.4 on virgl
                    OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.1 (git-79b0e13)
                    OpenGL core profile shading language version string: 3.30
                    OpenGL core profile context flags: (none)
                    OpenGL core profile profile mask: core profile
                    OpenGL core profile extensions:
                    OpenGL version string: 3.0 Mesa 11.2.1 (git-79b0e13)
                    OpenGL shading language version string: 1.30
                    OpenGL context flags: (none)
                    OpenGL extensions:
                    OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.1 (git-79b0e13)
                    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
                    OpenGL ES profile extensions:


                    These tests were done on Fedora24 Beta + kraxel virgl repo -
                    https://copr.fedorainfracloud.org/coprs/kraxel/virgl/

                    I'm pretty sure the numbers will be different once you pull everything from git.
                    Last edited by dagger; 05-20-2016, 04:44 AM.
                    Rob
                    email: dagger@gentoo.org

                    Comment

                    Working...
                    X