GithubHelp home page GithubHelp logo

Comments (5)

yakuizhao avatar yakuizhao commented on June 9, 2024

I don't think that it is a bug. Instead it is related with the system configuration.
In fact if the libva is built without x11 supported, it will disable libva-x11. Then the intel-vaapi-driver can be built with X11 disabled automatically.
But the building system has the libva-x11.pc. In such case it causes that USE_X11 is still configured as 1.
Then the error is triggered.

But it is not the driver bug.

from intel-vaapi-driver.

chivakker avatar chivakker commented on June 9, 2024

The point here is which library needs x11 to compile. If it is needed to compile then configure should be doing the check. libva was doing it because the test folder required it, so in that scenario all libraries were covered. Once libva-utils is introduced, the expectation is that it should be compiled in this order libva, intel-vaapi-driver and the libva-utils. libva doesn't need to check for x11 stuff anymore, so the driver and libva-utils should do it as they actually need it for compilation.

from intel-vaapi-driver.

yakuizhao avatar yakuizhao commented on June 9, 2024

The driver has the dependency on libva-x11. If the libva is built without libva-x11, the x11 is automatically disabled when trying to build the driver.(Although x11 is enabled for libva by default, it will also be disabled if the X11 library doesn't meet with the requirement.)

So if the libva has no libva-x11 library, the mentioned issue in driver is related with the system configuration.

BTW: libva-x11 is not only required by libva tests, but also is required by the windows system when running the libva.

from intel-vaapi-driver.

xhaihao avatar xhaihao commented on June 9, 2024

@yakuizhao Even though user installs libva & libva-x11, it is possible not to install the develop package for X11, however we need the develop package fox X11 (e.g. libx11-dev on Ubuntu) to build the driver.

from intel-vaapi-driver.

yakuizhao avatar yakuizhao commented on June 9, 2024

@chivakker @xhaihao Thanks for the more detailed explanation. Sorry that I am wrong. If the libva is installed by the distribution package with libva-x11, the driver building error will be triggered if X11 library doesn't exist.

from intel-vaapi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.