Log in

View Full Version : setmtmode question


Zelos
16th March 2009, 18:40
Hi all,

i would like to know if it is possible to cancel a setmtmode for one filter ?
for example i have this script :

setmtmode(2,8)
directshowsource("c:\blahblah.m2ts",audio=false)
blockbuster(xxx,xxx,xxxx,xxx)

tweak(xxxx,xxxx,xxxx) => for this line i would like not to set any setmtmode

the reason is that with my core i7-920 in HT mode , megui crash with any setmtmode on tweak filter.
if i remove HT from bios all is ok.
I checked all the filter i used one by one, only tweak seems doesn't like HT.

thanks.

BigDid
16th March 2009, 21:49
Hi,

See first post: http://forum.doom9.org/showthread.php?p=660247#post660247
and/or wiki pages:http://avisynth.org/mediawiki/MT_modes_explained
http://avisynth.org/mediawiki/MT_support_page

Following was true for MT in avisynth 2.57; TSP has not (to my knowledge) continued for avisynth 2.58; so no guarantees...

Disclaimers being given, you could try:
1/ to change the SETMTmode for filters not compatible to mode 5 or 6 like:
setmtmode(2,8)
...
blockbuster(xxx,xxx,xxxx,xxx)
setmtmode(5,8) # or setmtmode(6,0)
tweak(xxxx,xxxx,xxxx)

2/ to use MT("") instead of setmtmode(2,0) like
MT("blockbuster(xxx,xxx,xxxx,xxx)")
tweak(xxxx,xxxx,xxxx)

Did

Zelos
16th March 2009, 23:48
Hi BigDid, thanks for the answer.

Unfortunatly, i have already tested all mode and also MT; that doesn't help , and MT is slower with blockbuster than nothing :)

BigDid
16th March 2009, 23:56
...
the reason is that with my core i7-920 in HT mode , megui crash with any setmtmode on tweak filter.
Try to find an alternate filter to tweak() that could be MT..

I checked all the filter i used one by one, only tweak seems doesn't like HT.


It was reported (2005) that HT/on was slower than HT/off:
http://forum.doom9.org/showthread.php?p=728030#post728030

If you have not benched, it may be the time...

Did

Sagekilla
17th March 2009, 03:34
That test was also done using the HT implementation of the Pentium 4/D. Now, we have an architecture that can actually make use of it properly. Things have changed since then, so there could be some benefit to HT.

Zelos
17th March 2009, 08:18
Try to find an alternate filter to tweak() that could be MT..

It was reported (2005) that HT/on was slower than HT/off:
http://forum.doom9.org/showthread.php?p=728030#post728030

If you have not benched, it may be the time...

Did

Already benched, and HT is much quicker on than off.
I tried other filters, it seems when affecting colors and luma HT and setmtmode are note friends :).

@Sagekilla, thanks for the answer, that will be good that an alternative of MT works on new cpu.

Leak
17th March 2009, 09:31
Things have changed since then, so there could be some benefit to HT.
Well, if it has noticeable benefits on my EEEpc 1000H (with it's 1.6GHz Atom) it should also have those on faster CPUs... :)

np: Telefon Tel Aviv - Introductory Nomenclature (Fahrenheit Fair Enough)

BigDid
17th March 2009, 18:55
Hi,

One more try, what about
setmtmode(2,8)
directshowsource("c:\blahblah.m2ts",audio=false)
blockbuster(xxx,xxx,xxxx,xxx)
MT("tweak(xxxx,xxxx,xxxx)")
?

Did

Zelos
17th March 2009, 19:10
Hi big did,

thanks for the test.

i already tried it , crash after the 1st pass.
Those color/luma filters with i7 , even colormatrix, tweak3,etc.... make it crazy :)

BigDid
17th March 2009, 20:25
Hi,

Yep, I don't have HT so the last proposal works for me :D

Don't cry too loud, some jealous not having i7 will want to murder you :devil:

As related above, MT-HT etc... were already in development in 2005. Four years later it seems these technologies are not enough integrated in OS/apps for dayly use...

Methinks I will go for a quicker 2 cores and wait for prices to drop for the quad-cores and/or more integration for MT/SMT-HT...

Did

Zelos
17th March 2009, 20:53
yep, i changed my q6600 for the i7-920 and i'm very disapointed since i have the same performances without HT :confused:

Blue_MiSfit
18th March 2009, 09:15
--me tesa --subme 9

Or just do 2 encodes in parallel...

'nuff said ;)

Also, try something more stable than DirectShowSource..

~MiSfit

Zelos
18th March 2009, 22:49
--me tesa --subme 9

Or just do 2 encodes in parallel...

'nuff said ;)

Also, try something more stable than DirectShowSource..

~MiSfit

Hi,

thanks for the answer.

Could you explain more about --me tesa --subme 9 ?

thanks