Bug 97836

Summary: vmwgfx_scanout_update: failed to send dirty (-22, Invalid argument)
Product: xorg Reporter: Fujii Hironori <fujii.hironori>
Component: Driver/VMWareAssignee: linux-graphics-maintainer <linux-graphics-maintainer>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
test program
none
Patch none

Description Fujii Hironori 2016-09-16 14:51:57 UTC
Emacs redraws sometimes partially when scrolling or doing incremental searching.
Following error messages are output in `/var/log/Xorg.0.log` when this problem occurs.

> [  1278.046] (EE) vmwgfx_scanout_update: failed to send dirty (-22, Invalid argument)

There are some reports of this problem:

* Super User: ubuntu - Emacs does not redraw properly inside VirtualBox
  <http://superuser.com/questions/702494/>
* Oracle VM VirtualBox: #13687 (Emacs redraw issues with >1 Virtualbox CPU)
  <https://www.virtualbox.org/ticket/13687>

Vim also has the similar problems:

* Stack Overflow: linux - Gvim redraw issues with Virtual Box and Windows 7 host
  <http://stackoverflow.com/questions/25018843/>
* Debian Bug report: #777567 - vim-gtk: Regions of text fail to redraw in gvim
  <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777567>
* Super User: vim - gvim redraw failure
  <http://superuser.com/questions/343599/>
Comment 1 Fujii Hironori 2016-09-16 14:53:54 UTC
Created attachment 126580 [details]
test program

I created a test probgam to reproduce this bug.
This bug begin if you resize the window bigger.
Comment 2 Fujii Hironori 2016-09-16 14:54:55 UTC
Created attachment 126581 [details] [review]
Patch
Comment 3 Martin Peres 2019-11-29 18:51:41 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/xorg/driver/xf86-video-vmware/issues/8.

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.