Bug 97836 - vmwgfx_scanout_update: failed to send dirty (-22, Invalid argument)
Summary: vmwgfx_scanout_update: failed to send dirty (-22, Invalid argument)
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/VMWare (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: linux-graphics-maintainer@vmware.com
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-16 14:51 UTC by Fujii Hironori
Modified: 2016-09-16 14:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test program (2.19 KB, text/x-csrc)
2016-09-16 14:53 UTC, Fujii Hironori
no flags Details
Patch (1.04 KB, patch)
2016-09-16 14:54 UTC, Fujii Hironori
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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


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.