VP17 with Intel iGPU and AMD RX 580

john-rappl wrote on 8/12/2019, 10:43 PM

PC config: i7-8700 (Intel HD Graphics 630), AMD RX 580, 32GB, 2 fast M.2 SSDs, one 40" monitor on the RX 580, nothing on the iGPU. iGPU is enabled in bios and shows up in device manager as installed and working. I have installed the latest drivers for both GPUs.

With VP15 and Intel Pre-DCH iGPU driver (6373 - before Nov 2018) VP15 used both the iGPU and the AMD RX580 for timeline editing. For example scrubbing in the pan/crop window was fast without any lag (4K) and I could watch the usage for the iGPU go up and down as I scrubbed. QSV and AMD renders were available in the list and were faster than software renders by a good margin and I could see usage go up for the GPU being used in the renders and in fact both GPUs would be used to some extent during the render.

DCH drivers for the 630 were released in Nov and QSV stopped working with VP15. I went back to the pre-dch driver for a couple months.

MS pushed out the new April windows and forced a driver update to 6374 (still pre-DCH) but VP15 crashes after a few seconds with that driver. The new windows (1903) blocks the install of the 6373 driver!

I read some forum threads of people using VP17 successfully with both the iGPU and an AMD video card so I upgraded to 17.

VP17 sees both the AMD and Intel GPUs. They are both in the list in preferences/video GPU acceleration. In preferences/General I have enabled QSV for encoding and decoding, Use GPU for ACES Color and Enable OpenCL/GL for Intel GPU and I have set GPU acceleration to AMD in the VIDEO settings.

With VP17 and the most recent iGPU and AMD video drivers and using task manager/performance to monitor the usage during editing (scrubbing 4k video in the pan/crop window for example) the iGPU usage never moves off 0% and the AMD stays in the 0-3% range and it lags. In addition I can select a render using QSV but again the iGPU usage never goes above 0% and the render takes the same time as using software only.

Why can't VP use the iGPU?

If anybody has this working do you have a monitor attached to the iGPU? I would do that but the iGPU cannot run my 4k monitor at 60Hz over HDMI but the AMD can.

Comments

fr0sty wrote on 8/13/2019, 12:15 AM

Look in file i/o settings in preferences and see which device is being used to decode.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Howard-Vigorita wrote on 8/13/2019, 3:05 AM

@john-rappl You might want to check and see if there are any chipset driver updates for your motherboard. The chipset drivers are the source of iGpu usage stats shown by Task Manager.

douglas_clark wrote on 8/13/2019, 7:04 AM

See my post about updating Intel drivers: https://www.vegascreativesoftware.info/us/forum/vegas-pro-17-first-impressions--116502/?page=6#ca726199

Home-built ASUS PRIME Z270-A, i7-7700K, 32GB; Win 10 Pro x64 (22H2);
- Intel HD Graphics 630 (built-in); no video card; ViewSonic VP3268-4K display via HDMI
- C: Samsung SSD 970 EVO 1TB; + several 10TB HDDs
- Røde AI-1 via Røde AI-1 ASIO driver;

john-rappl wrote on 8/13/2019, 9:12 AM

Intel QSV is selected in File i/o settings. I updated my chipset drivers and updated MB firmware, still the same issues. VP17 sees the Intel QSV but cannot use it! Handbrake does not even see the iGPU so it is not just VP thing, it's a setup or driver problem.

Does a monitor need to be attached to the iGPU to use it for encode/decode? I'll test it later today.

Again, this works with no monitor attached to the iGPU using VP15 and pre-DCH (6373) Intel Graphics drivers. Window 1903 will not allow me to install a pre-DCH driver - throws an error saying it is not compatible.

fr0sty wrote on 8/13/2019, 9:56 AM

Pardon me if I'm mistaken, but aren't the chipset drivers and the GPU drivers for the intel chips separate?

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

TheRhino wrote on 8/13/2019, 9:58 AM

Try changing the order you install the iGPU & PCIe GPU drivers... When I first installed my AMD Vega 64 I lost the Intel iGPU as a choice from within Vegas 15 & 16. I then re-installed the Intel (6373) drivers & both appeared within Vegas. This was pre-Windows 1903. I have not allowed my systems to update to 1903 but I think Windows only allows you to do this for so many months before you are forced to update... It's to the point where I don't even want my editing rigs connected to the Internet... When I have a smoothly working system I clone the drive & don't want Windows changing anything... If it does, then I go back to the cloned drive image...

Last changed by TheRhino on 8/13/2019, 9:59 AM, changed a total of 1 times.

