On Thursday, September 29, 2016 at 2:17:45 PM UTC-4, Kazunobu Kuriyama wrote:
> 2016-09-30 1:06 GMT+09:00 Taylor Venable <tcv...@gmail.com>:
> Hi, my distribution (Arch Linux) just switched to using the GTK3 build of 
> gvim by default. But it behaves very poorly on my computer, the scroll speed 
> is so slow that it's very difficult to use. With GTK2, everything is fine. 
> Based on another thread about GTK3 performance showing output of a shell 
> command, I used this test:
> 
> <snip>
> 
> Let me talk about the latter issue on shell command output first.  I'll talk 
> about the former issue on scrolling shortly after that.
> 
> I'm afraid it's not much relevant to scrolling.
> 
> Roughly speaking, when the GTK+2 GUI sends a series of drawing requests to 
> the X server, it completely leaves to the server what eventually appears on 
> the screen.  In other words, it doesn't care much about whether or not each 
> frame is drawn on the screen.  Not a few frames could be skipped undrawn.
> 
> In contrast, the GTK+3 GUI  draws a complete picture on a off-screen first 
> and then dump it at the server in accordance with a frame clock, so that 
> every frame will surely be drawn on the screen.
> 
> Ensuring each frame is drawn is important to realize animation of high 
> quality and considered to be one of inevitable features of modern GUI.
> 
> For those reasons, I'm now inclined to think that the performance test you're 
> referring to doesn't make much sense for the purpose of comparison, because 
> any GUI that cuts corners always beats a deadly earnest one at time race. :)
> 
> As for scrolling, I suspect the refresh rate of the display you're using, 
> because GTK+ 3 uses a frame clock to update as noted above.

Thank you for the information, I'm very ignorant about how this all works. If 
I'm reading you right, GTK3 should be smooth (if slow) because it ensures that 
every frame gets drawn. This test might not be comparable to scrolling, but it 
was far from smooth: I'd see a blank white window for a while, then numbers 
about 280 to 320 frozen on screen for 10 seconds (but at 100% CPU utilization 
the whole time), then the window would close. In contrast, with the GTK2 
version, you could see the text flying by smoothly as I would expect. I use 
some other GTK3 apps like Emacs with performance issues. My monitor's refresh 
rate is 60Hz. Do you have any suggestions on how else I could investigate? 
Thanks again for your advice.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui