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 > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th September 2019, 15:38   #961  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by poisondeathray View Post
What was the "proper" way to MT GPU filters ?

I remember some issue in the KNLMeans discussion, or videoh mentioning something , but I can't find the posts

If you test just the source filter alone with cuvid, it seems abnormally slow , regardless of the filter MT Mode or prefetch >1 value . Thrashing or something . But seems ok in vapoursynth with native threading
I recommend putting GPU filters after Prefetch.
Atak_Snajpera is offline   Reply With Quote
Old 19th September 2019, 20:50   #962  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by videoh View Post
Atak,

Any chance you can share your stream as I requested?
http://www.mediafire.com/file/dh86so...video.mkv/file
Atak_Snajpera is offline   Reply With Quote
Old 20th September 2019, 04:16   #963  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Got it. Thank you, Atak.
videoh is offline   Reply With Quote
Old 20th September 2019, 07:45   #964  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
Quote:
Originally Posted by Sparktank View Post
GTX 1060 3GB checking in.
Well, I have a 3900X/cheapie-2060-Super/vapoursynth-portable/DG-tools/Win10x64, if someone wants to provide a script and a couple of lines outlining how to measure the time. The 3900X is a tad crippled though, with only 2666 RAM awaiting some 3600 to arrive (hence the 3900X infinity fabric is running at 3/4 of "normal").

Last edited by hydra3333; 20th September 2019 at 07:49.
hydra3333 is offline   Reply With Quote
Old 20th September 2019, 10:32   #965  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
I also have 3900X with Asus ROG Crosshair Hero 7 mobo and 2x 16 GB RAM (OC to 3333 MHz) + RTX2070 (Gigabyte Gaming OC, 3 fans). Unfortunately I don't have much time to tinker with scripts this week, but can run some batches before I'll go to sleep.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 24th September 2019, 14:27   #966  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Using 20190917 I have some problem with a mkv(interlaced avc,wav) using:
Code:
core.lsmas.LWLibavSource(source="Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv", format="YUV420P8", cache=0, prefer_hw=1)
only one frame is returned
using:
Code:
core.lsmas.LWLibavSource(source="Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv", format="YUV420P8", cache=0, prefer_hw=0)
vspipe and vsviewer simply close.
DGSource and FFVideoSource (ffms2 and ffms2k) both work.
Same happens with AvsPmod and avs2yuv when using:
Code:
LWLibavVideoSource("C:\Users\Selur\Desktop\Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv",cache=false,format="YUV420P8", prefer_hw=1)
(only one Frame)
and
Code:
LWLibavVideoSource("C:\Users\Selur\Desktop\Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv",cache=false,format="YUV420P8", prefer_hw=0)
program closes.
(as expected using prefer_hw=3 also returns one frame)

Uploaded the source to my GoogleDrive.
(Using Ryzen 7 1800X, Windows 10, 32GB RAM, GeForce GTX 1070Ti in case it helps.)

Cu Selur
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 24th September 2019 at 14:30.
Selur is offline   Reply With Quote
Old 24th September 2019, 15:02   #967  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by Selur View Post
Using 20190917 I have some problem with a mkv(interlaced avc,wav) using:
Code:
core.lsmas.LWLibavSource(source="Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv", format="YUV420P8", cache=0, prefer_hw=1)
only one frame is returned
using:
Code:
core.lsmas.LWLibavSource(source="Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv", format="YUV420P8", cache=0, prefer_hw=0)
vspipe and vsviewer simply close.
DGSource and FFVideoSource (ffms2 and ffms2k) both work.
Same happens with AvsPmod and avs2yuv when using:
Code:
LWLibavVideoSource("C:\Users\Selur\Desktop\Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv",cache=false,format="YUV420P8", prefer_hw=1)
(only one Frame)
and
Code:
LWLibavVideoSource("C:\Users\Selur\Desktop\Il Silenzio (Melissa Venema) [Live in Maastricht II] (N).mkv",cache=false,format="YUV420P8", prefer_hw=0)
program closes.
(as expected using prefer_hw=3 also returns one frame)

Uploaded the source to my GoogleDrive.
(Using Ryzen 7 1800X, Windows 10, 32GB RAM, GeForce GTX 1070Ti in case it helps.)

Cu Selur
Indeed. Instant crash in my SeekTester tool


Update: It looks like video has to be demuxed to raw .264 in order to be correctly decoded by LSMASH.

Update2: Demuxed .264 does not crash LSMASH but some frames are missing after seeking.

Last edited by Atak_Snajpera; 24th September 2019 at 15:21.
Atak_Snajpera is offline   Reply With Quote
Old 24th September 2019, 22:11   #968  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Quote:
Originally Posted by Atak_Snajpera View Post
Check this out!
Can you please give me the x264 version you used and a link to get it? Thank you.

BTW, DGSource() on a 2080 Ti gives 500 fps for your stream compared to your 124 fps for SW, and 122 fps for your ancient GT 710.

