QSV rendering not available when external monitor is plugged in

GJeffrey wrote on 11/20/2022, 8:14 PM

Whenever I plug my external monitor to my laptop, QSV rendering option is not available in Magix AVC.

QSV rendering is still available for Magix HEVC but it actually revert back to a cpu rendering once selecting.

I am using Vegas pro 18 - 527

Laptop Specs:

Dell Vostro 3400

Cpu: 1165G7 Discrete GPU: Nvidia MX 330 - 2GB VRAM - Drive version 517.

Windows pro 11 22H2

Intel Iris Xe driver: 30.0.101.1338

Easy workaround is to unplug the external monitor for rendering and restart Vegas but I am wondering if it's a known issue and whether anyone has a solution to that issue.

Comments

RogerS wrote on 11/20/2022, 8:29 PM

Does the laptop have a iGPU bypass feature, a MUX switch? If so try disabling it.

 

GJeffrey wrote on 11/20/2022, 8:30 PM

Magix? Their forums are here:

https://www.magix.info/us/general-information-forum/

It looks like you haven't read my post.

I clearly wrote that I am using Vegas pro 18

Also, unless it's really specific to my computer, which I definitely not believe, The AVC and HEVC render options are called MAGIX AVC/ HEVC

Thanks for your help @Musicvid

GJeffrey wrote on 11/20/2022, 9:39 PM

Does the laptop have a iGPU bypass feature, a MUX switch? If so try disabling it.

 

I can't find anywhere than MUX switch. Do you know where I can find it? FYI, the only info I found on the net about that switch is for gaming laptop. Mine is definitely not one

That laptop also has a Nvidia MX330 GPU. No option either to disable/enable MUX in the Nvidia control panel.

Musicvid wrote on 11/21/2022, 3:39 AM

Sorry about that; my cold made me do it.

RogerS wrote on 11/21/2022, 3:56 AM

Could you provide more info about this system in your original post? Who is the maker and list the key parts including GPU? That will make it easier for others to help you.

