View Issue Details

IDProjectCategoryView StatusLast Update
0000129Cinelerra-GG[All Projects] Featurepublic2019-08-18 16:31
Reporterterje Assigned Togoodguy  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformIntel 620 UHD and Nvidia GPUOSopenSUSEOS VersionLeap 15.0
Product Version 
Target VersionFixed in Version 
Summary0000129: Support for HEVC decode and/or encode hardware acceleration
DescriptionDoes Cinx-GG support hardware accelerated graphics for decode and/or encode - and if so, how to set it up?

1) Dell XPS 13 (9370)
Quad core Intel Core i7-8550U (-HT-MCP-) cache: 8192 KB
Card: Intel Device 5917
Display Server: wayland (X.Org 1.19.6 )
driver: i915
Resolution: [email protected]
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
version: 4.5 Mesa 18.0.2

On this machine I can load and playback UHD-H265 video (recorded on a Pixel3 phone) with the Totem and the Dragon video players. Cinx won't load or playback this video (appears as single-threaded as previous mentioned).


2) ASUSTeK model: Z170-A (Skylake)
Quad core Intel Core i7-6700K (-HT-MCP-) cache: 8192 KB
NVIDIA GK208B [GeForce GT 730]
Display Server: x11 (X.Org 1.19.6 )
drivers: nouveau (unloaded: modesetting,fbdev,vesa)
Resolution: [email protected]
OpenGL: renderer: GeForce GT 730/PCIe/SSE2
version: 4.5.0 NVIDIA 390.87

None of the standard video players, Totem, Dragon or VLC is able to playback the recorded UHD-H265 video.
Cinx won't load or playback this video.

Reference articles
https://gist.github.com/Brainiarc7/95c9338a737aa36d9bb2931bed379219
https://gist.github.com/Brainiarc7/24de2edef08866c304080504877239a3
TagsCinx, decode, encode, HEVC, hwaccell

Activities

PhyllisSmith

PhyllisSmith

2019-08-18 16:31

manager   ~0002027

Closing as I believe everything here has been addressed. I just now downloaded the following H265 (hevc) UHD (4K) sample (because I could not find an actual Pixel 3 to download):
     http://jell.yfish.us/media/jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv
and played it forward/backward and seeking. Although backward was awfully slow. Below shows the Info output:
1 video stream
vid0 (0), id 0x0000ad:
  video1 hevc 3840x2160 29.97 pix yuv420p10le
    902+0 frms 30.10 secs 0:00:30.10

Using "HEVC decode and/or encode hardware acceleration" is temporarily documented at:
     https://www.cinelerra-gg.org/download/GPU_potential_speedup.pdf
PhyllisSmith

PhyllisSmith

2019-05-16 03:34

manager   ~0001548

Thanks to spitsyn.andrey for proving this will work. I need to document usage once I understand his work.
Andrew-R

Andrew-R

2019-05-14 04:10

reporter   ~0001520

This issue seems to be worked on, at least one user reported working HEVC decoding and encoding on AMD RX550 hardware and Cinelerra-GG from git:
https://lists.cinelerra-gg.org/pipermail/cin/2019-May/000658.html

But be aware about https://bugs.freedesktop.org/show_bug.cgi?id=110673 -

"1. intra_period must >= 8 otherwise segment fault in mesa.
2. Hevc encoding only works correctly in CQP mode.

I have tested CBR and VBR, both of them produce contents of garbageļ¼Œ green or black mostly."
terje

terje

2019-02-08 10:58

reporter   ~0000806

I thought there was a chance if ffmpeg could do it. By the way, it would be useful if possible to get clarified the difference between the supported X11-OpenGL accelerated playback (effects done in hardware) vs. hardware accelerated video decoding ;)
PhyllisSmith

PhyllisSmith

2019-02-08 00:29

manager   ~0000804

No, it does not support it. Not sure if it ever will. If gg has more to say on this subject, I will report back.

Issue History

Date Modified Username Field Change
2019-02-07 20:08 terje New Issue
2019-02-07 20:08 terje Tag Attached: Cinx
2019-02-07 20:08 terje Tag Attached: decode
2019-02-07 20:08 terje Tag Attached: encode
2019-02-07 20:08 terje Tag Attached: HEVC
2019-02-07 20:08 terje Tag Attached: hwaccell
2019-02-08 00:29 PhyllisSmith Note Added: 0000804
2019-02-08 10:58 terje Note Added: 0000806
2019-05-14 04:10 Andrew-R Note Added: 0001520
2019-05-16 03:31 PhyllisSmith Assigned To => goodguy
2019-05-16 03:31 PhyllisSmith Status new => assigned
2019-05-16 03:34 PhyllisSmith Status assigned => acknowledged
2019-05-16 03:34 PhyllisSmith Note Added: 0001548
2019-08-18 16:31 PhyllisSmith Status acknowledged => closed
2019-08-18 16:31 PhyllisSmith Resolution open => fixed
2019-08-18 16:31 PhyllisSmith Note Added: 0002027