Bug 2188741 - rk3399 unable to see a profile with vainfo
Summary: rk3399 unable to see a profile with vainfo
Keywords:
Status: CLOSED DUPLICATE of bug 2171594
Alias: None
Product: Fedora
Classification: Fedora
Component: libva-v4l2-request
Version: 38
Hardware: arm
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-21 23:15 UTC by jessegodfroy
Modified: 2023-09-04 13:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-09-04 13:48:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jessegodfroy 2023-04-21 23:15:24 UTC
I have a pinebook pro with an rk3399.  I have set environment variables
LIBVA_V4L2_REQUEST_VIDEO_PATH=/dev/v4l/by-path/platform-ff660000.video-codec-video-index0
LIBVA_DRIVER_NAME=v4l2_request

when I run vainfo there are no acceleration profiles displayed.  

I have configured manjaro with these same environment variables and I consistently see h.264 accleration profiles for the rkvdec of the rk3399. 

I'm not sure if this is v4l2-request, ffmpeg, or a kernel issue in fedora. 


Reproducible: Always

Steps to Reproduce:
1. set environment variables
2. run vainfo
3. see no profiles exist
Actual Results:  
no acceleration profiles

Expected Results:  
able to see h.264 acceleration profiles for rkvdec

Comment 1 Nicolas Chauvet (kwizart) 2023-04-22 08:26:03 UTC
libva-v4l2-request is unmaintained upstream so unless someone is taking over the maintenance, this package will likely be dropped.

It used to work before all v4l2-request codec api was merged upstream and was not adapted. So earlier kernel worked fine.
It's still possible that majaro uses downstream patches, I will take a look. But instead, you should use the native v4l2-request API when possible (mpv works, but unlikely for most browsers).

Comment 2 jessegodfroy 2023-04-22 12:23:22 UTC
Thanks.  I dug into this a bit further and the manjaro pkgbuild also has errors on an up-to-date install. So, while I get profiles on vainfo, it probably doesn't work.

Comment 3 Nicolas Chauvet (kwizart) 2023-09-04 13:48:07 UTC
To me, this is the same issue as 2171594 (FTBFS) as this package doesn't work with upstreamed in-kernel support yet...

*** This bug has been marked as a duplicate of bug 2171594 ***


Note You need to log in before you can comment on or make changes to this bug.