[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
The fix for this has been available for a long time, if it works - can the cairo gl backend be re-enabled?It's been disabled for nearly 3 years now, in the meantime it is available on fedora. This is affecting an app I maintain as I can't use it with cairo-gl for now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Nvidia proposed a solution to this problem yesterday, to reduce the memory usage of their driver: http://lists.freedesktop.org/archives/wayland-devel/2012-March/002798.html Opened as bug #967149. Related bug to enable the wayland backend in GTK+: bug #954352. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Dàrent (animaletdesequia) wrote on 2011-11-14: I know most of you must be running 11.10 now, but I just installed 11.04 and I'm having this problem. The last version of libcairo2 in the repos is 1.11.3, which gives me a ram usage about 1.5Gb just after login. I've forced version 1.10.2 and everything is fine now, ram under 500Mb. Last libcairo2 version in Ubuntu 11.04, 11.10 and even 12.04 is 1.10.2 - see https://launchpad.net/ubuntu/+source/cairo or http://packages.ubuntu.com/libcairo2 It seems you installed unofficial libcairo2 package from other repositories, not from Ubuntu if you had 1.11.3 version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I know this is old and most of you must be running 11.10 now, but I just installed 11.04 and I'm having this problem. The last version of libcairo2 in the repos is 1.11.3, which gives me a ram usage about 1.5Gb just after login. I've forced version 1.10.2 and everything is fine now, ram under 500Mb. Another problem I noticed is some apps don't close properly with the latest libcairo2. I have a transparent gnome-terminal set as desktop background and if I close it (with right click, exit command, or even xkill) the process remains in top using ram). Also that prevents me from logout or reboot the system (it keeps telling me than some apps refuse to close). Don't know how is this related to the graphic drivers but forcing the older libcairo2 solved it. If somebody is still taking care of this bug, can you tell me if there is a more stable solution other than maintain an older package frozen? Sorry for my bad English :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
** Changed in: nvidia-graphics-drivers (Ubuntu) Status: Triaged = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
The problem is solved in “cairo” 1.10.2-6ubuntu3 where we disabled the gl backend again. ** Changed in: cairo (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
To add - with the latest 11.10 nvidia-current this is another consequence (apparent) of the gl enabled cairo Bug #821702 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I have 11.10 on AMD Athlon 3500+, 1GB RAM and Nvidia 6200. Seems this is not enough for Oneiric :( Without X my usage is 134Mb (or something). With X at lightdm-greeter 230 Mb With a session started, 700 Mb. If I start another app or two, I starts trashing swap memory usage increases, etc. I read all comment, NVIDIA is guily, I know. Don't forget to update the minimum requirements for Oneiric then when using it with the proprietary drivers :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
** Changed in: cairo (Ubuntu) Status: Fix Released = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Well , 11.10 has gone back today to using the --enable-gl option in cairo, so this again is a concern for nvidia users , particularly 1GB machines Add in the still active small per use mem leaks in unity/compiz and these machines will quickly become unusable. ** Tags added: oneiric ** Tags removed: natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
So cairo (1.10.2-2ubuntu2) may didn't break wayland, I guess Regardless, seb128 added a 'breaks' in the packaging against wayland, so having cairo installed now makes wayland uninstallable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
saya juga menggunakan nvidia kira-kira masalhnya dimana yaa -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
http://wayland.freedesktop.org/building.html : cairo-gl The Wayland clients can render using cairo-gl, but fall back to software when cairo-gl is not available. So cairo (1.10.2-2ubuntu2) may didn't break wayland, I guess -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Jeremy Bicha wrote Any unity/compiz memory leaks are different issues and should be a new bug ... bug #720446 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I too am experiencing the compiz memory leak now. I left my computer on over night and when I came back compiz was taking 341MB of RAM. After doing a compiz --replace it went back down to 24MBs. It's seems directly related to this, but should it be a new bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Oh, and this was in the Ubuntu Classic session, so I guess it has nothing to do with Unity. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Any unity/compiz memory leaks are different issues and should be a new bug (if a bug for it has not already been reported). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Me too! RAM (and CPU) usage is back to normal. Good job! And, thanks!!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Ditto..this is the one bug that held me back from making Natty my default distro. RAM usage back to normal here too. Thanks for fixing! :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I just said that the problem disappeared from my system, but this turns out only to be partly true. When the Unity desktop is on for a few hours it seems like some processes are slowly increasing memory. Like compiz started at 70 MB Ram, but increased to 160 MB Ram in a few hours. I have just restarted my system because it was again using more than 800 MB Ram, with just Firefox open. Not 1.3 GiB Ram like before, but still to much, which is making my system getting slower and slower the longer it is running. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
At this point I'm afraid we'll disable the EGL support in cairo and move the EGL enabled one to a PPA. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
This bug was fixed in the package cairo - 1.10.2-2ubuntu2 --- cairo (1.10.2-2ubuntu2) natty; urgency=low * Don't turn the gl backend on for natty since it creates issues for nvidia users and is only used for wayland (lp: #725434) * debian/control, debian/libcairo2.symbols, debian/rules: - updated for the non-gl build * debian/control: Breaks on wayland -- Sebastien Bacher seb...@ubuntu.com Fri, 08 Apr 2011 18:27:43 +0200 ** Changed in: cairo (Ubuntu Natty) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
** Branch linked: lp:ubuntu/cairo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Yes thank you very much, i just got the latest updates, and can confirm it.Ram usage is normal for me now and i can enjoy unity now. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
After updating the problem also disappeared from my system. I can also run Unity 3D as normal. Thanks, great work! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I got tired of nouveau freezing my desktop (at least I assume that's what it was, maybe it's just compiz itself) and downgraded libcairo2 to the maverick-updates version ( http://packages.ubuntu.com/maverick- updates/libcairo2 ). It's been about an hour and my computer hasn't exploded yet. I'm using the proprietary Nvidia driver with an onboard 6150SE. I have 2gb RAM, and contrary to other opinions, it affected my system very noticeably and forced much swapping whereas none was needed before. I have a 2.5Ghz dual core (albeit a bit dated) and programs that normally open instantly were, well, not. Hope this gets fixed soon! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I also would like to confirm this bug. Im using a AMD Opteron Dual-core and I have a Nvidia 8400 GS 512mb video ram card. Let me know if you need any other information that I can provide, so we can squash this before release date, thanks everyone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
I also have an enormous RAM increase since I updated my 10.10 system to 11.04 beta. Whenever I did a fresh reboot of my system it was using under 300MB RAM from Ubuntu 6.06 to 10.10. Now it is using around 800MB RAM after a fresh reboot and is going up to 1.3 GB RAM with just Firefox 4 and Empathy open. As I am on a 1.5 GB RAM system it is also starting to use SWAP space to cope with the increase. This memory increase is causing the whole system to slow down enormously and applications to crash often. I am using the Nvidia Proprietary drivers and have a Nvidia Geforce 6100 graphics card. Hope this bug will be released before the final release. Otherwise it is going to affect a lot of users. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
* Hope this bug will be resolved before the final release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
A link to a bug report where I posted about this bug before; https://bugs.launchpad.net/ubuntu/+source/unity/+bug/735482 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Still an enormous RAM increase here using the nvidia proprietary driver (the latest nvidia-current) on an older P4 machine running 2 Gb Ram with an nvidia Geforce 6100 graphics card. It's really annoying, as I would imagine it is for anyone using nvidia graphics with Ubuntu 11.04...any idea when it will be fixed bearing in mind final release is now only weeks away? regards -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
It's really worrying that noone is the assigner of this bug, when we are nearly reaching the release day... For me, installing package libcairo2 from Maverick (after modifying the version number in the DEB to avoid automatic upgrading) fixed the problem without evident regressions... But I didn't try Wayland, and I know it probably won't load... But I think that having this problem fixed in Xorg is more urgent than making Wayland working, at this point of the release schedule! So, I think, if noone wants to fix this in time, that it would be better to bring back the Maverick library in Natty... At least until the problem will be fixed! Trust me, noone will use Wayland atm! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
So I've been working for a bit on trying to make libcairo built with gl co-installable with the standard libcairo in a way that would allow tweaking the ld paths to use the gl version but hit quite some issues on the way. I'm attaching a debdiff of the tweaked version with some comments of the limitations of the approch, if someone wants to pick up feel free, to me it seems to start being hackish and work over what is reasonable to spend to just support wayland in universe for natty. ** Summary changed: - libcairo causes a significant 'across the board' memory use increase with -nvidia loaded + Nvidia drivers lead to extra memory usage for each process using libGL ** Patch added: build libcairo2-gl binary https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+attachment/1953188/+files/cairo.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
So I've been working for a bit on trying to make libcairo built with gl co-installable with the standard libcairo in a way that would allow tweaking the ld paths to use the gl version but hit quite some issues on the way. I'm attaching a debdiff of the tweaked version with some comments of the limitations of the approch, if someone wants to pick up feel free, to me it seems to start being hackish and work over what is reasonable to spend to just support wayland in universe for natty. ** Patch added: update debdiff to build libcairo2-gl https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+attachment/1953189/+files/cairo.debdiff ** Patch removed: build libcairo2-gl binary https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/725434/+attachment/1953188/+files/cairo.debdiff ** Changed in: cairo (Ubuntu Natty) Assignee: Sebastien Bacher (seb128) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
Summary of what was discussed and tested: * shipping a libcairo2-gl which would conflicts,replaces,provides libcairo2 wouldn't work since provides are not versioned and that wouldn't satisfy the dependencies of most of binaries dependy currently on libcairo2 - we need a new binary installable at the same time as libcairo2 and tweak ld paths * the rules was updated to add a gl build flavor, it means cairo get built without gl and and an extra time with gl * copying the gl build library in a new directory, that would work for runtime but is not enough for builds since the .pc and the .so don't point to the right variant, building with gl also creates some new cairo-gl.pc which need to be installed - we need a libcairo-gl-dev binary, the binary needs to be installable at the same time than libcairo-dev due to the same reason than the library (the provides are not versioned which would mean it can't be installed as a replacement) * installing only the extra .pc in a different path wouldn't work since that would lead to inconsistencies in the cairo installation - the standard path needs to be used for those .pc * If the .pc don't point to the right directory to build with gl it would mean wayland softwares that need cairo-gl would need hacks to point to the right directory * The libcairo-gobject library should build with the correct variant to avoid have 2 different libcairo be loaded by libcairo-gobject users so we would probably need a libcairo-gobject-gl as well The work starts being non trivial from there and it will lead to a solution that need hacks in softwares that want to use cairo-gl, does anybody has a better suggestion on what to do next? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 725434] Re: Nvidia drivers lead to extra memory usage for each process using libGL
one hackish way that would be easier would be to just copy the library built with gl in a different path and dpkg-divert the library to that one, not sure it's something we should do though -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/725434 Title: Nvidia drivers lead to extra memory usage for each process using libGL -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs