GPU passthrough diagnostic commands

Use these commands to collect diagnostic information when troubleshooting GPU passthrough issues.

dmesg | grep -i 'nvrm\|nvidia'
Filters kernel log messages from the NVIDIA driver. Look for error codes prefixed with NVRM or stack traces that indicate driver initialization failures.
nvidia-bug-report.sh
Generates a compressed diagnostic report (nvidia-bug-report.log.gz) that captures GPU state, driver versions, kernel logs, and system configuration. Attach this report when filing NVIDIA or Red Hat support tickets.