FAQ  •  Register  •  Login

QuickSync Linux

<<

dash

Serviio newbie

Posts: 15

Joined: Thu Apr 11, 2019 9:15 pm

Post Sun Aug 28, 2022 1:26 pm

QuickSync Linux

I'm running serviio on a VM with iGPU passthrough, but I can't seem to get QuickSync to work.

  • I have ffmpeg with --enable-libmfx configured.
  • When I check ffmpeg -encoders I have "
      Code:
     V..... h264_qsv             H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration) (codec h264)
    " listed.
  • I've updated my TV profile to use a targetVCodec="h264"

I believe this is everything that is required? But I'm not seeing any reduction in CPU usage (trying a 4K film to transcode to HD, and using > 150% CPU it's not keeping up).

Does anybody know what I might be missing?
<<

atc98092

User avatar

DLNA master

Posts: 5214

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Aug 28, 2022 10:24 pm

Re: QuickSync Linux

I'm just guessing, but it's likely that it won't work in a VM. I believe it needs direct hardware access to work, and the VM might not be permitting that to happen.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

dash

Serviio newbie

Posts: 15

Joined: Thu Apr 11, 2019 9:15 pm

Post Mon Aug 29, 2022 7:59 pm

Re: QuickSync Linux

You can pass through devices, such as GPU using Direct I/O which gives a single VM exclusive access to the device as if it was running directly on tin. So I don't think it's that, but not sure if I've missed any other steps.
<<

cmakula

Streaming enthusiast

Posts: 30

Joined: Tue Oct 29, 2019 9:04 pm

Location: Chicago, Illinois, USA

Post Tue Aug 30, 2022 6:19 pm

Re: QuickSync Linux

iGPU stuff is interesting, but not something I have used successfully.

I know it requires two full host units (for example, Intel integrated graphics onboard and a separate AMD/nVidia/etc "active" display adapter). If your second video is a "passive" displayLink or USB3/Thunderbolt it doesn't work because it still uses the onboard graphics unit for partial processing and cannot dedicate itself actively to the VM.

I've only tried to use it once under qemu, and it didn't work properly, mostly because I was trying to use a USB docking station's displayLink as the host video.
:ugeek:
Serviio Server - Dell PowerEdge R420, Dual Xeon E5-2420, 4x120 GB SSD RAID 0, 64 GB RAM (Serviio running from RAMdisk), 4 NICs (aggregated to LAN), 10Gbe to NAS, Ubuntu 22.04.1 Minimal
NFS File Server - Synology DS1517+, 20TB disk space (5x4TB), 4 NICs (aggregated to LAN), 10Gbe to Serviio Server
<<

dash

Serviio newbie

Posts: 15

Joined: Thu Apr 11, 2019 9:15 pm

Post Wed Aug 31, 2022 1:39 pm

Re: QuickSync Linux

Yeah, you completely lose host output if you dedicate the GPU to a VM. But you tend to run headless anyway when using VMs.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 73 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.