GPU acceleration issue

aping-wu2411 wrote on 10/8/2023, 1:34 AM

My computer is equipped with as below :

system : windows 11

cpu : core i9 13900

ram : 64G

ssd : 1T

graphic card : Nvidia GeForce RTX 3060

I run the Vegas Pro 21. The GPU acceleration seems did not work very well !

My video project is 4K Sony XAVC S. When I run the project it got lag between the clip. And if I operate the clip too fast, then the program run busy and hold . It did not work anyway until I restart the program again.

I have set in

"preference/video/gpu acceleration of vedio processing" to "NVDIA GeForce RTX 3060" and

"preference/File I/O/RAW Processor To Use" to "CUDA on NVDIA GeForce RTX 3060" and

"preference/File I/O/Hardware Decoder To Use" to "NVDEC on NVDIA GeForce RTX 3060"

Can any body tell me how to set the relative setting to let GPU acceleration work well?

Comments

RogerS wrote on 10/8/2023, 7:05 AM

If QSV is an option, keep the hardware decoder on that.

j-v wrote on 10/8/2023, 7:28 AM

@aping-wu2411
If you changed anywhere a setting in Options/Preferences first reset Vegas 21 following this exactly: https://www.vegascreativesoftware.info/us/forum/faq-how-can-i-reset-vegas-pro-to-default-settings--104646/
Thereafter look at Help/Check for Driver Updates, show here the result with a screenshot and if needed try to download needed drivers

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

aping-wu2411 wrote on 10/9/2023, 2:38 AM

I have done all you had told, but nothing has changed. I forgot to say that I used the color 10 bits 4:2:2. Someone says Vegas pro just surprised 4:4:4 & 4:2:0. Is that true? I struggled on this thing for a while. I need help.

vkmast wrote on 10/9/2023, 2:53 AM

FYI, the OP has messaged at a wrong section of the forum as follows: "There is nothing about QSV."

RogerS wrote on 10/9/2023, 10:19 AM

The i9 13900 has Intel UHD 770 integrated graphics. https://www.intel.com/content/www/us/en/products/sku/230499/intel-core-i913900-processor-36m-cache-up-to-5-60-ghz/specifications.html

Enable that in bios and use it in preferences/ file io for the hardware decoder.

I used the color 10 bits 4:2:2

Please share MediaInfo for the file type you are using. https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

If it's 10 bit 4:2:2 AVC no GPU can decode that so it will be slow. If HEVC the Intel QSV decoder may do a decent job with it-uncheck "enable legacy HEVC decoding" in preferences file io.

aping-wu2411 wrote on 10/9/2023, 9:07 PM
General
Complete name                            : E:\2023 克羅埃西亞\Day2\C7170.MP4
Format                                   : XAVC
Codec ID                                 : XAVC (XAVC/mp42/iso2)
File size                                : 128 MiB
Duration                                 : 6 s 10 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 179 Mb/s
Frame rate                               : 29.970 FPS
Encoded date                             : 2023-09-06 05:03:49 UTC
Tagged date                              : 2023-09-06 05:03:49 UTC

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:2:2@L5.1
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 2 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 6 s 6 ms
Bit rate mode                            : Variable
Bit rate                                 : 140 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 10 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.563
Stream size                              : 101 MiB (79%)
Encoded date                             : 2023-09-06 05:03:49 UTC
Tagged date                              : 2023-09-06 05:03:49 UTC
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Metas                                    : 3
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : PCM
Format settings                          : Big / Signed
Codec ID                                 : twos
Duration                                 : 6 s 10 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 1.10 MiB (1%)
Encoded date                             : 2023-09-06 05:03:49 UTC
Tagged date                              : 2023-09-06 05:03:49 UTC

Other
ID                                       : 3
Type                                     : meta
Format                                   : rtmd
Codec ID                                 : rtmd
Duration                                 : 6 s 6 ms
Bit rate mode                            : Constant
Encoded date                             : 2023-09-06 05:03:49 UTC
Tagged date                              : 2023-09-06 05:03:49 UTC

 MediaInfo for the file type is as above.

General
  Name: C7170.MP4
  Folder: E:\2023 克羅埃西亞\Day2
  Type: XAVC-S
  Size: 131.33 MB (134,485,743 bytes)
  Created: 2023年9月17日, 下午 12:04:18
  Modified: 2023年9月6日, 下午 01:03:56
  Accessed: 2023年10月10日, 上午 09:35:52
  Attributes: Archive

Streams
  Video: 00:00:06.006, 29.970 fps progressive, 3840x2160x32, XAVC-S
  Audio: 00:00:06.010, 48,000 Hz, Stereo, PCM

Summary
  [TCFM]: 833223655432

ACID information
  ACID chunk: no
  Stretch chunk: no
  Stretch list: no
  Stretch info2: no
  Beat markers: no
  Detected beats: no

Other metadata
  Regions/markers: no
  Command markers: no

Media manager
  Media tags: no

Plug-In
  Name: so4compoundplug.dll
  Folder: C:\Program Files\VEGAS\VEGAS Pro 21.0\FileIO Plug-Ins\so4compoundplug
  Format: AVC
  Version: Version 21.0 (Build 108)
  Company: MAGIX Computer Products Intl. Co.

File property is as above.

 I knew "i9 13900 has Intel UHD 770 integrated graphics. " , but I have bought RTX 3060 graphic card.

How to set the property properly is my concern.

RogerS wrote on 10/9/2023, 9:34 PM

Thank you for confirming it. Please enable your UHD 770 which has QSV and is superior for decoding in VEGAS compared to your RTX 3060 and NVDEC.

Neither of these will decode 10-bit 4:2:2 AVC, though. I'd suggest recording a different format like 10-bit 4:2:0 which will work very well with QSV decoding.

aping-wu2411 wrote on 10/10/2023, 6:01 AM

Neither of these will decode 10-bit 4:2:2 AVC, Is it because of Vegas Pro or Hardware device ( UHD 770 / RTX 3060) ?

RogerS wrote on 10/10/2023, 7:17 AM

It is because development of AVC stopped years ago and GPU makers (AMD, NVIDIA, Intel) didn't add this functionality to their hardware. This isn't a VEGAS limitation. For 10-bit 4:2:2, HEVC can be GPU decoded using Intel GPUs. That said VEGAS support for HEVC isn't great so I'd test a sample file before switching to HEVC.