intel / libvpl

Intel® Video Processing Library (Intel® VPL) API, dispatcher, and examples
https://intel.github.io/libvpl/
MIT License
262 stars 80 forks source link

Inability to build dispatcher with X11 disabled #76

Closed wenqingx closed 1 year ago

wenqingx commented 1 year ago

libva: https://github.com/intel/libva/commit/da4a18fe814c9695f420d466ad3065cebdbe288a vpl-dispatch:https://github.com/oneapi-src/oneVPL/commit/8b69f025de671b7bf97464f0e7fd7e2c5932dab7

If libva does not enable X11 when compiling the vpl-dispatch, you will encounter a build error. The configuration I just pulled is the latest one, which I reproduced on TGL. But it seems that this has nothing to do with the platform

except:vpl-dispatch can build without X11.

mav-intel commented 1 year ago

@wenqingx Can you share your exact build command? Are you setting -DENABLE_X11=OFF -DENABLE_DRI3=OFF or relying on automatic detection of environment?

If you are relying on automatic detection, can you share your minimal environment (ideally in a dockerfile)

wenqingx commented 1 year ago

@wenqingx Can you share your exact build command? Are you setting -DENABLE_X11=OFF -DENABLE_DRI3=OFF or relying on automatic detection of environment?

If you are relying on automatic detection, can you share your minimal environment (ideally in a dockerfile)

libva: ./autogen.sh --prefix=$INSTALL_DIR Onevpl: cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR

I did not add other parameters in config. If libva is added The compilation problem of enable x11. Onevpl will be fixed.

wenqingx commented 1 year ago

Is there any progress please?

wenqingx commented 1 year ago

I tried to compile when libva did not add -- enable x11. There was no issue in the reproduction. I thought it was fixed. Thank you.