/srv/irclogs.ubuntu.com/2012/08/22/#ubuntu-x.txt

RAOFBAH!06:27
RAOFStupid mesa stupid egl damn broken implementations bah.06:28
tjaaltonwhat's up?-)06:31
mlankhorstRAOF: oh hey what was the idea behind the shared gallium patch?06:43
tjaaltonno more rpath issues btw, slangasek fixed it06:44
tjaaltonproblem was installing the drivers from the build-tree06:44
mlankhorstah ofc06:44
tjaaltonso getting close..06:44
tjaaltonunity works on intel, ship it06:50
mlankhorst:D06:50
RAOFtjaalton: EGL is broken on !intel because of wayland changes.07:04
RAOFAnd I was playing around with some prototype EGL code.07:04
RAOFAnd wondering why it wasn't working...07:04
tjaaltonah07:04
mlankhorst:D07:05
RAOFmlankhorst: The shared gallium patch was basically the same as libdricore - take all the static archives in src/gallium and make a shared library out of them, rather than including them in all the gallium drivers.07:05
mlankhorstoh so I was moving in the right direction then07:05
mlankhorstI just get troubles at the linking phase now07:05
RAOFYeah, it was pretty frustrating.07:06
mlankhorsthave you seen the preliminary patch I created?07:06
RAOFUltimately upstream would like to have a monolithic everything_dri.so, as I understand it. That would be a bigger change, but easier to maintain I think.07:06
RAOFmlankhorst: No, I didn't - is it on the list, or in git?07:06
mlankhorstgit07:07
tjaaltonoh everything_dri.so..07:07
mlankhorstit fails to link swrast07:07
tjaaltoni wonder what good did llvm-shared-libs bring07:07
RAOFtjaalton: Not adding ~20MiB of llvm to each and every gallium driver?07:08
tjaaltonah, ok then07:09
mlankhorstCave johnson here, let me tell you something, when I buy a hard disk, I want to use it. None of this sissy dynamic link everything. I paid for the best and I want the best!07:09
tjaaltonhmm that's what we used to have before too, no?07:10
tjaaltonjust not it has to be enabled separately?07:10
tjaalton*now07:10
RAOFYeah, we used to patch that in.07:10
tjaaltonheh, ok07:10
tjaaltonthat's good then07:11
tjaaltonthe drivers are still huge07:12
tjaaltonradeonsi_dri.so is 35M07:12
RAOFYeah, that's without libgallium, right?07:13
tjaaltonall the gallium ones are 27-35M07:13
tjaaltonyep07:13
tjaaltonsounds about right?07:13
RAOFlibgallium factors out ~25 MiB of that.07:13
tjaaltonok07:13
mlankhorst25?07:13
mlankhorstwow07:13
RAOFYeah, sounds about right.07:13
mlankhorstlibgallium.so is only 8 mb..07:13
tjaaltononly 2MB here (precise)07:13
tjaaltonoh wait07:14
tjaaltonhehe07:14
tjaaltonthe stripped binaries are much more manageable07:14
RAOF:)07:14
tjaalton4-5M07:14
tjaaltonno point in looking in debian/tmp/dri..07:15
mlankhorsthm weird07:18
mlankhorstoh great, make can swallow errors07:19
mlankhorstI think I accidentally got it to work today, I don't know how07:22
RAOFHeh07:22
mlankhorstdoing one more test run to see if it's really the case07:29
tjaaltonslangasek also told that libxatracker isn't linked properly, it's missing -ldl -lm07:32
mlankhorstdh_install: dri/usr/lib/x86_64-linux-gnu/libgallium.so.0.0.0 exists in debian/tmp but is not installed to anywhere07:33
mlankhorstdh_install: dri/usr/lib/x86_64-linux-gnu/libgallium.so exists in debian/tmp but is not installed to anywhere07:33
mlankhorstdh_install: dri/usr/lib/x86_64-linux-gnu/libgallium.so.0 exists in debian/tmp but is not installed to anywhere07:33
mlankhorstscary..07:33
tjaalton:)07:34
mlankhorstis he in this channel? he made a mess of the git tree07:40
tjaaltonmess?07:40
tjaaltonbuilds fine here07:41
mlankhorstof course it does07:41
jcristaucommitted with patches applied?07:41
mlankhorstjcristau: winner :D07:42
tjaaltonah :)07:42
jcristaubad vorlon07:42
tjaaltonquite easy to do that :)07:42
mlankhorstah too bad he's not in any channels I'm in, can someone else point and laugh at him for me? :)07:46
tjaaltonyou're not on #ubuntu-devel?07:46
mlankhorstI'm in too many channels already, I cut out at 10 :p07:47
jcristau10??07:47
tjaaltondamn, need to run.. installing quantal on the ati box just finished but can't test mesa there until late this evening ./07:48
tjaalton:/07:48
mlankhorstjcristau: easier that way07:48
tjaaltoni have 20+07:48
* jcristau has like 80 irssi windows open07:48
mlankhorstjcristau: professional lurker :)07:48
tjaaltonhah07:48
jcristau:)07:48
tjaaltonthat's a lot07:48
jcristaubunch of them are privmsg tho07:49
tjaalton20 is the limit after which alt+key shortcuts stop working07:49
jcristaustill...07:49
RAOFtjaalton: I'll run it on this ati box if you like.07:49
tjaaltonRAOF: that would be great, I'll be on the bus for the next 1,5h and can do stuff but not test :)07:50
tjaaltonafk ->07:50
mlankhorsttjaalton: ok refreshed the patch07:54
mlankhorsttjaalton: yeah that's why I give up on 10, personal irc comes after that :)07:55
* mlankhorst has ignore on joins/quits from everyone, and nicks on some people who keep dropping out and auto rename07:56
mlankhorstok now to figure out how to add version to libgallium08:11
tjaaltonno need08:11
tjaaltonit's internal08:12
mlankhorstso is libdricore right?08:12
jcristauyes08:12
tjaaltonyeah but they added a version for some reason08:12
tjaaltonewll08:12
tjaalton*well08:12
tjaaltonthe reason was probably that you could have several of those installed, but this is strictly a packaging detail right now so I wouldn't bother :)08:13
* mlankhorst bets the symbols would still conflict, leaving fun issues to debug08:13
mlankhorstah well I'll leave it the same for now08:13
RAOFUpstream versioned it to make it easier on developers.08:15
tjaaltonlooks like I didn't have that messy commit when I built it locally :)08:15
tjaaltonmlankhorst: adding libgallium.so to .install.in means it'll fail on !x86 !armhf08:17
tjaaltonugh08:17
tjaaltonnow mixing things again08:17
mlankhorsttjaalton: oh right armel..08:17
tjaaltonor sth08:17
tjaaltonanyway, probably best to copy it in rules08:18
RAOFWe don't build libgallium on armel?08:19
tjaaltonprobably, was thinking of llvm again..08:19
mlankhorstI could upload to my armel ppa08:19
tjaaltonleave it as is, like it was before..08:20
tjaaltonmy bad :)08:20
mlankhorstah k08:20
tjaaltonso now only the libxatracker linking issues remain08:21
mlankhorstoh I didn't actually test if it ran or not08:21
mlankhorstjust if it built :p08:21
tjaaltonhehe08:21
tjaaltonneeds ati or nvidia hw then08:22
mlankhorstoh I know, lets netboot that thingy in precise again08:23
mlankhorstbtw other drivers will depend on libgallium.so.0 too08:23
jcristauwhich other gallium drivers are there?08:24
jcristaunot counting llvmpipe08:24
mlankhorstwell just simple grep, seems libgbm1, libxatracker1, and libegl1 might depend on it08:25
tjaaltonvmwgfx?08:25
jcristautjaalton: ah right.  but that's also x86 :)08:25
mlankhorstso maybe it needs a libgallium0 package..08:25
tjaaltonjcristau: oh, indeed08:26
tjaaltonmlankhorst: or just drop it, the space savings aren't that critical anymore08:26
jcristaumlankhorst: dunno about xatracker, but i would sure hope libegl doesn't link in gallium08:26
tjaaltonif it saves 20MB that's still peanuts08:26
mlankhorstlibegl1-mesa-drivers/usr/lib/x86_64-linux-gnu/egl/egl_gallium.so08:26
tjaaltonat this point anyway08:27
jcristauhrm08:27
tjaaltonif there's risk of breaking something then maybe leave it unenabled for now?08:27
mlankhorstwell lets quantify it08:28
* mlankhorst tries out both08:28
RAOFegl_gallium.so isn't totally necessary (although it *is* the only way to get OpenVG support)08:29
mlankhorstI'm just going to compare size08:29
mlankhorstbut would it be worth it trying to upstream it?08:34
tjaaltonnot if they have other plans (the monolithic dri.so?)08:34
mlankhorst$ du -sh ?ummy*08:35
mlankhorst39M     dummy08:35
mlankhorst233M    dummy208:35
mlankhorst45M     summy08:35
mlankhorst287M    summy208:35
mlankhorstblegh 6 mb08:35
mlankhorst2 contains all the -dev and -dbg files08:35
RAOFtjaalton: I don't think that rose to the level of a *plan* 08:36
tjaaltonRAOF: ok, so in that case it might be worth it :)08:36
RAOFThat was more “thanks for the dricore patch. I've always wanted to do something like that, but roll everything up into a monolithic dri.so”08:36
RAOFSo it's probably on the TODO list, just after “learn Portuguese”08:37
tjaaltonahh08:37
mlankhorstso do we keep the patch or..08:37
seb128tjaalton, mlankhorst: how much extra space are we talking about on the deb?08:38
tjaaltonkeep it, and ship with it if it works, but if there's risk of breaking something maybe spend some more time on it?08:38
mlankhorstseb128: 6 mb uncompressed if the entirety of mesa was shipped, so less than that08:38
seb128mlankhorst, how much on the deb? 6mb is quite some08:39
mlankhorstlet me test build one more time08:39
tjaaltontesting the xatracker link fail08:40
mlankhorstseb128: what debs do you mean specifically? I bet not all of them are shipped08:41
tjaaltonlibgl1-mesa-dri08:42
seb128mlankhorst, I'm trying to figure what would the impact on the CD to drop that optimisation, it was done for a reason ;-)08:42
RAOFI recall that it nabbed on the order of 10 MiB of CD space when I first did it; the gains may be less now that dricore is upstream.08:44
mlankhorstRAOF: probably, it's 5 mb saved uncompressed for just libgl1-mesa-dri08:45
mlankhorstbut yeah looks like libgl1-mesa-dri compresses well so it saves like 300 kb compressed..08:46
seb128well, the liveCD is not deb compressed, it's squashfs compressed I think08:47
seb128I guess we could try to drop that optimization and wait for the next daily iso and see the difference08:47
mlankhorstbut the total still rounds up to 1.4mb because the other parts need to compress parts of libgallium too08:49
mlankhorstsee http://paste.ubuntu.com/1160450/08:50
tjaaltonthe debs are xz-compressed now08:51
seb128tjaalton, deb compression doesn't matter for the liveCD, they do for the alternate08:52
RAOFWah! Nearly 7pm. Time to stop!08:52
tjaaltonseb128: i know, but while comparing deb sizes..08:52
mlankhorsttjaalton: same compression is used :) but I imagine squashfs compression might be different08:53
seb128tjaalton, mlankhorst, RAOF: well, your call at the end to see how much work it is and if you think it's worth it, CD space is still a limited resources and some mb can mean we need to drop support for a language spoken by some hundred of million of people08:53
mlankhorstI think we ought to measure it08:54
seb128so it's not like there was not a tradeoff08:54
mlankhorstcould I bug someone to master a cd with both debs to see the space difference?08:54
mlankhorstbut I'll post it on mesa-dev08:56
seb128mlankhorst, well the deb difference probably done a rough estimation, they are not compressed the same way but they are both compressed08:56
tjaaltonmlankhorst: duh, of course. i'll get me coat08:56
mlankhorsthm, suppose I should test first before posting it09:07
mlankhorstseb128: I think I'm going to try to get it upstream, if it gets accepted there we wouldn't need to keep it.09:15
seb128mlankhorst, that would be great09:16
tjaaltonyeah09:21
tjaalton-modesetting moved to main09:24
tjaaltonmeh, no success in getting xatracker linked properly09:32
tjaaltonlater ->09:32
UraniumSlugHey all, updated my nvidia drivers having xorg dependency issues.09:45
UraniumSlugAny one else done this too?09:45
mlankhorstUraniumSlug: it's done on purpose09:49
mlankhorstnew nvidia drivers claim to be compatible, but aren't..09:49
UraniumSlugmlankhorst, what's the work around?09:49
mlankhorstnot installing new x server :-)09:50
UraniumSlugI've tried using the xorg-edgers ppa nvidia-current package.09:50
UraniumSlugNot getting past the login screen with them though.09:50
mlankhorstyeah they just broke, no good fix right now, depends on new nvidia drivers09:50
mlankhorsttjaalton: hm glxgears spins09:51
mlankhorstand login screen comes up right09:51
UraniumSlugmlankhorst, thanks for the info, much appreciated.09:52
popeyhello Xers!09:55
popeyIs there any technical reason why we couldn't backport nvidia-current in quantal to precise?09:55
popeyI am told there are some compelling features (xrandr support) improved in the version in quantal09:56
mlankhorstpopey: I would imagine that would be for nvidia-current-updates, but no idea when that updates, we mostly deal with the things we can influence here :)10:05
popeymlankhorst, well, I'm asking because someone on the backports team wanted to know if there was a technical reason we shouldn't backport that driver, I don't know :)10:13
mlankhorstI don't know if there is any technical reason, but nvidia-current-updates would be the right place to put it, maybe bryceh or Sarvatt know10:22
popeyok10:24
popeyta10:24
mlankhorstpopey: but let me know, it would be useful when the quantal server works with nvidia so I could copy it to my q-lts-backports ppa :)10:36
RAOFpopey: nvidia-current-updates is the package deliberately designed to do post-release updates. I don't think we've ever managed to *do* one, but that's what its for :)10:52
popeyhah!10:52
mlankhorstRAOF: actually the version is newer10:52
mlankhorst295.40-0ubuntu1.1 vs 295.49-0ubuntu0.210:53
popeyis it a time/resource reason for not doing it, technical or some thing else?10:53
mlankhorstpopey: because not updating to newest and shiny all the time is more likely to keep systems running, or because we don't find it a high piority, pick one :)10:56
mlankhorstit's not 'oh new version, lets update' but more like 'things broke, is there a new version that fixes it?' :-)10:57
popeywell, the specific thing that prompted me asking is because colour profiling seems broken with the nvidia proprietary driver because it doesn't support xrandr 1.2 11:01
mlankhorstthen use that as justification for requesting an update :-)11:02
=== yofel_ is now known as yofel
popeywhats the process? file a bug?11:03
mlankhorstRAOF: is the process the same for the binary drivers?11:03
tjaaltonjust ask tseliot to update it?11:06
mlankhorsttseliot: ^11:06
tseliotyes?11:09
tseliotpopey: please file a bug report and feel free to assign it to me11:09
tseliot(against nvidia-graphics-drivers-updates)11:10
popeyok!11:10
mlankhorstyay for nvidia is not completely removed types of bugs..12:40
=== jibel__ is now known as jibel
=== Amaranthus is now known as Amaranth
brycehthanks tseliot 17:01
tseliot:)17:02
=== ogra__ is now known as ogra_
mlankhorstah great, my libgallium patch might get folded in to the patch for automaking whole of gallium :)17:48
Prf_JakobWouldn't it be better to just fold all the gallium drivers into a single binary.17:48
Prf_JakobEnable -fvisibility=false and get an even smaller total binary size.17:49
Prf_JakobAnd faster loading17:49
mlankhorstPrf_Jakob: in that case you might as well link everything into libGL completely17:52
Prf_Jakobmlankhorst: there is no real gain for that, since DRI driver only export on symbol.17:53
Prf_JakobAnd doing a mega classic dri driver might be harder.17:54
mlankhorstbut it won't help for vdpau and other gallium drivers that aren't dri :)17:54
Prf_JakobAt least mega dri drivers would be officially supported, the whole shared thing is hacky as hell since we have no formal ABI or promise of ABI over that boundry.17:55
mlankhorsttrue17:56
Prf_JakobLoading extra gallium drivers arn't that bad since they are relativly tiny 400-700k17:57
Prf_JakobAlso why you guys don't just upx all binaries I don't get.17:58
mlankhorstbecause it doesn't make the cd smaller :-)18:01
=== jussio1 is now known as jussi
=== jussi is now known as Guest83481
=== jibel_ is now known as jibel

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!