Log in

View Full Version : Intel QuickSync Decoder - HW accelerated FFDShow decoder with video processing


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

CruNcher
9th March 2012, 19:10
It's a shame that even modern GFX cards do not support AVC fully .

It's called Markets ;) 10 bit non consumer (still) consumers got wonderful useless 3D instead ;)

dread
10th March 2012, 15:27
Hi !

It looks like QuickSync Decoder isn't working on my setup.

My setup: Celeron G530, Asrock H61M U3S3, 4GB RAM 1333Mhz.
OS Windows 7 64bit.

I've installed LAV Filters, activated QuickSync on LAV Video Decoder (also tried ffdshow), and set output to EVR.
While watching 1080i/p on MPC-HC I'm getting very high cpu usage like it was not using hardware acceleration - avg ~60% both cpu and gpu on 1080p, and ~100% on 1080i with enabled yasif deinterlacing, and as you can imagine, it's jerky and unwatchable.

On TMT on the other hand, with enabled hardware acceleration I'm getting cpu usage of ~25% (gpu ~20%) while watching 1080p movie, and ~35% cpu (70% gpu) while watching 1080i deinterlaced material and it plays smooth.

I've tried Microsoft DTV-DVD Video Decoder on MPC-HC, and it has lowest cpu usage (15%), but there are ocassionally decoding artifacts appear, so it's not a solution for me.

I've also tried latest OEM Graphic Drivers (v8.15.10.2618) and these from downloadcenter.intel.com (v8.15.10.2622).

Below I've uploaded a few screenshots of used filters and display stats so maybe someone could find a clue why QuickSync is not working for me.

http://img59.imageshack.us/img59/5733/evrdu.th.jpg (http://img59.imageshack.us/img59/5733/evrdu.jpg) http://img841.imageshack.us/img841/4234/evr2.th.jpg (http://img841.imageshack.us/img841/4234/evr2.jpg) http://img442.imageshack.us/img442/9559/evr3.th.jpg (http://img442.imageshack.us/img442/9559/evr3.jpg)

CruNcher
10th March 2012, 15:35
It's working what you see as High CPU usage is mostly coming from the copy back the GPU usage from the EVR custom presenter (the osd and timers also create some overhead) and the Shader resizing + Deinterlacing though you have a SNB system you mostly do'nt need it use EVR basic and utilize Intels (Egurs) Hardware Resizer this will drop the usage of Aero(dwm) and the GPU a lot , CPU usage will also drop considerably if Egur implements the Native path without Copy back :)

Also if you need every last resource try Mirillis Splash Player they make very efficient use of every part in their Player (it's excellent work so far with Intel Quicksync support + additional fixes most other decoder don't have, for the formats it supports, partly they already beat CoreCodecs DXVA might be they use a custom quicksync non copy back implementation) custom renderer not sure though if they use Intels Hardware Scaling or something else but looking @ the resource usage suggest they utilize intels Native Scaling (Lanczos4) (didn't conducted quality tests yet to confirm this) :)

TMT and PowerDVD already use Intel Specific optimizations also + DXVA + some of their own fixes, MPC-HC (and most MPC code based Player) on the other side are still not 100% ready for it (though their DXVA status varies from broken to functional with quirks), especially the internal DXVA playback is broken heavily for Intel HD Graphics and MPC-HC ;)

nevcairiel
10th March 2012, 15:43
~100% on 1080i with enabled yasif deinterlacing, and as you can imagine, it's jerky and

Don't use YADIF deinterlacing, let EVR take care of that. Your CPU isn't fast enough for that.

dread
10th March 2012, 16:04
It's working what you see as High CPU usage is mostly coming from the copy back the GPU usage from the EVR custom presenter and the Shader resizing + Deinterlacing though you have a SNB system you mostly do'nt need it use EVR basic and utilize Intels (Egurs) Hardware Resizer this will drop the usage of Aero(dwm) and the GPU a lot , CPU usage will also drop considerably if Egur implements the Native path without Copy back :)

I've set output to EVR but I don't see any difference in cpu usage. It's still ~60% on 1080p material.
Also disabled yadif deinterlacing, now on 1080i material video is much smoother but still a lot of dropped frames and very high cpu (80-90%) and gpu usage (100%).

I don't really know what is Intels Hardware Resizer and how to enable it on MPC-HC.
Under the filters menu there is File Source (Async.) in work, is it ok ?

