Re: [gtk-vnc-devel] [PATCH] gtkgl based scaling



On Sat, Feb 02, 2008 at 09:06:41PM +0000, Daniel P. Berrange wrote:
> On Sat, Feb 02, 2008 at 02:16:42PM -0600, Anthony Liguori wrote:
> > I've just committed this patch (it's not in the 0.3.3 release).  Please 
> > try it out and let me know what you think.
> > 
> > I've modified gvncviewer so that it has a Full Screen and OpenGL Scaling 
> > menu option.  The dependency on gtkglext is optional and there's also a 
> > new optional dependency on libview.  This is only used by gvncviewer 
> > though so I do not recommend that any distro packages make gtk-vnc 
> > depend on libview.
> 
> The gtkglext stuff seems to be working prertty nicely - it even works on my
> r500 ATI card where I don't even have 3d X driver support, or even 2d accel!
> 
> Sometimes though it does not refresh the screen properly. Asan exmaple, if 
> i'm using a xterm and say type 'pwd<enter>', i'll see the 'pwd' characters 
> typed, but not the newline and not the command output - until I type another
> character or move the mouse. So it seems the screen refreshs may be getting 
> delayed somehow.
> 
> Given that it works at an acceptable speed even without an accelerated X
> driver I figure we ought to automatically enable it if the configure script
> finds the neccessary library.

I take that back - there's definitely something very wierd going on in 
the refresh code. 

I've just tested on my desktop with NVidia & the binary 3-d enabled drivers.
If I have a static unchanging view and just resize the window using the window
manger controls, then the scaling is totally smooth & fast. If i'm actually
typing / moving the mouse then the updates are really very slow & unresponsive.
There's no CPU usage from X or the gvncviewer program, so stuff is being delayed
somewhere in the pipeline I think

Dan
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]