{"action":"closed","issue":{"url":"https://api.github.com/repos/intel/gvt-linux/issues/54","repository_url":"https://api.github.com/repos/intel/gvt-linux","labels_url":"https://api.github.com/repos/intel/gvt-linux/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/intel/gvt-linux/issues/54/comments","events_url":"https://api.github.com/repos/intel/gvt-linux/issues/54/events","html_url":"https://github.com/intel/gvt-linux/issues/54","id":374167711,"node_id":"MDU6SXNzdWUzNzQxNjc3MTE=","number":54,"title":"dma-buf display output not working for Windows 10 guest","user":{"login":"RtzLi","id":30946735,"node_id":"MDQ6VXNlcjMwOTQ2NzM1","avatar_url":"https://avatars1.githubusercontent.com/u/30946735?v=4","gravatar_id":"","url":"https://api.github.com/users/RtzLi","html_url":"https://github.com/RtzLi","followers_url":"https://api.github.com/users/RtzLi/followers","following_url":"https://api.github.com/users/RtzLi/following{/other_user}","gists_url":"https://api.github.com/users/RtzLi/gists{/gist_id}","starred_url":"https://api.github.com/users/RtzLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RtzLi/subscriptions","organizations_url":"https://api.github.com/users/RtzLi/orgs","repos_url":"https://api.github.com/users/RtzLi/repos","events_url":"https://api.github.com/users/RtzLi/events{/privacy}","received_events_url":"https://api.github.com/users/RtzLi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T23:10:33Z","updated_at":"2018-10-26T11:52:35Z","closed_at":"2018-10-26T11:52:35Z","author_association":"NONE","body":"I installed Windows 10 guest (RS4 v1803) with the 2018-q3 release for kvmgt using instructions from https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide however the dma-buf display output is not working. I successfully installed the 25.20.100.6326 graphics drivers and I am able to access the display using TightVNC remote protocol installed on guest. I can confirm that all graphics functionality besides the dma-buf output is working (video decode, changing resolution etc.).\r\n\r\nI have tested using the stable 2018-q3 release, gvt-next-fixes-2018-10-23 and the stable 4.18.16 kernel with both \"i915-GVTg_V5_4\" and \"i915-GVTg_V5_8\" in mdev_supported_types however all of them do not show output for windows guest. Due to graphics memory limitation on host I do not have V5_1 and V5_2 to test.\r\n\r\nI can confirm that dma-buf output works with Linux guests (Fedora 29, Ubuntu 18.04).\r\n\r\nInformation from host system:\r\n\r\n    dmesg | grep i915\r\n\r\n    [    0.847757] calling  i915_init+0x0/0x48 @ 1\r\n    [    0.850658] i915 0000:00:02.0: Direct firmware load for \r\n    i915/gvt/vid_0x8086_did_0x5917_rid_0x07.golden_hw_state failed with error -2\r\n    [    0.869464] i915 0000:00:02.0: MDEV: Registered\r\n    [    0.870835] i915 0000:00:02.0: vgaarb: changed VGA decodes: \r\n    olddecodes=io+mem,decodes=io+mem:owns=io+mem\r\n    [    0.871362] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_04.bin failed with error -2\r\n    [    0.871896] i915 0000:00:02.0: Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling \r\n    runtime power management.\r\n    [    0.872462] i915 0000:00:02.0: DMC firmware homepage: \r\n    https://01.org/linuxgraphics/downloads/firmware\r\n    [    0.881103] [drm] Initialized i915 1.6.0 20180308 for 0000:00:02.0 on minor 0\r\n    [    0.883512] initcall i915_init+0x0/0x48 returned 0 after 34914 usecs\r\n    [    2.180034] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device\r\n    [    9.691899] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops)\r\n\r\n    lspci -vv -s 0:02.0\r\n\r\n    00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA \r\n    controller])\r\n\tSubsystem: Lenovo Device 3802\r\n\tControl: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- \r\n    FastB2B- DisINTx+\r\n\tStatus: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- \r\n    <PERR- INTx-\r\n\tLatency: 0, Cache Line Size: 64 bytes\r\n\tInterrupt: pin A routed to IRQ 125\r\n\tRegion 0: Memory at 2ffa000000 (64-bit, non-prefetchable) [size=16M]\r\n\tRegion 2: Memory at 2fa0000000 (64-bit, prefetchable) [size=256M]\r\n\tRegion 4: I/O ports at 3000 [size=64]\r\n\t[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]\r\n\r\nFedora 29 Guest:\r\n\r\n![screenshot from 2018-10-26 09-52-11](https://user-images.githubusercontent.com/30946735/47535061-80934880-d905-11e8-98dd-06efdc183b85.png)\r\n\r\nWindows 10 Guest over TightVNC:\r\n\r\n![screenshot from 2018-10-26 09-31-01](https://user-images.githubusercontent.com/30946735/47535068-8b4ddd80-d905-11e8-9a71-71d201479f65.png)\r\n\r\nAdditional information:\r\n\r\nI am using Clear Linux on i7-8550u (Kaby Lake R platform) with UHD 620 graphics. GNOME reports UHD 620 as Kabylake GT2 graphics:\r\n\r\n![screenshot from 2018-10-26 10-04-07](https://user-images.githubusercontent.com/30946735/47535296-91908980-d906-11e8-9787-7cd65362522c.png)\r\n\r\nWindows 10 guest driver is capable of setting resolution up to 5120x2880 even though \"i915-GVTg_V5_4\" should only support up to 1920x1200. On Fedora guest the maximum is 1920x1200 as per the \"i915-GVTg_V5_4\" description.\r\n\r\n~~In Windows 10 guest the device manager reports that:~~\r\n\r\n~~Device PCI\\VEN_8086&DEV_5917&SUBSYS_380217AA&REV_07\\3&13c0b0c5&0&10 requires~~\r\n~~further installation.~~\r\n\r\n~~This matches with the line from host dmesg output:~~\r\n\r\n~~[    0.850658] i915 0000:00:02.0: Direct firmware load for~~\r\n~~i915/gvt/vid_0x8086_did_0x5917_rid_0x07.golden_hw_state failed with error -2~~\r\n"}}
{"actor":{"display_login":"RtzLi"}}