Also if you need every last resource try Mirillis Splash Player they make very efficient use of every part in their Player (it's excellent work so far with Intel support, for the formats it supports)

Thanks, I'll try it.

wanezhiling
10th March 2012, 16:06
YADIF deinterlacing will surely kill poor G530.

egur
10th March 2012, 16:10
For low end CPUs, you'll get the best quality and performance if you use EVR and EVR-CP. They behave completely different BTW.
You can tweak (or disable) sharpness, noise reduction, skin tones correction and more in the graphics control panel.

For SandyBridge, EVR has a better scaler and uses much less power.

Please report back your CPU utilization after using EVR.

Like Nev said, let EVR do the deinterlacing, also make sure NV12 is selected as an output for both LAV and ffdshow (saves format conversions as EVR likes NV12 and QS decoder outputs NV12).

CruNcher
10th March 2012, 16:12
I've set output to EVR but I don't see any difference in cpu usage. It's still ~60% on 1080p material.
Also disabled yadif deinterlacing, now on 1080i material video is much smoother but still a lot of dropped frames and very high cpu (80-90%) and gpu usage (100%).

I don't really know what is Intels Hardware Resizer and how to enable it on MPC-HC.
Under the filters menu there is File Source (Async.) in work, is it ok ?



Thanks, I'll try it.

is your system set to High Performance or Balanced Performance ? dropping frames (in non exclusive fullscreen, and windowed mode) can have a lot of reasons it can also be a background application interfering timer problems are most common in badly coded apps for example sensor software polling extremely or having bad coded kernel drivers can cause problems, some motherboard or GPU Manufacture 3rd party software is known for these problems though they slowly replace their stuff these days
Asus Probe 2 for example that came initially with their SNB Mainboards is heavily bad coded and causes DPC spikes @ every pooling interval in their Kernel Driver i made them aware of it it should be fixed by now hopefully.
If you see dropped frames @ playback first thing you should do is check the DPC status of the system either via the Performance Console and the DPC performance counter or much easier with http://www.thesycon.de/eng/latency_check.shtml its a essential tool for troubleshooting video playback as well as other system performance related problems under windows in both Hardware issues as well as Software :)

Generally to many counter and to high update intervals bellow 15 ms depending on the system can be still problematic HPT compensate somewhat but to many different running in the background or mixing will cause issues, and if dynamic frequency switching adds to it (like in the balanced profile) it becomes more problematic though it got much better these days thx to Intel and Microsoft ;)

Dread as i said you using a non native quicksync on your system you wont see a big improvement unless you use either a native version or DXVA :) try Nevs DXVA2 and see if it helps you though it's not stable yet for Intel it can work for 1 Video but fail for another the heaviest thing that could happen is a bsod in the Driver but that's very rare these days it most probably will just crash the player and trigger a WER report.

Try the following setting

in MPC-HC enable EVR instead of EVR Custom presenter
in Lav Video enable DXVA2 native instead of Intel quicksync, disable Yadif and untick RGB options

this should lower the pressure on both CPU as well as GPU

Though i guess once you tried Mirillis Splash you don't want to go back to MPC-HC anyways (@ least for most common formats) ;)

if playback is ok (no corruptions) and you see still frame drops then read above what i wrote and download dpclat.exe and check the stability @ playback and try High Performance in the Energy Settings instead of Balanced

it could be that instead of frame drops you now see frame corruptions if that is the case you have to use another DXVA decoder with Intel support a good and cheap one would be http://corecodec.com/products/coreavc ( a lot of testing gone into this also by me hunting a lot of bugs ;) )

mbcd
10th March 2012, 19:37
Does no one have an idea why I am not able to get Quicksync to work? -> http://forum.doom9.org/showpost.php?p=1563925&postcount=947

Everywhere I read that my P6Z68-DELUXE is capable of using it. I installed the latest 0.49 of lav, but there is still not success.

egur
10th March 2012, 21:40
Does no one have an idea why I am not able to get Quicksync to work? -> http://forum.doom9.org/showpost.php?p=1563925&postcount=947

Everywhere I read that my P6Z68-DELUXE is capable of using it. I installed the latest 0.49 of lav, but there is still not success.

Sorry, I missed your original post.
In order to use QS (any app that uses QS) you have one option with this board - Lucid Virtu.
Open the Virtu control panel and add your media player(s) to the list of applications that will work on the iGPU - the list is probably preoccupied with several transcoding apps.

After you do this, the apps in the iGPU white list will operate on the iGPU and the result video will be outputted to the dGPU screen. This add some overhead but not too bad.

BTW, install the latest Virtu version from their website (http://www.lucidlogix.com/driverdownloads-virtu.html). Old versions like you have had issues.
I personally stopped using it (because I don't need to) at version 106. Back then Virtu had issues with 64 bit playback - frames play out of order. 32 bit players worked great.

Let me know if this works for you.

dread
11th March 2012, 14:38
is your system set to High Performance or Balanced Performance ?

High Performance.

Try the following setting

in MPC-HC enable EVR instead of EVR Custom presenter
in Lav Video enable DXVA2 native instead of Intel quicksync, disable Yadif and untick RGB options

this should lower the pressure on both CPU as well as GPU

With dxva2 native enabled, instead of QuickSync, I'm getting pretty impressive cpu usage but there are decoding artifacts. I don't think it's working properly with Intel graphics, correct me if I'm wrong...

Though i guess once you tried Mirillis Splash you don't want to go back to MPC-HC anyways (@ least for most common formats) ;)

Tried splash pro and it's really great with Intel, but I would really like to see similar performance on MPC-HC which has some important for me features that Splash player and TMT don't have.

For SandyBridge, EVR has a better scaler and uses much less power.

Please report back your CPU utilization after using EVR.

1080p24 clip cpu usage on MPC-HC + EVR + LAV Filters + NV12:
http://img641.imageshack.us/img641/8917/1080pnative.png
red line - hardware decoder set to: none
blue line - QuickSync (avg gpu usage 52%)

1080p24 clip cpu usage compared to Splash Pro player:
http://img208.imageshack.us/img208/7259/1080pl.png
red line - QuickSync (avg gpu usage 52%)
blue line - Splash Pro (avg gpu usage 25%)

1080i60 clip cpu usage:
http://img339.imageshack.us/img339/7861/1080i.png
red line - QuickSync (avg gpu usage 94%)
blue line - Splash Pro (avg gpu usage 41%)

mbcd
11th March 2012, 14:39
In order to use QS (any app that uses QS) you have one option with this board - Lucid Virtu.
Open the Virtu control panel and add your media player(s) to the list of applications that will work on the iGPU - the list is probably preoccupied with several transcoding apps.

After you do this, the apps in the iGPU white list will operate on the iGPU and the result video will be outputted to the dGPU screen. This add some overhead but not too bad.

Thanks for that advice egur,

so I cant use it for transcoding. My goal was to use it for converting to x264, so only on transcoding. So I have no application that I could use in Lucid Virtu. It only accepts executables, and in my construction:

Graphfilter -> avissynth -> x264

I only have the x264.exe that is usable for Lucid, and that makes no sin, because x264 doesnt use Quicksync.

So I thought there is a way that there is direct access to iGPU.

Or is there another possible way to use it for transcoding?

My purpose was to use is for decoding, so I have more power for encoding, I dont need it for visible output on any screen.

As Info:
I can see the Intel-HD-Graphics, but I cant use it as extended screen, because there is no hardwareconnection:

http://s3.imgimg.de/thumbs/Monitorsce2bf565png.png (http://www.imgimg.de/bild_Monitorsce2bf565png.png.html)


BTW: I even thought testing it with an Player, but VLC (actual version) shows "licence required" when implemented in Lucid. Still MPC shows this message. Im not happy with this at all, Now I bought an expensive mainboard and cant use one of the feature that were top important ...

egur
11th March 2012, 21:26
Thanks for that advice egur,

so I cant use it for transcoding. My goal was to use it for converting to x264, so only on transcoding. So I have no application that I could use in Lucid Virtu. It only accepts executables, and in my construction:

Graphfilter -> avissynth -> x264

I only have the x264.exe that is usable for Lucid, and that makes no sin, because x264 doesnt use Quicksync.

So I thought there is a way that there is direct access to iGPU.

Or is there another possible way to use it for transcoding?

My purpose was to use is for decoding, so I have more power for encoding, I dont need it for visible output on any screen.

As Info:
I can see the Intel-HD-Graphics, but I cant use it as extended screen, because there is no hardwareconnection:

http://s3.imgimg.de/thumbs/Monitorsce2bf565png.png (http://www.imgimg.de/bild_Monitorsce2bf565png.png.html)


BTW: I even thought testing it with an Player, but VLC (actual version) shows "licence required" when implemented in Lucid. Still MPC shows this message. Im not happy with this at all, Now I bought an expensive mainboard and cant use one of the feature that were top important ...

You can add GraphEdit (or better yet GraphStudioNext) to Virtu's app list. You can always keep 2 GraphEdit executables - one under Virtu and one normal (just create a copy of the exe).

Virtu is licensed by a special BIOS key, updating your BIOS will set things right - I had the same problem. Your OEM probably signed with Lucid too late.

I'll contact the driver team and see if they have a more elegant solution to your problem. The problem is with Direct3D9, it will not enumerate a disconnected device but obviously Lucid found a way to overcome this limitation.

CruNcher
11th March 2012, 21:27
High Performance.



With dxva2 native enabled, instead of QuickSync, I'm getting pretty impressive cpu usage but there are decoding artifacts. I don't think it's working properly with Intel graphics, correct me if I'm wrong...



Tried splash pro and it's really great with Intel, but I would really like to see similar performance on MPC-HC which has some important for me features that Splash player and TMT don't have.



Yes they are a lot of decoding issues with Nevs DXVA2 native see my last bug hunt on it :( pretty severe problems the only thing that could help would be a native quicksync this could reach very low overhead with great compatibility as the copy back works with almost all of those streams without any issues (only 1 issue with the decodinerror.ts, but not as heavy as with dxva2 native) :) .
Does all of your tested streams result in problems with DXVA2 Native ? could you post a result of it's utilization on your system vs Mirillis :)

Here is a big list of bitstream issues http://forum.doom9.org/showpost.php?p=1564452&postcount=9794
though tested with unofficial 2639 drivers

also you could try either Cyberlinks or Arcsofts decoder they both are stable with quicksync and get as stable results as quicksync copy back but with the lower overhead.

PS: Dread also make sure you use Nev latest official build http://forum.doom9.org/showpost.php?p=1564287&postcount=9765

egur
11th March 2012, 21:31
@dread
Can you also report the CPU frequency when QS is working. You can use this free tool CoreTemp (http://www.alcpu.com/CoreTemp/)
BTW, what's the bitrate of the tested clip?

mbcd
12th March 2012, 13:05
You can add GraphEdit (or better yet GraphStudioNext) to Virtu's app list. You can always keep 2 GraphEdit executables - one under Virtu and one normal (just create a copy of the exe).

Thanks, I will try it, didnt thought it, because I load graph directly into avisynth and I dont see any thread in task-manager while converting.


Virtu is licensed by a special BIOS key, updating your BIOS will set things right - I had the same problem. Your OEM probably signed with Lucid too late.

Just did it, on first try I installed the latest BIOS from ASUS and lastest Virtu but didnt had success, then I downgraded Virtu because I thought there might be a licence problem, but still with the actual stuff even VLC tells me "licence needed".

Virtu correctly reports my Mainboard and its Manufactor. Even there is no hint that its running in "non-licence" ... this message only appears using VLC or MPC ... confusing !


I'll contact the driver team and see if they have a more elegant solution to your problem. The problem is with Direct3D9, it will not enumerate a disconnected device but obviously Lucid found a way to overcome this limitation.

Thanks for that, it would be fine to get a solution, I bought this board especially for use of encoding, so it would be very disapointing if Quicksync is now unusable for it.


If you need more Information let me know !

egur
12th March 2012, 13:09
...
Just did it, on first try I installed the latest BIOS from ASUS and lastest Virtu but didnt had success, then I downgraded Virtu because I thought there might be a licence problem, but still with the actual stuff even VLC tells me "licence needed".

Virtu correctly reports my Mainboard and its Manufactor. Even there is no hint that its running in "non-licence" ... this message only appears using VLC or MPC ... confusing !

I think you should contact ASUS's support for this issue.

CruNcher
12th March 2012, 14:17
Normaly Virtu supported boards are clearly marketed as such if their is no indication on the website that virtu is not supported it isn't the best chance you have even with the cheapest Intel board (if i had known that i wouldn't have bought ASUS) ;)
Though hopefully Nvidia Synergy if it reaches the light one day will be fully free for every board though as you can guess only for Nvidia owners, but it's not clear how it's gonna to be marketed either but im very sure Nvidia will give it out for free LucidLogix is in another position they cant do it Intel where the firsts to include the Bios Key for all their Boards even the cheapest H67 boards many other Manufactures only give it out with the Z boards as a exclusive thing i guess Asus belongs to them the same like MSI and others, but i didn't tried it yet (Though i don't have big hope my "relatively cheap" board is licensed even after the Chipset disaster ;)
Btw egur does your creating 2 Monitor surface trick for MediaSDK detection also work with utilizing the encoder or would it also need to be adapted to it like you did with the decoder in ffdshow ?

