Why the GTK+ wayland backend can't be enabled in linux distros, at all

Thiago Macieira thiago.macieira at intel.com
Sun Mar 18 15:50:09 PDT 2012


On domingo, 18 de março de 2012 17.07.11, darxus at chaosreigns.com wrote:
> B) Get the Nvidia proprietary driver to reduce memory consumption.
>    I haven't touched this one.  All I have found is linux-bugs at nvidia.com
>    mentioned on
>    http://www.nvidia.com/object/linux_display_ia32_169.09.html

The NVidia GL libraries are notorious for being linked with text relocations. 
Each program that so much as loads that libGL gets 10-15 MB more memory usage, 
from start.

NVidia knows about this and will not do anything. Enabling -fPIC does cause a 
performance regression because of indirect memory accesses and by reserving 
one register.

Simply adjust your expectations: anyone using NVidia proprietary drivers will 
have to deal with this issue. So discount the 10-15 MB increased memory usage 
per application using libGL and check your numbers again.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120318/63925002/attachment.pgp>


More information about the wayland-devel mailing list