The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Selur's Little Message Board
x264 and x265 - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: x264 and x265 (/thread-2863.html)

Pages: 1 2 3


x264 and x265 - humanoid86 - 27.08.2022

my old CPU i7-6700K - was without problems

my new CPU i7-12700 - problems started - The hybrid is not stable when I choose x264 or x265 codecs
it starts for a long time or immediately goes into freezing, then after a while:
- either frozen at some % of processing
- or processes the file in 5 seconds
- either breaks win10 blue screen comes out

BSOD: The computer was restarted after a critical error. Error Code: 0x0000007f Memory dump saved in: C:\WINDOWS\MEMORY.DMP. Report code: ee6278be-f8f8-40c4-bae7-d91bd7ade95c.

[Image: view?usp=sharing]


RE: x264 and x265 - Selur - 27.08.2022

Sounds like a bug in some assembler code in x265 and x264, not a bug in Hybrid itself, so probably not something I can really help.

x264 has two options:
--asm <integer>         Override CPU detection
      --no-asm                Disable all CPU optimizations
looking at https://code.videolan.org/videolan/x264/-/blob/master/x264.h
Differently to what the command line states one can also list the parameters for asm with strings. Wink
Potential values are listed in checkasm.c (https://code.videolan.org/videolan/x264/-/blob/master/tools/checkasm.c#L189)

So what you could do is:
a. enable debug output (likE stated in the sticky; alternatively the report file also includes this info)
b. check out when x264 crashes which extension it is using. The debug output should contain a line like:
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
which states the used extension and would correspond to a x264 command line addition like:
--asm mmx,sse2fast,ssse3,sse42,avx,fma3,bmi2,avx2
(yours will probably contain different options)
c. remove one of the options, add the addition under x264->Misc->Imports/Additions->Command line->Addition and try encoding.
Repeat the last step until you figure out which assembler optimization is causing the issue.
d. report the problem to the x264 developers

Same thing for x265, see: https://x265.readthedocs.io/en/master/cli.html?highlight=--asm#cmdoption-asm

----
I attached the latest x264/x265 builds I compiled (no code changes since then) and attahed them, so you can try whether extracting the attached file into your Hybrid/64bit folder and replacing the x264.exe and x265.exe helps.
I doubt it since at least the x265 commit list (https://bitbucket.org/multicoreware/x265_git/commits/) does not mention anything that seems related.

Cu Selur


RE: x264 and x265 - humanoid86 - 27.08.2022

I suspect that all these problems are due to the large file size, I have been processing 4K content lately. Perhaps the bitrate is too high for a hybrid? please check - on average +/- 80k


RE: x264 and x265 - Selur - 27.08.2022

I doubt it, also if it is a Hybrid bug, it couldn't crash the OS.
I also doubt it's related to the bitrate.
To be sure I just did a 8k encode with 200k+ bitrate 2pass an 1pass abr and encoding worked fine. (x264 and x265)
I also did a few 8k encode with crf 14 which probably had higher bit rates a few month ago without problems.

OS crashes and memory issue are usually either:
  • a bug in the assembler code (usually happens on new cpus)
  • an issue due to overclocking (no memtest, calculating pi are not relyable)
  • a heat issue which causes memory, transistors, etc. to have issues
  • some hardware issue
  • some virus scanner runnin amok

Cu Selur


RE: x264 and x265 - humanoid86 - 28.08.2022

please re-adapt the application for CPUs with hybrid processors. like an ARM CPU.
now all new CPUs have multiple different cores. the future belongs to them.
old processors had identical cores and threads.


y old CPU i7-6700K - was without problems

my new CPU i7-12700 - problems started


RE: x264 and x265 - Selur - 28.08.2022

a. Hybrid does not support ARM since most of the stuff Hybrid uses doe snot support ARM.
b. There is nothing I could change to specially support CPUs with normal and performance cores unless the encoders have special support for these. So if you want to change something you have to contact the authors of the encoders.

Cu Selur


RE: x264 and x265 - humanoid86 - 28.08.2022

ah, thanks!


RE: x264 and x265 - shijan - 28.08.2022

i7-12700 is not ARM processor. It just use two types of cores
https://www.intel.com/content/www/us/en/gaming/resources/how-hybrid-design-works.html
My guess components and tasks used in Hybrid just can't decide which cores to use or instantly switch between low and high performance cores which may cause system panic. It also could be OS, hardware or BIOS bug because all those newly released PC tech usually very far from perfect and usually it took 1-2 years until all bugfixes released for BIOS and OS drivers, and until software will be optimized enough to fully support new tech.


RE: x264 and x265 - humanoid86 - 29.08.2022

(28.08.2022, 23:35)shijan Wrote: i7-12700 is not ARM processor. It just use two types of cores

omg - please go


RE: x264 and x265 - Selur - 29.08.2022

Like I wrote, I suspect its an issue with the assembler code (or heat or overclocked/instable system,...)
Just using the wrong cores should only lead to slow downs not an os crash or memory issues.
Hybrid itself is a GUI and does not adjust cores etc. which core is used for what is the responsibility of the OS.

Cu Selur