Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Intel-GVT-g

Featured Replies

  • 3 weeks later...
  • Replies 784
  • Views 226.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Tutorial (Windows 10 VM)   First of all we will create a new VM with the latest Q35 "Machine" type (you can also use an existing VM but make sure that it actually set to to the latest Q35 "M

  • Exactly.   This won't work by now, please don't try it any further, this is a dead end for now. I will report back if I got some news for you.

  • Don't mind me. I had hoped to quickly and effortlessly set up Intel iGPU support for a Windows 7 VM (Windows 10 is not an option). The Unraid server is just a hobby anyway for which I don't want t

Posted Images

I have read through the thread and seen others with the issue but am not sure of the proper advice for this error:

 

Windows 10VM stalls and results in having to reboot my unRAID server.

 

syslog shows loads of :  "Tower kernel: gvt: guest page write error, gpa XXXXXXXX" errors

 

 

 

My details:

 

Found VGA Adapter:
Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] (rev 02)

tested passing thru as both mode V5_4 & V5_8

 

Tried with GuC/HuC both as default and option:0 (disabled), same issue:

 

Windows 10 VM (latest drivers and windows updates, all power saving disabled (screen off : never,  sleep: never))

 

 

image.thumb.png.b088a5763add4348225f7511ef60cc95.png

 

 

 

 

 

image.thumb.png.0e961893f920d9bb737554b8f92fcfc3.png

 

 

Diags attached:

 

Any advice much appreciated

 

image.png

tower-diagnostics-20211022-2146.zip

7 hours ago, Capt.Insano said:

syslog shows loads of :  "Tower kernel: gvt: guest page write error, gpa XXXXXXXX" errors

 

 

this error occurs usually when using too much vram, sample, too high resolution

 

usecase, i also have a UHD630 and a running gvt-g VM using v4 mode, resolution 1920x1080, when i now rdp into this VM from a mashine with a high resolution like 1440p or even higher, RDP will auto switch the resolution inside the VM and the vram error can come up when running a little longer and can crash the host system, unraid in this case ...

 

may possible you are using RDP from a high resolution client ? if so, set the value "fix" to max 1080 in the connection settings, the v8 gvt-g mode allows only even less ... therefore more VM's.

 

as most mainboards dont allow anymore to assign more ram to the igpu we are locked here ...

 

if your case is different (max 1080 resolution but still crashing), drop a note.

3 hours ago, alturismo said:

 

this error occurs usually when using too much vram, sample, too high resolution

 

usecase, i also have a UHD630 and a running gvt-g VM using v4 mode, resolution 1920x1080, when i now rdp into this VM from a mashine with a high resolution like 1440p or even higher, RDP will auto switch the resolution inside the VM and the vram error can come up when running a little longer and can crash the host system, unraid in this case ...

 

may possible you are using RDP from a high resolution client ? if so, set the value "fix" to max 1080 in the connection settings, the v8 gvt-g mode allows only even less ... therefore more VM's.

 

as most mainboards dont allow anymore to assign more ram to the igpu we are locked here ...

 

if your case is different (max 1080 resolution but still crashing), drop a note.

 

Thanks so much for the reply

 

Few bits of info:

 

0.  Also happening at mode: i915-GVTg_V5_4 for me

1. My RDP connections are from a 1920x1080 laptop so RDP connections were at that max resolution.

2. RDP was also never active when the crashes happened, I noticed the crashes when my BlueIris cameras were gone.

3. Crashes still happen when BlueIris is not using the assigned Intel v-GPU for hardware acceleration or any tasks, I moved all hardware acceleration back to my Nvidia Card as a test of stability and still a crash happened from just having the v-GPU assigned to the VM ?

 

4. My Mainboard (Gigabyte C246-WU4) allows the 2 following options in BIOS:

dvmt pre-allocated         64M

dvmt total gfx mem         256M

 

They are both at default values above, would changing this improve my situation?

 

@alturismo What GuC/HuC options are you running with your UHD630?

 

 

Really appreciate the help with this and @ich777's work on this plugin.

1 hour ago, Capt.Insano said:

4. My Mainboard (Gigabyte C246-WU4) allows the 2 following options in BIOS:

 

whatever you can increase will help for sure ...

 

1 hour ago, Capt.Insano said:

@alturismo What GuC/HuC options are you running with your UHD630?

 

default if you mean this

image.thumb.png.423803739c9478ef473b56892c846d64.png

 

while RDP is still the better choice, may try to use VNC instead just to rule it out, i use TightVNC Server (which uses hw accel) and VNC Viewer or guac VNC Remote, RDP sadly kills my VPN from my work VM, RDP sessions itself works fine but (sadly) always disconnects my VPN to work when i close the RDP which can cause issues with some apps i need for work, but i made also intense RDP Tests with no issues.

 

i also added a sound device to get audio from RDP sessions, this is the part from the xml, you may have to adjust the slot (free one ;))

 

    <sound model='ich9'>
      <alias name='sound0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </sound>
    <audio id='1' type='none'/>
    <hostdev mode='subsystem' type='mdev' managed='no' model='vfio-pci' display='off'>
      <source>
        <address uuid='f246aa87-4470-4b12-8501-c41de26fa460'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>

 

Blue Iris ... cant say anything about it if and how .... you can take a simple look inside your VM what is using the GPU

image.png.68fc6a6973bf22ff48b80c75e9e6a4d6.png

On 5/17/2021 at 3:30 AM, ich777 said:

Is really difficult on Unraid but I will investigate further.

 

