/srv/irclogs.ubuntu.com/2013/07/06/#kubuntu-devel.txt

=== Guest16260 is now known as felipe_
* yofel is fairly certain now that kubuntu_42_fix_icon_themes.diff in qt4-x11 is what causes those BadWindows00:06
yofelmore debugging tomorrow00:06
yofelok, one more thing before I go to bed: The X errors are caused by kile and have been there already, but that patch seems to pull KDE apps into a gtk context where those errors are fatal, in kde they're not unless KDE_FATAL_X_ERROR is set00:49
apacheloggeryofel: the world is cruel like that01:06
apacheloggeryofel: also there appeared a gdk error thread on kde-core-devel today01:07
apacheloggerwill recover kubotu tomorrow01:07
apacheloggerENOKEYS01:07
apacheloggeryofel: upstream reports are to like 95% related to ubuntu01:09
apachelogger(the other 5% are listed as source compiled, which of course does not say much about qt...)01:09
apacheloggerso I'll pretty much agree that it is a patch that is causing it01:10
apachelogger-> bed01:10
smartboyhwThe first PM I received today is a stranger directing foul languages at me:O02:04
manchickenJontheEchidna: Hey man, I'm on. Are you on?03:35
JontheEchidnamanchicken: for a little bit, yup03:35
manchickenJontheEchidna: So I added some debug code into what I believe dbus is calling from the libqapt03:35
manchickenbool WorkerDaemon::writeFileToDisk(const QString &contents, const QString &path)03:36
manchickenThat one.03:36
JontheEchidnauh huh03:36
manchickenI added some qDebug() prints and they're not coming up, so I'm thinking that the dbus calls aren't happening.03:36
manchickenUnless dbus calls end up in a different place :)03:37
JontheEchidnaThat is indeed what should end up being called03:37
manchickenI didn't think linking kdebug stuff in was worth the trouble since you didn't have it linking in.03:37
JontheEchidnaheh, yeah03:37
manchickenSo I'm wondering if you have a moment to help me troubleshoot this.03:38
JontheEchidnaI do03:38
JontheEchidnaI'm wondering if qaptworker2 ever gets started03:38
manchickenHow do I test for that?03:38
JontheEchidnatop maybe? It should come up in the process list when you call a function in libqapt that requires the worker daemon03:39
JontheEchidnadbus starts it automatically when the dbus call is made03:39
manchickenLet me put htop up and see if I can watch it in my chroot while it's running.03:40
manchickenI think it's very possible that I'm just missing something in my chroot.03:41
JontheEchidnaprobably. the issue you're having seems to be a very... fundamental error, heh03:41
manchickenYeah... so I htop while the program is running and I don't see qaptworker2 going at all.03:42
manchickenDo you know which package it's in?03:43
JontheEchidnamanchicken: libqapt2-runtime03:44
JontheEchidnamanchicken: though it should be installed if you're running libqapt git03:44
manchickenOkay, I do have it installed, but it's not running.03:44
JontheEchidnaIt could  be that the dbus service file isn't being installed in a place where the chroot's dbus can see it03:45
manchickenI think I saw a build warning about that, let me rebuild libqapt and see if that pops out.03:45
JontheEchidnaorg.kubuntu.qaptworker2.service is the file03:46
manchickenSo dbus is sort of an RPC service then?03:48
JontheEchidnayes, inter-process too03:48
JontheEchidnalike dcop back in the day03:48
manchickenWARNING: Installation prefix does not match PolicyKit install prefixes. You probably will need to move files installed in POLICY_FILES_INSTALL_DIR and by dbus_add_activation_system_service to the /usr prefix03:48
manchickenThat's what I get when I `cmake .` in the libapt source root.03:49
manchickenThe toplevel of the git repo03:49
JontheEchidnait seems that that's causing problems03:50
manchicken-- Up-to-date: /usr/local/share/dbus-1/system-services/org.kubuntu.qaptworker2.service03:50
manchickenSo I think this may be a polkit issue then/03:50
JontheEchidnaOn a live system it's in /usr/share/dbus-1/system-services/org.kubuntu.qaptworker2.service03:51
manchickenAh, so I need to get cmake not to use /usr/local then03:51
JontheEchidnaI live life on the edge and do qapt/muon development against my live system :P03:51
JontheEchidnaI always pass -DCMAKE_INSTALL_PREFIX=/usr to cmake at the top level03:53
manchickenYeah, it's going now.03:53
manchickenThat is living on the edge.03:53
JontheEchidnait's fairly safe. I can always fall back to apt-get if things get too horribly broken in Muon Land at any given time03:54
manchickenThat's true.03:54
manchickenI usually use aptitude anyway.03:55
ScottKmanchicken: You should use apt-get.  Things have changed while you were away and the apt resolver is generally considered better these days.03:56
JontheEchidnaDid they ever get MultiArch support sorted for aptitude?03:57
JontheEchidnaI assume they must have at least rudimentarily, since it's Debian's default package manager03:58
manchickenJontheEchidna: Fixed the prefix, killed polkit, restarted it and then ran again. Still won't write the file.04:00
JontheEchidna:(04:00
JontheEchidnamanchicken: I have to shuffle off to bed now; sorta getting up early tomorrow04:01
JontheEchidnahit me up tomorrow though if you're still having issues.04:02
manchickenJontheEchidna: No worries. I'll keep plugging away at it, I'm gonna be headed to bed in an hour or two myself.04:02
manchickenQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.04:03
manchickenI get that when I start /usr/lib/kde4/libexec/polkit-kde-authentication-agent-104:03
manchickenI'm gonna google04:04
manchickenI'm wondering if I need to start qdbus in some way before I fire this off. I wonder if my chroot not having a full session is causing this.04:06
manchickenshadeslayer_: You around?04:14
manchickenThat's an interesting bug... when apt-get asks if you want to continue using fr localization, it says [O|n] instead of [Y|n]. If you type o for "oui," then it aborts. It wants 'y', even though it is acting in fr locale and even prompted for o/n.04:19
manchickenOkay, taking a crack at lxc, I'll see if that makes life easier :)04:27
manchickenJontheEchidna: I don't think this is it, I can't get this to play nice even in my normal box.04:50
manchickenI'm gonna head to bed. This isn't moving anywhere fast...04:51
manchickenLater.04:51
lordievaderGood morning.07:29
smartboyhwRiddell, ping10:07
BluesKajHiyas all10:24
soeegood morning10:51
BluesKaj'morning soee10:52
manchickenAnybody got an idea why a qDebug() call that I added to libqapt for debugging wouldn't be printing from the calling program? I'm wondering if there's something akin to kdebugdialog involved as well.12:22
manchickenJontheEchidna: This whole thing was totally my fault.13:13
=== Guest30692 is now known as skfini
tester56yofel: Adding "Option "TripleBuffer" "True"" and "Option "CoolBits" "1" " to /etc/X11/xorg.conf reduces Cpu consupmtion massively for me 16:49
tester56(under "Section "Device"")16:50
tester56if feel like trying out, I would be very happy if you could report back if it helps for you too!16:51
tester56yofel: Cpu consumption of kwin, as we talked about lately16:54
mikecbtester56: what driver are you running?16:55
tester56nvidia-325 16:55
tester56mikecb: are you experiencing the high cpu consumption too?16:56
mikecbkwin runs consistently at a few percent, but nothing to make the fans go crazy16:57
mikecbalso 325.0816:57
tester56mikecb: but much more than it used to be in kde 4.10 ?16:58
tester56mikecb: what vsync option are you using?16:58
mikecbdefault. I haven't added anything.16:58
tester56okay that should mean Automatic16:58
tester56mikecb, but can you confirm that there is higher cpu consumption than in kde 4.10?16:59
mikecbI don't know. I never really looked.17:00
tester56mikecb: play a video, do nothing else and watch top kwin cpu usage17:01
mikecbjumps to 30% on an old avi in dragon17:01
tester56mikecb: that means high17:02
mikecbyup17:02
mikecbwant me to try the tripbuf and coolbits and see if it does anything?17:02
tester56would be very nice as I am in talk with a kwin developer 17:03
tester56remember to restart x :D17:03
mikecbyup17:03
mikecbbrb17:05
tester56now try to watch the video again ... in my case kwin dropped to a third or less 17:08
mikecbyeah, now between 5-6%17:09
mikecbthat's excellent17:09
tester56thing is the developer i am in talk with does not yet know the reason of the problem17:10
tester56but it is nice for me to see the issue confirmed by someone else ... 17:10
tester56mikecb: thank you very much!17:11
mikecbyw. let me know if you need any logs or anything.17:11
tester56mikecb: are you a member of the kde mailing list?17:15
mikecbnope17:15
=== Quintasan_ is now known as Quintasan
yofeltester56: checking (I only have 319 though)17:35
tester56yofel: that should not matter, I had 319 until yesterday too17:36
yofeltester56: TripleBuffer seems to help, CoolBits has no noticible effect17:50
tester56yofel: is it significantly better for you?17:50
tester56yofel: thank you very much for testing btw.17:51
yofelwell, it is better in the sense that disabling VSync doesn't seem to change much now17:51
yofelit's hard to measure a ~5% difference17:52
tester56have you tried watching a video in idle?17:52
tester56and comparing cpu usage?17:52
tester56there is a second issue though: if you restart kwin, watch a video you will notice kwin cpu usage raising if you have vsync to reuse or full scene repaint17:53
tester56it will raise after a minute or so (sometimes even faster, despite doing nothin else but watching)17:54
yofelI have no idea what it was before, but now my kwin cpu usage while watching a movie is ~20%17:54
yofelwhich is a bit high indeed :/17:54
mikecbyofel: mine went from 30% without the options to 5% with17:55
tester56yofel: yeah ... what vsync option?17:55
yofelwell, here it's using ~20% with "Automatic" and "None", so that's not it17:56
tester56yofel: could you also check if it is raising for you during watching a video instantly after a kwin restart  (you need vblank reuse or full scene repaint)?17:56
yofelkwin restart? i.e. killing it?17:57
tester56kwin --replace & 17:57
yofelhm, now it's ~11%17:58
tester56yeah and raises after some time 17:59
tester56does it? (it shoudl remain constant then)18:00
yofeluh, it stayed at 11 for a while, now jumped to 18 and is staying there again18:03
yofelthis is with vblank reuse18:03
tester56yeah ... i am seeing the same issue18:04
yofeltester56: hm, this is not constant actually. it went from 11 to 18, then to 16, stayed for a while on 24, now it's on 11 again.18:10
yofelso I don't think it actually rises because of the video18:10
tester56are doing anything else during watching the video?18:10
tester56even moving the cursor has an impact18:10
tester56in my case it rises because of the video, as there is nothing else on my desktop and I am not even moving the cursor, just watching video and top18:11
yofelwell, I think the quassel notification when you pinged me had an effect18:11
yofelotherwise no18:11
yofelI now fetched my EeePC so I can write somewhere else ^^18:12
yofelok, now it's again on 18 - for no obvious reason18:12
tester56restarting kwin should show you the minimum again18:13
yofel1118:13
=== claydoh_ is now known as claydoh

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