Btw that Intel where the first to give the key out for free for all their boards was a little surprising because the first who announced Virtu support where actually MSI ;) though i speculated that ASUS would also drive the same road and thus decided for a ASUS board which was faster available @ the first days (yeah i was a early adopter) ;)
But i totally missed Intel i thought it was a pretty generic "reference" board and such though in the end it even showed better energy consumption results (though Asus even have their own extra Chip for managing this, which of course also consumes energy itself) and later Intel presented Lucid Logix Virtu on their Stands @ presentations and then the Press release all their Bios would support it and i was feeling like "doh" ;)
And then the others started to market it with Z boards much later s a exclusive thing even after the chipset disaster when Intel announced the support for it on every of their Boards ;)
So i pretty doubt if i install Virtu i will be greeted with a happy smile on my Asus H board, but landing into evaluation mode, so my last hope is Nvidia :)

Btw technically seen of course this whole Bios Key stuff is a restriction (serial key on a very deep level in intels proprietary UEFI Bios structure) not a system requirement problem Virtu runs on every board it was even tested on my Board according to the PDF so i might be lucky and the key is in my bios without knowing it ;)

Im not 100% sure but i think Intel hadn't planed the support for every Board as well but after the Chipset Disaster they said a come one we give them something back licenses for every board (yes would be a nice task taking all boards back and giving user something extra, so to see as compensation for their problems) ;) but im not sure it might have been also the strategy of Lucid to be available on every Intel Board after the close corporation and show offs of it with Intel ;)

Though if i look back @ this i shouldn't have concentrated to much into the Board Manufactures knowing that they crave for every extra money the can make and Lucid needing to sell licenses so in the end what happened with Intel and Lucid was a pretty logic thing :( and i really thought about getting the Intel board even if it hadn't (solid capacitors,extra chips, more , bunch of useless bad coded tuning and sensor software) and such high class components but it was solidly done @ foxconn :(

http://www.asus.com/Motherboards/Intel_Socket_1155/P8H67M_PRO/ <- nothing about Virtu support so i guess i dont even need to try it ;)

http://ark.intel.com/products/50101/Intel-Desktop-Board-DH67CL <- this was my other candidate back then, in the end i decided for ASUS :)

http://www.lucidlogix.com/download/PR_Intel_310311.pdf <- when this was released i was like "doh" please let me calculated right

the next doh was then this right after it http://www.lucidlogix.com/download/PR_MB_LucidLogix_ASUS_050211_final.pdf and i new i could forget the H release from Asus for it :(

and this was the ultimate doh then http://downloadmirror.intel.com/20008/eng/BL_0110_ReleaseNotes.pdf jep intel did

egur
12th March 2012, 14:19
Normaly Virtu supported boards are clearly marketed as such if their is no indication on the website that virtu is not supported it isn't the best chance you have even with the cheapest Intel board (if i had known that i wouldn't have bought ASUS) ;)

Yes, but his board features Virtu according to ASUS's web page.

CruNcher
12th March 2012, 16:17
ah sorry P6Z68-DELUXE jup should be clearly have a license all Z boards per se from Asus have it, only the ultra expensive Maximus Line doesn't seem to be licensed very crazy.

I guess Intel are the only ones and a exception that granted a license to users for all boards from H to Z, which makes angry somewhat angry @ myself for not deciding for the Intel Board and angry @ ASUS for forgeting all the early adopters even after the chipset problems :(

mbcd
12th March 2012, 16:43
Ok guys, thanks a lot for your answers, I dont want to go too offtopic on this here. Maybee some good information for someone else in my position.

So I have two problems:

- Luzid Virtu is not licenced by ASUS (nice they even dont have a clear customer-support, I dont know where to contact them without needing serial of Mainboard, can`t get it right now)

- Luzid Virtu needs an executable which I cant offer in combination with lav, avisynth. I specialy need avisynth for filtering and I didnt found a way to get it implemented in Graphstudio. Even batching could be problematic with Graphstudio.


So it was a disaster with Intel:
- Problems with my H67 board and 3 destroyed Harddrives
- No sin in offering a P67-Deluxe-Board, because it cant switch between onbard and additional graphic-card, and even there are problems in cooperation with LUZID VIRTU. And at all: You can only use VIRTU if you have an executable ... which I dont have here for decoding ...

So a warning to all, dont buy this Board, its useless ... :mad::mad::mad:

CruNcher
12th March 2012, 17:05
Ok guys, thanks a lot for your answers, I dont want to go too offtopic on this here. Maybee some good information for someone else in my position.

So I have two problems:

- Luzid Virtu is not licenced by ASUS (nice they even dont have a clear customer-support, I dont know where to contact them without needing serial of Mainboard, can`t get it right now)

- Luzid Virtu needs an executable which I cant offer in combination with lav, avisynth. I specialy need avisynth for filtering and I didnt found a way to get it implemented in Graphstudio. Even batching could be problematic with Graphstudio.


So it was a disaster with Intel:
- Problems with my H67 board and 3 destroyed Harddrives
- No sin in offering a P67-Deluxe-Board, because it cant switch between onbard and additional graphic-card, and even there are problems in cooperation with LUZID VIRTU. And at all: You can only use VIRTU if you have an executable ... which I don't have here for decoding ...

So a warning to all, dont buy this Board, its useless ... :mad::mad::mad:

This is strange i mean shouldn't it work with the host process ? so the .dll that get called by the main executable should be included so if you include graphstudio.exe in the lucid manager it should hook and include any decoder/encoder called from within it first that would be graphstudio.exe->ffdshow.dll->quicksync.dll->libfxhw32.dll and send it's result to the framebuffer and d output ?

You only bought a Z board because of Virtu support ?

Wait didn't you said initially you got a Z board no P board ?

Or do you really want to say you switched from H to P to Z :D

dread
12th March 2012, 17:15
@dread
Can you also report the CPU frequency when QS is working. You can use this free tool CoreTemp

2,4Ghz.

BTW, what's the bitrate of the tested clip?

1080p was a first few minutes of Braveheart Blu-ray untouched (MPEG4 AVC) - I guess avg ~20-25Mbps, and peak @ ~40Mbps + DTS HD MA track.

1080i60 was a mkv 2min clip uploaded by AVS member (http://www.avsforum.com/avs-vb/showthread.php?p=21009914#post21009914), avg bitrate also around ~25Mbps + DTS HD MA track.

Disabled aero theme, and it did helped but just a little :)

Does all of your tested streams result in problems with DXVA2 Native ?

It's my new build, I didn't even had a chance to watch one movie from start to finish.
First few minutes of Braveheart Blu-ray was a pretty awful experience with dxva2 native (LAV 0.48), on the other hand there weren't any decoding issues with first few minutes of LOTR or 1080i60 clip I tested.

could you post a result of it's utilization on your system vs Mirillis :)

Sure, but you have to wait for a while :)

also you could try either Cyberlinks or Arcsofts decoder they both are stable with quicksync and get as stable results as quicksync copy back but with the lower overhead.

I don't see any Arcsoft filter available from the list in MPC-HC. I have TMT5 latest version installed.

CruNcher
12th March 2012, 17:31
https://forum.doom9.org/showthread.php?t=163845

mbcd
12th March 2012, 17:37
This is strange i mean shouldn't it work with the host process ? so the .dll that get called by the main executable should be included so if you include graphstudio.exe in the lucid manager it should hook and include any decoder/encoder called from within it first that would be graphstudio.exe->ffdshow.dll->quicksync.dll->libfxhw32.dll and send it's result to the framebuffer and d output ?

You only bought a Z board because of Virtu support ?

Wait didn't you said initially you got a Z board no P board ?

Or do you really want to say you switched from H to P to Z :D

Sorry, too much problems with Intel in a short time.

First I had an "P"-Board with this famous chipset-failure.
Got B3-Version and that killed 3 Harddrives, so another exchange. Exchanges took months, and now they lost package and I only got the naked mainboard back ... :mad:

Between these exchanges I bought a "Z"-Board, because I wanted more Power for Decoding/Encoding, and of course: I needed a Mainboard to be able to use my computer. And now this ...


Problem is that I only have an executable here at last position:

Avisynthscript (with integrated, direct call of ".GRF") -> x264.exe (Encoder)

So there is no Graphstudio or something else loaded. I only see the x264-executable in Taskmanager, and adding this to VIRTU doesnt show any advantage in speed, also I think there had to come the "licence required"-Message as with VLC or MPC too if it tries to get access to iGPU.

I thought that egurs solution directly get access to iGPU (because he comes directly from INTEL), but now its clear that it doesnt.
iGPU seems to be there in my system, but it still needs VIRTU in use without hardware-graphical-out.

Hard thing ... to come with ;)

CruNcher
12th March 2012, 17:48
ahhhh now i get your problem :)
i have a solution for it use x264.exe call the avisynth script and include the quicksync decoder as directshowsource call include x264 in lucids manager and load your avisynth script, nobody is happy with that Virtu stuff just for using the decoder/encoder especially with no real video output for the encoder that's for sure :)

i wonder why you load the encoder via the avisynth script ? and not the avisynth script via the encoder ;)

if you still need it that way you could also use virtualdub with its cmd encoding and x264.exe behind it and put virtualdub in the lucid list <- though pretty overhead and complex for normal encoding, this way you could combine avisynth, directshow + virtualdub ;)

mbcd
12th March 2012, 18:34
i wonder why you load the encoder via the avisynth script ? and not the avisynth script via the encoder ;)

No I do:

avisynthscript loads graph
x264 loads avisynthscript

Avisynthscript (with integrated, direct call of ".GRF") -> x264.exe (Encoder)

direct264 is pretty nice, but still I need avisynthfilter and an actual x264-version, so I think I have to play with virtualdub again :scared: Was happy to get that overload away such times ago and now it comes back :eek:
Of course I could integrate an script in ffdshow, but that complicates the process if you need different scripts in a batch ... you always had to reconfigureate ffdshow, not very comfortable.

A "simple/single" problem which get so complicated for getting a max of quality ...

CruNcher
12th March 2012, 18:43
No I do:

avisynthscript loads graph
x264 loads avisynthscript



direct264 is pretty nice, but still I need avisynthfilter and an actual x264-version, so I think I have to play with virtualdub again :scared: Was happy to get that overload away such times ago and now it comes back :eek:
Of course I could integrate an script in ffdshow, but that complicates the process if you need different scripts in a batch ... you always had to reconfigureate ffdshow, not very comfortable.

A "simple/single" problem which get so complicated for getting a max of quality ...

Hmm but then it should also work
if you add x264.exe to the lucid list then open a cmd line for example and do

x264 [avisynth script]

and inside the avisynth script you load the quicksync decoder via a directshowsource call i dunno why it shouldn't work

mbcd
12th March 2012, 19:30
Exactly, but it cant work, because I cant tell to use quicksync.

ATM I use LAV and DXVA2 (native) which works, as you can see on pics it is not posible to acrivate QS EVEN if x264 is running and VIRTU got it.

As I said, maybee a problem with those licence-failure, but then I wonder why there is no message in this case on picture 2.

http://s3.imgimg.de/thumbs/DXVA2nativeb86cd2eajpg.2.jpg (http://www.imgimg.de/bild_DXVA2nativeb86cd2eajpg.jpg.html)

http://s3.imgimg.de/thumbs/QSx264running06084a0djpg.2.jpg (http://www.imgimg.de/bild_QSx264running06084a0djpg.jpg.html)

If there is a try like with VLC or MPC to get QS to work within VIRTU, why there is no message about "licence-missing".

I think its more a problem with VIRTU, so offtopic.
Maybe egur finds a way to get access directly to QS, then virtu should be useless someday ...

CruNcher
12th March 2012, 19:51
Exactly, but it cant work, because I cant tell to use quicksync.

ATM I use LAV and DXVA2 (native) which works, as you can see on pics it is not posible to acrivate QS EVEN if x264 is running and VIRTU got it.

As I said, maybee a problem with those licence-failure, but then I wonder why there is no message in this case on picture 2.

http://s3.imgimg.de/thumbs/DXVA2nativeb86cd2eajpg.2.jpg (http://www.imgimg.de/bild_DXVA2nativeb86cd2eajpg.jpg.html)

http://s3.imgimg.de/thumbs/QSx264running06084a0djpg.2.jpg (http://www.imgimg.de/bild_QSx264running06084a0djpg.jpg.html)

If there is a try like with VLC or MPC to get QS to work within VIRTU, why there is no message about "licence-missing".

I think its more a problem with VIRTU, so offtopic.
Maybe egur finds a way to get access directly to QS, then virtu should be useless someday ...

He allready found one for the Decoder :) see in this thread some pages back how it works though my question is if it would work for the encoder the same way :) and yeah hopefully well see the Intel MSDK guys finding a solution but the problem is it would render @ least the old Virtu useless (Virtu currently transforms into a package of specific solutions, not really Intel dependent anymore) and Intel has a agreement with them it seems about this specific encoder usage thing ;)

Though it's a little surprising that DXVA2 Native accelerates it and that the result can be captured in your framework that's mainly what copy back would be for (quicksync and that seems not working very strange) though the whole framebuffer thing is really complex matter that Windows since NT 6 now allows specifically between different drivers such things where more or less only done in professional stuff before on unix based solutions preferably broadcast systems its a very exciting field and LucidLogix has some interesting stuff going on after moving from Hardware to Software manipulating all kinds of things their and improving even the driver render pipelines to be more efficient :)

Maybe this license failure is because LucidLogix want to avoid such frameworks as i spoken of to be realized on consumer systems though i can't say for sure :(


Though i wonder how this all works together in terms of 64 bit OS and 32 bit apps and such i mean you have a lot of components here the 32/64 bit version of ffdshow the driver being 32/64 bit and lucid virtu having 2 versions best of course would be 1 complete same from start to end trying to avoid mixups ah and dont forget the new security stuff introduced with vista which could also make problems here and their i guess.

I would have said now you could also try the other prefered way and connect the Igpu and use the 3D Engine stuff in the virtu list instead, but that's a no go in your case.

egur
12th March 2012, 21:26
Exactly, but it cant work, because I cant tell to use quicksync.

...

If there is a try like with VLC or MPC to get QS to work within VIRTU, why there is no message about "licence-missing".

I think its more a problem with VIRTU, so offtopic.
Maybe egur finds a way to get access directly to QS, then virtu should be useless someday ...

If you opened LAV's config dialog from the start menu it will not show you that QS is enabled because it doesn't find a display connected to the iGPU.
Here's how you can make sure it's working:
Rename IntelQuickSyncDecoder.dll (32 bit).

Load a special build from here (http://www.mediafire.com/?tckfh8z6rx280ak)
It's the same build as LAV 0.49 but it colors a blue rectangle on the top left corner. Copy it to LAV's x86 folder (where the old dll is).

Now try your setup.

Also to clarify things, if x264.exe loads the QS decoder under Virtu, Virtu will enable QS for x264 and all the dlls it loads.
The reason that Virtu works this way is because that's the only way to distinguish between apps.

mbcd
12th March 2012, 21:44
Thanks for your explanations egur.

Halfway good news:

Downloaded dll and replaced.
Added Graphstudio to VIRTU and build a graph.

Then the window "licence required" pops up lots of times, and LAV sais : Quicksync available".

But rendering on screen still not shows the blue rectangle, maybe because of those ""missing"" licence ...

Damn licencing, only problems for customers with this shit. Seems I have to contact ASUS for this problem ...

I will try to find another to test if VIRTU works with other applications that use it ... have to find a demo software.

egur
12th March 2012, 21:57
Thanks for your explanations egur.

Halfway good news:

Downloaded dll and replaced.
Added Graphstudio to VIRTU and build a graph.

Then the window "licence required" pops up lots of times, and LAV sais : Quicksync available".

But rendering on screen still not shows the blue rectangle, maybe because of those ""missing"" licence ...

Damn licencing, only problems for customers with this shit. Seems I have to contact ASUS for this problem ...

I will try to find another to test if VIRTU works with other applications that use it ... have to find a demo software.

Virtu acquires the license from the BIOS (probably from the ME - management engine). Did you disable any drivers or SW that came with your installation CD?

CruNcher
12th March 2012, 23:07
Virtu acquires the license from the BIOS (probably from the ME - management engine). Did you disable any drivers or SW that came with your installation CD?

Arghh i didn't thought about the Key being in the ME part like the PVP key then you really have to make sure the Intel ME service is also running (might be also why it's called Lucid Server in the Intel change log ?).
Though wouldn't that be insecure as the ME part can be easily exchanged between different bios and flashed separately ?

egur
13th March 2012, 08:23
Arghh i didn't thought about the Key being in the ME part like the PVP key then you really have to make sure the Intel ME service is also running (might be also why it's called Lucid Server in the Intel change log ?).
Though wouldn't that be insecure as the ME part can be easily exchanged between different bios and flashed separately ?

The ME ships from Intel as a binary - some parts of the BIOS SPI image are given to OEMs as binaries without source code and are used 'as is'.
When I got my H67 Intel board (a year ago), it had a BIOS dated from October 2010 and wasn't licensed with Virtu. After a BIOS update, Virtu was licensed.

CruNcher
13th March 2012, 16:04
the 110 BLH6710H.86A.0110.2011.0415.1506 ME Firmware: 7.1.11.1069 bios update ?

egur
13th March 2012, 16:11
the 110 BLH6710H.86A.0110.2011.0415.1506 ME Firmware: 7.1.11.1069 bios update ?

I don't know what was your question but I my BIOS version is 132. I think originally I updated to 119. It also improved the fan controls significantly as well as added fast boot which was missing in the original BIOS release. My board is DH67GD.

CruNcher
13th March 2012, 16:30
I don't know what was your question but I my BIOS version is 132. I think originally I updated to 119. It also improved the fan controls significantly as well as added fast boot which was missing in the original BIOS release. My board is DH67GD.

Its a generic Bios :) PRODUCTS: DH67BL, DH67CF, DH67CL, DH67GD, DH67VR (Standard
BIOS)

I already have experience with updating the ME part from another Manufactures Bios so i wonder if it could copy the license also, and i guess less problematic would be Intels Bios then especially as its a H67 License :)

Jup its the 110 bios :) and lucid server support :) http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=19993&ProdId=3334&lang=eng&OSVersion=Windows%207%2C%2064-bit*&DownloadType=Software%20Applications

egur
13th March 2012, 16:33
Its a generic Bios :) PRODUCTS: DH67BL, DH67CF, DH67CL, DH67GD, DH67VR (Standard
BIOS)

I allready have experience with updating the ME part from another Manufactures Bios so i wonder if it could copy the license also :)

There's no such thing as generic BIOS, these BIOSes are derivatives of the reference board BIOS.

CruNcher
13th March 2012, 17:06
I mean generic in the term that this 1 bios works for all of the above versions, only updating the ME part of my Bios with Intels shouldn't be problematic i guess it's worth a try or i wait till lucid sells licenses directly to end customers shouldn't take that long anymore http://eshop.lucidlogix.com/?q=catalog/1 ;)

http://www.lucidlogix.com/virtu-product-list.html <- intel is definitely the only H67 license currently

aufkrawall
16th March 2012, 21:34
This might have been asked a few times, but I really can't find it.
Can anybody give me the link to egur's guide how to set QS up by using a virtual second monitor?
I got it working but it's annoying that the mouse cursor can disappear into the virtual desktop.

:thanks:

CruNcher
16th March 2012, 21:59
http://forum.doom9.org/showpost.php?p=1532786&postcount=186

