Jump to content

Transcoding in Linux - only 1 GPU transcode running?


Recommended Posts

Posted
51 minutes ago, BirdBare said:

Oh I searched the text. It applied. Still only 1 transcode so far

Sorry, I looked at the wrong log.

Did this change the memory usage in any way?

No need to do two transcodes, let's just check whether it changed mem usage at all.
Also check the idle mem usage for comparison.

Posted
1 minute ago, softworkz said:

Sorry, I looked at the wrong log.

Did this change the memory usage in any way?

No need to do two transcodes, let's just check whether it changed mem usage at all.
Also check the idle mem usage for comparison.

It did not change the mem usage at all according to nvidia-smi

Posted (edited)

TEST 3

For another try, you could change the "Transcoding Threads" setting under "Transcoding" to 1
(it comes at a different position and affects the decoder rather than the encoder)

What's the idle ram usage?

Edited by softworkz
Posted (edited)

TEST 4

I got one more:

  • Go to "Transcoding"
  • Select "Advanced" at the top
  • Save
  • Go to "Advanced Transcoding"
  • Navigate to the NVENC H.264 Encoder and click the gear button:

image.png.ed8d9d64de166b63b43f4924af25307a.png

 

Now play with these two options:

image.png.74377afb71a1465583202325b0780acf.png

 

Don't bother trying two transcodes.

Just try different combinations of these options and watch the effect on mem usage.

 

Edited by softworkz
Posted

TEST 5

And another one:

First

  • go to "Transcoding" (where you've selected "Advanced" already)
  • Under HEVC decoders, disable NVDEC and enable the CUVID one
  • Save
  • Make a test whether playback is working and see whether there's a change in mem usage
    (maybe not, the important change comes next)

Then, under "Diagnostic Options", you'll see two find-replace text boxes for modifying ffmpeg commands:

Search: -c:v:0 hevc_cuvid 

Replace: -c:v:0 hevc_cuvid -resize:v:0 1920x1080

Try playback and check mem usage

Posted

Hello! Sorry for the delay. So I went through each setting and had the following observation:

3: No change. The idle ram usage is zero because the GPU is used only for Emby.

4: This one was interesting. I was able to reduce and increase the ram usage with different settings. Unfortunately it was a change of about 50MB so not enough to get another 4k transcode working.

5: I did not see a change with this setting either.

 

I decided to get a p2200 instead. I found one only for 200 dollars so I hit the jackpot. I do appreciate all the help. Unfortunately 4K transcodes use way more ram than I expected.

Posted

Thanks again for all the help!

Posted

@BirdBare - thanks for trying. I had expected a bigger effect. Will investigate this in a while.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...