/srv/irclogs.ubuntu.com/2010/10/08/#ubuntu-x.txt

Sarvattkaay chromium dlopen's /usr/lib/libGL.so.1 apparently to work around a problem in the nvidia blob libGL, ours is in /usr/lib/foo/, there is no libgl dependency on the package, and libgl1-mesa-dri is a build dep?00:40
Sarvattguess we dont need the libgl dep anyway since it doesnt work :)00:41
RAOFWe need to work out whether we care that we're breaking the linux OpenGL ABI.00:50
bjsniderwhy does chromium need opengl?01:35
RAOFBecause it wants to do hardware accelerated graphics, I guess.01:52
RAOFAlso, WebGLâ„¢01:52
bjsniderthanks for the trademark01:53
bjsnideri was worried it wasn't trademarked but you have assuaged my fears01:53
* RAOF loves his gnome-keyring Do plugin.01:54
bjsniderso now al we need is a flawless opengl implementation on linux01:54
bjsnidershould be the case in about 300 years01:54
RAOFWebGL should work now, at least.01:55
bjsnidersomebody probably once said that about opengl02:16
RAOFAnd OpenGL works now*02:17
RAOF*: For some values of works :)02:17
bjsnideri could challenge that, but it's like shooting fish in a barrel, isn't it?02:19
bjsniderby the way, what is mesa up to now? opengl which version?02:20
RAOFMu02:20
RAOF(As in: the question is incorrect)02:21
bjsnider2.1 still?02:21
RAOFNo.02:21
RAOFRoughly speaking, somewhere between 2.0 and 402:21
bjsniderok, what's it up to on modern hardware that has a decent mesa driver?02:22
RAOFIt *claims* 2.1, but I don't think it fully supports all the 2.1 features.  Similarly, it supports 3.x features.02:22
bjsniderthat's probably not even enough qualifications02:22
RAOFAnd some GL 4.x features, too.02:23
bjsniderand that's mainy for the last intel chips before they started going to that closed-source company for hardware right?02:23
RAOFNo; that's for radeon (and to a lesser extent nouveau).02:25
RAOFAnd some features are basically driver independent.02:25
RAOF(Like the "use the ES 2.0 profile for GLSL on desktop GL" feature)02:26
bjsniderlet me ax you a specific question i've been wondering about02:26
bjsnideryou work with the nouveau guys right?02:27
bjsniderif you found a serious flaw in the nouveau driver, could you personally code in a solution?02:27
RAOFIt depends; I could probably fix a serious but shallow problem, but I don't have a good grasp of the deep.02:28
RAOF(That's something I plan to work on over the Natty timeframe)02:28
bjsniderwell, i'm not talking about the kinds of patches to the nvidia blob that kick around and change 3 linkes or whatever02:29
bjsnideri'm talking about something requiring significant changes02:29
bjsniderhundreds of lines02:29
RAOFAgain, it depends on the actual problem.02:30
RAOFLet's take, for example, my most recent kernel hacking: the Intel 965 resolution change wierdness.02:30
bjsnideri doubt you could. i doubt anyone could fix the kinds of problems i have in mind except the nouveau devs themselves02:30
bjsniderand in that sense, nouveau and nvidia are the same. we are depending in both cases on those developers and ONLY those developers to fix things FOR US02:31
RAOFWe *can* provide more useful bug reports for the nouveau developers.02:32
bjsnideri knew you'd say that02:32
RAOFWell, that's probably because it's true :)02:32
bjsniderdid you see those benchmarks on phoronix where nouveau is one third as fast as nvidia ont he same hardware?02:33
RAOFMan, that's pretty good.02:33
bjsniderwhat if i asked you to, in the natty timeframe, fix it so that the performance was even par?02:33
RAOFNo.02:33
bjsniderand who could do that?02:33
RAOFNvidia, given 2 years.02:33
RAOFThe performance of the nvidia driver has taken *hundreds* of full-time developers *years* to produce.02:34
RAOFThe free drivers are unlikely to reach performance parity with either the nvidia or fglrx blobs unless they become the development focus of the respective companies.02:34
bjsniderok, lemme rephrase: as fast as the theroetical limit of the gallium framework given what is known about nvidia hardware02:34
RAOFI don't know; "theoretical limit" is a bit problematic, because the gallium framework is basically mutable, *and* hasn't really seen a huge amount of profiling - if you found a serious bottleneck, you could fix it.02:38
bjsnideralright, further qualification: your subjective view of it's theoretical limit02:39
bjsniderthe question is, could you, RAOF, personally push the driver that far in the natty timeframe?02:39
RAOFNo.02:40
bjsnidercould anyone at canonical?02:40
RAOFI don't think *anyone* could.02:40
RAOFBut, no, I don't think there's anyone better for that at Canonical.02:40
bjsniderwell, the nouveau guys could if it was their only goal, leaving everything else aside02:41
bjsnideri suspect that's the same deal for all graphics drivers. so us normal regular users can't do much but bellyache about it: same as nvidia02:42
RAOFI don't think that's a useful metric, really.02:44
RAOFRegular users certainly *can* do things; and we've contributed code to the free drivers.02:44
bjsniderwell, nvidia has a bug reporting system too02:45
bjsniderit's not as transparent as launchpad though02:45
bjsniderbut it's there02:45
RAOFBut we can't contribute code.02:46
RAOFAnd I mean that in the most expansive sense of "we".02:47
bjsnideryou just said you couldn't contribute anything more than trivial changes02:47
bjsniderand if you can't, reguylar users can't either02:47
RAOFWell, there's a bit of a difference between "I probably can't fix the deep problems that you're thinking of *now*" and "can't contribute anything more than trivial changes".02:48
RAOFI'm not an expert in the internals of nouveau at the moment, but the thing about open-source is that I could *become* one.02:49
bjsniderhow hard would it be to become an experton nouveau's internals compared to, say, gnome-shell, which is javascript?02:50
RAOFMore difficult, certainly.02:50
bjsnider(i'm cheating, since js was chosen specifically to invite contributions)02:50
RAOF*Particularly* because there's no official documentation.02:50
RAOFIt's relatively much easier to pick up i915.02:51
bjsnideryeah, well i thought i read an article where the nouveau guys said they didn't need any since they'd reverse-engineered everything02:51
bjsniderdo a lot of non-intel people contribute to i915?02:52
RAOFYes.02:52
bjsniderto be fair though, that is not exactly on par with nvidia graphics hardware, is it?02:52
RAOFA fair number of non-AMD people contribute to radeon, too.02:53
bjsniderwhat about contributors who aren't being paid to do so?02:53
RAOFThere are a bunch.02:53
RAOFCertainly a couple.02:53
RAOFThe nice thing about documentation is egde cases.  Which sometimes the documentation doesn't contain anyway, but when it *does* contain them it's really, really nice.02:54
bjsnideredge cases?03:05
brycehbjsnider, edge case as in a chip model that has some unique feature or implements a feature in a weird way03:11
RAOFThings like the i965 resolution change bug: (sometimes!) when changing to a lower resolution, the display would go all wonky.03:12
RAOFPerusing the documentation, it turned out that the hardware cursor was required to have at least one pixel on the screen; when switching down, with the mouse in an area which was outside the new resolution, we'd have the cursor fully outside the new framebuffer.03:14
RAOFConstraining the cursor so that it remains on the framebuffer fixed this.03:15
RAOFAnd the bug would have been significantly more difficult to diagnose if I didn't have the documentation.03:15
RAOFWithout it, you're left with "it looks like the digital display looses sync sometimes when we decrese resolution with the mouse in a particular spot!?"03:16
bjsniderso all we need is the documentation, but nvidia can't release it because of nda's with other companies, and so we won't have it anyway03:22
RAOFWell, not all we need.03:22
RAOFIt *would* be helpful, but we also need manpower (which is easier to acquire with documentation, though)03:23
RAOFbryceh, Sarvatt: Do you think we can solve bug #636311 with a change in the conf-files?  I haven't quite figured out a way to distinguish the two different devices the keyboard shows up as.04:36
ubot4Launchpad bug 636311 in xserver-xorg-input-evdev (Ubuntu) (and 2 other projects) "Keyboard special keys interfere with mouse (affects: 12) (dups: 1) (heat: 68)" [High,Incomplete] https://launchpad.net/bugs/63631104:36
RAOFOh, hm.  That could be done in udev, by not tagging the second device with IS_KEYBOARD.04:38
=== ara__ is now known as ara
Sarvattthe SUSE xserver crash handler is so nice - https://bugs.freedesktop.org/attachment.cgi?id=3928518:06
jcristauis that the patches emmes just sent?18:10
jcristaulooks impressive18:10
Sarvattoh wow they sent it upstream?18:10
Sarvatti saw it about 6 months ago in their source packages, was meaning to try to get it going on our stuff18:11
jcristau14193 N   Fri 08/10/2010 18:25+0200 Matthias Hopf      (1.5K) [PATCH] Create reasonable backtraces via gdb automatically18:11
Sarvattyeah thats the same thing though18:11
=== ara__ is now known as ara
=== ara__ is now known as ara
cndSarvatt, do you know where the debian packaging for xinput is maintained?21:00
cndI can't find it on git.debian.org21:01
Sarvattjcristau does it outside of pkg-xorg21:01
Sarvattone sec21:01
Sarvattthe full list takes awhile to load on this netbook :)21:01
Sarvatthttp://git.debian.org/?p=users/jcristau/xinput.git;a=summary21:01
cndahh, ok21:02
cndthanks!21:02
cndSarvatt, is there a way to tell auto-xorg-git where that repo is?21:04
cndit seems confused :)21:04
Sarvattyeah it doesnt work for things outside of pkg-xorg :(21:05
cndok, I'll hack it up so it does21:05
cnd:)21:05
jcristaui should probably get that into pkg-xorg.22:55
=== yofel_ is now known as yofel

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