Skip to content

qsv: fixing mfx compilation options for Linux support#648

Merged
sr55 merged 3 commits intoHandBrake:masterfrom
maximd33:linux
Apr 4, 2017
Merged

qsv: fixing mfx compilation options for Linux support#648
sr55 merged 3 commits intoHandBrake:masterfrom
maximd33:linux

Conversation

@maximd33
Copy link
Copy Markdown
Contributor

Adds preliminary support for QSV on Linux,
requires MSS to be installed for run.

To build on PC without MSS installed and without iGPU/QSV : libdrm and libva dev. packages should be still taken from MSS, compiled and placed that pkg-config can find it.


LIBMFX.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;

ifneq (1,$(FEATURE.qsv))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused about what this is supposed to do. The libmfx contrib is only built when FEATURE.qsv == 1. So it would appear this will never add --without-libva_* since you can only get here if FEATURE.qsv == 1. Maybe this conditional should be checking BUILD.system instead? E.g.

ifneq (,$(filter $(BUILD.system),linux))

Copy link
Copy Markdown
Contributor Author

@maximd33 maximd33 Mar 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bradleysepos can help as well due to 77bdefe

General rule:

  • it should not matter for cross/Windows compilation
  • for Linux we need to have it: meaning NO: --without-libva_*

Note these (libva_drm and libva_x11) should be from MSS and not other(s)/default ones.

@maximd33
Copy link
Copy Markdown
Contributor Author

thanks @jstebbins : now it should be better and properly handle build PC where non MSS's libva* are installed.
@bradleysepos comments are welcome

@sr55
Copy link
Copy Markdown
Contributor

sr55 commented Mar 21, 2017

Is this going to impact GPL compatibility as it isn't free?

@maximd33
Copy link
Copy Markdown
Contributor Author

Intel® Media Server Studio – Community Edition
is free of charge

@bradleysepos
Copy link
Copy Markdown
Contributor

Seems fine from a diff standpoint.

@maximd33
Copy link
Copy Markdown
Contributor Author

f293068 needed only before next mfx_dispatch update.

@sr55
Copy link
Copy Markdown
Contributor

sr55 commented Mar 25, 2017

OK. No objections here

@sr55 sr55 added this to the 1.1.0 milestone Mar 26, 2017
@sr55
Copy link
Copy Markdown
Contributor

sr55 commented Apr 4, 2017

If there are no objections I'll merge this in tomorrow.

@jstebbins
Copy link
Copy Markdown
Contributor

I forgot this was pending. It's fine with me.

@sr55 sr55 merged commit c584f66 into HandBrake:master Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants