Bug 86191 - Built-in modesetting driver illegal use of dumb frontbuffer with glamor
Summary: Built-in modesetting driver illegal use of dumb frontbuffer with glamor
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xorg (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium blocker
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-12 08:32 UTC by Thomas Hellström
Modified: 2018-06-13 19:01 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Hellström 2014-11-12 08:32:16 UTC
In the built-in modesetting driver, function CreateScreenResources, the function
glamor_egl_create_textured_screen_ext() is called using a handle referencing a dumb buffer created with dumb_bo_create().

Accelerated rendering is not allowed to dumb buffers, causing this call to fail when EGL tries to import it as an image on, for example, vmware.

The correct approach here would be to use GBM to create the front bo. However, any mapping of that bo, replacing dumb_bo_map() would have to go through EGL / glamor as well
Comment 1 Adam Jackson 2018-06-13 19:01:25 UTC
glamor_egl_create_textured_screen_ext is now just an API stub around glamor_egl_create_textured_screen, which AFAICT modesetting no longer calls. Calling this fixed; there may still be other issues, but there isn't this issue anymore.


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.