Skip to content

[ubuntu] GPU encoding not possible #246

Description

@km-coded

Is there an existing issue for this?

  • I have searched the existing issues

Have you tried the latest build?

  • I have tried the latest build

Gyroflow version

v1.0.0-rc4

What operating system are you using?

ubuntu 22.04.4 LTS

What GPU are you using?

AMD ATI Radeon R7 530 | INTEL UHD 620

What happened?

not possible to export using GPU rendering (x264 & x265), no gpu rendering with ProRes
Bildschirmfoto von 2022-02-25 16-53-32

Relevant log output

15:53:25 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: Converting from NV12 to VAAPI_VLD
[swscaler @ 0x7f1ab366a1c0] 0bpp not supported by yuv2rgb
[swscaler @ 0x7f1ab366a1c0] vaapi_vld is not supported as output pixel format
[aac @ 0x7f1ab237a080] Qavg: nan
15:53:45 [DEBUG] (2) gyroflow::rendering: ffmpeg_hw::supported_gpu_backends: ["vdpau", "cuda", "vaapi", "qsv"]
15:53:45 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: [dec] codec type AV_HWDEVICE_TYPE_CUDA 0
[AVHWDeviceContext @ 0x7f1ab000a080] Cannot load libcuda.so.1
[AVHWDeviceContext @ 0x7f1ab000a080] Could not dynamically load CUDA
15:53:45 [DEBUG] (2) gyroflow::rendering: Failed to create specified HW device: AV_HWDEVICE_TYPE_CUDA

15:53:45 [DEBUG] (2) gyroflow::rendering::ffmpeg_hw: [dec] codec type AV_HWDEVICE_TYPE_VAAPI 1
15:53:45 [DEBUG] (2) gyroflow::rendering: Selected HW backend AV_HWDEVICE_TYPE_VAAPI (vaapi) with format Some(AV_PIX_FMT_VAAPI_VLD)

15:53:45 [DEBUG] (2) gyroflow::rendering: proc.gpu_device: Some("vaapi")
15:53:45 [DEBUG] (2) gyroflow::rendering: Possible encoders with AMD: [("libx265", false)]
15:53:45 [DEBUG] (2) gyroflow::rendering: video_codec: Some("libx265"), processing_order: PreConversion
15:53:45 [DEBUG] (2) gyroflow::rendering: start_us: 0, render_duration: 271840, render_frame_count: 6796
15:53:45 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Codec formats: [YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, GBRP, YUV420P10LE, YUV422P10LE, YUV444P10LE, GBRP10LE, YUV420P12LE, YUV422P12LE, YUV444P12LE, GBRP12LE, GRAY8, GRAY10LE, GRAY12LE]
15:53:47 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: Hardware transfer formats from GPU: Some([NV12, BGRA, ARGB, RGBA, ABGR, BGRZ, ZRGB, RGBZ, ZBGR, X2RGB10LE, GRAY8, YUYV422, UYVY422, YUV420P, YUV420P, YUV411P, YUV422P, YUV440P, YUV444P, P010LE])
15:53:47 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: Converting from NV12 to YUV420P
15:53:47 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: hw_device_type: None, encoder_pixel_format: Some(YUV420P)
15:53:47 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: Setting output pixel format: YUV420P, color range: JPEG
15:53:47 [DEBUG] (2) gyroflow::rendering::ffmpeg_video: hw_device_type None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglinux

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions