Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in VNC and black screen #46

Closed
yatakoi opened this issue May 3, 2021 · 4 comments
Closed

Built-in VNC and black screen #46

yatakoi opened this issue May 3, 2021 · 4 comments

Comments

@yatakoi
Copy link

yatakoi commented May 3, 2021

Hi.

OS: CentOS 8.3 + KVM

If I create a guest (Windows 10 Pro), then by default I can connect to him via VNC. But as soon as I add vGPU

<hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci'>
  <source>
    <address uuid='30820a6f-b1a5-4503-91ca-0c10ba58692a'/>
  </source>
</hostdev>

, then when I connect through VNC, I see only a black screen.

Why is this happening?

screen

@KrutavShah
Copy link
Contributor

Nvidia vGPU documentation has some details on enabling the built-in VNC server.

Intel GVT-G uses MDEVs as well, and there is some documentation on getting the display output of the MDEV on the internal QEMU display, whether you chose VNC or SPICE.

@DualCoder
Copy link
Owner

I have not tested this myself, but maybe this will help:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-device-GPU#sect-device-GPU-vGPU-VNC-console

It is for RHEL, but I think it should be relevant for CentOS as well.

@DualCoder
Copy link
Owner

Also, you will have to have the NVIDIA grid drivers installed in the guest before the VNC console will work.

@DualCoder
Copy link
Owner

I'm closing this since the question was answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants