Solution to Nvidia + cairo-gl memory problem proposed by Nvidia

Bug #967149 reported by Darxus
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
NVIDIA Drivers Ubuntu
New
Undecided
Unassigned
eglibc
Incomplete
Unknown
eglibc (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

http://lists.freedesktop.org/archives/wayland-devel/2012-March/002798.html

A small portion of that post from Nvidia:
"Attached is a proof-of-concept patch which fixes this issue for the x86_64 Linux ELF loader. By both applying this patch to the loader and prelinking libnvidia-glcore.so, distros can reduce the memory overhead of linking an application against the NVIDIA libGL to just a few kB:"

This is the same as bug #725434 which has been closed Won't Fix for the Nvidia drivers, figured it would be better to start over here that re-open that?

Tags: wayland
Revision history for this message
Darxus (darxus) wrote :
Revision history for this message
Darxus (darxus) wrote :

The attached patch is against eglibc.

Revision history for this message
Pierre-Loup A. Griffais (1auntzpad-0ut) wrote :

The most interesting part of this bug would probably finding a good starting address for the NVIDIA GL libraries on x86, rather than the linker patch.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eglibc (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Darxus (darxus)
tags: added: wayland
Revision history for this message
Pierre-Loup A. Griffais (1auntzpad-0ut) wrote :

I had filed this bug against glibc to drive the patch in:

http://sourceware.org/bugzilla/show_bug.cgi?id=15097

Note that the next major release from the NVIDIA driver includes a wrapper for most of the external calls, which should suppress the x86-specific relocation problem that I described in my original message to the list.

Note that my comment above didn't mean to imply the loader patch was unnecessary, both steps are needed to achieve optimal results.

Changed in eglibc:
status: Unknown → New
Changed in eglibc:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.