aufkrawall
16th March 2012, 22:34
Thanks, CruNcher. :)
I already found that solution by myself. Not ideal -> droppping it. :(

Edit: MPEG2 decoding is bugged too.

egur
17th March 2012, 10:28
Thanks, CruNcher. :)
I already found that solution by myself. Not ideal -> droppping it. :(
Why?

Edit: MPEG2 decoding is bugged too.
If there's an issue please report.

aufkrawall
17th March 2012, 12:25
Why?

I might be a bit oversensitive, but I still find it annoying when the cursor can get lost (happened a few times).
It'd be nice if there was a way to make the cursor completely locked to the real desktop.


If there's an issue please report.
Playback of the following MPEG2 interlaced file was jittering heavily:
http://www.mediafire.com/?4y1yngo6mnimo65

mbcd
17th March 2012, 16:51
So, a little report:

QS is running now, there are MUCH problems with QS, depending on LUZID and Motherboard-Vendors that are related to the BIOS-integreated licence LUZID needs.

My Board is runnning now, because there was an Bios-update again :D

Here my facts:
- LUZID does not prevent freeware from being used, VLC and other Programs can be used with it, so there is no lock out for freeware which would need a special licence from LUZID.

- My encoding-path dont use QS, I dont get it to run in that case. Fact is: QS is not activated if I add the x264.exe (encoder) to the list. I dont know why. In response to:
Also to clarify things, if x264.exe loads the QS decoder under Virtu, Virtu will enable QS for x264 and all the dlls it loads.
The reason that Virtu works this way is because that's the only way to distinguish between apps.
So it seems not to cunction that way.

- If I load the (unchanged) avisynth-script into Virtualdub I get QS to work. Really strange. Thats the part I dont understand. With x264.exe it itsnt loaded, but with Virtualdub it runs. The chain is theoreticly the same ... :confused:

- At first impression I couldnt get a difference in speed, seems that there is no major enhancement using DXVA2 (native) or Quicksync. But I didnt tested it correctly, but first impression was more negative.

egur
17th March 2012, 22:46
I might be a bit oversensitive, but I still find it annoying when the cursor can get lost (happened a few times).
It'd be nice if there was a way to make the cursor completely locked to the real desktop.
Unfortunately this is a DirectX limitation. Lucid have overcome this by creating what seems like a driver that intercepts DirectX calls.

Playback of the following MPEG2 interlaced file was jittering heavily:
http://www.mediafire.com/?4y1yngo6mnimo65

There was a problem with the HW device, a problem not seen before :(
I didn't notice any jitter, the clip just froze after 4-5 seconds.
I don't know your setup but you should not EVR-CP, only EVR, VMR9 or MadVR.
I've patched my code and hopefully this will solve the issue.
Here's a test dll (http://www.mediafire.com/?090beu9nr48cpqz), just replace the original.

I'm going on a business trip for a week, so if this patch works for you, I'll release a new build.

CruNcher
17th March 2012, 22:48
So, a little report:

QS is running now, there are MUCH problems with QS, depending on LUZID and Motherboard-Vendors that are related to the BIOS-integreated licence LUZID needs.

My Board is runnning now, because there was an Bios-update again :D

Here my facts:
- LUZID does not prevent freeware from being used, VLC and other Programs can be used with it, so there is no lock out for freeware which would need a special licence from LUZID.

- My encoding-path dont use QS, I dont get it to run in that case. Fact is: QS is not activated if I add the x264.exe (encoder) to the list. I dont know why. In response to:

So it seems not to cunction that way.

- If I load the (unchanged) avisynth-script into Virtualdub I get QS to work. Really strange. Thats the part I dont understand. With x264.exe it itsnt loaded, but with Virtualdub it runs. The chain is theoreticly the same ... :confused:

- At first impression I couldnt get a difference in speed, seems that there is no major enhancement using DXVA2 (native) or Quicksync. But I didnt tested it correctly, but first impression was more negative.

you mostly wouldn't see a speed difference as the bottlneck is more probably avisynth majorly singlethread processing though you should see lower CPU utilization wich can be used for the avisynth part if it allows it to (you need to optimize your script for multithreading and use avisynth MT and or multithreaded plugins), though im not sure how the Virtu overhead itself plays into this :)
That x264.exe doesn't work with Quicksync Decoding via Avisynth seems strange

egur
17th March 2012, 22:52
So, a little report:

QS is running now, there are MUCH problems with QS, depending on LUZID and Motherboard-Vendors that are related to the BIOS-integreated licence LUZID needs.

My Board is runnning now, because there was an Bios-update again :D

Here my facts:
- LUZID does not prevent freeware from being used, VLC and other Programs can be used with it, so there is no lock out for freeware which would need a special licence from LUZID.

- My encoding-path dont use QS, I dont get it to run in that case. Fact is: QS is not activated if I add the x264.exe (encoder) to the list. I dont know why. In response to:

So it seems not to cunction that way.

- If I load the (unchanged) avisynth-script into Virtualdub I get QS to work. Really strange. Thats the part I dont understand. With x264.exe it itsnt loaded, but with Virtualdub it runs. The chain is theoreticly the same ... :confused:

- At first impression I couldnt get a difference in speed, seems that there is no major enhancement using DXVA2 (native) or Quicksync. But I didnt tested it correctly, but first impression was more negative.

BTW it Lucid not Luzid.
It's hard to know why this odd behavior exists in your setup.
I'm going on a business trip tomorrow for a week and after that I'll look into avisynth+QS performance.
Since decoding is probably a small part of the transcoding process, it might not provide a significant boost. Theoretically it could hurt performance due to the copying.
Your flow can't work in pure DXVA mode as x264 needs frames in system memory. If by some means you hand it GPU memory buffers, the performance will be at least 10-20x slower.

aufkrawall
17th March 2012, 23:36
I'm going on a business trip for a week, so if this patch works for you, I'll release a new build.
The new dll doesn't fix the issue. :(
Movements are still jittering/stuttering.
Seems to happen only with MPEG2, VC-1 und H.264 are fine.
It occurs with every renderer.