[英]Gvim redraw issues in Ubuntu guest inside vmware
Stock gvim 7.4 in Ubuntu 16.04(Xenial) running on VMWare 12.5.0 player with Windows 10 host. 在具有Windows 10主机的VMWare 12.5.0播放器上运行的Ubuntu 16.04(Xenial)中的通用gvim 7.4。
Paging up/down (ctrl-b,ctrl-f) is very slow and I ran the test provided in this ubuntu bug report . 向上/向下分页(ctrl-b,ctrl-f)非常慢,我运行了此ubuntu错误报告中提供的测试。 It's indicated an 100x slow down.
表示速度降低了100倍。
Does anyone know the cause and a fix/workaround for this? 有谁知道原因以及解决方法/解决方法? Thanks in advance.
提前致谢。
dkwho@mumble:~$ time vim -u NONE -U NONE -S test-redraw-speed.vim /etc/init.d/README
real 0m2.706s
user 0m0.624s
sys 0m1.196s
dkwho@mumble:~$ time gvim -u NONE -U NONE -f -S test-redraw-speed.vim /etc/init.d/README
real 23m4.198s
user 0m32.328s
sys 0m5.904s
Display driver information. 显示驱动程序信息。
dkwho@mumble:~$ sudo lshw -c video
*-display
description: VGA compatible controller
product: SVGA II Adapter
vendor: VMware
physical id: f
bus info: pci@0000:00:0f.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=vmwgfx latency=64
resources: irq:16 ioport:1070(size=16) memory:e8000000-efffffff memory:fe000000-fe7fffff memory:c0200000-c0207fff
I removed my existing vim-gtk and installed vim-gtk3 on Xenial and now it's almost as fast as terminal vim. 我删除了现有的vim-gtk,并在Xenial上安装了vim-gtk3,现在它的速度几乎与终端vim一样快。
sudo apt remove vim-gtk
sudo apt install vim-gtk3
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.