So it has a low-end NVIDIA as well. I wonder if it performs any better than the Iris does. MX300 may not be supported by Vegas (recommended specs are for (9XX series and up, not sure if MX works or not. Does it have 4GB+ ram?)

Is that driver the latest one your OEM or Intel provided? Current appears to be: Version: 31.0.101.3790 and 31.0.101.2114.

Under Graphics Settings (type it into Windows search) you can try setting Vegas to the Intel GPU and see if that helps any. Otherwise maybe contact the OEM and ask if Intel Iris is disabled when an external monitor is in use?

 

GJeffrey wrote on 11/21/2022, 4:26 AM

@RogerS

Thanks. I've updated my 1st post with the laptop brand and GPU.

In Vegas preferences, only Intel is available in File I/O. I have the choice between Intel and Nvidia in fx processing though.

I've tried switching between Nvidia and Intel fx processing, but no change.

Both internal and external display are connected to the Intel GPU using the available HDMI port. I didn't find a way to use the Nvidia GPU for the external display.

I'm not the admin on that laptop, so I can't even update the driver myself. I will ask my IT to install the latest Intel driver and report back.

RogerS wrote on 11/21/2022, 4:39 AM

Interesting. I'm not really familiar with this configuration. I also have a Dell but more conventional Intel integrated graphics (HD 630) and a NVIDIA mobile GTX 1050 GPU (4GB).

In Graphics Settings in Windows there's no choice of GPU?

Beyond that, not sure why Intel works for decoding but not for encoding. You're sure it's actually doing something with decoding when the external monitor is plugged in? Check task manager/performance, click on the Intel iGPU and see if there is decoding activity for files like AVC/h.264 in a mov or MP4 container.

3POINT wrote on 11/21/2022, 3:41 PM

I can confirm that also, since I installed a second monitor, the QSV rendering option for Magix AVC/HEVC disappeared. Disconnecting returns the QSV rendering option. For me this is not an issue because I never use Magix AVC/HEVC for rendering (due to bad quality).

GJeffrey wrote on 11/21/2022, 8:42 PM

@RogerS

I've tried both Intel and Nvidia options in graphics settings. Same result.

Interestingly, the Intel video decode only works with HEVC footage and not with AVC footage, whether the external monitor is plugged or not. I mostly use UHD HEVC files so I've never noticed this issue.

If I start Vegas with the external monitor unplugged, open a project, then render it, AVC QSV is available.

AVC footage mediainfo:

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L6
Format settings                          : CABAC / 1 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 1 frame
Format settings, GOP                     : M=1, N=100
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 17 s 49 ms
Source duration                          : 17 s 51 ms
Bit rate                                 : 125 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 50.000 FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.301
Stream size                              : 254 MiB (100%)
Source stream size                       : 254 MiB (100%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : UTC 2022-11-22 00:23:36
Tagged date                              : UTC 2022-11-22 00:23:36
Color range                              : Full
Color primaries                          : BT.2020
colour_primaries_Original                : BT.601 PAL
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.601
Matrix coefficients                      : BT.2020 non-constant
matrix_coefficients_Original             : BT.470 System B/G
mdhd_Duration                            : 17049
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 17 s 34 ms
Source duration                          : 17 s 27 ms
Bit rate mode                            : Constant
Bit rate                                 : 256 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 532 KiB (0%)
Source stream size                       : 532 KiB (0%)
Title                                    : SoundHandle
Language                                 : English
Encoded date                             : UTC 2022-11-22 00:23:36
Tagged date                              : UTC 2022-11-22 00:23:36
mdhd_Duration                            : 17034

HEVC footage media info:

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L6.2@Main
Codec ID                                 : hvc1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 16 s 130 ms
Source duration                          : 16 s 131 ms
Bit rate                                 : 125 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 50.000 FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.302
Stream size                              : 241 MiB (100%)
Source stream size                       : 241 MiB (100%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : UTC 2022-11-22 00:20:36
Tagged date                              : UTC 2022-11-22 00:20:36
Color range                              : Full
Color primaries                          : BT.2020
colour_primaries_Original                : BT.601 PAL
Transfer characteristics                 : BT.709
transfer_characteristics_Original        : BT.601
Matrix coefficients                      : BT.2020 non-constant
matrix_coefficients_Original             : BT.470 System B/G
mdhd_Duration                            : 16130
Codec configuration box                  : hvcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 16 s 56 ms
Source duration                          : 16 s 22 ms
Bit rate mode                            : Constant
Bit rate                                 : 256 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 501 KiB (0%)
Source stream size                       : 501 KiB (0%)
Title                                    : SoundHandle
Language                                 : English
Encoded date                             : UTC 2022-11-22 00:20:36
Tagged date                              : UTC 2022-11-22 00:20:36
mdhd_Duration                            : 16056

I've also tested the Sample Project 4K . The Intel GPU decode is working a little, about 5 to 6% (whether the external monitor is plugged or not)

Rendering to HEVC 1080-25p (QSV) takes 2min41s

Rendering to AVC 1080-25p (CPU) takes 3min53s

Rendering to AVC 1080-25p (QSV) takes 2min36s

All those rendering time are very slow but not surprising with that laptop specs though.

Bottom line, Vegas and that laptop are acting weirdly together...

RogerS wrote on 11/21/2022, 9:46 PM

Thanks for these tests and glad you tested Sample Project 4K. That Intel GPU decoding is working for you (at least with known good media- the other one is long GOP and perhaps not compatible for that or other reasons) is interesting and is what is expected.

That QSV decoding continues to work whether the external monitor is plugged in but QSV rendering does not work when the monitor is plugged in makes me think there's some bug with Vegas or the Intel driver.

It doesn't sound like something where the laptop disables the iGPU when a monitor is hooked up for performance reasons as the iGPU should just work or not. If no developers comment here perhaps send a support request (click up top on "support" re: QSV and the second monitor.)

2:36 for a MagixAVC GPU encode isn't so bad- it's about what my laptop does as well. You're a good bit better for CPU which may reflect better cooling than on the XPS 15 which tends to throttle.

GJeffrey wrote on 11/22/2022, 7:55 AM

Thank you for your reply @RogerS

I have also tried the same avc file on my personal laptop (using VP20-214 though).

QSV decoding doesn't work as well but the file can still be read at full speed at best full preview. (CPU 35% to 38% use)

By switching to Nvidia in File i/o, the GPU is used - video decode about 20%.

Looks like there is an issue with that file and QSV decoding on Vegas. I can't see anything not normal with mediainfo except the color matrix. I record it using FilmicPro on my Android phone.

If anyone wants to try, below the downloading link.

https://1drv.ms/v/s!Anyx6_WOWn2eg40TvimiWGhZ3D5QFg

Home laptop spec: 12900HX - GPU Nvidia 3080ti - intel graphics latest driver - nvidia studio driver 522.30