Last edited by videoh; 24th September 2019 at 22:24.
videoh is offline   Reply With Quote
Old 24th September 2019, 23:16   #969  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Just download latest. Ask uncle google for directions.
Atak_Snajpera is offline   Reply With Quote
Old 24th September 2019, 23:37   #970  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
First test with your stream to x64:

DGSource + 2080 Ti: 4:30

That is to be compared to your 13:21 for SW.

Looks like a fine boost to me.
videoh is offline   Reply With Quote
Old 25th September 2019, 00:11   #971  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by videoh View Post
First test with your stream to x64:

DGSource + 2080 Ti: 4:30

That is to be compared to your 13:21 for SW.

Looks like a fine boost to me.

What about compared to your SW?

Comparing 2 different CPU's setups is less relevant if his is an old Q8200 and you have something probably 10 years newer and with more cores
poisondeathray is offline   Reply With Quote
Old 25th September 2019, 02:19   #972  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Oy, OK, I never wanted lsmash or any of that on my PC but I'll see what I can do for you. BTW, I have only a lowly 7700K @4.2GHz. Your request is fair and reasonable.

Last edited by videoh; 25th September 2019 at 03:34.
videoh is offline   Reply With Quote
Old 25th September 2019, 02:56   #973  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
Actually this is the first time I noticed that's a q8200, which was launched 11 years ago.

This brings me the question. What kind of hardware spec range should we expect in daily benchmarks.
Shall we even care about how the performance is to encode x265 1080p on an 11 years old CPU?
Shall we focus on some more "modern" hardware?

IMHO, even E5v1 and SNB desktop series are considered a bit outdated now.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 25th September 2019, 03:13   #974  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by MeteorRain View Post
Actually this is the first time I noticed that's a q8200, which was launched 11 years ago.

This brings me the question. What kind of hardware spec range should we expect in daily benchmarks.
Shall we even care about how the performance is to encode x265 1080p on an 11 years old CPU?
Shall we focus on some more "modern" hardware?

IMHO, even E5v1 and SNB desktop series are considered a bit outdated now.


It really doesn't matter, as long as the relevant testing and background info is provided for context. Some people have older than 10 year old hardware, some older 3rd or 4th computers laying around. It might be useful info for them. But given limited time constraints - I would put higher priority testing on newer hardware if possible

But the question here was measuring the effect of off loading "GPU" decoding on actual encoding speed. So the delta on the same hardware needs to be tested, not comparing different CPU hardware. Obviously the Q8200 will be slower for encoding in every situation
poisondeathray is offline   Reply With Quote
Old 25th September 2019, 03:18   #975  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by videoh View Post
Oy, OK, I never wanted lsmash or any of that on my PC but I'll see what I can do for you. BTW, I have only a lowly 7700K @4.2GHz.
haha, not even to check out the emerging "competition" ?

What if you have some non supported video format by Nvidia/CUVID ?

Thanks
poisondeathray is offline   Reply With Quote
Old 25th September 2019, 09:35   #976  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by videoh View Post
First test with your stream to x64:

DGSource + 2080 Ti: 4:30

That is to be compared to your 13:21 for SW.

Looks like a fine boost to me.
Facepalm.jpg . You can't even do proper testing like i did.

Last edited by Atak_Snajpera; 25th September 2019 at 09:38.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 09:58   #977  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
Quote:
Originally Posted by MeteorRain View Post
Actually this is the first time I noticed that's a q8200, which was launched 11 years ago.

This brings me the question. What kind of hardware spec range should we expect in daily benchmarks.
Shall we even care about how the performance is to encode x265 1080p on an 11 years old CPU?
Shall we focus on some more "modern" hardware?

IMHO, even E5v1 and SNB desktop series are considered a bit outdated now.
I have Sandy Bridge based notebook and it feels much slower in browsing or doing stuff in programs (in comparison to R9 3900X). Not to mention it's slow af for heavy encoding or filtering.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 25th September 2019, 10:40   #978  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by DJATOM View Post
I have Sandy Bridge based notebook and it feels much slower in browsing or doing stuff in programs (in comparison to R9 3900X). Not to mention it's slow af for heavy encoding or filtering.
I have Sandy bridge xeon e5-2690 and IT is as good as ryzen 1700. Comparing low clocked CPU in notebook with desktop 105w CPU is just silly.
Atak_Snajpera is offline   Reply With Quote
Old 25th September 2019, 10:50   #979  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
Indeed it's just i7-2670QM with 2.2-3.1 (boost) GHz, but user experience differs even if I will set saving plan on Ryzen. 2.2 GHz at 3900X feels much faster in browser (that's my most common usage for notebook). Since both devices using SSD, I think it differs due to RAM frequency.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 25th September 2019, 12:17   #980  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Originally Posted by DJATOM View Post
Indeed it's just i7-2670QM with 2.2-3.1 (boost) GHz, but user experience differs even if I will set saving plan on Ryzen. 2.2 GHz at 3900X feels much faster in browser (that's my most common usage for notebook). Since both devices using SSD, I think it differs due to RAM frequency.
Im also sure that you disabled those extra cores/threats...
Atak_Snajpera is offline   Reply With Quote
Reply

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 20:06.


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