[X2go-Dev] Test-Recipe for libjpeg-turbo anx NX (was Re: Successful test of libjpeg-turbo with X2Go (was Re: libjpeg-turbo use with X2GO))

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Tue Jan 24 00:15:26 CET 2012


Hi once again,

On Mo 23 Jan 2012 20:37:18 CET Mike Gabriel wrote:

> Hi again,
>
> On Mo 23 Jan 2012 18:57:37 CET Mike Gabriel wrote:
>
>>> Anybody try to configure for example ubutu to configure x2goserver  
>>>   to use libjpeg-tubro (    
>>> http://sourceforge.net/projects/libjpeg-turbo/ ) instead libjpeg ?  
>>>  I  have read that for example OpenNX client for neatx or freenx   
>>> server  recommend to use this because libjpeg-turbo have speed   
>>> improvement   than standard libjpeg and it will be use full to   
>>> reduce transfer for  x2go session. I don't know how to configure   
>>> (or is it possible?)  x2goserver on ubutu to use libjpeg-turbo
>>>
>>> Regards
>>
>> libjpeg-turbo support (from my perspective) is a distribution  
>> issue.   Libjpeg-turbo is pending for Debian sid inclusion:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612341
>>
>> As we do not have plans to ship libjpeg-turbo within the X2Go    
>> repository currently, I guess we will have to wait for distro    
>> inclusion in Debian/Ubuntu.
>>
>> With other distros that already have libjpeg8 (optionally) replaced  
>>  by  libjpeg-turbo, it should be possible to compile NX   
>> (redistributed)  against the faster libary.
>>
>> There also is another NX related project on git.ethersoft.ru that    
>> provides NX with libjpeg-turbo. However, that repos only builds NX   
>> for  FreeNX.
>
> I have just tested an NX build against libjpeg-turbo. The   
> libjpeg-turbo libraries I obtained from here:
> http://people.debian.org/~fabo/libjpeg-turbo_1.1.90+svn704-1/
>
> The test system was a Debian squeeze (so backporting from some brand  
>  new SID package is possible).
>
> When using 16m-jpeg-9 compression over a UMTS (HDSPA) uplink the   
> difference between libjpeg and libjpeg-turbo is smashing!!! It  
> becomes  so much smoother...
>
> From my perspective, we should start testing on nx-libs with   
> libjpeg-turbo in the nightly repository in the very very very near   
> future.
>
> The change-over is easy: if libjpeg-turbo62 is installable in the   
> build chroot, NX builds against that one. If it is not present, it   
> builds against libjpeg62.
>
> @Developers: please give feedback on the proposed step.

Here is a recipe how to test NX with libjpeg-turbo:

ON SERVER
---------
1.
Install libjpeg-turbo from X2Go heuler repository (Debian-only)

2.
apt-get build-dep nx-libs
apt-get source -b nx-libs

3. (still on server)
cd ..
dpkg -i *.deb

ON CLIENT
---------
4.
Install your self-built packages libxcomp3 and nxproxy also on client

5.
Happy testing


The above should work with Debian squeeze, wheezy and sid as test  
system (amd64/i386).

Greets,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120124/ad648d62/attachment.pgp>


More information about the x2go-dev mailing list