intel / beignet

Beignet is an open source implementation of the OpenCL specification - a generic compute oriented API. Here is Beignet Source Code Mirror in github- This is a publish-only repository and all pull requests are ignored. Please follow https://wiki.freedesktop.org/www/Software/Beignet/ for any of your improvements
GNU Lesser General Public License v2.1
95 stars 40 forks source link

intel: Handle Wayland environment #8

Closed Constellation closed 6 years ago

Constellation commented 6 years ago

When we are using Wayland, XOpenDisplay succeeds because of XWayland. However VA_DRI2QueryExtension for that display fails, and we give up initializing beignet on Wayland environment. This patch changes this initialization strategy: falling back to using DRM render nodes or DRM nodes. In the future, we should have code handling Wayland display before starting X11 path.

Constellation commented 6 years ago

Oops! This repository is a mirror. I'll post this patch to the appropriate place :)