A dummy plug and a DisplayLink device are two different things.

 

A display link device is like a USB graphics card with a HDMI or VGA or whatever output on it and you will only need it if you want to output the video signal. You simply have to pass the DisplayLink device through to the VM and mirror the GVT-g iGPU screen so that you get a output hope that makes sense...

 

image.png.64beadd76e8bf183475d582efeb4c904.png

 

A dummy plug for the iGPU is only needed if your iGPU isn't initialized properly when booting Unraid.

It's great ! But how to set the Display to "mirror output" ? Thank you for your help.

  • Author
It's great ! But how to set the Display to "mirror output" ? Thank you for your help.
In the screen settings from Windows or the graphics control center.

Sent from my C64

On 10/25/2021 at 1:18 PM, ich777 said:

In the screen settings from Windows or the graphics control center.

Sent from my C64
 

I could not  get this correctly yet. could you please give me a step by step way ? thank you !

  • Author
I could not  get this correctly yet. could you please give me a step by step way ? thank you !
What have you done so far?
Send a few screenshots please, have you passed through the DisplayLink device to the VM?

Sent from my C64


10 minutes ago, ich777 said:

What have you done so far?
Send a few screenshots please, have you passed through the DisplayLink device to the VM?

Sent from my C64

 

image.png.c62595ac5a62c232c5f36da4bfe97297.png

image.png.fef573526b19fc50784961cd79fc0685.png

but the screen is black.

  • Author
3 minutes ago, emuzi said:

but the screen is black.

Is the DisplayLink device recognized in the VM and displayed as a secondary output device in your device manager?

 

You should have a option that should say "Multiple Displays" and there you can select on which device you want to output the picture and there you should pick "Mirror" or "Duplicate".

8 minutes ago, ich777 said:

Is the DisplayLink device recognized in the VM and displayed as a secondary output device in your device manager?

 

You should have a option that should say "Multiple Displays" and there you can select on which device you want to output the picture and there you should pick "Mirror" or "Duplicate".

image.png.3f3344be776804ca77ab7c4246ddf659.png

6 minutes ago, emuzi said:

image.png.3f3344be776804ca77ab7c4246ddf659.png

Could you please send a few screenshots to me ? thanks.

  • Author
Could you please send a few screenshots to me ? thanks.
No, this is not the Display, this is the USB device.
It should be in there as display device.

I can't send any screenshots becauseI've sold my DisplayLink device but it is working wothout a problem.

Sent from my C64

On 10/23/2021 at 11:55 AM, alturismo said:

whatever you can increase will help for sure ...

 

default if you mean this

image.thumb.png.423803739c9478ef473b56892c846d64.png

 

 

 

Sorry for the delay in replying, I could not take the time restart the server and change BIOS settings during the week.

I have updated the bios values to their max values and the VM is seemingly stable so far! 

 

Thanks for your help, I will report back if I encounter the issue again.

Edited by Capt.Insano

8 minutes ago, Capt.Insano said:

I have updated the teo bios valuves to their max and the VM is seemingly stable so far! 

 

 

great and enjoy ;)

Since I have upgraded my Unraid version from 6.9.2 to 6.10-rc2 i am experiencing the following issue when trying to start a VM with a gvt-g configuration:

 

1528909757_Screenshot2021-11-02192123.png.834664e4f6a6f0148ff6d577423a3027.png

 

Does anybody else having simlar issues with 6.10-rc2?

  • Author
32 minutes ago, greenflash24 said:

Since I have upgraded my Unraid version from 6.9.2 to 6.10-rc2 i am experiencing the following issue when trying to start a VM with a gvt-g configuration

Try to delete the assigned vGPU in the plugin and reassigning it please.

14 minutes ago, ich777 said:

Try to delete the assigned vGPU in the plugin and reassigning it please.

 

I have already tried this, but without any luck.

I have also tried different modes but I had also no success.

Edited by greenflash24

  • Author
3 minutes ago, greenflash24 said:

I have already tried this, but without any luck.

When you delete all assignments does this message also pop up or does the VM start normally?

7 minutes ago, ich777 said:

When you delete all assignments does this message also pop up or does the VM start normally?

 

Then the VM does start normally, the vgpu then is not available to the VM.

 

That's why I thought this issue must be related with the gvt-g vgpu.

3 minutes ago, greenflash24 said:

That's why I thought this issue must be related with the gvt-g vgpu.

 

when reassigned, may post a screen from the start of this file

 

nano /etc/libvirt/hooks/qemu

 

and then the error again when starting the VM ...

After reassignment the the file looks like this (see qemu-after-assignment).

 

And I am getting the following error after starting the VM:

323111547_Screenshot2021-11-02223243.png.d7104ad420d19d9d1cf0ead1673d6afb.png

31 minutes ago, greenflash24 said:

After reassignment the the file looks like this

 

ok, may now a view from your VM Teamplate (xml view, in the buttom, like this)

 

image.png.1b16e222c93b0291b96e85b1d4305773.png

 

and may also this just to make sure (should be empty as the VM doesnt startup)

 

image.thumb.png.2bfd44f8f014e198e55ee178a7badf25.png

 

 

9 hours ago, alturismo said:

 

ok, may now a view from your VM Teamplate (xml view, in the buttom, like this)

 

 

Sure, see here:

1.thumb.png.3c4d02dbb7862612b7d0cacd82f654cd.png

and

2.thumb.png.d41ffe64052ebaaeb795b05dd0afd7a2.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.