[00:00] kais58: gnome-session-save --logout :) [00:00] (Unity *is* a GNOME session ☺) [00:01] but does it report as gnome or unity in $DESKTOP_SESSION? [00:03] ok, thanks theres something else wrong with this script then [00:04] oh, and another thing, is it possible to lock the menu bar? [00:09] * RAOF is not sure what you mean by “menu bar” [00:09] how to get the menus on the panel ? [00:09] hicham: As in the global menu bar? [00:10] RAOF: show the menu bar on the panel [00:10] RAOF: yes [00:10] RAOF: how do I enable that ? [00:10] the thing on the left that slides out [00:11] kais58: That's referred to as “the launcher”, and you can change its autohide behaviour in CompizConfig Settings Manager - look for the Unity plugin. [00:11] RAOF: I installed indicator-application, but no go [00:12] hicham: From memory, you need a GTK patch to enable the functionality, have a GTK module loaded to actually export the menus, and then there's something like a unity-panel-service on the other end to draw them in unity. [00:13] RAOF: where can I find that patch ? [00:13] In Ubuntu's GTK packages, certainly; I'm not sure where else. [00:14] so only gtk software can draw the menu on the panel ? [00:18] hicham: No, I believe Qt can too. [00:18] hicham: I don't think athena apps can, though :) [00:19] RAOF: are you a unity dev ? [00:19] No. [02:29] Greetings, I think I have discovered a way to make compiz crash like crazy... [02:30] Opening ccsm: Window Decorations [02:30] Submit a bug report. [02:30] sure ^_^ [02:32] just enable/disable Window Decorations ? [02:35] There's a known crasher when enabling or disabling plugins with the Unity plugin loaded (that's really annoying!) [02:35] no, I was explaining but yes, a bug report is more reasonable [02:36] so I'll report a bug (what was I thinking :$) [02:38] RAOF, heya. I just wanted to let you know; since upgrading yesterday to the latest everything, the compiz hanging in __poll problem has got a lot, lot worse -- compiz has hung, needing killing, fourteen times today so far :( [02:39] !!! [02:40] yeah. It's, shall we say, quite annoying :) [02:40] aquarius: :(. DBO worked around one extremely common manifestation of that bug. [02:40] it *seems* to be related to new windows opening, or chromium, or both, but I don't have any real evidence for that [02:41] Well, I'm gdb-ing both sides of the compiz/X connection; hopefully that'll provide a useful pointer. [02:41] The testcases that I've tried to build haven't managed to reproduce the problem so far. [02:42] cool. I was in two minds about whether to mention it, since I don't have anything useful to add other than just to be whiny about it, but I thought you might want to know :) === yofel_ is now known as yofel [03:02] RAOF, howdy [03:03] DBO: Hey, ho. Sigh. [03:03] i am not a ho [03:04] RAOF, any luck? [03:18] DBO: Appologies. The OOM killer decided to wander in. [03:18] its okay [03:18] so, any luck? [03:19] DBO: Not just yet, sorry. [03:19] GAH! Stupid damned “value optimized out” [03:20] cant you compile it to not do that? [03:20] -O0 [03:36] RAOF, do you have any theories? [03:41] My current theory is that (one of) compiz's Xserver client is being throttled by the server, possibly pending a reply on one of compiz' other clients. [03:42] why would the server throttle compiz? [03:42] Compiz does a bunch of DRI2 stuff that results in a client getting throttled. [03:42] As in: by *design* a bunch of the DRI2 calls throttle the client until $CONDITION. [03:42] Things like DRI2WaitMSC, for example. [03:43] But! That should only effect that particular connection, not compiz' other connections. [03:44] well are we sure the hang happens on non-compiz connections? [03:44] As in: on compiz' gtk connection? [03:44] yeah [03:45] how do you know which connection is what? [03:45] By the magic of printf "Connection: %p",dpy :) [03:46] But you're right; that doesn't make it clear whether it's GTK's connection or not. [03:46] But I believe maximise hang *was* gtk's connection, because it was going through gdk_do_stuff. [03:46] yeah but how many connections were you seeing [03:47] I hear rumors that gtk actually grabs the "default connection" [03:47] which I didn't even know what possible [03:47] Oh. [03:47] I was *seeing* 2 connections. [03:48] you were only ever seeing 2 connections? [03:48] i mean the compiz one should be easy to spot [03:48] it does fuckloads of stuff [03:49] Right. [03:49] I was only checking in the Undecorate() case, so I could have missed one of the connections. [03:52] ah [03:56] RAOF, is it possible that the dri2 call throttles ALL x calls until some other call is made? [03:59] A quick bit of gdberry says: yes, compiz has at least 3 display connections. [04:00] DBO: Yes and no. It *does* throttle all X calls *made by that client* , but compiz has 3 distinct clients happening. [04:01] (One X client per X connection) [04:02] well thats weird [04:03] That's not exactly been an uncommon phrase :) [04:08] RAOF, look if you have managed to find internet in the sunken continent of Australia, I am sure you can find this bug :) [04:08] Yeah. Let's play ‘watch the X server and compiz at the same time to match up display connections!’ [04:09] This will be *fun*! [04:09] this is a team activity [04:09] we need to get this up on a projector [04:09] and then do it that way :P [04:10] Can anyone running compiz/unity test amsn? Another user showed it crashes compiz on opensuse 11.4 and it happens here too on maverick [04:11] It crashes compiz, then after restarting compiz, the windows are the smallest they can be, like a vertical line the height of the decorator [04:11] Here is his backtrace http://pastebin.com/Q64yxcdC [04:12] And the one I get here http://sprunge.us/YURQ [04:13] * RAOF breaks out the notepad to keep track of display connections. [04:13] I was wondering if there's any other apps that use wish to test with, but I couldn't google it because 'wish' is a really bad name for a program :P [04:14] Does this happen on natty too? (I'm about to test) [04:28] Wow. How many connections does compiz actually open! [04:38] RAOF, i dont know [04:38] should be 1 [04:38] then 1 for nux [04:38] then 1 for gdk [04:39] Starting compiz seems to cause about 8 connections to be opened. I'm not sure where :) [04:39] really... [04:39] are you check to see if some of them dont quickly die? [04:44] Oh, some of them probably *do* quickly die. [04:44] I think you're right in that the compiz process calls XOpenDisplay 3 times. [04:47] Bah. Maybe some tea will make this less annoying. [04:48] For comparison: starting gnome-screensaver-preferences results in 7 calls to AllocNewConnection :) [04:50] O_o [04:50] so at that rate we should be able to open *counts* 24 applications [05:09] RAOF, do X connections even communicate their parent process? [05:09] RAOF, can X tell that one app opened multiple X connections? [05:10] DBO: It can, I think, but it currently doesn't. [05:10] It would make it easier if it did, because then I could just filter out all the connections which don't have compiz on the other end! [05:11] ha [05:13] Oh, would you believe it? Geis also opens a display connection. [05:13] wtf [05:13] why would it do that... [05:13] it has its own fd [05:14] so we are using 4 of the 256 X connections [05:14] if every application starts using geis, each app uses 2 [05:14] so thats immediately down to what, 126 application instances? [05:14] god thats dumb [05:15] Yay (small) arbitrary limits! [05:15] Ok. Now I know all the connections on both sides: which Display in the compiz process corresponds to which Client in X. [05:16] awesome [05:19] Ok. So, as expected, Compiz' client is getting blocked all the time; each time it calls WaitMSC. [05:21] Man, it does that a lot. [05:23] At 60Hz, in fact :) [05:30] so, every draw [05:30] what does that clal do? [05:33] DBO - it's the ‘wait for vblank’ call. [05:34] oh [05:34] then yeah [05:34] that makes sense [05:34] It does indeed. [05:34] but that call should just block right? [05:34] From the X protocol side of things - no. [05:34] I'm not sure if libGL wraps it so it blocks. [05:35] It *will* block any further X commands, though. [05:35] i thought it blocked to be honest [05:35] libGL might turn it into a blocking request. [05:35] does disabling the sync to vblank fix the freeze for you? [05:36] that would disable that call [05:36] I don't know. However, I've got it to freeze in Undecorate again, and none of the clients are actually ignored, so it doesn't appear to be that. [05:37] does X actually send a reply back? [05:37] For WaitMSC? [05:39] Yes, but the reply is the current MSC data. [05:41] RAOF, no when it blocks [05:41] so it blocks in poll right [05:41] Right. [05:41] so does X actually send a reply back [05:42] Well, it doesn't appear to; it's blocked in poll :). I'm scooting through the X-side client to see what's what. [05:45] Hm. The gdk client has some input. [05:51] RAOF, so you are saying its gdk's fault [05:51] Sorry. The X server's client corresponding to gdk's Display has some input. I'm not sure if that's expected, though. [05:56] when it freezes? [05:58] Yeah. [06:02] could it be that xcb_wait_for_reply fails if there is already stuff n the queue??? [06:12] * DBO gives RAOF the keg of glory [06:21] Good. And, just to check, the all of compiz's clients *actually* have different fds :) [06:59] RAOF, do me a favor, when you call it quite today [06:59] if I am not online by that time (probably wont be considering time zones) [07:00] can you email me a quickie status report? [07:00] DBO: Certainly. [07:00] RAOF, nothing interesting yet? :( [07:01] Not apart from EVERYTHING SEEMS TO BE OK, GODDAMNIT. [07:01] I am wondering if its not possible to make XCB just gracefully fail [07:01] i mean its stupid to just poll forect [07:01] forever [07:03] That's a breaking ABI change, though. [07:03] What are appse going to do inresponse? [07:03] Mmmm, IRC lag. [07:03] every major call *already* has a fail condition [07:03] like XGetWindowProperty for instance [07:03] *can* fail [07:03] Apart from the bit where it DOESN'T WORK. [07:04] yeah this is fucked up [07:04] Hm. A… 3 minute IRC lag :) [07:04] That was from my other system. [07:04] O_o [07:04] RAOF, you'll fix it :) I have faith [07:04] and if you don't [07:04] well, thats what fire was made for [07:05] :) [07:05] A superior being such as myself has only one option: burn them. [07:05] actually we will just have to collect ever condition this happens in [07:05] and juggle which x connection gets used [07:05] OH! [07:05] To avoid the madness. Yah. [07:05] interesting fact I found [07:05] I forgot about this till now [07:05] might be relevant [07:06] we had a similar issue to this in nux once [07:06] basically what would happen is nux would lock up just like this [07:06] This does sound interesting, yes. [07:06] it calls XQueryKeymap or some shit when it processes events [07:06] so its all normal when it's just nux [07:07] but it started screwing up when we began processing events that came from compiz [07:07] after looking at it more, we determined that by using the Display provided by the XEvent, the locking stopped [07:07] no idea why [07:07] Yeah, that's going to be the same problem. [07:07] Or, probably is. [07:08] yeah [07:08] but it somehow has to do with using X calls from a different Display when compiz is processing events [07:08] the fix for the maximize issue was pretty simple [07:08] However - if you write a small testcase that does nothing but call XGetWindowProperty on Display x in response to PropertyNotify on Display y then you won't lock up. [07:08] all I did was make it use the compiz display [07:09] yes I imagine it must be somehow in response to what compiz is doing when processing events [07:09] Yeah. [07:11] okay I know I am just kinda throwing random shit out there right now [07:11] but lets assume for the moment that the issue is some X call compiz is making somewhere [07:11] the most logical thing to do is to slim down compiz *as much as possible* [07:11] so disable every plugin you can but still have unity running [07:11] then see if it still happens [07:12] you probably already did that [07:12] Actually, I didn't. [07:12] Because it crashes each time I want to disable a plugin :) [07:13] yes, start metacity [07:13] THEN do the plugin juggle [07:13] then restart compiz [07:14] RAOF, okay if I dont go to bed now i am going to be murdered by a small blonde woman [07:15] DBO: Go to your mistress! I can hold the fort here :) [07:15] while this would indeed be a net win for the world, it would be a decided net loss for me [07:30] good morning [08:01] Whaaargfl. You think you have identified some interesting behaviour, but then when you look it's gone away! [08:05] greetings everybody [08:11] good morning === daker_ is now known as daker === davidcalle_ is now known as davidcalle === zyga_ is now known as zyga [11:29] hi guys. in my natty installation, my laptops touchpad is mistaken for a touchscreen (absolute vs relative). how do i change this and how do i report this bug? === MacSlow is now known as MacSlow|lunch [12:59] njpatel: hi. I've a question: does unity update launcher's icons on-the-fly (i.e., if there have been changes on the desktop file)? [12:59] No, I don't believe that works this cycle [13:06] njpatel: ah, bummer. otherwise it would be really easy to create a little neat weather-checking application. [13:07] heh, indeed [13:08] danyR, it's probably a good feature to have if your interested in working on it [13:08] GFileMonitor makes it easier than you'd think it would be === MacSlow|lunch is now known as MacSlow [14:05] njpatel, Hi! do you think bug 722178 is bitesizeable? for your convenience see https://launchpadlibrarian.net/64772865/Screenshot.png the window title is being cut by the invisible systray, as the problem does not happen when skype is running. [14:05] Launchpad bug 722178 in unity (Ubuntu) "window's title does not fade in the right position" [Undecided,Confirmed] https://launchpad.net/bugs/722178 === API is now known as Guest27319 [14:05] om26er, yeah, bitesizable [14:06] thx [14:06] njpatel , om26er: isnt that by design? [14:06] or should that be even closer to the indicator? [14:06] vish, hmm no it is supposed to fade at the very end [14:06] I don't think the extra space is by design [14:06] ah! === Guest27319 is now known as apinheiro === jackneill is now known as Jackneill [14:42] ted, what's in your queue for releases today? [14:44] kenvandine, Still building that list, but for sure indicator-application, dbusmenu and indicator-datetime. [14:44] kenvandine, I think that there's a indicator-appmenu patch as well. === seb128_ is now known as seb128 [14:45] kenvandine, Lots of little fixes all over the place. [14:45] indicator-session has a g_error turning to g_warning, appmenu-gtk for the desktop menu race [15:19] good morning lamalex [15:19] hey om26er [15:19] how's it going [15:19] everything's great [15:21] lamalex, there are a lot of bugs like bug 752157 for AMD open-source driver, is it under someone's radar? [15:21] Launchpad bug 752157 in unity (Ubuntu) "graphical corruption in launcher" [Undecided,New] https://launchpad.net/bugs/752157 [15:21] for ref https://bugs.launchpad.net/unity/+bug/752157/+attachment/1986199/+files/corruption.png [15:21] this white corruption have been there from the inception of compiz unity iirc [15:27] om26er, i usually assign jaytaoko === jackneill is now known as Jackneill === clarita_ is now known as clarita [16:02] After 2 days of usage, Xorg is constantly taking ~25% cpu .. Everything feels slower (switching windows, gnome-terminal tabs, thunderbird messages...etc) .. Does this qualify as a bug of unity? === bregma is now known as bregma|away [16:38] Greetings [16:38] when I install an application manually to /opt/foo or whatever, how do I make it appear in Application lens? [16:41] there used to be menu editor... (which I noticed is still present, but has no effect...) [17:10] BigWhale: wild guess .. would creating a .desktop file for it help [17:14] woah! unity --reset really helps [17:56] kim0, probably, but where to put it? [18:03] Hi i relly like the new ui. the only thing i dont like about unity is where you have put the launcher. it would be way better if you would have made it like docky. best regards [18:07] I enabled magic lamp effect for minimizing in Unity, but it doesn't work. [18:07] Please help [18:07] Other effects do work however [18:08] like shadows for windows === daker is now known as daker_ [18:45] A question! How do I run something from Applications as root? AMD Control Center in this particular case. [18:46] BigWhale: gksudo before the application command [18:46] so it would be $ gksudo AMDWHATEVER [18:46] Uhm... Not from the terminal. I know how to do that... :) [18:47] I was thinking more of a CTRL+SHIFT+CLICK on the icon [18:47] BigWhale: edit the launcher properties :D [18:47] * BigWhale sighs. [18:47] I though so [18:47] I'll go file a feature request [18:48] BigWhale: in Unity? [18:48] yes [18:48] BigWhale: it would be more of a bug in AMD Control Center, because it does not run as root [18:48] not a bug in Unity [18:49] Uhm [18:49] what if I want to run nautilus as root? [18:49] not something that is advisable unless you know what you are doing ;) [18:50] Yes, I know that. [18:50] ie: should not be as easy as just ctrl+shift+click [18:50] making such things easy is a recipe for disaster [18:51] If there's a popup that tells you "YOU'RE GOING TO HELL ... etc etc" I see no reason why not ... [18:52] yea, a popup like that would be awesome. [18:54] It really is annoying sometimes that you HAVE to open terminal or fumble around with ALT-F2 and gksudo especially if you don't know the command name :) [18:54] mpt: not fair! you dint file this bug! » http://twitter.com/#!/mptbugs/status/58580035749167104 /me unfollows [18:55] vish, blame Launchpad, it's just syndicating http://feeds.launchpad.net/~mpt/latest-bugs.atom [18:55] ha! [18:57] almost always if something is wrong in Ubuntu, there will be LP to blame somewhere.. ;p [18:57] One of these decades, Nautilus will integrate PolicyKit for admin actions, so nobody ever wants to run Nautilus as root any more [18:58] Hmm, I wonder if this bug for dev build chromium is related to unity or not ... I can't drag tab from one window to another [19:00] One of these decades, file-managing will become redundant and we will have no use for Nautilus ;) [19:02] gord, Hi! will the fix to bug 741584 (targetted for next release) also fix 752727 or both a different ? [19:02] Launchpad bug 741584 in unity (Ubuntu) "Selecting a different lens should open it, instead of closing the current lens" [Medium,In progress] https://launchpad.net/bugs/741584 [19:02] bug 752727 [19:02] Launchpad bug 752727 in unity (Ubuntu) "Cannot switch to different dash modes once open" [Undecided,New] https://launchpad.net/bugs/752727 [19:21] loicm: hi, should your work on the ccsm plugin crasher already fix something? i'm at nux r330 and unity r1141 and still getting the crashes. === tedg_ is now known as tedg === bregma|away is now known as bregma [23:15] http://imgur.com/5xKUz.png there is a bug with prelight of application selected items [23:23] https://bugs.launchpad.net/ubuntu/+source/unity/+bug/761201 [23:23] Ubuntu bug 761201 in unity (Ubuntu) "prelight of items in dash" [Undecided,New] [23:24] the title and details are not well describe but the screenshot is clear (sorry ) [23:36] Funny, If I run an openGL game that switches to full screen AMD driver will display two big red boxes with number 1 and 2 on each of my monitors.