Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
Created attachment 142086
Video showing the problem
WMV videos encoded with VC-1 codec cause problems in the iGVT-g guest. If an application as a game try to play the video, it freezes. Movies and TV Windows 10 app don't display the video and with VLC I must set the Output to D3D9 or OpenGL to make it work.
In fact, there is one way to see the video using D3D11: clicking to resize the window makes the video appear. However, this can lead to guest screen blinking and turning off until finding where the window was again to close the window.
Two examples of games with problems due to this are Recettear: An Item Shop's Tale and Hyperdimension Neptunia U: Action Unleashed.
With Recettear the video plays after waiting for some time in the main menu so it's possible to skip it most of the time. With Neptunia U it is in the opening and must be watched to proceed, which makes the game unplayable.
I'm still to find one program with embedded VP8 or VP9 video, but in Movies and TV VP8 and VP9 videos have exactly the same problem as VC-1 videos have.
DiRT 3 Complete Edition has videos in the opening but they are encoded with H264 and they work correctly. In the media players the videos are problematic too.
Tweaking settings in Intel HD Graphics Control Panel had no results.
Specifications:
Guest:
-Intel driver version 25.20.100.6326;
-Windows 10 1803 x86_64;
I tested with the versions from there. The video issues still exist and I noticed the following messages in QEMU terminal when playing videos in the media player:
qemu-system-x86_64: eglCreateImageKHR failed
That repeats multiple times per second.
When using Windows Intel driver version 24.20.100.6136 the media players situation is better: they play the video properly for some time (up to 15 minutes?) and then the video starts to play very slowly. The applications with embedded videos freeze the same way than with latest 25.20.100.6323.
I'm not having luck with drm-tip. I will try to build it again and report the results if I can use it.
The video containers which I tested were: webm, mp4, mkv, mov, wmv
The video codecs: VP8, VP9, H264, VC-1
They all have problems. The Movies and TV application that comes with Windows 10 and VLC Media Player (not the UWP) when Video Output is set to Video Output Direct3D11 have the problem of the video not showing unless if moving the window.
The steps with Movies and TV:
Choose a video to open;
Notice how the video window is black.
Steps with VLC:
1) Check settings to be sure Video Output is Video Output Direct3D11;
2) Choose video to play;
3) Notice how the video is not shown.
For an example of video which can be used to reproduce this, the video I sent when reported this bug can be used, the bug happens with it too.
The games Recettear: An Item Shop's Tale and Hyperdimension Neptunia U: Action Unleashed freeze when they try to play their videos:
-Recettear case:
1) Install Steam in the Windows 10 iGVT-g guest;
2) Install Recettear: An Item Shop's Tale from Steam;
3) Choose to play the game;
4) Wait in the main menu for around 4 minutes;
5) Notice how the game freezes when it tries to play the video.
-Neptunia U case:
1) Install Steam in the Windows 10 iGVT-g guest;
2) Install Hyperdimension Neptunia U: Action Unleashed from Steam;
3) Choose to play the game;
4) The first screen with a warning against piracy is shown;
5) Notice how the game freezes when it tries to play the first video.
I hope this is enough information. If more information is needed, feel free to ask.
The video containers which I tested were: webm, mp4, mkv, mov, wmv
The video codecs: VP8, VP9, H264, VC-1
They all have problems. The Movies and TV application that comes with
Windows 10 and VLC Media Player (not the UWP) when Video Output is set to
Video Output Direct3D11 have the problem of the video not showing unless if
moving the window.
The steps with Movies and TV:
Choose a video to open;
Notice how the video window is black.
Steps with VLC:
1) Check settings to be sure Video Output is Video Output Direct3D11;
2) Choose video to play;
3) Notice how the video is not shown.
For an example of video which can be used to reproduce this, the video I
sent when reported this bug can be used, the bug happens with it too.
The games Recettear: An Item Shop's Tale and Hyperdimension Neptunia U:
Action Unleashed freeze when they try to play their videos:
-Recettear case:
1) Install Steam in the Windows 10 iGVT-g guest;
2) Install Recettear: An Item Shop's Tale from Steam;
3) Choose to play the game;
4) Wait in the main menu for around 4 minutes;
5) Notice how the game freezes when it tries to play the video.
-Neptunia U case:
1) Install Steam in the Windows 10 iGVT-g guest;
2) Install Hyperdimension Neptunia U: Action Unleashed from Steam;
3) Choose to play the game;
4) The first screen with a warning against piracy is shown;
5) Notice how the game freezes when it tries to play the first video.
I hope this is enough information. If more information is needed, feel free
to ask.
We cannot reproduce it with our kernel. Video plays well on our Win10 guest.
Does any error information output when you meet the game freeze issue?
Does this issue also exist in our Q3 release kernel? can you try to reproduce it https://github.com/intel/gvt-linux/tree/gvt-stable-4.17
In the download center there is only the UWP driver to download (no links for the Legacy driver) and I am worried about the warning that in case of failure I can't go back the same way as before.
QEMU shows the following message constantly when playing a video:
When the games freeze when starting videos I noticed no message in QEMU stdout or stderr, but on Windows the Event Viewer shows the problem. The attached file is the Report.wer file generated for one Recettear crash. I sincerely don't if there is something meaningful on it.
Attachment 142670, "The Windows report file": Report.wer
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) (0x1916)
Version: 19.0.0
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel (git-058f85d41c)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 19.0.0-devel (git-058f85d41c)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.0.0-devel (git-058f85d41c)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
(In reply to leozinho29_eu from comment 10)
Hi, today I tried to reproduce it again in Skylake machine, and still cannot reproduce your problem.
We run 1080p / 4K h.264 media file in VLC(2.1.3) in Windows VM (display by dma-buf) for 30 minutes, without any playback black screen issue.
Do you have more idea for the environment difference?
Did you try with the Movies and TV program that comes with Windows 10? VLC can have settings that work, while Movies & TV has this problem consistently.
There is no clear distinction I can see, I don't understand what is going wrong on my setup. I tried with the QEMU and Linux kernel from the last release and it has the same problem.
The main factor seems to be the Windows guest driver. What is the Windows driver being used on your guest? There is a single version (24.20.100.6136) that do not have problems with video players, but applications with "embedded" videos crash.
If it is "ci-master-907", how I can obtain it to test?
Using the Linux kernel gvt-stable-4.17, QEMU 2018-q3-stable-2.12.0 and on Windows guest the driver 25.20.100.6326 I still had the same result. Part of the terminal output can be seen below, the last messages are the errors when playing a video using Movies & TV:
sh -c 'echo 123f09b0-4c00-11e8-a6ca-f3c21e47e012 > /sys/bus/pci/devices/0000:00:02.0/mdev_supported_types/i915-GVTg_V5_4/create'
env QEMU_AUDIO_DRV=pa QEMU_AUDIO_DAC_FIXED_FREQ=96000 QEMU_AUDIO_ADC_FIXED_FREQ=96000 QEMU_AUDIO_ADC_VOICES=0 nice -n -15 /home/usuario/qemu_igvt-g/bin/qemu-system-x86_64 -name 'Windows 10' -k pt-br -nodefaults -mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -hda /home/usuario/.local/share/libvirt/images/redm.qcow2 -hdb /home/usuario/.local/share/libvirt/images/redm-D.qcow2 -enable-kvm -cpu host,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_runtime -smp cores=2,threads=2 -m 3072M -bios /usr/local/share/qemu/bios.bin -device usb-tablet,id=tablet -device usb-audio,id=usbaudvir,buffer=6144 -device usb-host,vendorid=0x0079,id=redragon -vga none -monitor vc -serial stdio -display gtk,gl=on -device vfio-pci,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/123f09b0-4c00-11e8-a6ca-f3c21e47e012,x-igd-opregion=on,rombar=0,display=on,addr=0x3,id=iHD520 -cdrom '/home/usuario/L_Soa/Documents/Jogos Gr@tis I.iso' -machine kernel_irqchip=on -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -M pc,usb=true -netdev user,id=net0 -device e1000,netdev=net0,id=n0,addr=0x8
select_vgahw vga is none
set vendor id(8086) for devfn(0)
set vendor id(8086) for devfn(8)
set vendor id(8086) for devfn(9)
set vendor id(8086) for devfn(a)
set vendor id(8086) for devfn(b)
audio: Bogus number of capture voices 0, setting to 0
pulseaudio: set_sink_input_volume() failed
pulseaudio: Reason: Invalid argument
pulseaudio: set_sink_input_mute() failed
pulseaudio: Reason: Invalid argument
set vendor id(0) for devfn(18)
set vendor id(8086) for devfn(40)
(In reply to leozinho29_eu from comment 14)
Today we tried running media file with "Movies and TV" for half day, with “qemu-system-x86_64: eglCreateImageKHR failed” log happening sporadically. The reproduce rate is very low.
We will follow it first, thank you!
I think that what I reported as one bug are really two bugs. Using QEMU version 3.1.50 (v3.1.0-1218-gad7a21e812-dirty) with Mesa 19.0.0-devel (git-c1efa240c9) and Linux kernel version 5.0.0-rc3-drm-tip-74ec7792af09018594097356ddc79d87cb9504f9+, the games with videos are no longer freezing when the videos start. Hyperdimension Neptunia U: Action Unleashed still freezes as before if I try to skip the video, but if I let the videos play then the game works normally. Recettear: An Item Shop's Tale seems perfect, skipping the video caused no problem.
The video player issue is still present, being needed to use the Windows driver version 24.20.100.6136 to be able to play videos using the media players and Edge.