I've installed libva and the intel driver:
rpm -qa | grep libva | sort libva-2.4.1-1.fc29.x86_64 libva-devel-2.4.1-1.fc29.x86_64 libva-intel-driver-2.3.0-2.fc29.x86_64 libva-intel-hybrid-driver-1.0.2-14.fc29.x86_64 libva-utils-2.4.0-1.fc29.x86_64
I've got a cpu that should support it - Gen 9:
cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 94 model name : Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz stepping : 3 microcode : 0xc6
but:
$ vainfo libva info: VA-API version 1.4.1 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11
Works for root:
sudo vainfo error: XDG_RUNTIME_DIR not set in the environment. X11 connection rejected because of wrong authentication. error: can't connect to X server! libva info: VA-API version 1.4.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_4 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.4 (libva 2.4.0) vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.3.0 vainfo: Supported profile and entrypoints ............
ls -l /usr/lib64/dri/i965_drv_video.so -rwxr-xr-x. 1 root root 8157632 Feb 14 03:16 /usr/lib64/dri/i965_drv_video.so
Any help appreciated.
sean
On 5/3/19 2:18 PM, sean darcy wrote:
$ vainfo libva info: VA-API version 1.4.1 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11
It works for me. Where are you running this from?
On 5/3/19 7:10 PM, Samuel Sieb wrote:
On 5/3/19 2:18 PM, sean darcy wrote:
$ vainfo libva info: VA-API version 1.4.1 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11
It works for me. Where are you running this from?
Not sure what you're asking. From the terminal. Not a VM.
sean
On 5/3/19 4:23 PM, sean darcy wrote:
On 5/3/19 7:10 PM, Samuel Sieb wrote:
On 5/3/19 2:18 PM, sean darcy wrote:
$ vainfo libva info: VA-API version 1.4.1 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11
It works for me. Where are you running this from?
Not sure what you're asking. From the terminal. Not a VM.
I should have been more clear. I was trying to find out whether you were running it from an X terminal or a console or an ssh session, etc. That error is saying the X server doesn't like the request. When you run it as root, it can't talk to the X server, so it goes directly. You could try running "DISPLAY= vainfo" and see if it works without the X server.
The result on my laptop: $ vainfo libva info: VA-API version 1.4.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_4 failed to open /usr/lib64/dri/hybrid_drv_video.so Not using hybrid_drv_video.so libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.4 (libva 2.4.0) vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 2.3.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc
On 5/3/19 7:31 PM, Samuel Sieb wrote:
On 5/3/19 4:23 PM, sean darcy wrote:
On 5/3/19 7:10 PM, Samuel Sieb wrote:
On 5/3/19 2:18 PM, sean darcy wrote:
$ vainfo libva info: VA-API version 1.4.1 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (DRI2) Minor opcode of failed request: 1 (DRI2Connect) Serial number of failed request: 11 Current serial number in output stream: 11
It works for me. Where are you running this from?
Not sure what you're asking. From the terminal. Not a VM.
I should have been more clear. I was trying to find out whether you were running it from an X terminal or a console or an ssh session, etc. That error is saying the X server doesn't like the request. When you run it as root, it can't talk to the X server, so it goes directly. You could try running "DISPLAY= vainfo" and see if it works without the X server.
The result on my laptop: $ vainfo libva info: VA-API version 1.4.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_4 failed to open /usr/lib64/dri/hybrid_drv_video.so Not using hybrid_drv_video.so libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.4 (libva 2.4.0) vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 2.3.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc _______________________________________________
That did it ! thanks