Samples
Closed this issue · 4 comments
kiritigowda commented
- Current sample non-functional
- Additional samples missing
kiritigowda commented
Start 2: video_decode-H265
2: Test command: /home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode/videodecode "-i" "/home/kiriti/develop/vcndecode-kiriti/rocDecode/data/videos/AMD_driving_virtual_20-H265.mp4"
2: Test timeout computed to be: 1500
2: info: Using GPU device 0AMD Radeon PRO W6800[gfx1030] on PCI bus 0b:00.0
2: info: decoding started, please wait!
2: info: Video codec format: M-JPEG
2: info: Video size: [ 2048, 1024 ]
2: info: Video surface format: NV12
2: info: Video Bit depth: 8
2: info: Total frame decoded: 0
2: info: avg decoding time per frame (ms): inf
2: info: avg FPS: 0
1/1 Test #2: video_decode-H265 ................ Passed 0.44 sec
The following tests passed:
video_decode-H265
kiritigowda commented
Start 1: video_decode-H264
- Failure
1: Test command: /usr/bin/ctest "--build-and-test" "/home/kiriti/develop/vcndecode-kiriti/rocDecode/samples/videoDecode" "/home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode" "--build-generator" "Unix Makefiles" "--test-command" "videodecode" "-i" "/home/kiriti/develop/vcndecode-kiriti/rocDecode/data/videos/AMD_driving_virtual_20-H264.mp4"
1: Test timeout computed to be: 1500
1: Internal cmake changing into directory: /home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode
1: ======== CMake output ======
1: -- INFO:ROCM_PATH Set -- /opt/rocm
1: hip::amdhip64 is SHARED_LIBRARY
1: -- Using rocDecode --
1: Libraries:/opt/rocm/lib/librocdecode.so
1: Includes:/opt/rocm/include/rocdecode
1: Configuring done
1: Generating done
1: Build files have been written to: /home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode
1: ======== End CMake output ======
1: Change Dir: /home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode
1:
1: Run Clean Command:/usr/bin/make clean
1:
1: Run Build Command(s):/usr/bin/make && [ 33%] Building CXX object CMakeFiles/videodecode.dir/videodecode.cpp.o
1: [ 66%] Building CXX object CMakeFiles/videodecode.dir/home/kiriti/develop/vcndecode-kiriti/rocDecode/utils/rocvideodecode/roc_video_dec.cpp.o
1: [100%] Linking CXX executable videodecode
1: [100%] Built target videodecode
1:
1: Running test command: "/home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode/videodecode" "-i" "/home/kiriti/develop/vcndecode-kiriti/rocDecode/data/videos/AMD_driving_virtual_20-H264.mp4"
1: Test command failed: /home/kiriti/develop/vcndecode-kiriti/build/samples/videoDecode/videodecode
1: info: Using GPU device 0AMD Radeon PRO W6800[gfx1030] on PCI bus 0b:00.0
1: info: decoding started, please wait!
1: [ERR] {rocDecCreateVideoParser} Failed to init the rocDecode handle, { create_parser } rocParser Initialization failed with error: -6
1:
1: *** Exception executing: Segmentation fault
1/1 Test #1: video_decode-H264 ................***Failed 25.25 sec
kiritigowda commented
@asalmanp failure on RHEL 9 & SLES 15 - http://math-ci.amd.com/blue/organizations/jenkins/main%2Fprecheckin%2FrocDecode/detail/master/32/pipeline/329
Start 1: video_decode-H264
1: Test command: /opt/cmake-3.23.0-rc2/bin/ctest "--build-and-test" "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/samples/videoDecode" "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode" "--build-generator" "Unix Makefiles" "--test-command" "videodecode" "-i" "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/data/videos/AMD_driving_virtual_20-H264.mp4"
1: Test timeout computed to be: 1500
1: Internal cmake changing into directory: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode
1: ======== CMake output ======
1: The C compiler identification is GNU 11.3.1
1: The CXX compiler identification is GNU 11.3.1
1: Detecting C compiler ABI info
1: Detecting C compiler ABI info - done
1: Check for working C compiler: /usr/bin/cc - skipped
1: Detecting C compile features
1: Detecting C compile features - done
1: Detecting CXX compiler ABI info
1: Detecting CXX compiler ABI info - done
1: Check for working CXX compiler: /usr/bin/c++ - skipped
1: Detecting CXX compile features
1: Detecting CXX compile features - done
1: Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
1: Checking for module 'libavcodec'
1: Found libavcodec, version 58.134.100
1: Checking for module 'libavformat'
1: Found libavformat, version 58.76.100
1: Checking for module 'libavutil'
1: Found libavutil, version 56.70.100
1: -- Using FFMPEG --
1: Libraries:/usr/local/lib/libavcodec.so;/usr/local/lib/libavformat.so;/usr/local/lib/libavutil.so;/usr/local/lib/libswscale.so
1: Includes:/usr/local/include
1: -- Using rocDecode --
1: Libraries:/opt/rocm/lib/librocdecode.so
1: Includes:/opt/rocm/include/rocdecode
1: Configuring done
1: Generating done
1: Build files have been written to: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode
1: ======== End CMake output ======
1: Change Dir: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode
1:
1: Run Clean Command:/usr/bin/gmake -f Makefile clean
1: gmake[1]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[2]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[3]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[3]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[2]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[1]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1:
1: Run Build Command(s):/usr/bin/gmake -f Makefile && gmake[1]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[2]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[3]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[3]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[3]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: [ 33%] Building CXX object CMakeFiles/videodecode.dir/videodecode.cpp.o
1: [ 66%] Building CXX object CMakeFiles/videodecode.dir/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/utils/rocvideodecode/roc_video_dec.cpp.o
1: [100%] Linking CXX executable videodecode
1: gmake[3]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: [100%] Built target videodecode
1: gmake[2]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1: gmake[1]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
1:
1: Running test command: "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode/videodecode" "-i" "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/data/videos/AMD_driving_virtual_20-H264.mp4"
1: Test command failed: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode/videodecode
1: info: Using GPU device 0 - [gfx1101] on PCI bus c3:00.0
1: info: decoding started, please wait!
1: [ERR] {rocDecCreateVideoParser} Failed to init the rocDecode handle, { create_parser } rocParser Initialization failed with error: -6
1:
1: *** Exception executing: Segmentation fault
1/2 Test #1: video_decode-H264 ................***Failed 24.90 sec
Internal cmake changing into directory: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode
======== CMake output ======
The C compiler identification is GNU 11.3.1
The CXX compiler identification is GNU 11.3.1
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
Checking for module 'libavcodec'
Found libavcodec, version 58.134.100
Checking for module 'libavformat'
Found libavformat, version 58.76.100
Checking for module 'libavutil'
Found libavutil, version 56.70.100
-- Using FFMPEG --
Libraries:/usr/local/lib/libavcodec.so;/usr/local/lib/libavformat.so;/usr/local/lib/libavutil.so;/usr/local/lib/libswscale.so
Includes:/usr/local/include
-- Using rocDecode --
Libraries:/opt/rocm/lib/librocdecode.so
Includes:/opt/rocm/include/rocdecode
Configuring done
Generating done
Build files have been written to: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode
======== End CMake output ======
Change Dir: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode
Run Clean Command:/usr/bin/gmake -f Makefile clean
gmake[1]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[2]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[3]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[3]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[2]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[1]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
Run Build Command(s):/usr/bin/gmake -f Makefile && gmake[1]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[2]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[3]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[3]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[3]: Entering directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
[ 33%] Building CXX object CMakeFiles/videodecode.dir/videodecode.cpp.o
[ 66%] Building CXX object CMakeFiles/videodecode.dir/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/utils/rocvideodecode/roc_video_dec.cpp.o
[100%] Linking CXX executable videodecode
gmake[3]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
[100%] Built target videodecode
gmake[2]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
gmake[1]: Leaving directory '/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode'
Running test command: "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode/videodecode" "-i" "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/data/videos/AMD_driving_virtual_20-H264.mp4"
Test command failed: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode/videodecode
info: Using GPU device 0 - [gfx1101] on PCI bus c3:00.0
info: decoding started, please wait!
[ERR] {rocDecCreateVideoParser} Failed to init the rocDecode handle, { create_parser } rocParser Initialization failed with error: -6
*** Exception executing: Segmentation fault
test 2
Start 2: video_decode-H265
2: Test command: /var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/build/release/samples/videoDecode/videodecode "-i" "/var/jenkins_home/workspace/main_precheckin_rocDecode_master/TVsKf4PhW/rocdecode/data/videos/AMD_driving_virtual_20-H265.mp4"
2: Test timeout computed to be: 1500
2: info: Using GPU device 0 - [gfx1101] on PCI bus c3:00.0
2: info: decoding started, please wait!
2: [ERR] {rocDecParseVideoData} { HandleVideoSequence } rocDecGetDecoderCaps(&decode_caps) returned error -1-1
2: terminate called after throwing an instance of 'rocVideoDecodeException'
2: what(): { DecodeFrame } rocDecParseVideoData(rocdec_parser_, &packet) returned error -3-3
2/2 Test #2: video_decode-H265 ................Subprocess aborted***Exception: 8.31 sec
info: Using GPU device 0 - [gfx1101] on PCI bus c3:00.0
info: decoding started, please wait!
[ERR] {rocDecParseVideoData} { HandleVideoSequence } rocDecGetDecoderCaps(&decode_caps) returned error -1-1
terminate called after throwing an instance of 'rocVideoDecodeException'
what(): { DecodeFrame } rocDecParseVideoData(rocdec_parser_, &packet) returned error -3-3
0% tests passed, 2 tests failed out of 2
Total Test time (real) = 33.21 sec
The following tests FAILED:
1 - video_decode-H264 (Failed)
2 - video_decode-H265 (Subprocess aborted)
AryanSalmanpour commented
Additional tests were added.