[Bug 320700] Re: gvim rendering is slow
Eric Jiang
mazin at aztekera.com
Fri Apr 1 21:46:18 UTC 2016
I am running VIM 7.4 on Ubuntu 14.04.4 and noticed that this problem
only appeared *after* I switched to an AMD Radeon 7770 graphics card.
Previously, with my Nvidia graphics card this problem did not exist.
I am running the fglrx-updates proprietary driver provided by the built-
in "Additional drivers" tool (2:15.201-0ubuntu0.14.04.1).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/320700
Title:
gvim rendering is slow
Status in vim package in Ubuntu:
Confirmed
Bug description:
Binary package hint: vim
Rendering in gvim is very slow compared to previous Ubuntu releases.
It's usable, but takes patience. I'm using vim/gvim 7.1.314-3ubuntu3.1
on Ubuntu 8.10.
Others have reported this same issue on a thread from the vim mailing list. Many solutions have been tried w/o success:
http://groups.google.com/group/vim_use/browse_thread/thread/dd1d8d9a799adf4a
From the thread, someone provided this benchmark script:
-- -- --
" Benchmark vim's redrawing speed
let i = 0
while i < 2000
1
redraw
$
redraw
let i = i + 1
endwhile
qa!
-- -- --
I've run it with /etc/init.d/README as an input file (just to pick
something consistent across Ubuntu machines):
$ time vim -u NONE -U NONE -S test-redraw-speed.vim /etc/init.d/README
real 0m5.407s
user 0m0.568s
sys 0m0.048s
$ time gvim -u NONE -U NONE -f -S test-redraw-speed.vim /etc/init.d/README
real 3m27.614s
user 0m11.685s
sys 0m0.312s
As you can see gvim is almost 40x slower then vim (running in gnome-
terminal). You'd expect gvim to be slower then vim, but not by this
much. Note, from the thread, not all users experience this huge
difference. Some only report 2-3x slowdown, which I'd be very happy
with at this point :)
I'm using the radeon X11 driver (open source) on a ThinkPad T42p, and
do _not_ experience slow rendering in other apps (for example, gedit).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/320700/+subscriptions
More information about the foundations-bugs
mailing list