PDA

View Full Version : P4 Hyper Threading problems


WildHorse
18th July 2003, 02:18
Experts,

In response to this thread
http://forum.doom9.org/showthread.php?s=&threadid=57628.
I discovered that D2S may have problems with Hyper Threading features of the Pentium 4. If I disable HT and everything is working fine. I've searched and found no match to this so I thought I should post this.

Error Message:

DVD2SVCD.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

AppName: dvd2svcd.exe AppVer: 1.1.3.2 ModName: dvd2svcd.exe
ModVer: 1.1.3.2 Offset: 0000416a

@DVD2SVCD, what do you think?

dvd2svcd
18th July 2003, 09:48
My thoughts is that since you and wezman2k are not the only ones using HT and DVD2SVCD at the same time and that I haven't heard others with similar problems that it's a hardware issue in your systems. But, never say never, maybe this thread will show others with the same problem.

jah'Mai
3rd August 2003, 16:13
I, too, have this problem.

I used to have an amd xp 1800+, even while overclocking all programs ran stable.

I upgraded to a p4 2.4C. At first I didn't overclock.
DVD2SVCD would crash on startup with one of those 'We are sorry for the inconvenience' errors probably once in every 20 times. Yet all other programs ran fine.

I overclocked to 3.26ghz, the system is 'stable' as it could be regarded to be (24hrs prime95, memtest and so on). Everything works fine except now dvd2svcd only starts 1 in 5 times, all the others are the "Sorry" errors. Once into the program though, it will encode a whole svcd no problemo's (CCE etc).

So I decided to take off hyper threading in the bios while it was @ 3.2ghz. Bingo, works fine.

I can only gather there is some kind of synchronization issue between threads, and possible one thread finishes its time on the cpu before the other which would not normally on a non-HT cpu, and the chance of this occuring is simply increased the faster the cpu is running?

My hunch anyway.

Might I re-iterate 2 things;
1) DVD2SVCD crashes with HT enabled on a NON-overlocked cpu, just not often.
2) DVD2SVCD does NOT crash on a NON-HT enabled cpu, even while overclocked.

Just so people who read the thread dont tell me its all about the overclocking :P

Edited: Spelling.

WildHorse
4th August 2003, 05:54
Originally posted by jah'Mai
Might I re-iterate 2 things;
1) DVD2SVCD crashes with HT enabled on a NON-overlocked cpu, just not often.
2) DVD2SVCD does NOT crash on a NON-HT enabled cpu, even while overclocked.

Just so people who read the thread dont tell me its all about the overclocking :P

Edited: Spelling.

jah,

My D2S didn't crash, it just wouldn't start. Like you, after several attempts between 5~12 times, it would start and everything would work fine, I love CCE2.5 running on HT, using both CPUs, very fast.

Agree with u, this is not O/C problems, it's absolutely D2S doesn't like to start with HT, maybe something at initialization stage...

wgs
5th August 2003, 04:51
I'm having the same difficulties with a P4 HT. So far it seems to run okay if I run DVD2SVCD in compatibility mode under Win95 or Win98/ME. Odd though, this is the third time I installed WinXP pro and the first time everything ran very well using a P4 HT CPU. Hmmm I wonder if it was caused by any Microsoft updates or a newer bios revision? I re-installed the third time because I couldn't get DVD2SVCD to work.

Bill(wgs)

jah'Mai
5th August 2003, 07:49
Good question. I always install from a Windows XP SP1 Integrated cd. Each time I install the O/S the first thing I do is windows update, and install all drivers before I even think about DVD2SVCD. So there is a possibility the the combination of a particular windows driver or file and the Hyperthreading CPU are causing problems.

However, on your suggestion I changed the DVD2SVCD shortcut to Windows 98 / Windows ME Compatability mode. It worked a charm, no more problems at all.

@DVD2SVCD What does this mean? Got any idea's? cos I don't.

Atleast I (we?) have a temporary solution.

dvd2svcd
5th August 2003, 08:54
Nope I have no idea at all, I fear that it's in Borlands VCL somewhere, but since I haven't access to any P4 with HT I can't very well test it.

WildHorse
7th August 2003, 11:02
Originally posted by wgs
So far it seems to run okay if I run DVD2SVCD in compatibility mode under Win95 or Win98/ME.
Bill(wgs)

Thanks Bill for the work-around. However, as I expected the Win98/ME compatibility mode will not take advantage of HT since 98/ME do not support SMP. Some testings with this mode proved that CCE only run only on one CPU at a lower speed rate than HT. Also, D2S 1.1.2b1 log tab doesn't display at all even though it generates the log files properly. Bottom line is your solution works but CCE is slower and no log displayed.

One weird thing is when I changed compability mode to Win2000, it started OK and worked with HT flawlessly but when I rebooted my machine D2S would not start just like WinXP SP1. So I decided to turn off the work around and live with the D2S starting problems until our great DVD2SVCD having a chance to look at this.:)

jah'Mai
7th August 2003, 12:15
Yes your right, CCE is only using 1 of the virtual CPU's in the compatability mode.

Win2000 compat does the same thing as normal for me.

Argh! :)

This doesnt actually really matter for normal ripping because I just keep starting it until it works, but its imperative for batch ripping...

seewen
8th August 2003, 23:17
For me DVD2SVCD 1.1.3b2 works 100%.

DVD Source -> CVD/SVCD : OK
AVI Source -> CVD/SVCD : OK
(I've never tried VCD/MPEG-1 )

My system :

Pentium 4 2.8C@3.2 Ghz (HT enabled ).
ABIT IS7-G ( GAT/PAT Enabled = "F1" )
Avisynth 2.5.2
CCE SP 2.5 (+ CRC patch )
WinXP SP1 ( + all "critical" updates )
(.NET Framework 1.1)


overclocked to 3.26ghz, the system is 'stable' as it could be regarded to be (24hrs prime95, memtest and so on).

For me Prime95 is not _really_ a proof of stability...
Avisynth + CCE or Avisynth + VirtualDub takes much more ressources.

I don't say that your system is not stable. I just say that I've already seen computer running prime95 (or other "gadgets" like Sisoft Sandra, 3D mark, etc..) for hours, and crashing after 30 minutes of Avisynth + Vdub/CCE (And re-installing Windows, or dropping FSB/Mhz little bit usually makes the trick ).

Sorry for not bringing a usefull answer.. But you should look for something else than "DVD2SVCD not supporting HT"


Bye

P.S.
Be sure to select "AddRessampleAudio" in "frameserver" Tab.
Beccause if I don't select this options, CCE doesn't works 100%.
But I don't know why... this option is usually used for AMD Athlon

jah'Mai
9th August 2003, 03:10
I don't say that your system is not stable. I just say that I've already seen computer running prime95 (or other "gadgets" like Sisoft Sandra, 3D mark, etc..) for hours, and crashing after 30 minutes of Avisynth + Vdub/CCE (And re-installing Windows, or dropping FSB/Mhz little bit usually makes the trick ).


I have already quite clearly stated the problem occurs both with and without overclocking when HT is enabled I have also stated that while HT is switched off in the BIOS it does NOT crash even while overclocking at my stated speed. Read the post more carefully next time.

Sorry for not bringing a usefull answer.. But you should look for something else than "DVD2SVCD not supporting HT"

If you have read the post from -three- people in this thread, and read it properly, you will see we do not simply blame DVD2SVCD, but we see the common attribute being that when HT is enabled on all systems, overclocking or not, using Windows XP, there is an issue which causes DVD2SVCD to crash on startup. We have considered that there may be a driver problem or something that is installed post-XP which interferes DVD2SVCD while HT is enabled but it seems unlikely.

I, too, run all those other programs you run, and yes, as I have stated in my earlier post they all run 100% fine - once DVD2SVCD is open. I have ripped many DVD's with my current configuration.

P.S.
Be sure to select "AddRessampleAudio" in "frameserver" Tab.
Beccause if I don't select this options, CCE doesn't works 100%.
But I don't know why... this option is usually used for AMD Athlon

I do not have this option enabled and my CCE works perfectly fine.

seewen
9th August 2003, 16:18
Hey little boy/girl.. Don't panic.

I just said : "Look for something ELSE than HT".

That's all. It's not beccause your(s) computer/dvd2svcd crash when HT is enabled, that HT is reponsible of the bug..

And the second thing I said is : DVD2SVCD + CCE 2.5 + Avisynth 2.5 + P4 HT enabled, works 100% with WinXP SP1 with/without critical updates.

But if you prefer to think that the problem comes from "HT + ?", that's your problem... But you will loose your time.
(I bet that you have a "buggy" driver/appz somewhere. And HT + DVD2SVCD simply reveal the bug )

(I'm really surprised that a _professional_ like you didn't ask other people to list their configurations... I don't know how you are going to find the "common point" between all, without any idea of their hardware/softwares... )

jah'Mai
9th August 2003, 17:46
That's all. It's not beccause your(s) computer/dvd2svcd crash when HT is enabled, that HT is reponsible of the bug..

If i enable Hyperthreading, and something breaks, then hyperthreading directly or indirectly is responsible - ignoring it, or looking elsewhere and dismissing its involvement is not going to help.

And the second thing I said is : DVD2SVCD + CCE 2.5 + Avisynth 2.5 + P4 HT enabled, works 100% with WinXP SP1 with/without critical updates.

I know what you said. And I said this works for me aswell, it isn't the other applications which have difficulties, so this has no bearing on the problem. Infact DVD2SVCD works fine with HT aswell, it just will not start every time I click the icon. (This has been thoroughly expressed in the thread)

(I bet that you have a "buggy" driver/appz somewhere. And HT + DVD2SVCD simply reveal the bug )

We already raised the notion that it could indeed be something else intefering, like a driver. I actually mentioned it in my most recent post, clearly you either do not read the entire post or don't have a firm grasp of the language.

(I'm really surprised that a _professional_ like you didn't ask other people to list their configurations... I don't know how you are going to find the "common point" between all, without any idea of their hardware/softwares... )

I'm suprised you a person with such charisma as yourself couldn't have just simply stated that you had success with DVD2SVCD and HT, rather than trying to make a mockery of the people in this thread.
Which BTW, I did not start the thread, so why you chose to single out me as a target for your pitiful whitisisms and poor grammar is beyond me.

End of conversation, little man.

jah'Mai
9th August 2003, 18:09
Although most of it didn't contribute very much, seewan did make a good point. I'll list my hardware and see if there is anything common with the other people;

Hardware:
P4 2.4 (@3.26) w/ HT (FSB 270x4)
Asus P4P800 Deluxe
2x256mb Corsair 433 (@433mhz)
Sapphire 9700pro ultimate
Sb live! value

Running Windows XP Pro.

Drivers:
Latest intel chipset drivers (5.0.12 or something like that)
Catalyst 3.6
Directx 9.0b
Latest soundblaster drivers (wouldn't know the version number)
All current windows XP critical updates

madhusker
14th August 2003, 05:41
I have 2 machines with HT that will not even load DVD2SVCD with HT enabled. Turn it off, no problems.

P4 - 2.4c
1G - DDR 400
Gigabyte 8KNXP

Erich99
16th August 2003, 23:21
Since this problem has now persisted over several months, it's hard do believe that the developer of DVD2SVCD has not found a solution yet. This tool is so superb, a real pitty that there is still this damned problem with the hyperthreading processors.

Trinityx2
17th August 2003, 20:24
I also have problems when starting up Dvd2svcd it takes up to 5 tryes before it starts up.When i overclocked to 3450mhz it wouldent start atall.My system is P4 3.0 800fsb, Msi 875p NEO Corsair Twinx3200LL, XP Pro sp1+ all updates.

dvd2svcd
17th August 2003, 21:28
Well, if somebody would like to donate a system to me with HT, then I'd be happy to try and fix it, but as it is right now I have no clue what so ever where to search for this error (which incidently I also mention earlier in this thread). Besides Erich99 I'd like you to read this thread: http://forum.doom9.org/showthread.php?s=&threadid=7770 and think about that just a bit before you start rambling about "how hard it is to believe that I haven't fixed this yet". The program is freeware program and trust me donations isn't overwhelming. So I don't have the money needed to get my hands on the hardware needed, nor do I know anybody which has.

dvd2svcd
22nd August 2003, 19:12
http://www.dvd2svcd.org/bugtracker/bug.php?op=show&bugid=199&pos=

dvd2svcd
28th August 2003, 00:10
The problem has now been fixed, thanks to Druid :D

jah'Mai
28th August 2003, 00:48
Supherb! Hats off to the both of you, thankyou.