[11:24] <mamarley> ts
[11:24] <mamarley> oops
[11:26] <mamarley> tseliot: I added support for the NVIDIA EGL libraries to gpu-manager.c in ubuntu-drivers-common.  It is in ppa:mamarley/staging.  I also tried to add it to prime-select, but I am not a Python programmer and that code befuddled me.
[11:27] <tseliot> mamarley: actually I'm working on that, and I'm trying to track down a segfault in the new code
[11:27] <mamarley> Ah, OK, so I guess I wasted my time.  There was just a user complaining about it yesterday, so i figured I would take a stab at it.
[11:27] <mamarley> Well, at least I can tell him that it is being worked on. :)
[11:27] <tseliot> mamarley: not necessarily. What code did you based it on?
[11:28] <tseliot> *base
[11:29] <tseliot> mamarley: as in, did you use git?
[11:29] <mamarley> No, sorry.
[11:29] <tseliot> mamarley: so, no diff
[11:30] <mamarley> No, not really.  I could take the file I modified and diff it against another one if you wanted though.
[11:31] <mamarley> One problem I did run into was that the nvidia-xyz-prime/ld.so.conf files only have the path to the mesa GL libs, not the EGL ones, so this may require a modification to the NVIDIA packages as well.
[11:31] <tseliot> I've just downloaded the sources
[11:32] <tseliot> mamarley: that is something that we need
[11:33] <tseliot> mamarley: but aren't the libraries all in the same place?
[11:33] <mamarley> tseliot: Nope, the GL ones are in /mesa and the EGL ones are in /mesa-egl
[11:34] <tseliot> mamarley: right, I even added code for that in gpu-manager. Patches for nvidia are welcome, if you have the time
[11:35] <mamarley> tseliot: You mean patches for the packages in the Ubuntu archives?
[11:36] <tseliot> mamarley: or for yours. I merged some of the changes from the PPA, and I have them in my local branch, so that might work too
[11:36] <tseliot> also, the change should be trivial
[11:36] <mamarley> OK, sure.  Are we doing this only for Xenial?
[11:39] <tseliot> mamarley: for now
[11:39] <mamarley> tseliot: OK.  I am a bit busy at the moment but I can upload patched NVIDIA drivers for all the versions for Xenial a little later today.
[11:39] <tseliot> mamarley: it works for me, thanks
[11:40] <mamarley> No problem
[11:41] <tseliot> mamarley: BTW, I might end up adopting your code for gpu-manager. It definitely wasn't a waste. My code, on the other hand... ;)
[11:43] <mamarley> I was actually surprised at how quickly I was able to get that part working.  I haven't written plain-old C in quite a while, so I was expecting more trouble.
[11:44] <tseliot> yes, I like simple. I went with a more complex solution, and screwed up at some point
[11:49] <tseliot> I think I'll simply add the C code that I wrote to make it possible to test the EGL alternatives, and the python code
[11:50] <mamarley> OK, and I will let you know once I have those patched drivers uploaded.
[11:52] <tseliot> thanks
[13:43] <tjaalton> RAOF: did I promise to upload apitrace at some point?
[13:43] <tjaalton> to debina
[13:43] <tjaalton> -an
[15:05] <RAOF> tjaalton: I believe you may have, yes. :P
[15:06] <tjaalton> hah, so I'll do that now :P
[15:18] <tjaalton> hmm now that I look at it, the pristine-tar commit shows a different tarball name than the changelog
[15:18] <tjaalton> changelog has +repack
[15:21] <tjaalton> RAOF: should it be without +repack?
[15:22] <RAOF> Hm, let me check.
[15:23] <RAOF> tjaalton: Bah, pristine-tar should have the +repack.
[15:25] <tjaalton> ok
[15:27] <RAOF> Sorry. :)
[15:28] <tjaalton> so it's the same tarball though, or should have some files filtered out?
[15:30] <RAOF> It's got the files filtered out, it just has the wrong name.
[15:30] <tjaalton> ah, ok
[15:30] <tjaalton> so I'll just rename it
[15:30] <tjaalton> and maybe import
[15:31] <RAOF> Yeah. You *can* just rename the files on the pristine-tar branch, but gbp complains wierdly about that.
[15:33] <tjaalton> heh, first time I've actually checked out a pristine-tar branch..
[15:33] <tjaalton> was going to just rename the built tarball
[15:51] <mamarley> tseliot: I have uploaded new versions of all the supported driver versions for Xenial with the Mesa EGL directory in the Prime ld.so.conf to https://launchpad.net/~mamarley/+archive/ubuntu/staging/+packages.  346 failed to upload, but that is due to a screwup I made a long time ago while packaging an older driver version.
[15:52] <mamarley> ricotz: I also uploaded 361.18 again for Wily, Vivid, and Trusty to remove the EGL alternative since those aren't going to get Prime support for EGL.
[15:55] <tseliot> mamarley: ok, thanks. BTW, I managed to get my gpu-manager code to work. That is well integrated with the test suite, so, I'm going to use that (I appreciate your effort though).
[18:12] <RAOF> Hm. We should remove the arch qualificatons for the Mir EGL patch.
[23:00] <RAOF> tjaalton: Mind if I enable Mir in Mesa on aarch64, s390x, powerpc, etc?
[23:19] <tjaalton> RAOF: nope, go ahead. pushed ubuntu branch too, now that 11.1.1 is in xenial
[23:34] <RAOF> ???
[23:34] <RAOF> tjaalton: I do not yet see 11.1.1, apart from on the Ubuntu branch.
[23:35] <tjaalton> huh
[23:36] <tjaalton> oh hell, forgot to upload of course
[23:36] <tjaalton> done
[23:37] <RAOF> Win!