jaeger | thanks for taking some time to look at it, I'll keep digging | 00:03 |
---|---|---|
tilman | maybe you should first use a profiler and see where the process is spending its cycles | 00:03 |
tilman | cd $kernelsrc/tools/perf && make | 00:04 |
tilman | and get a debug build for gnome-shell | 00:04 |
jaeger | hrmm... wonder if that's something I'll actually understand :D I guess it can't hurt to try | 00:05 |
tilman | (CFLAGS="-O0 -g", configure --enable-debug as a random guess, then pkgmk -ns -kw | 00:05 |
tilman | _then_ tweak your wrapper script to run: | 00:05 |
tilman | perf record /usr/bin/gnome-shell | 00:05 |
jaeger | Does the kernel's profiling support need to be enabled or is that only for profiling the kernel itself? | 00:06 |
tilman | the latter | 00:06 |
jaeger | ok | 00:06 |
tilman | running the shell for ~30s should suffice | 00:06 |
tilman | afterwards you can "perf report" to see what's up | 00:06 |
jaeger | thanks, I'll try that. Should be an interesting learning experience | 00:06 |
tilman | let me know if you need a little hand holding =) | 00:07 |
tilman | gonna crash now | 00:07 |
jaeger | will do, thanks! | 00:07 |
jaeger | take care | 00:07 |
*** BitPuffin has quit IRC | 00:16 | |
*** jdolan has quit IRC | 01:55 | |
*** tilman has quit IRC | 03:02 | |
*** tilman has joined #crux | 03:06 | |
*** jdolan has joined #crux | 03:13 | |
*** dkoby has joined #crux | 03:18 | |
*** mavrick61 has quit IRC | 03:34 | |
*** mavrick61 has joined #crux | 03:35 | |
*** BurnZeZ has quit IRC | 06:25 | |
*** BurnZeZ has joined #crux | 06:26 | |
*** c0ck4m0u53 has joined #crux | 07:52 | |
*** vee__ has joined #crux | 07:58 | |
xvee | hello everyone | 07:59 |
joacim | hey xvee | 08:36 |
joacim | you asked to see some of my stuff a few days ago | 08:36 |
joacim | still interested? | 08:36 |
nwe | good morning | 08:42 |
joacim | morning =) | 08:42 |
nwe | how are you guys? | 08:42 |
joacim | doing fine. a bit tired | 08:42 |
joacim | and you | 08:42 |
joacim | ? | 08:42 |
nwe | im fine, I have just eating some breakfast.. | 08:43 |
nwe | brb | 08:43 |
joacim | xvee: http://cl.ly/TBiR <- this contains gnome-mplayer and gmtk, but not gecko-mediaplayer | 08:44 |
joacim | I never made one for gecko-mediaplayer since I was trying to use webkit based browsers at the time, and it seemed like gecko-mediaplayer wanted gecko/firefox to build | 08:45 |
xvee | joacim: i want gecko-mediaplayer to get youtube to work | 08:57 |
xvee | i found this nifty little tool that forces html5 to play, but for some reason, wont without gecko-mediaplayer | 08:58 |
xvee | im trying to go as open source as possible, but flash is the only thing left thats really holding me back | 08:58 |
joacim | gecko-mediaplayer depends on gmtk anyways | 08:58 |
joacim | which my tarball contains | 08:59 |
xvee | are you on chrome or firefox by any chance? | 08:59 |
joacim | safari | 08:59 |
xvee | oh yea, you have a mac | 08:59 |
xvee | bah | 08:59 |
*** leetspete1 has quit IRC | 09:02 | |
*** darfo has quit IRC | 09:02 | |
*** nullmark has quit IRC | 09:02 | |
*** horrorStruck has quit IRC | 09:02 | |
*** sh4rm4 has quit IRC | 09:02 | |
*** jue has quit IRC | 09:02 | |
*** Romster has quit IRC | 09:02 | |
*** lowe has quit IRC | 09:02 | |
*** pips has quit IRC | 09:02 | |
*** mavrick61 has quit IRC | 09:02 | |
*** Amnesia has quit IRC | 09:02 | |
*** pitillo has quit IRC | 09:02 | |
*** c0ck4m0u53 has quit IRC | 09:02 | |
*** BurnZeZ has quit IRC | 09:02 | |
*** joacim has quit IRC | 09:03 | |
*** acrux_ has quit IRC | 09:03 | |
*** eregus has quit IRC | 09:03 | |
*** cosban- has quit IRC | 09:03 | |
*** cybin has quit IRC | 09:03 | |
*** abyxcos has quit IRC | 09:03 | |
*** nogagplz has quit IRC | 09:03 | |
*** cruxbot has quit IRC | 09:03 | |
*** kInOzAwA has quit IRC | 09:03 | |
*** Sleepy_Coder has quit IRC | 09:03 | |
*** prologic has quit IRC | 09:03 | |
*** jdolan has quit IRC | 09:03 | |
*** DaViruz has quit IRC | 09:03 | |
*** syncn_ has quit IRC | 09:03 | |
*** chris2 has quit IRC | 09:03 | |
*** cohan has quit IRC | 09:03 | |
*** c0x` has quit IRC | 09:03 | |
*** tilman has quit IRC | 09:03 | |
*** deus_ex has quit IRC | 09:03 | |
*** frinnst has quit IRC | 09:03 | |
*** rmull has quit IRC | 09:03 | |
*** jaeger has quit IRC | 09:03 | |
*** nrxtx has quit IRC | 09:03 | |
*** vee has joined #crux | 09:26 | |
*** dkoby has quit IRC | 09:30 | |
*** c0ck4m0u53 has joined #crux | 09:44 | |
*** pips has joined #crux | 09:44 | |
*** orbea has joined #crux | 09:44 | |
*** lowe has joined #crux | 09:44 | |
*** Romster has joined #crux | 09:44 | |
*** jue has joined #crux | 09:44 | |
*** dkoby has joined #crux | 09:44 | |
*** lennart has joined #crux | 09:44 | |
*** blueness has joined #crux | 09:44 | |
*** nrxtx has joined #crux | 09:44 | |
*** jaeger has joined #crux | 09:44 | |
*** sh4rm4 has joined #crux | 09:44 | |
*** horrorStruck has joined #crux | 09:44 | |
*** nullmark has joined #crux | 09:44 | |
*** darfo has joined #crux | 09:44 | |
*** eregus has joined #crux | 09:44 | |
*** acrux_ has joined #crux | 09:44 | |
*** cruxbot has joined #crux | 09:44 | |
*** prologic has joined #crux | 09:44 | |
*** Sleepy_Coder has joined #crux | 09:44 | |
*** kInOzAwA has joined #crux | 09:44 | |
*** cybin has joined #crux | 09:44 | |
*** cosban- has joined #crux | 09:44 | |
*** Lukc` has joined #crux | 09:44 | |
*** abyxcos has joined #crux | 09:44 | |
*** nogagplz has joined #crux | 09:44 | |
*** teK_ has joined #crux | 09:44 | |
*** c0x` has joined #crux | 09:44 | |
*** leetspete1 has joined #crux | 09:44 | |
*** cohan has joined #crux | 09:44 | |
*** heroux has joined #crux | 09:44 | |
*** chris2 has joined #crux | 09:44 | |
*** syncn_ has joined #crux | 09:44 | |
*** DaViruz has joined #crux | 09:44 | |
*** jdolan has joined #crux | 09:44 | |
*** pitillo has joined #crux | 09:44 | |
*** Amnesia has joined #crux | 09:44 | |
*** mavrick61 has joined #crux | 09:44 | |
*** joacim has joined #crux | 09:44 | |
*** BurnZeZ has joined #crux | 09:44 | |
*** tilman has joined #crux | 09:53 | |
*** deus_ex has joined #crux | 09:53 | |
*** frinnst has joined #crux | 09:53 | |
*** rmull has joined #crux | 09:53 | |
*** Rotwang has joined #crux | 10:10 | |
*** lowe has quit IRC | 10:52 | |
*** lowe has joined #crux | 10:52 | |
*** lowe has quit IRC | 10:53 | |
tilman | jaeger,frinnst: can you add --enable-glx-tls to xorg/mesa3d and compat32/mesa3d-32? that one makes dota2 work for me | 10:53 |
*** lowe has joined #crux | 10:53 | |
*** lowe has quit IRC | 10:54 | |
*** lowe has joined #crux | 10:54 | |
*** lowe has quit IRC | 10:54 | |
*** lowe has joined #crux | 10:55 | |
*** lowe has quit IRC | 10:55 | |
*** lowe has joined #crux | 10:56 | |
frinnst | yeah we need it for glamor too. | 13:09 |
frinnst | i'll add it to xorg | 13:09 |
cruxbot | [xorg.git/3.0]: mesa3d: build with --enable-glx-tls | 13:15 |
tilman | don't leave compat32 to bitrot plx | 13:17 |
frinnst | i dont commit to that repo, romster or jaeger will pick it up | 13:19 |
*** rauz has joined #crux | 13:33 | |
tilman | ok, thanks | 13:35 |
*** ileach has joined #crux | 14:04 | |
*** ileach has joined #crux | 14:06 | |
jaeger | tilman: any known side effects of enabling that? | 14:35 |
jaeger | tilman: I left perf report running overnight and it hasn't printed anything :/ | 14:36 |
tilman | jaeger: not that i know of | 14:37 |
tilman | perf report is just the user interface; it should show stuff instantly | 14:37 |
jaeger | that's kinda what I figured | 14:37 |
tilman | try "perf record less randomreadme" to learn how it works | 14:38 |
tilman | it will write the results file (perf.data by default, iirc) once the child process (here: less) exits | 14:38 |
jaeger | perhaps I'm missing some lib it needs to display | 14:38 |
jaeger | It did create perf.data | 14:38 |
*** acrux has joined #crux | 14:38 | |
tilman | jaeger: does it work with a trivial test case? | 14:47 |
jaeger | don't know yet, was trying to recompile it with TUI support. I'll test the trivial case first, makes more sense | 14:52 |
tilman | TUI not needed | 14:52 |
tilman | i like the basic interface better even | 14:52 |
jaeger | Ah, ok. Yeah, it worked fine, seems like | 14:53 |
jaeger | instant output | 14:53 |
tilman | how large is the perf.data from gnome-shell? | 14:53 |
jaeger | 5M | 14:54 |
jaeger | vs. 232K for the less test | 14:54 |
tilman | should be fine | 14:54 |
tilman | care to upload the 5M one? | 14:55 |
jaeger | sure | 14:55 |
jaeger | http://jaeger.morpheus.net/misc/perf.data.xz | 14:56 |
tilman | 403 | 14:56 |
jaeger | grrr, fuckin' scp | 14:56 |
jaeger | fixed | 14:56 |
tilman | ._o | 14:57 |
tilman | i've never seen that before | 14:57 |
jaeger | figures. :( | 14:57 |
jaeger | same result for you? | 14:57 |
tilman | it just sits there for me as well | 14:57 |
tilman | yes | 14:57 |
jaeger | I'll try generating a new one | 14:57 |
tilman | there's another thing you can try | 14:58 |
tilman | ignore the perf record stuff; just run gnome-shell | 14:58 |
tilman | and then run "perf top" | 14:58 |
tilman | that might give some clues to the problem itself | 14:59 |
jaeger | ok | 14:59 |
jaeger | interesting indeed. libglib-2.0.so.0.3800.2 jumps to the top of the list | 15:00 |
jaeger | with [kernel] and libpthread-2.16.so behind it | 15:01 |
tilman | you're interested in the names of the functions in gnome-shell that are at the top | 15:01 |
tilman | you should be able to zoom into gnome-shell | 15:01 |
prologic | got a port for the android-sdk-platform-tools in my repo if anyone's interested | 15:01 |
jaeger | gnome-shell isn't even listed... am I invoking perf top wrong? | 15:02 |
jaeger | it just shows a bunch of libraries and a few processes. htop, bash, perf, Xorg | 15:02 |
jaeger | I rebuilt gnome-shell with CFLAGS set to -O0 -g but it doesn't support --enable-debug in its configure script. I also did not strip it | 15:03 |
tilman | that should be fine :| | 15:05 |
jaeger | libgnome-shell.so popped up in the list but it's 0.00% | 15:06 |
jaeger | my perf top output doesn't look like what the perf wiki shows, wonder why | 15:08 |
tilman | i'm pretty sure the wiki is outdated | 15:08 |
jaeger | http://imgur.com/L6HlxAO <-- there's what it's displaying | 15:10 |
tilman | hum | 15:15 |
jaeger | It complains that it can't find a vmlinux file so kernel samples won't be resolved, is that the problem here? | 15:15 |
tilman | nope, since you're not interested in the kernel | 15:16 |
tilman | we only care about userspace processes | 15:16 |
jaeger | ok | 15:16 |
jaeger | dso: gnome-shell.orig (/usr/bin/gnome-shell.orig, Functions, NOT loaded, 0000000000000000000000000000000000000000) | 15:22 |
*** dkoby has quit IRC | 15:24 | |
jaeger | also interesting: results are different when running perf record as root and via sudo | 15:31 |
jaeger | good to know | 15:31 |
jaeger | well, slightly different. still not much info | 15:32 |
*** BitPuffin has joined #crux | 15:49 | |
Rotwang | hai hai | 15:56 |
tilman | jaeger: sorry, no ida | 16:13 |
jaeger | tilman: no worries, thanks for trying to help :) | 16:16 |
*** sh4rm4 has quit IRC | 16:27 | |
*** sh4rm4 has joined #crux | 16:36 | |
cruxbot | [compat-32.git/3.0]: mesa3d-32: build with --enable-glx-tls | 17:23 |
*** Rotwang has quit IRC | 17:25 | |
*** xvee has joined #crux | 19:53 | |
xvee | hi everyone. would someone be willing to test something out for me? if you have chrome or firefox, you can install grease monkey addon and add the following script: http://userscripts.org/scripts/show/87011 . if you go to youtube, you can change the default player which is set to auto to html5. can you let me know if it plays for you? | 19:55 |
*** c0ck4m0u53 has quit IRC | 20:35 | |
*** xvee has quit IRC | 20:58 | |
*** Rotwang has joined #crux | 21:53 | |
*** xvee has joined #crux | 22:28 | |
*** BitPuffin has quit IRC | 22:30 | |
nrxtx | xvee: long time for an answer was on holiday :D -> did not try bumblebee with the open source drivers | 23:05 |
xvee | nrxtx: ha its okay. i figured holidays and all, no too many people would be active | 23:14 |
nrxtx | xvee: what i still did not test is first optimus support in official binary drivers: http://us.download.nvidia.com/XFree86/Linux-x86/331.20/README/randr14.html | 23:29 |
xvee | once i get my computer back, i might give it a look see. | 23:36 |
*** xvee has quit IRC | 23:50 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!