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.

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.

Last changed by Howard-Vigorita on 8/13/2019, 3:29 AM, changed a total of 1 times.

Laptop: Dell XPS15-9570; i7-8750h 32gb (integrated Intel UHD-630 & Nvidia GTX-1050Ti)
Road: Intel NUC i7 8809g 32gb (integrated AMD VegaM 4gb graphics and Intel HD630)
Workstation: i9 9900k 32 gb (Sapphire AMD Radeon VII 16gb graphics and integrated Intel UHD630)
Workstation2: e5 1650v4 128 gb (Sapphire Nitro+ RX580 8gb graphics)
Workstation3: i7-980X 24gb (Sapphire RX480 4gb graphics)
currently Vegas 16, testing Vegas 17

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

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?

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 D with $1,350 USD of upgrades in April, 2019
--$500 9900K @ 5.0ghz
--$140 Corsair i150i 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
--$350 refurbished, but like-new Radeon Vega 64 LQ (liquid cooled)

Renders Vegas11 "Red Car Test" (QSV) in 13s-14s when clocked at 5.0 ghz
(note: BOTH onboard Intel & Vega64 show utilization during QSV 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 RAID10 card

10G Network using cheap Mellanox2 Adapters
Copy of Work Files, Source & Output Video, OS Images on QNAP 653b NAS
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 & C are 6-core 4.0ghz Xeon 5660 or I7 980x on Asus P6T6 motherboards.

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 D with $1,350 USD of upgrades in April, 2019
--$500 9900K @ 5.0ghz
--$140 Corsair i150i 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
--$350 refurbished, but like-new Radeon Vega 64 LQ (liquid cooled)

Renders Vegas11 "Red Car Test" (QSV) in 13s-14s when clocked at 5.0 ghz
(note: BOTH onboard Intel & Vega64 show utilization during QSV 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 RAID10 card

10G Network using cheap Mellanox2 Adapters
Copy of Work Files, Source & Output Video, OS Images on QNAP 653b NAS
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 & C are 6-core 4.0ghz Xeon 5660 or I7 980x on Asus P6T6 motherboards.

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.

Last changed by Howard-Vigorita on 8/13/2019, 5:09 PM, changed a total of 3 times.

Laptop: Dell XPS15-9570; i7-8750h 32gb (integrated Intel UHD-630 & Nvidia GTX-1050Ti)
Road: Intel NUC i7 8809g 32gb (integrated AMD VegaM 4gb graphics and Intel HD630)
Workstation: i9 9900k 32 gb (Sapphire AMD Radeon VII 16gb graphics and integrated Intel UHD630)
Workstation2: e5 1650v4 128 gb (Sapphire Nitro+ RX580 8gb graphics)
Workstation3: i7-980X 24gb (Sapphire RX480 4gb graphics)
currently Vegas 16, testing Vegas 17

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.

Last changed by Howard-Vigorita on 8/13/2019, 6:52 PM, changed a total of 3 times.

Laptop: Dell XPS15-9570; i7-8750h 32gb (integrated Intel UHD-630 & Nvidia GTX-1050Ti)
Road: Intel NUC i7 8809g 32gb (integrated AMD VegaM 4gb graphics and Intel HD630)
Workstation: i9 9900k 32 gb (Sapphire AMD Radeon VII 16gb graphics and integrated Intel UHD630)
Workstation2: e5 1650v4 128 gb (Sapphire Nitro+ RX580 8gb graphics)
Workstation3: i7-980X 24gb (Sapphire RX480 4gb graphics)
currently Vegas 16, testing Vegas 17