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

Bug #967149 reported by Darxus on 2012-03-28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
NVIDIA Drivers Ubuntu
eglibc (Ubuntu)
nvidia-graphics-drivers (Ubuntu)

Bug Description

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, 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?

Darxus (darxus) wrote :
Darxus (darxus) wrote :

The attached patch is against eglibc.

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.

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) on 2012-04-09
tags: added: wayland

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

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  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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