Workstation C with $600 USD of upgrades in April, 2021
--$360 11700K @ 5.0ghz
--$200 ASRock W480 Creator (onboard 10G net, TB3, etc.)
Borrowed from my 9900K until prices drop:
--32GB of G.Skill DDR4 3200 ($100 on Black Friday...)
Reused from same Tower Case that housed the Xeon:
--Used VEGA 56 GPU ($200 on eBay before mining craze...)
--Noctua Cooler, 750W PSU, OS SSD, LSI RAID Controller, SATAs, etc.

Performs VERY close to my overclocked 9900K (below), but at stock settings with no tweaking...

Workstation D with $1,350 USD of upgrades in April, 2019
--$500 9900K @ 5.0ghz
--$140 Corsair H150i liquid cooling with 360mm radiator (3 fans)
--$200 open box Asus Z390 WS (PLX chip manages 4/5 PCIe slots)
--$160 32GB of G.Skill DDR4 3000 (added another 32GB later...)
--$350 refurbished, but like-new Radeon Vega 64 LQ (liquid cooled)

Renders Vegas11 "Red Car Test" (AMD VCE) in 13s when clocked at 4.9 ghz
(note: BOTH onboard Intel & Vega64 show utilization during QSV & VCE renders...)

Source Video1 = 4TB RAID0--(2) 2TB M.2 on motherboard in RAID0
Source Video2 = 4TB RAID0--(2) 2TB M.2 (1) via U.2 adapter & (1) on separate PCIe card
Target Video1 = 32TB RAID0--(4) 8TB SATA hot-swap drives on PCIe RAID card with backups elsewhere

10G Network using used $30 Mellanox2 Adapters & Qnap QSW-M408-2C 10G Switch
Copy of Work Files, Source & Output Video, OS Images on QNAP 653b NAS with (6) 14TB WD RED
Blackmagic Decklink PCie card for capturing from tape, etc.
(2) internal BR Burners connected via USB 3.0 to SATA adapters
Old Cooler Master CM Stacker ATX case with (13) 5.25" front drive-bays holds & cools everything.

Workstations A & B are the 2 remaining 6-core 4.0ghz Xeon 5660 or I7 980x on Asus P6T6 motherboards.

$999 Walmart Evoo 17 Laptop with I7-9750H 6-core CPU, RTX 2060, (2) M.2 bays & (1) SSD bay...

john-rappl wrote on 8/13/2019, 10:49 AM

Yes, the chipset and iGPU drivers are separate. I have both fully updated.

I plugged my main (only) monitor into the iGPU port and now it works and VP17 can also use the AMD GPU. Lag is gone during scrubbing in pan/crop and I see the iGPU usage moving up and down as expected.

What a poor decision to require a monitor to use the encode/decode of a graphics processor! Now I will need to place a second monitor on my system just to use the processor

Still doing testing and I don't like the jerkyness using this monitor at 30Hz!

TheRhino wrote on 8/13/2019, 3:14 PM

Yes, for now it appears a monitor has to be plugged into the motherboard for the onboard iGPU to appear in Windows/Vegas. I have (2) 4K monitors connected to the Vega 64 & an old 1080p monitor connected to the iGPU...

Workstation C with $600 USD of upgrades in April, 2021
--$360 11700K @ 5.0ghz
--$200 ASRock W480 Creator (onboard 10G net, TB3, etc.)
Borrowed from my 9900K until prices drop:
--32GB of G.Skill DDR4 3200 ($100 on Black Friday...)
Reused from same Tower Case that housed the Xeon:
--Used VEGA 56 GPU ($200 on eBay before mining craze...)
--Noctua Cooler, 750W PSU, OS SSD, LSI RAID Controller, SATAs, etc.

Performs VERY close to my overclocked 9900K (below), but at stock settings with no tweaking...

Workstation D with $1,350 USD of upgrades in April, 2019
--$500 9900K @ 5.0ghz
--$140 Corsair H150i liquid cooling with 360mm radiator (3 fans)
--$200 open box Asus Z390 WS (PLX chip manages 4/5 PCIe slots)
--$160 32GB of G.Skill DDR4 3000 (added another 32GB later...)
--$350 refurbished, but like-new Radeon Vega 64 LQ (liquid cooled)

Renders Vegas11 "Red Car Test" (AMD VCE) in 13s when clocked at 4.9 ghz
(note: BOTH onboard Intel & Vega64 show utilization during QSV & VCE renders...)

Source Video1 = 4TB RAID0--(2) 2TB M.2 on motherboard in RAID0
Source Video2 = 4TB RAID0--(2) 2TB M.2 (1) via U.2 adapter & (1) on separate PCIe card
Target Video1 = 32TB RAID0--(4) 8TB SATA hot-swap drives on PCIe RAID card with backups elsewhere

10G Network using used $30 Mellanox2 Adapters & Qnap QSW-M408-2C 10G Switch
Copy of Work Files, Source & Output Video, OS Images on QNAP 653b NAS with (6) 14TB WD RED
Blackmagic Decklink PCie card for capturing from tape, etc.
(2) internal BR Burners connected via USB 3.0 to SATA adapters
Old Cooler Master CM Stacker ATX case with (13) 5.25" front drive-bays holds & cools everything.

Workstations A & B are the 2 remaining 6-core 4.0ghz Xeon 5660 or I7 980x on Asus P6T6 motherboards.

$999 Walmart Evoo 17 Laptop with I7-9750H 6-core CPU, RTX 2060, (2) M.2 bays & (1) SSD bay...

john-rappl wrote on 8/13/2019, 3:23 PM

I tried two monitors, one 1080p on the iGPU and my 4k on the RX 580. Vegas sees the iGPU and it uses it for QSV renders but not for timeline editing. In addition the QSV renders are slow compared to using just the iGPU on a single monitor!

I have just given up! I'm using just the iGPU with a single 4K monitor and now VP17 is using the gpu for timeline edits (scrubbing in Pan/Crop without any lag).

I'll have to get use to the 4k monitor at 30Hz. This all worked with both GPUs before the Intel DCH drivers!!!

Howard-Vigorita wrote on 8/13/2019, 4:59 PM

@john-rappl If you got the HD 630 driver from Intel, that may be the problem... the chip is openCL ready but recent drivers from Intel don't have the api present. Get a copy of TechPowerUp gpu-z and take a look at what api's are there. If OpenCL is not checked, Vegas won't list it as a graphics board in Video Settings and won't use it anywhere. Should look like this:

Usually motherboard makers supply the drivers for the Intel gpu with openCL enabled so you should get it from them and not Intel. Windows Update does have the last Intel-supplied driver with openCL but it's pretty old... I had to use that for my Intel NUC... it's here but I would only recommend it as a last resort:

http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/02/d743d796-709f-43f1-9dee-aec217dc08cc_257be1aa46db5d56027e1abbe3cd23326141c0b3.cab

There's a single inf file in there and it's the installer. No matter which route you go, use DDU (also available from TechPowerUp) to rip out your current Intel drivers first.

john-rappl wrote on 8/13/2019, 5:14 PM

GPU-Z has openCL checked and if I have a monitor connected to the iGPU, VP17 sees it and will use it for renders but not for timeline editing but even the renders are slow - much slower than with the old drivers.

Yes, the old pre DCH drivers work (6373) but the Windows 10 April update (1903) won't let me install it.

Howard-Vigorita wrote on 8/13/2019, 6:10 PM

What I did was download the cab file from the windows update site then extract the contents to a directory, right-click on the inf file, and choose install. Takes a couple minutes before putting up a little box saying it was successful. After doing that I did a regular Windows Update and a new Intel driver got installed, but it did not remove the openCL api. But QSV dissapeared as a render choice so I rolled back that update and blocked it from future updates. All good again after the roll-back. I think the key to getting it to work right is using DDU first to clean out the old stuff. I didn't bother going into safe mode, btw, and it worked fine for me. Btw, timeline improvements only come when avc or hevc mp4's are on the timeline. QSV renders improve quite a bit, however.

Howard-Vigorita wrote on 5/1/2020, 1:20 AM

Update: Found a registry tweak that allowed me to update to the most current Intel DCH Win10 driver in my Intel NUC with HD630 igpu without losing OpenCL. Previously I was stuck on driver version 21.20.16.4590 which was their last version delivered with OpenCL enabled. This apparently only applies to systems whose main gpu is an AMD. The other catch is that the directory name where Intel puts its OpenCL dlls seems to change on occasion with different versions so if openCL disapears after an update, you'll have to conform the directory name in the patch manually by looking to see what the new name is in the FileRepository directory... the directory name is of the form: "iidg_dch_inf_amd64_xxxxxxxxxxxxxx"

Windows Registry Editor Version 5.00

; Note that the directory names containing the OpenCL dlls can change depending on the update and may need to be conformed!!!

[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors]
"C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_feb8e446bcccb6a5\\IntelOpenCL64.dll"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Khronos\OpenCL\Vendors]
"C:\\Windows\\System32\\DriverStore\\FileRepository\\iigd_dch.inf_amd64_feb8e446bcccb6a5\\IntelOpenCL32.dll"=dword:00000000

After doing this patch, gpu-z now looks like this: