/srv/irclogs.ubuntu.com/2011/12/22/#ubuntu-x.txt

cndbryceh, have you and RAOF looked into gtest?03:27
cndI'm looking at your unit tests for xrandr-utils03:27
RAOFWhich one is gtest?03:27
cndRAOF, google-test03:27
cndI'm in love with it03:27
RAOFAh, ok.  That one.03:27
cndjust thought I'd mention it03:27
RAOFI'm not really familiar with it.  What does it do to make you fall in love with it?03:27
cndit's based on c++, which means test environments, fixtures, and such can all be managed in a hierarchical way03:28
cndand you don't have to write a main() or register any test cases03:28
* RAOF sees that it's written in C++, which may result in madness.03:28
cndRAOF, you can check out xorg-gtest, which we posted to xorg-devel today03:29
RAOFHm.  How does automatic test-case detection work in a language with no introspection?03:29
cndwe're using it in utouch-frame03:29
cndRAOF, magic?03:29
RAOFAieee.03:29
cndRAOF, check out http://people.freedesktop.org/~cndougla/xorg-gtest/03:29
cndlook at the example03:30
cndthat's literally all you need to code if you want to have something that builds and tests03:30
cndthere's no other code that has to be written03:30
RAOFThat looks like something that could indeed be useful.03:31
RAOFWe should really get rid of the "need to be root" bit, there.03:31
cndRAOF, I don't think it's possible if you want to fire up an Xorg server03:32
RAOFIt should be possible with the dummy drivers, but it isn't at the moment.03:32
cndbecause any config file you specify must be in /etc/X11 or /usr/share/X11/xorg.conf.d, *unless* you are root03:32
cndyeah, that's true03:32
cndit still doesn't help us for the touch team because we need to use uinput to replay device events03:33
cndwhich requires root to interact with the kernel03:33
cndbut I'm not really suggesting that xorg-gtest would be worth your while as-is03:33
cndbecause the dummy video driver probably won't get you very far with xrandr03:34
cndbut gtest in general is going to be much better than rolling your own03:34
cndI was skeptical at how much better it could make my life, but I really love it after having developed tests and frameworks with it03:34
RAOFYeah, I'm a big fan of not rolling my own.03:35
RAOFActually, aren't there patches to enable xrandr on the dummy driver?03:36
cndI wouldn't know03:36
cndif there were, then xorg-gtest would be perfect :)03:36
RAOFThe documentation there also suggests that it can hook you up with an existing X11 server, which would be the next best thing.03:36
cndyeah03:36
cndby default when you run tests with --no-dummy-server it will use $DISPLAY03:37
cndand I suppose --no-dummy-server can be used when not root03:38
cndanyways, time to eat dinner and stop working!03:38
cndback tomorrow!03:38
RAOF:)03:41
brycehcnd, interesting.  I'm trying to keep xrandr-utils close to X standard practices; what I've got in there parallels the xserver test suite05:04
brycehI like C++ myself but know keithp is not a fan.05:04
brycehheya RAOF, btw I tossed the xrandr-utils patches up on xorg-devel@ a couple hours ago; thanks for your review earlier, I took out that perl test.05:06
RAOFbryceh: Sweet; I'll throw some reviewed-by tags your way.05:07
brycehRAOF, thanks!05:09
brycehI had another chance today to learn just how much git rebase kicks ass05:10
RAOFSometimes your own :)05:11
tjaaltonRAOF: cool, I'll give it a go today :)05:23
RAOFtjaalton: It seems to do weird things to wine; I'll be interested to see if you also notice that.05:24
tjaaltonafter going through the xmas shopping mayhem..05:24
tjaaltonah, does wine work on amd64 currently?05:24
RAOFYou can't install ia32-libs-multiarch, but equivs will let you install ia32-libs which will let you install wine.  Then it's just a matter of hunting down libfoo:i386 :)05:27
tjaaltonugh, ok05:35
brycehRAOF, I stuck the ppa on a radeon box.  Boots to the ubuntu logo, shows a mouse cursor, but no greeter06:11
RAOFHuh.  Odd.06:12
RAOFAnything interesting in the logs?06:12
brycehbryce@dorset:~$ apt-cache policy lightdm-gtk-greeter 06:12
brycehlightdm-gtk-greeter:06:12
bryceh  Installed: (none)06:12
bryceh  Candidate: 1.0.6-0ubuntu406:12
RAOFHeh.06:12
RAOFOh, no.  You're after unity-greeter rather than lightdm-gtk-greeter.06:12
brycehah right  $ apt-cache policy unity-greeter06:13
brycehunity-greeter:06:13
bryceh  Installed: 0.1.1-0ubuntu106:13
bryceh  Candidate: 0.1.1-0ubuntu106:13
brycehskimming through logs... nothing interesting so far06:14
cndbryceh, are you becoming a git convert?06:14
brycehroot@dorset:/var/log/lightdm# more x-0-greeter.log 06:14
bryceh(unity-greeter:1864): Gtk-WARNING **: cannot open display: :006:14
brycehah, potentially I had fglrx installed06:15
RAOFAh.  I haven't uploaded an fglrx to the ppa.06:15
brycehhmm, no evidence so far06:15
RAOFThere's a new -ati in there (I think); I may have bollocksed that up.06:16
brycehxserver-xorg-video-ati:06:20
bryceh  Installed: 1:6.14.99~git20111219.aacbd629-0ubuntu106:20
bryceh  Candidate: 1:6.14.99~git20111219.aacbd629-0ubuntu106:20
RAOFYeah, that's a newer snapshot than in the main archive.06:22
RAOFWhich should be fine.  :)06:23
brycehyeah it feels like X is basically ok, it's just the greeter is refusing to do its thing06:23
brycehactually when I restart lightdm I see a brief glimpse of my desktop06:24
brycehthen it comes back to a black screen with movable mouse cursor.06:25
brycehswitching to vt1 and back to vt7 gives me the console text with mouse cursor.  maybe something's not painting06:26
bryceh[  914.068497] lightdm[915]: segfault at aaaaaaae ip 08051ee8 sp bff44560 error 4 in lightdm[8048000+28000]06:26
bryceh[  914.070871] init: lightdm main process (915) killed by SEGV signal06:26
brycehooh06:26
brycehhmm that might be irrelevant though06:27
brycehroot@dorset:/var/log# ps aux | grep lightdm06:27
brycehroot      2684  0.0  0.1  40844  3540 ?        Ssl  22:24   0:00 lightdm06:27
brycehroot      2688  0.6  1.8  63240 38320 tty7     Ss+  22:24   0:01 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch06:27
brycehah the lightdm segfault occurs when restarting the service06:30
brycehDec 21 22:30:11 dorset kernel: [ 1274.512212] type=1400 audit(1324535411.385:27): apparmor="DENIED" operation="open" parent=1 profile="/usr/lib/telepathy/mission-control-5" name="/home/bryce/.cache/dconf/user" pid=3445 comm="mission-control" requested_mask="rwc" denied_mask="rwc" fsuid=1000 ouid=100006:31
brycehwonder if that's relevant06:31
RAOFThat's empathy being denied access to dconf; I should report that bug.06:35
RAOFIt does, however, indicate that you appear to have made it all the way through to your session.06:36
brycehyeah06:36
brycehthis is what is printed to syslog when I do a sudo service lightdm restart:06:36
brycehhttp://pastebin.ubuntu.com/778322/06:36
brycehintriguing... ppa-purge of the ppa results in working X session.06:38
brycehlet's try again06:38
brycehhmm, apport caught something... crash in "fts.py"06:41
brycehpart of zeitgeist06:41
brycehguess coincidental06:41
brycehlp #90766106:44
ubot4Launchpad bug 907661 in zeitgeist (Ubuntu) "fts.py crashed with DatabaseLockError in __init__(): Unable to get write lock on /home/bryce/.local/share/zeitgeist/bb.fts.index: already locked (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/90766106:44
cndRAOF, bryceh, fyi, I plan on pushing mt versions of xorg-server and evdev to the x-staging ppa tomorrow06:46
RAOFcnd: Awesomesauce.06:47
cndI was hoping keithp would pull Peter's mt branch today, but I can cherry-pick it as-is if he doesn't get to it06:47
cndmaybe I'll look into forward porting the qt multitouch patch after that :)06:48
cndanyways, bed time for me06:48
brycehcnd, sounds good06:48
brycehI'm running the ppa on a devoted test box, I can update and test whatever whenever06:49
brycehhmm this is weird, after ppa-purging and re-adding, it doesn't want to install the new X bits06:50
RAOFOh!  Are you trying to run Unity?  It still won't start without mt/gestures.06:50
brycehRAOF, heh ok that'd do it06:52
cndRAOF, that hasn't been fixed yet?06:55
brycehRAOF, ok, I assumed it just required the new input stack.  I take it cnd's upload tomorrow is required then?06:55
cndgrrr...06:55
cndbryceh, it's a unity bug06:56
brycehcnd, mm06:56
cndthere was a "fix" for it that was obviously wrong on further inspection06:56
cnda week ago I assigned it back to the original fixer, hoping they would resolve it06:56
brycehok, and I have auto-login enabled so it just logs me into unity automatically; presumably if I switch that off I could go into unity2d or classic06:56
cndmaybe they've been on vacation?06:56
brycehat least I've learned ppa-purge isn't reversible with apt-add-repository (as it probably should be)06:58
cndbryceh, https://bugs.launchpad.net/ubuntu/+source/unity/+bug/86070706:59
ubot4Launchpad bug 860707 in unity (Ubuntu) (and 1 other project) "Unity crashes when started in an environment without utouch support (affects: 58) (dups: 2) (heat: 270)" [High,Triaged]06:59
cndI might have to fix that myself06:59
* cnd tries to stay away from unity development06:59
brycehthey've probably all been repurposed into cloud developers or something07:00
brycehok yep switching to gnome classic (no effects) boots in fine07:01
tjaaltoncnd: btw, debian wants multitouch soon, so there's no need for our own upstream branches, could've used -experimental there07:30
tjaaltonbut it's no biggie07:30
tjaaltonoh unity still busted? maybe i won't test the ppa afterall :/07:37
brycehtjaalton, definitely busted08:29
brycehtjaalton, classic seems to work08:29
tjaaltonbryceh: yeah, i'll hold off then.. though it's just my laptop to break, hmm08:32
bryceh*nod*08:48
=== dzan|away is now known as dzan
FernandoMigueldamn.... my touchpad is a MESS14:55
cndtjaalton, were people getting upset about me pushing ubuntu specific packages?15:25
cndKiBi seems a bit miffed that I would do that15:25
tjaaltoncnd: yeah we discussed it on debian-x the other day, and told that we didn't know what their plans were and forgot to ask. no harm done :)15:50
cndI just chatted with him on #debian-x, I think he's ok once I mentioned this is a one-time, time-sensitive deal15:51
cndI'm trying to get things into the ppa before I go on vacation15:51
tjaaltonyeah he's cool15:51
tjaaltonSarvatt told him that we (you) were on a deadline15:51
cndI just pushed a fix for the utouch-unity crash: https://code.launchpad.net/~chasedouglas/unity/utouch-crash/+merge/8672716:21
cndhopefully it is reviewed and uploaded soon16:21
cndbut I don't know if it will be before the holiday break16:22
=== yofel_ is now known as yofel
FernandoMiguelrebooting seems to have fixed my touchpad probs.... for now17:10
cndI decided to create a unity package with a fix for the utouch issue17:30
cndafter I see that it builds, I'll push it to the staging ppa17:30
tjaaltoncnd: oh great, thanks18:11
cndit's now uploaded18:22
cndI haven't had a chance to test it yet18:22
cndI'm just now updating behemoth to precise18:22
cndbut it's a simple fix, so it should work18:22
tjaaltoncnd: hmm don't see unity on the ppa yet?19:43
cndtjaalton, it probably hasn't built yet19:43
tjaaltoncnd: ah, right..19:44
tjaaltonstart in 23min19:45
tjaaltoni can wait :)19:45
ricotzcnd, hi, you probably want to put fglrx in there too20:02
cndricotz, RAOF (and maybe others) are handling anything non-input related20:03
cndI don't really know about anything outside of input :)20:03
ricotzalright ;)20:03
tjaaltonricotz: the version in precise should already handle the new abi20:08
tjaaltonunless it needs a rebuild to fix the deps20:09
ricotztjaalton, yes, just a rebuild is needed20:10
ricotzbut an update would be nice too since there is a newer upstream20:10
ricotzsame goes for nvidia20:11
tjaaltontseliot will handle updates20:12
tjaaltonin january :)20:12
tjaaltonie. before those are pushed to precise20:12
ricotzalright20:13
=== dzan is now known as dzan|away
cndtjaalton, unity is built21:05
cndhave you had a chance to test?21:06
tjaaltoncnd: upgrading..21:07
cndtjaalton, there *may* be an issue with evdev in the ppa right now21:07
cndbut I think it should work if you aren't using a multitouch device21:08
cndit needs to be rebuilt after xorg-server is built in the ppa21:08
tjaaltonseems to work fine otherwise, but compiz takes all the cpu21:08
cndI get:21:10
cndXorg: symbol lookup error: /usr/lib/xorg/modules/input/evdev_drv.so: undefined symbol: InitTouchClassDeviceStruct21:10
cndwhich is what I expect21:10
tjaaltonhuh, works here21:11
tjaaltonunity-2d loads, apart from the dock21:13
cndok21:14
tjaaltonah, unity-2d-launcher taking 100% cpu :)21:18
RAOFtjaalton: Yeah, unity-2d-launcher *also* hates missing multitouch/gestures it seems :)21:18
tjaaltonat least the upgrade itself was rather uneventful21:19
RAOFricotz: There's already a build on nvidia-current in there; there will be fglrx & the rest of the drivers in there before they land in precise.21:20
ricotzRAOF, hi, yeah i figured that, just didnt know when it will be moved21:23
RAOFNot before Christmas :)21:26
ricotzyeah no more breaks for this year! :)21:34
cndonce evdev rebuilds in the ppa it should be all ready for testing22:32
cndand it should have multitouch for touchscreens22:32
cnd\o/22:32
brycehcnd, sweet, ping us once it's ready22:33
cndtjaalton, unity-2d probably crashes because qt's multitouch code is now incompatible with the upstream XI implementation22:53
cndI'll probably upload a new qt with the patch commented out22:53
tjaaltoni'll just wait for evdev though :)22:53
tjaaltonto build22:53
tjaaltonthough maybe I'll just check it in the morning22:59
tjaaltonoh, building..23:05
tjaaltoncnd: ok so the same still happens with these, will check in the morning if there's a new qt available :)23:27

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