We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[atemu@HEPHAISTOS nixpkgs]$ LIBVA_DRIVERS_PATH=/nix/store/2l4j4zp09047g61c0hw5ndw8k7lakd0c-mesa-22.1.4-drivers/lib/dri/ ./result/bin/vadumpcaps libva info: VA-API version 1.15.0 libva info: Trying to open /nix/store/2l4j4zp09047g61c0hw5ndw8k7lakd0c-mesa-22.1.4-drivers/lib/dri//radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_15 libva info: va_openDriver() returns 0 { "build_version": { "major": 1, "minor": 15, "micro": 0, }, "driver_version": { "major": 1, "minor": 15, }, "driver_vendor": "Mesa Gallium driver 22.1.4 for AMD Radeon RX 6800 XT (sienna_cichlid, LLVM 13.0.1, DRM 3.42, 5.15.54-xanmod1)", "profiles": [ { "profile": 0, "name": "MPEG2Simple", "description": "MPEG-2 Simple Profile", "entrypoints": [ { "entrypoint": 1, "name": "VLD", "description": "Decode Slice", "attributes": { "rt_formats": [ "YUV420", "YUV422", ], }, "surface_formats": [ { "rt_format": "YUV420", "memory_types": [ "VA", "DRM_PRIME", "DRM_PRIME_2", ], "drm_format_modifiers": [ Segmentation fault (core dumped)
(gdb) bt #0 dump_surface_attributes (rt_formats=3, entrypoint=VAEntrypointVLD, profile=VAProfileMPEG2Simple, display=0x40d2d0) at vadumpcaps.c:1127 #1 dump_entrypoints (profile=VAProfileMPEG2Simple, display=0x40d2d0) at vadumpcaps.c:1826 #2 dump_profiles (display=0x40d2d0) at vadumpcaps.c:1866 #3 main (argc=<optimized out>, argv=<optimized out>) at vadumpcaps.c:2122
[atemu@HEPHAISTOS nixpkgs]$ ldd ./result/bin/vadumpcaps linux-vdso.so.1 (0x00007fff689e1000) libva-drm.so.2 => /nix/store/7vlmdwbblky2ryski8wggq7wiwnkr13p-libva-2.15.0/lib/libva-drm.so.2 (0x00007fe9d508f000) libva.so.2 => /nix/store/7vlmdwbblky2ryski8wggq7wiwnkr13p-libva-2.15.0/lib/libva.so.2 (0x00007fe9d505f000) libc.so.6 => /nix/store/7fz6dhhriwv6n4kdg05qi8cwf7mfqza9-glibc-2.35-163/lib/libc.so.6 (0x00007fe9d4e55000) libdrm.so.2 => /nix/store/h3ligmwrcnc2yl744zsjzwnj90m6xdz5-libdrm-2.4.112/lib/libdrm.so.2 (0x00007fe9d4e3e000) /nix/store/7fz6dhhriwv6n4kdg05qi8cwf7mfqza9-glibc-2.35-163/lib/ld-linux-x86-64.so.2 => /nix/store/7fz6dhhriwv6n4kdg05qi8cwf7mfqza9-glibc-2.35-163/lib64/ld-linux-x86-64.so.2 (0x00007fe9d5096000)
build flags: SHELL=/nix/store/2r9n7fz1rxq088j6mi5s7izxdria6d5f-bash-5.1-p16/bin/bash gcc -o vadumpcaps -Wall -Wundef -g vadumpcaps.c -I/nix/store/hrkrlvpbnskd90xb3c9cym6ypq8301s4-libva-2.15.0-dev/include -L/nix/store/7vlmdwbblky2ryski8wggq7wiwnkr13p-libva-2.15.0/lib -lva-drm -lva vadumpcaps.c:257:5: warning: 'VAProfileH264Baseline' is deprecated [-Wdeprecated-declarations] 257 | P(H264Baseline, "H.264 / MPEG-4 part 10 (AVC) Baseline Profile"), | ^ In file included from vadumpcaps.c:30: /nix/store/hrkrlvpbnskd90xb3c9cym6ypq8301s4-libva-2.15.0-dev/include/va/va.h:502:5: note: declared here 502 | VAProfileH264Baseline va_deprecated_enum = 5, | ^~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
vadumpcaps: handle drivers that don't return any drm format modifiers
f3ce0dc
The AMD vaapi driver is one particular example. Fixes fhvwy#4.
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: