Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th January 2025, 19:28   #21061  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
Quote:
Originally Posted by Ryushin View Post
So it looks like I encountered a limit to RB when trying to select 32 cores in my VM. So I narrowed it down and selecting 26 cores and two threads (52 threads total) results in RB crashing.

Starting Ripbot gives me a Division by Zero error, clicking okay on the error then shows the Ripbot window.

Starting the Encoding server I get a Invalid Pointer Operation then another two error windows:

---------------------------
Encodingserver
---------------------------
Access violation at address 00401EBA in module 'EncodingServer.exe'. Write of address 00000000.
---------------------------

and

---------------------------
Application Error
---------------------------
Exception EAccessViolation in module EncodingServer.exe at 00001EBA.
Access violation at address 00401EBA in module 'EncodingServer.exe'. Write of address 00000000.
---------------------------

It's almost like Atak couldn't imagine all those years ago we would have so many cores in a chip.

With the latest EPYC having 192 cores 384 threads, might as well use a 16 bit integer now. LOL
1) run this on crashing configuration
https://www.mediafire.com/file/mwfb6...erver.exe/file

2) show me content of server.exe.txt file
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 19:41   #21062  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
1) run this on crashing configuration
https://www.mediafire.com/file/mwfb6...erver.exe/file

2) show me content of server.exe.txt file
Here you go:
1:SysNative=C:\WINDOWS\SysNative
2:AviSynthVersion=avisynth+ 3.7.3 (r4003, 3.7, x86_64)
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 24th January 2025, 19:45   #21063  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
How many logical processors (threads) did you set in VM?
Looks like it crashes at function which checks numbers of logical processors.
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 20:26   #21064  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
1) run this on crashing configuration
https://www.mediafire.com/file/mwfb6...erver.exe/file

2) show me content of server.exe.txt file
Quote:
Originally Posted by Atak_Snajpera View Post
How many logical processors (threads) did you set in VM?
Looks like it crashes at function which checks numbers of logical processors.
I changed it back to 26 cores and 2 threads for each core. So 52 logical processors.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 24th January 2025, 20:30   #21065  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
Quote:
Originally Posted by Ryushin View Post
I changed it back to 26 cores and 2 threads for each core. So 52 logical processors.
So limit is 32 logical processors ? Everything above than means crash, right?
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 20:35   #21066  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
Does this application also crash?
https://www.mediafire.com/file/b2ak4...opsCPU.7z/file
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 20:50   #21067  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
That works fine:


Edit:

Changed VM to 32 cores and 2 threads per core:


Task Manager:
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X

Last edited by Ryushin; 24th January 2025 at 21:04.
Ryushin is offline   Reply With Quote
Old 24th January 2025, 20:58   #21068  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
I did not expect that...
So What is the highest number of logical processors which does not cause crash in server.exe?
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 21:10   #21069  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
I did not expect that...
So What is the highest number of logical processors which does not cause crash in server.exe?
It crashes using 51 logical processor. The Windows VM does not seem to make a distinction between cores and threads, it seems to count them the same.

I added a couple more images to the previous post.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 24th January 2025, 21:14   #21070  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
Quote:
Originally Posted by Ryushin View Post
It crashes using 51 logical processor. The Windows VM does not seem to make a distinction between cores and threads, it seems to count them the same.

I added a couple more images to the previous post.
52 also crashes ?
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 21:46   #21071  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
52 also crashes ?
52 crashes as well. Anything above 50 seems to crash.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 24th January 2025, 21:52   #21072  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
I assume You can't check whether crash also happens on real Windows environment? You are using Linux as host for VM ,right?
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 21:55   #21073  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
I assume You can't check whether crash also happens on real Windows environment? You are using Linux as host for VM ,right?
Correct, Linux is the Hypervisor and Windows is the guest VM.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 24th January 2025, 21:57   #21074  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
I have no clue why it crashes exactly above 50 threads. (32> would make more sense due to 32bit limitation) The same code for CPU detection in FlopsCPU seems to be working fine. I wished we had somebody here with Threadripper 32C/64T running on real windows...
I remember that 2990WX was working fine with ripbot. However that was 4 NUMA CPU and real Windows OS.

Last edited by Atak_Snajpera; 24th January 2025 at 22:04.
Atak_Snajpera is offline   Reply With Quote
Old 24th January 2025, 22:08   #21075  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
I have no clue why it crashes exactly above 50 threads. (32> would make more sense due to 32bit limitation) The same code for CPU detection in FlopsCPU seems to be working fine. I wished we had somebody here with Threadripper 32C/64T running on real windows...
I remember that 2990WX was working fine with ripbot. However that was 4 NUMA CPU and real Windows OS.
I can try to make a WinToUSB stick and boot my server off of it and give it a test. I'll need to do it after hours though.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 24th January 2025, 22:09   #21076  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
no rush. it is already a 22:00 here...
Atak_Snajpera is offline   Reply With Quote
Old 26th January 2025, 05:50   #21077  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
no rush. it is already a 22:00 here...
So I made a Win To Go USB stick which turned out to be more involved then I wanted it to be. Nonetheless, the error does not occur under Windows 11 using the EPYC 9355P processor.





So it probably is something with running Windows in a VM. There is something about going over 50. I'll see if I can get the Linux VM software to accurately emulate cores and threads so I can better test this.

Could also be something that Windows 11 fixes compared to Windows 10. I'm planning on upgrading that VM to Windows 11 since Windows 10 is doomed in less then a year.

Atak, I can also create a VM that you can log in remotely to do testing if you like in order to diagnose where the problem is.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 26th January 2025, 09:50   #21078  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
Quote:
Originally Posted by Ryushin View Post
So I made a Win To Go USB stick which turned out to be more involved then I wanted it to be. Nonetheless, the error does not occur under Windows 11 using the EPYC 9355P processor.





So it probably is something with running Windows in a VM. There is something about going over 50. I'll see if I can get the Linux VM software to accurately emulate cores and threads so I can better test this.

Could also be something that Windows 11 fixes compared to Windows 10. I'm planning on upgrading that VM to Windows 11 since Windows 10 is doomed in less then a year.

Atak, I can also create a VM that you can log in remotely to do testing if you like in order to diagnose where the problem is.
Thank you for your time and testing. If it works fine on real machine then like you said it might be a problem with VM itself or Windows 10 running under VM.
Atak_Snajpera is offline   Reply With Quote
Old 27th January 2025, 02:07   #21079  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 470
Quote:
Originally Posted by Atak_Snajpera View Post
Thank you for your time and testing. If it works fine on real machine then like you said it might be a problem with VM itself or Windows 10 running under VM.
Upgraded my VM to Win 11. Still the same crash. I'll see if there is a way to trick the VM to have cores and threads, but Windows and the Hypervisor may talk directly and just show virtual cores regardless since to the VM, it's not relevant.
__________________
SMDegrain Lite package for RipBot264: https://cloud.chrisdos.com/s/yiXwKbkMsQoNo6X
Ryushin is offline   Reply With Quote
Old 27th January 2025, 14:29   #21080  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,915
Quote:
Originally Posted by Ryushin View Post
Upgraded my VM to Win 11. Still the same crash. I'll see if there is a way to trick the VM to have cores and threads, but Windows and the Hypervisor may talk directly and just show virtual cores regardless since to the VM, it's not relevant.
is there only one VM software available on linux?
Atak_Snajpera is offline   Reply With Quote
Reply

Tags
264, 265, appletv, avchd, bluray, gui, iphone, ipod, ps3, psp, ripbot264, x264 2-pass, x264 gui, x264_64, x265, xbox360

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.