Bug 100037 - [vmwgfx] Invalid SVGA3D command: 1202
Summary: [vmwgfx] Invalid SVGA3D command: 1202
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/vmwgfx (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-02 17:02 UTC by Grief
Modified: 2019-09-18 20:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Grief 2017-03-02 17:02:39 UTC
On Ubuntu Zesty with Plasma taken from KDE Neon and kernel 4.10.1, when running OS inside vmware 12.5.2 with enabled hardware acceleration, minimizing of a window with a size ~1024x1024px with enabled desktop effects ("magic lamp") causes a crash - blanks screen with rare artifacts. The following could be noticed in the `dmesg`:

[  103.849508] [drm:vmw_cmd_dx_destroy_shader [vmwgfx]] *ERROR* Could not find shader to remove.
[  103.849513] [drm:vmw_execbuf_process [vmwgfx]] *ERROR* Invalid SVGA3D command: 1202

Reproducibility is 100%. Ready to provide any other information on demand.
Comment 1 Deepak 2017-03-07 00:05:14 UTC
Hi,

Do you used Ubuntu Zesty GNOME and then installed Plasma top of it or used the kubuntu (http://cdimage.ubuntu.com/kubuntu/releases/17.04/alpha-2/) which I guess comes with Plasma desktop. 

Thanks.
Comment 2 Grief 2017-03-07 11:16:45 UTC
I am using kubuntu, but not sure if that matters since these distros are only different by the set of preinstalled packages. You can always remove all of them and turn ubuntu to kubuntu or to lubuntu or whatever.

Anyway, I think this is highly relevant: https://communities.vmware.com/thread/537924?start=0&tstart=0

Here is the same bug reported against kwin. But I suspect vmware itself being the only root cause of the issue.

As I've said in the latest comment in the thread above, `export SVGA_VGPU10=0` helped me to workaround the issue.
Comment 3 Deepak 2017-03-08 23:30:40 UTC
I can reproduce the bug but not able seeing the below dmesg:

[  103.849508] [drm:vmw_cmd_dx_destroy_shader [vmwgfx]] *ERROR* Could not find shader to remove.
[  103.849513] [drm:vmw_execbuf_process [vmwgfx]] *ERROR* Invalid SVGA3D command: 1202

Could you please provide complete dmesg and output of glxinfo

Thanks,
Comment 4 Grief 2017-03-09 00:56:08 UTC
Hello Deepak,

The issue still reproduces but the message is gone. I definetely saw it every time after that crash happened but it seems that after one of frequent KDE neon updates the message just gone. Anyway, here is a dropbox folder with output you asked: https://www.dropbox.com/sh/ig6v9tntqertwy7/AADSnRpdkHaYrx4yunOrTdEFa?dl=0

Just out of curiosity, you've said "I can reproduce the bug" does that mean that you reproduced it already or you meant that it is possible to reproduce it?
Comment 5 Deepak 2017-03-09 18:25:04 UTC
Hello,

I meant that I can reproduce it already. Thanks for providing the details.
Comment 6 GitLab Migration User 2019-09-18 20:14:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/889.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.