Issue metadata
Sign in to add a comment
|
youtube doesn't work in qemu |
||||||||||||||||||||||
Issue description
FYI, it happens on TOT.
Steps To Reproduce:
(1) Get image for vm (I am using ChromeOS-R62-9795.0.0-novato.zip)
(2) Run it in qemu with:
unzip -x ~/Downloads/dev-channel%2Fnovato%2F9795.0.0%2FChromeOS-R62-9795.0.0-novato.zip chromiumos_qemu_image.bin
~/qemu/x86_64-softmmu/qemu-system-x86_64 -smp 4 --enable-kvm -m 4096 -usbdevice mouse -usbdevice keyboard -vga virtio -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:9222-:22 -hda chromiumos_qemu_image.bin -display sdl
(3) Login in with a test account and open chrome to visit youtube.com, play any video. Video can't play.
Expected Result:
chrome can play video
Actual Result:
chrome can't play video while if ssh into it, there is crash log in dmesg:
[ 195.741753] DrmThread[3847]: segfault at 8 ip 00007917c34a2660 sp 00007917bae0f718 error 4 in libminigbm.so.1.0.0[7917c34a0000+8000]
[ 195.921179] DrmThread[3882]: segfault at 8 ip 000079f14f130660 sp 000079f146a9d718 error 4 in libminigbm.so.1.0.0[79f14f12e000+8000]
[ 196.087819] DrmThread[3917]: segfault at 8 ip 00007dd74bdf6660 sp 00007dd743763718 error 4 in libminigbm.so.1.0.0[7dd74bdf4000+8000]
[ 196.274624] DrmThread[3952]: segfault at 8 ip 000078a4c9737660 sp 000078a4c10a4718 error 4 in libminigbm.so.1.0.0[78a4c9735000+8000]
[ 196.552867] DrmThread[3989]: segfault at 8 ip 0000781089513660 sp 0000781080e80718 error 4 in libminigbm.so.1.0.0[781089511000+8000]
[ 196.713969] DrmThread[4030]: segfault at 8 ip 00007814f0bd3660 sp 00007814e8540718 error 4 in libminigbm.so.1.0.0[7814f0bd1000+8000]
[ 196.879425] DrmThread[4065]: segfault at 8 ip 00007ed9811b1660 sp 00007ed978b1e718 error 4 in libminigbm.so.1.0.0[7ed9811af000+8000]
[ 197.059317] DrmThread[4100]: segfault at 8 ip 00007b863e985660 sp 00007b86362f2718 error 4 in libminigbm.so.1.0.0[7b863e983000+8000]
[ 197.216671] DrmThread[4135]: segfault at 8 ip 000079e67e28c660 sp 000079e675bf9718 error 4 in libminigbm.so.1.0.0[79e67e28a000+8000]
How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?) Always
,
Aug 9 2017
I think this is fixed (was lack of locking in minigbm). Can you retry on tot?
,
Aug 10 2017
I just tried ToT and the bug is still there, exactly the same crash.
,
Aug 10 2017
Can you try without vga virtio? It doesn't crash on cirrus (but the video doesn't play either). As a side note, we should have a builder with virtio.
,
Aug 10 2017
I'll try cirrus tomorrow. VMs (betty/novato/newbie) are actually tested with virtio in the CQ, but it looks like we're not browsing Youtube in those tests.
,
Aug 10 2017
The crash seems gone (I think the minigbm fix really did fix this), but the video stack is in a "I can't initialize" loop: [26068:26081:0809/192215.951588:VERBOSE1:drm_device_manager.cc(54)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card0 [26068:26068:0809/192215.951883:WARNING:vaapi_wrapper.cc(1198)] vaInitialize failed: unknown libva error [26082:26082:0809/192216.012911:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process. This error can be safely ignored in VMTests. [26082:26095:0809/192216.015556:VERBOSE1:drm_device_manager.cc(54)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card0 [26082:26082:0809/192216.015853:WARNING:vaapi_wrapper.cc(1198)] vaInitialize failed: unknown libva error [26096:26096:0809/192216.074895:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process. This error can be safely ignored in VMTests. [26096:26109:0809/192216.077487:VERBOSE1:drm_device_manager.cc(54)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card0 [26096:26096:0809/192216.077781:WARNING:vaapi_wrapper.cc(1198)] vaInitialize failed: unknown libva error [26110:26110:0809/192216.140009:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process. This error can be safely ignored in VMTests. [26110:26123:0809/192216.142268:VERBOSE1:drm_device_manager.cc(54)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card0 [26110:26110:0809/192216.142757:WARNING:vaapi_wrapper.cc(1198)] vaInitialize failed: unknown libva error [26124:26124:0809/192216.203906:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process. This error can be safely ignored in VMTests. [26124:26137:0809/192216.205725:VERBOSE1:drm_device_manager.cc(54)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card0 [26124:26124:0809/192216.205802:WARNING:vaapi_wrapper.cc(1198)] vaInitialize failed: unknown libva error [26138:26138:0809/192216.267914:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process. This error can be safely ignored in VMTests. [26138:26138:0809/192216.270153:WARNING:vaapi_wrapper.cc(1198)] vaInitialize failed: unknown libva error [26138:26151:0809/192216.270664:VERBOSE1:drm_device_manager.cc(54)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card0 [26152:26152:0809/192216.330900:ERROR:sandbox_linux.cc(344)] InitializeSandbox() called with multiple threads in process gpu-process. This error can be safely ignored in VMTests.
,
Aug 10 2017
The libminigbm crash is still present for me in betty canary R62-9827.0.0. It happens both with '-vga cirrus' and '-vga virtio', using qemu-2.6 (from the Chrome OS chroot). ~/chromeos/chroot/usr/bin/qemu-system-x86_64 -smp 4 --enable-kvm -vnc 127.0.0.1:0,ipv4 -m 4096 -usbdevice tablet -vga cirrus -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:9222-:22 -drive file=chromiumos_qemu_image.bin
,
Aug 10 2017
Apparently there's a Chrome CL that could fix the crash, I think that one: https://chromium-review.googlesource.com/c/609189 ? But that won't fix the vaapi error. I'll try again after the next successful Chrome roll.
,
Aug 10 2017
,
Oct 11 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by norvez@chromium.org
, Aug 8 2017Owner: marc...@chromium.org