# Montréal L4 and P4: diagnose a video decoder fallback

> Determine whether your Montréal job is on G2 L4 or N1+P4. Compare the exact input codec and features against NVIDIA’s hardware decode matrix, then check whether the application selected that hardware path.

CPU usage alone cannot tell you why a video job stopped using GPU decode. Record the destination GPU and video format, then verify the actual path chosen by the process.

## Identify the GPU used by the failing job

[Google’s Montréal GPU rows](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) list G2 and N1+P4 in `northamerica-northeast1-b` and c. Google’s [machine guide](https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines) identifies G2 as an NVIDIA L4 family. The same region and even the same zone may therefore be involved in jobs with different accelerators. Capture the actual device model, guest driver and whether the workload used the G2 or N1 image.

## Compare the observed input to the decode matrix

Record the video codec, profile, bit depth and resolution of the failing input. [NVIDIA’s video support matrix](https://developer.nvidia.com/video-encode-decode-support-matrix) distinguishes decode capabilities by GPU model and format. Use the decode table for this symptom, since the encoding and decoding capabilities can differ. If only one class of input falls back, test both a known supported sample and the failing sample in the same image before changing driver packages.

## Identify the chosen decode path

Save the application’s decoder selection and any initialization warnings. If the format is supported but a software decoder was selected, inspect the application configuration and runtime libraries. Compare the same media sample on the old and new device when possible. When escalating, include source media characteristics, actual accelerator, selected decoder, flags and observed bottleneck. Include whether the same source file decoded correctly before. A failure to select hardware decode does not establish that general CUDA compute is unavailable.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- Accelerator-optimized GPU machine types: https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines
- NVIDIA GPU video encode and decode support matrix: https://developer.nvidia.com/video-encode-decode-support-matrix
