Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x265 (handbrake) with broken smp support [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
supertomi
n00b
n00b


Joined: 22 Dec 2017
Posts: 6

PostPosted: Sun Jan 03, 2021 9:26 am    Post subject: x265 (handbrake) with broken smp support [SOLVED] Reply with quote

Hello folks,

I use handbrake to process hevc files. But since a few weeks, the smp support is gone, so it´s incredible slow.

HandBrakeCLI gives me:

Code:
x265 [warning]: No thread pool allocated, --wpp disabled
x265 [warning]: No thread pool allocated, --lookahead-slices disabled

so It's probably a matter of x265. Encoding with x264 is fine.
How can I solve this problem.

Thanks a lot for help!!
Code:

media-libs/x265-3.4                     10bit 12bit numa -pic
media-video/handbrake-1.3.3-r1   fdk gstreamer gtk -lib-aac numa x265
sys-process/numactl-2.0.12          -static-libs


[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by supertomi on Sun Jan 03, 2021 6:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
jpsollie
Guru
Guru


Joined: 17 Aug 2013
Posts: 322

PostPosted: Sun Jan 03, 2021 9:59 am    Post subject: Reply with quote

you could try to force smp via --encoder-tune.
could you post the output of --encoder-tune-list and tell us what options there are?
according to x265 documentation: https://x265.readthedocs.io/en/3.1/cli.html, thre should be a few options like --pools and --frame-threads, so it might be worth trying those.
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
Back to top
View user's profile Send private message
supertomi
n00b
n00b


Joined: 22 Dec 2017
Posts: 6

PostPosted: Sun Jan 03, 2021 10:17 am    Post subject: Reply with quote

Thanks for the quick answer!!


Code:
tomi@home:~> HandBrakeCLI --encoder-tune-list x265
[11:17:46] hb_init: starting libhb thread
[11:17:46] thread 7fb9281b9640 started ("libhb")
Available --encoder-tune values for 'x265' encoder:
    psnr
    ssim
    grain
    zerolatency
    fastdecode
    animation

HandBrake has exited.

what is the correct string for --encoder-tune?

Thanks!!

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
supertomi
n00b
n00b


Joined: 22 Dec 2017
Posts: 6

PostPosted: Sun Jan 03, 2021 6:54 pm    Post subject: Reply with quote

[SOLVED]

The fault was a broken kernel config without numa support.
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1227

PostPosted: Fri Oct 04, 2024 12:29 pm    Post subject: Reply with quote

why numa was necessary?
was it a multi-socket setup?
_________________
gentoo user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum