Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709988 - app-emulation/virt-manager fails to enable VirGL acceleration
Summary: app-emulation/virt-manager fails to enable VirGL acceleration
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-17 20:41 UTC by Luke A. Guest
Modified: 2020-04-18 19:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke A. Guest 2020-02-17 20:41:53 UTC
Using a qemu:///system Debian VM, I get a black screen when trying to enable virgl:



Reproducible: Always

Steps to Reproduce:
1. Enable GL in display:

<graphics type="spice">
  <listen type="none"/>
  <image compression="off"/>
  <gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:03:00.0-render"/>
</graphics>


2. Enable 3D accel in video virtio:

<video>
  <model type="virtio" heads="1" primary="yes">
    <acceleration accel3d="yes"/>
  </model>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>


Actual Results:  
Black screen, OS seems to be running as can shutdown from virt-manager's menu.

In the log, I get the following line using media-libs/virglrenderer-0.7.0:

gl_version 46 - core profile enabled

Upgrading to media-libs/virglrenderer-9999, I get the following (still black):

gl_version 46 - core profile enabled
vrend_renderer_fill_caps: Entering with stale GL error: 1280
GLSL feature level 430



Expected Results:  
Boot into OS with 3D acceleration.

qemu-9999
virt-manager-9999
Comment 1 Matthias Maier gentoo-dev 2020-04-18 19:37:35 UTC
Please attach a full emerge --info and additional information about the qemu version, and the opengl driver used. For example the egl support in nvidia-drivers seems to be incomplete.