This forum has been archived. All content is frozen. Please use KDE Discuss instead.

GPU Rendering is buggy?

Tags: gpu, movit, encoding, h264 gpu, movit, encoding, h264 gpu, movit, encoding, h264
(comma "," separated)
Padded Gamer
Registered Member
Posts
3
Karma
0

GPU Rendering is buggy?

Wed Jan 31, 2018 6:45 pm
So I've noticed a ton of freezes and crashes with using the movit library.

Specifically, every single time I try to add a new video, it will cause a system wide freeze for up to five minutes. Before my computer responds again. This happens while creating audio thumbnails. Actually starting the encoding jobs will slow down my computer and cause it to freeze randomly. I can render in background just fine with CPU rendering. Furthermore, using the GPU Rendering actually bottlenecks my encode times. Doubling the time it takes to render footage.

Also, speed effects don't work with the movit library. Attempting to use a motion effect to create a time lasp in my video causes the video to not encode correctly and corrupt my files. I tested the exact same file using the same video effects on CPU rendering and it worked just fine.

Is this just normal? I'm fine with using the CPU rendering as I am satisfied with how fast my processor can encode. I just expected to get faster results using my GPU. I'm sorta a noob when it comes to video editing. But I thought "card designed specifically to handle graphics would thus be better at video editing."

I honestly want to know why a GPU works just fine with video recording software and actually massively speeds up programs such as Open Broadcast Software when I'm using screen capture devices. But editing the same footage I recorded with the same exact GPU on the same x264 encoder doesn't work.

I'm using an i5-7500 with a GTX 1060 6GB. With 8GB of DDR4 RAM. I'm on Ubuntu 16.04 right now. It should also be noted that I'm using the standard x264 preset that came with kdenlive. The only change I've added was faststart.
capslock
Registered Member
Posts
699
Karma
4
OS

Re: GPU Rendering is buggy?

Thu Feb 01, 2018 7:52 am
My system stays responsive when adding clips and I guess that is normal. Rendering is done through the mlt framework, that - as far as I know - does not support GPU rendering features.

Which version of kdenlive do you use?
Padded Gamer
Registered Member
Posts
3
Karma
0

Re: GPU Rendering is buggy?

Thu Feb 01, 2018 4:28 pm
Kdenlive 17.04.03. KDE Frameworks 5.18.0. QT 5.5.1 (Built against 5.5.1) The xcb windowing system. With MLT 6.5.0

And you can enable GPU rendering by going into settings, playback and enabling the movit library. Where it says Use GPU Processing.
capslock
Registered Member
Posts
699
Karma
4
OS

Re: GPU Rendering is buggy?

Thu Feb 01, 2018 5:50 pm
Ah, yeah, using the movit libs brings the rendering of some effects to the GPU. I don't think kdenlive (better mlt) uses hardware encoder (encoding is the bigger part of the work) as ffmpeg does.
Padded Gamer
Registered Member
Posts
3
Karma
0

Re: GPU Rendering is buggy?

Fri Feb 02, 2018 6:42 am
capslock wrote:Ah, yeah, using the movit libs brings the rendering of some effects to the GPU. I don't think kdenlive (better mlt) uses hardware encoder (encoding is the bigger part of the work) as ffmpeg does.

I'm fairly sure it does. Otherwise, why would enabling the movit libs cause my rendering speed to take twice as long as normal. Disabling it causes the rendering speed to cut in half. Unless I'm perhaps missing something?
capslock
Registered Member
Posts
699
Karma
4
OS

Re: GPU Rendering is buggy?  Topic is solved

Fri Feb 02, 2018 2:22 pm
"I'm fairly sure it does."
Well, to be honest: I know it did not two years ago, there was a developer post here, where I took my thoughts from. Just checked the mlt homepage - GPU acceleration is not in the feature list. Anyway, I cannot tell you why your rendering (which is split into rendering the pictures (sometime on GPU) and then encoding (no GPU to my knowledge) them to the selected codec) is slow on your machine.
ddubya
Registered Member
Posts
1
Karma
0

Re: GPU Rendering is buggy?

Sat Feb 03, 2018 6:29 pm
Yes, it's buggy. GPU driver bugs are mostly to blame.

Doesn't work for me at all on 16.04 using repo version (17.x)

I recently compiled the current versions of movit, mlt, and kdenlive. Still doesn't work, without some mods to kdenlive to work around driver bugs
aanicai
Registered Member
Posts
3
Karma
0
OS

Re: GPU Rendering is buggy?

Sat May 19, 2018 4:50 pm
I use 18.04.1 on kubuntu 18.04 and work fine.

works fast on a gt 630 kepler video card with nvenc, show here: https://drive.google.com/open?id=1IceOQ ... B0x2vQ5hIM

a friend tried gt730 and does not work, I probably have to buy gtx 660 ... 670 but I'm not sure if it will be much better.

you must create some nvenc profiles, as shown here: https://drive.google.com/open?id=1d08FH ... pq5YKFbGoq


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]