Bug 95254 - Initialize egl only when needed
Summary: Initialize egl only when needed
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: Other All
: low enhancement
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-04 07:50 UTC by Pavel Grunt
Modified: 2016-07-28 18:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pavel Grunt 2016-05-04 07:50:14 UTC
Currently egl is always initialized, even when the guest is not using Virgl.
It would be nice to initialize only when it is needed. It would silence some runtime warnings (can be seen when running spice-gtk in a vm):

libEGL warning: DRI2: failed to authenticate
(remote-viewer:3665): GSpice-CRITICAL **: egl init failed: cannot create EGL context

Additional info:
How to setup a virgl guest - http://www.spice-space.org/spice-user-manual.html#_gl_acceleration_virgl


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.