简体   繁体   English

Gvim在vmware内的Ubuntu guest虚拟机中重画问题

[英]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.

相关问题 网络摄像头在 VMWare Ubuntu 客户机上可见但“无帧” - Webcam visible but “no frame” on VMWare Ubuntu guest VMWare上的初始Ubuntu来宾屏幕分辨率 - Initial Ubuntu guest screen resolution on VMWare 如何在Vmware CLI(Windows主机,Ubuntu来宾)中正确使用runProgramInGuest? - How exactly use runProgramInGuest in Vmware CLI (Windows host, Ubuntu guest)? vmhgfs-fuse 在启动时使用 VMware Windows 8.1 主机和 Ubuntu 16.04 来宾 - vmhgfs-fuse at boot with VMware Windows 8.1 host and Ubuntu 16.04 guest 在 VMware Ubuntu 22.04 客户机上通过 Packer 和 Terraform 运行 cloud-init 两次 - Running cloud-init twice via Packer & Terraform on VMware Ubuntu 22.04 guest Ubuntu 16.04主机下的Windows 8 VMWare来宾无法访问互联网 - Windows 8 VMWare guest under Ubuntu 16.04 host doesn't have access to the internet 端口被阻止:无法使用 VMware 在 Ubuntu 来宾上安装 Docker 通用控制平面 - Ports are blocked: Can't install Docker Universal Control Plane on Ubuntu guest using VMware 安装更新并重新启动后,无法在主机Windows 10的vmware 12.10中启动guest虚拟机ubuntu 15.10 - Cannot start guest ubuntu 15.10 in vmware 12.10 on host windows 10 after install updates and restart 如何在VMware内部的Ubuntu上访问远程mysql主机? - How to access remote mysql host on Ubuntu inside VMware? 无法在Ubuntu上的GVim中获取NeoComplCache - Cant Get NeoComplCache in GVim on Ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM