[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
Regarding comment #6: Unfortunately the libva fix doesn't fix the obs- studio issue for me. I reported a separate bug. --> https://bugs.launchpad.net/ubuntu/+source/obs-studio/+bug/1873400 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Fix Released Status in libva package in Ubuntu: Fix Released Status in obs-studio package in Ubuntu: Invalid Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
** Changed in: libva (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Fix Released Status in libva package in Ubuntu: Fix Released Status in obs-studio package in Ubuntu: Invalid Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
** Changed in: libva Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Fix Released Status in libva package in Ubuntu: Confirmed Status in obs-studio package in Ubuntu: Invalid Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
This will be fixed once libva 2.7.0-2 gets synced. ** Changed in: obs-studio (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Unknown Status in libva package in Ubuntu: Confirmed Status in obs-studio package in Ubuntu: Invalid Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
Thank you for the workaround (learning a lot by participating in Ubuntu Beta testing week!) libva info: VA-API version 1.7.0 libva info: User environment variable requested driver 'i965' libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_6 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.7 (libva 2.6.0) vainfo: Driver version: Intel i965 driver for Intel(R) Gemini Lake - 2.4.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple: VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointEncSliceLP VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main: VAEntrypointVLD VAProfileVC1Advanced: VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileVP9Profile0: VAEntrypointVLD VAProfileVP9Profile0: VAEntrypointEncSlice VAProfileVP9Profile2: VAEntrypointVLD -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Unknown Status in libva package in Ubuntu: Confirmed Status in obs-studio package in Ubuntu: New Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
OBS Studio error message w/o the workaround, to help others find the aforementioned temporary solution: "Starting the output failed. Please check the log for details." info: [FFMPEG VAAPI encoder: 'streaming_h264'] settings: device: /dev/dri/renderD128 rate_control: CBR profile: 578 level:40 qp: 0 bitrate: 2500 maxrate: 2500 keyint: 60 width:1920 height: 1080 b-frames: 0 [h264_vaapi @ 0x55bae7f246c0] Driver does not support any RC mode compatible with selected options (supported modes: CQP). warning: [FFMPEG VAAPI encoder: 'streaming_h264'] Failed to open VAAPI codec: Invalid argument -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Unknown Status in libva package in Ubuntu: Confirmed Status in obs-studio package in Ubuntu: New Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
This also affects OBS Studio (focal package obs-studio), which fails to record using VAAPI hardware encoding due to this bug. Workaround: Start obs with the LIBVA_DRIVER_NAME environment variable set to the driver matching your Intel hardware, e.g. the following for my Intel Skylake CPU. LIBVA_DRIVER_NAME=i965 obs ** Also affects: libva via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956281 Importance: Unknown Status: Unknown ** Also affects: obs-studio (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in Libva: Unknown Status in libva package in Ubuntu: Confirmed Status in obs-studio package in Ubuntu: New Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
Related (and fixed in Debian?): https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=956281 ** Bug watch added: Debian Bug tracker #956281 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956281 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in libva package in Ubuntu: Confirmed Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1872875] Re: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libva (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libva in Ubuntu. https://bugs.launchpad.net/bugs/1872875 Title: [Focal] Intel libva va_openDriver() returns -1 (VA-API broken) Status in libva package in Ubuntu: Confirmed Bug description: Ubuntu 20.04 System selects wrong intel driver (iris_drv_video.so). Therefore cannot use vaapi hardware decoding vainfo: libva info: VA-API version 1.7.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iris_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libva/+bug/1872875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp