/srv/irclogs.ubuntu.com/2015/10/15/#ubuntu-touch.txt

=== ValicekB_ is now known as ValicekB
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== zhxt__ is now known as zhxt
jdstrandogra_: I'll look into it03:16
=== donna is now known as Guest8503
Guest8503hello there! Can I just ask about a bug on your great and new operating system?03:45
Guest8503after log in, running first time the desktop won't comes up. not even the arrow of the mouse. is there a hash tag for the issue?03:46
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
JamesTaitGood morning all; happy Thursday, and happy Conflict Resolution Day! 😃08:15
mcphailjamesh: Hi - are you around?08:41
jameshmcphail: hi08:41
mcphailjamesh: hi - I've been having trouble with mediascanner2 on my desktop. It is using up to 200% of my CPU and spamming 100's of thousands of lines of logs. Is there some way to tame it?08:42
jameshmcphail: I'd need a bit more info to go on.  What does it appear to be doing?08:43
jameshmcphail: and what version are you running?08:43
mcphailjamesh: 0.106+15.10.20150917-0ubuntu1 from wily. It is simply indexing. It never consumes less than 10%CPU (and firefox, for example, consumes 1--3%) but often spikes up to 150--200%08:45
mcphailNot good for a background service08:45
jameshmcphail: it should only be indexing ~/Music, ~/Videos, ~/Photos and any removable media you have loaded under /media08:45
mcphailjamesh: That may be the case, but it managed to spawn a 55MB 800000+ line log file in 2 hours, before I killed it08:46
mcphailjamesh: see my rant at http://irclogs.ubuntu.com/2015/10/14/%23ubuntu-app-devel.html08:47
jameshonce things are indexed, it should use no CPU (waiting on inotify watches)08:47
mcphailjamesh: well, it appears to be busy-waiting for some reason.08:47
mcphailjamesh: and consuming 200% CPU when active is pretty poor as well. I got fragged in CouterStrike :)08:48
ogra_omg08:49
mcphailogra_: yes - it was _that_ serious08:49
ogra_thats really bad indeed !08:49
ogra_play borderlands 2 next time, then a team mate can chime in at least :)08:49
mcphail:)08:49
* ogra_ alrefady sees the headline "mediascanner in ubuntu kills people !!!!1one!!"08:50
* Stskeeps submits to phoronix08:50
mcphailjamesh: my attached USB drive is a backup drive. Contains multiple hard-linked incremental backups of my whole library. Not sure mediascanner should be traversing removable media in the first place, tbh08:51
jameshmcphail: you can block it from scanning by placing a file called ".nomedia" in the directory08:52
jameshmcphail: we have it scan removable media so that e.g. you can see the music on an SD card when you plug it into the phone08:53
mcphailjamesh: yes, I can see the rationale on the phone. Byt scanning removable media by default is probably not optimal on the desktop08:54
mcphailjamesh: Is there any way to cut CPU usage? Batch sqlite writes or add some nanosleep()s to the code?08:55
jameshmcphail: as I said, the CPU usage will go down when it finishes scanning.  You can reduce the amount of files it will scan using one or more ".nomedia" files08:58
mcphailjamesh: I'm sorry, but I have to be honest and say it is a painful user experience. The default Ubuntu desktop indexer isn't capable of bringing my machine to a crawl. Mediascanner shouldn't either09:02
jameshmcphail: I agree that it shouldn't make the system unusable.  However you've given me very little to work with though: does the log indicate that it is just working its way through the files, or does it show errors?09:06
mcphailjamesh: the whole log is a bit large for me to post, but the output of "grep -i error mediacscanner-2.0.log" is at http://termbin.com/svzi09:10
jameshmcphail: those don't look out of the ordinary.  If you want to block the drive from being scanned, run "touch /media/neil/Seagate/.nomedia" (with sudo if needed), followed by "restart mediascanner-2.0" (not with sudo)09:13
mcphailOK, I'll use that for now. Cheers.09:15
popeyjamesh: any way we can reduce the io on ms2? It _murders_ my desktop on every boot.09:18
popeyTakes 10s to open a terminal if ms2 is running09:18
davmor2popey: maybe not 10 seconds but it really plays havoc trying to burn dvd's for testing09:20
popeyyes, 10s09:20
popeyit's _painful_09:21
jameshpopey: is your setup similar to mcphail's with it scanning removable media, or just a large music/video/photo collection?09:21
popeyjamesh: no. Just my desktop pc with some pictures/videos/photos in home09:22
popeyjamesh: "some" = all my family photos09:22
jameshpopey: okay.  Unless there is something weird going on, it should only be stating those files to check that they match what is already in the index (there is no way it can determine what has changed between when it was last shut down and when it starts up)09:25
jameshit shouldn't be reindexing anything09:25
popeyjamesh: want me to file a bug when I get home? any data I need to provide?09:26
davmor2popey: so 200GB of photo 2 TB of audio and 4TB of video right ;)09:27
jameshpopey: I guess a good test would be to wait for MS2 to be quiet, run "stop mediascanner-2.0", delete the log file ~/.cache/upstart/mediascanner-2.0.log, then "start mediascanner-2.0" and wait for it to calm down again09:28
jameshif it says it is rescanning anything, that would be worth looking into.09:29
Guest42341also it crashes a lot in wily update-notifier-crash-_var_crash__usr_bin_mediascanner-service-2.0.1000.crash.log.7.gz09:29
popeyjamesh: okay, will do when home, thanks.09:30
jameshGuest42341: we did have a crash related to invalid dates in MP3 files that was fixed back in June.  But appart from that we are still vulnerable to codec bugs09:31
jameshGuest42341: we try to recover and not rescan such problem files, but it is imperfect09:31
jameshI have an in-progress branch that would move the metadata extraction code out of process that I had to set aside due to other priorities.  I'll see if I can get time to finish it off09:32
Guest42341nice :D09:33
MirvQt 5.5.1 \o/10:17
Mirvannouncement 7 mins ago10:17
* Mirv spins up local builder machine10:17
davmor2Mirv: mad man10:17
nik90:P10:25
nik90Mirv: ping10:25
davmor2nik90: don't ping the mad man10:26
Mirvnik90: pong10:26
Mirv:)10:26
nik90Mirv: hey, am I right that QtUbuntu maintains downstream Qt fixes?10:27
nik90I was wondering if bug 1384739 is a suitable candidate for it10:27
ubot5`bug 1384739 in qtubuntu "Qt.locale().amText property does not work for English (Australia) locale" [Undecided,New] https://launchpad.net/bugs/138473910:27
Mirvnik90: no, qtubuntu is a Qt Mir module that is now actually upstreamed for Qt 5.6 / 5.710:27
nik90oh10:28
Mirvqtmir is too, I forget which one is the Mir client and which one is Mir server.. it's more obvious in the upstream naming10:28
Mirvnik90: so Qt patches are in respective modules, for example http://anonscm.debian.org/cgit/pkg-kde/qt/qtbase.git/log/?h=ubuntu10:28
* Mirv comes up with wget --quiet -O - http://download.qt.io/official_releases/qt/5.5/5.5.1/submodules/ | grep tar.xz | sed 's/.*href=\"\(.*tar.xz\)\".*/\1/' | sed 's%^%wget http://download.qt.io/official_releases/qt/5.5/5.5.1/submodules/%' >> fetch.sh && sh fetch.sh10:28
nik90Mirv: So do I report this bug upstream in QT bug trackers and wait for a fix in the upcoming releases? Or do we patch it downstream and push it upstream?10:29
nik90That said, I dont have experience to fix it myself10:29
Mirvnik90: the optimal way is the file upstream Qt bug, and LP bug for the same component so that we can backport a fix as soon as upstream has it in some future branch of theirs10:30
nik90ok. I will do that.10:30
Mirvnik90: we tend to wait so that there's an accepted upstream solution (merged to their dev branch), than we can patch it all the way to our stable 5.4.1 OTA updates10:30
Mirvnik90: thanks!10:30
mcphailjamesh: if it helps, I've uploaded some system profiling data taken for 1 minute when ms2 is "quiet" (i.e. 10--20% CPU): http://themcphails.uk/perf.data11:10
mcphailjamesh: you can read it with "perf report --sort comm,dso"11:11
jameshmcphail: that gives a 403 forbidden error.11:12
mcphailjamesh: sorry - try again11:12
jameshthat's better11:12
jameshmcphail: out of interest, was it writing anything to the log during this quiet period?11:13
mcphailjamesh: not sure - forgot to clear log just before running :(11:14
mcphailThere are a few unresolved symbols there, Is there a ddeb for ms2?11:15
mcphail...might get us better info11:16
jameshmcphail: they should be in the archive or PPA along with all the other ddebs11:20
mcphailjamesh: OK, I'll install them and try again later, as I'm sure the proper symbols will help. Need to feed the kids now :)11:21
mcphailACtually, that doesn't seem to give any more info. Suspect I'd need all the kernel sysmbols etc to flesh it out a bit11:40
=== alan_g is now known as alan_g|lunch
=== _salem is now known as salem_
=== zhxt is now known as zhxt_afk
=== dbarth_ is now known as dbarth
=== alan_g|lunch is now known as alan_g
zzarrIs this dealt with? http://news.softpedia.com/news/first-malicious-app-published-in-store-for-ubuntu-touch-494595.shtml?utm_content=bufferfa6d3&utm_medium=social&utm_source=plus.google.com&utm_campaign=buffer13:02
beunozzarr, it is13:02
beunoit was pulled from the store, all apps in the store were scanned for the vulnerability, the problem was patched so no new apps can get in with that exploit and a security fix is getting prepped to go out13:03
zzarrbeuno, nice, thanks13:04
zelleI have mako/ota6/pin-for-screenlock. When phone is locked, after swiping down top edge it is possible to (de)activate bluetooth and gps, also reading and responding to text msg received while phone is locked is possible in notification-tab in top edge. Is this intended?13:11
pmcgowanzelle, yes you can turn that off in the privacy settings13:12
zelleah, ok, thank you13:12
mcphailjamesh: MS2 seems to have calmed down now. Adding .nomedia to the backup drive has helped. Cheers13:38
mhall119oSoMoN: I finally caught console output on a browser crash, filed https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/150650814:58
ubot5`Ubuntu bug 1506508 in webbrowser-app (Ubuntu) "Browser crash on Wily, Unity 7 desktop" [Undecided,New]14:58
oSoMoNmhall119, thanks, are you getting a crash file? or can you get a stacktrack when running it under gdb?15:02
mhall119oSoMoN: I have a crash file, would you like it attached to the bug report?15:07
oSoMoNmhall119, yes please15:08
mhall119oSoMoN: should I mark the bug private, or is there nothing sensitive in teh crash report?15:08
oSoMoNmhall119, feel free to mark it private, we can always make it public again if it turns out that there is no sensitive data in it15:11
mhall119ok15:11
mhall119oSoMoN: I can't seem to upload an attachment at the moment, LP simply doesn't respond15:15
oSoMoNmhall119, can you send it to me by e-mail?15:25
jgdxseb128, you around?15:54
seb128jgdx, yes15:56
Stskeepsg #sailfishos15:56
=== BOHverkill_ is now known as BOHverkill
Stskeepser.. probably oddest place in the world to typo that, sorry, ignore me15:56
jgdxseb128, on the desktop, I get "online accounts no longer have access to <account>". What generates that?15:56
seb128jgdx, where do you get that?15:57
seb128when?15:57
jgdxseb128, immediately after login15:57
jgdxtop right corner15:57
jgdx:15:57
jgdxp15:57
=== dandrader is now known as dandrader|afk
seb128notification?15:59
jgdxseb128, yea15:59
besneattehi all... is there an irc client for uTouch?15:59
seb128jgdx, I'm not sure, mardy probably knows15:59
jgdxseb128, okay, thanks16:00
seb128something in the online accounts stack16:00
tathhubesneatte, terminal & ssh :P16:01
tathhu(i really don't know)16:01
besneattehaha16:01
besneattethat would certainly work :)16:02
besneatteI found a couple projects... ubuntu-irc and touch-irc...16:02
besneatteI am guessing that's about it? using bitchx or weechat through ssh is a great idea tathhu16:03
mcphailbesneatte: If anyone can help me package up node.js, I might be able to produce a working quassel app16:13
mcphail(the backend works but I need a UI)16:14
popeymcphail: isnt there a runtime of node you can package up?16:17
mcphailpopey: not sure. I don't really understand it, which is the main problem. ogra_ has an automatic packager for snappy16:21
besneatteI might be able to help with that16:21
* mcphail pricks up his ears16:21
ogra_you can surely try to use my script to create a click16:23
mcphailogra_: yes, I tried a while ago. But I needed different node.js and library versions. I don't really understand node or its package manager so gave up16:24
ogra_the plumbing will be different for click thouh ... snappy allows me to just use a shell wrapper, you would have to find some equivalent for click (it wont allow a shell script as main executable)16:24
mcphailogra_: click is quite happy with a shell script16:24
ogra_oh ?16:25
ogra_in the .desktop file ?16:25
ogra_i thoguoht that was denied16:25
ogra_or do you mean when shipping busybox inside the click16:25
mcphailogra_: nope - unless it has changed in the past couple of months16:25
mcphailogra_: yes - I either use busybox or xhip the gnu binaries16:26
mcphail*ship16:26
ogra_ah, right16:26
ogra_i tried to use the system shell once and that didnt work16:26
mcphailyou can use bash and any bash builtins16:26
mcphailbut anything fancier (like sed for example) must be bundled16:27
Sriram_Vadlamanihey17:08
Sriram_Vadlamanii am new here17:08
* Sriram_Vadlamani slaps aavit around a bit with a large fishbot17:09
=== alan_g is now known as alan_g|afk
tathhuCan I just flash Ubuntu on to my N7 on "top of" android6?18:32
dobeyno18:33
dobeytathhu: are you trying to dual boot, or just replace android?18:34
nhaines"on top of" seems to imply replacing it.18:34
tathhuyeah sorry, i need more coffee :D18:34
tathhuReplacing it, yes18:34
dobeytathhu: you need to flash android 4.4, boot into it, then reboot to bootloader, and then flash ubuntu with ubuntu-device-flash18:35
nhainesI haven't tested that yet.  (There's a chance the radio changed and might cause problems.  Although on a N7, maybe that's not an issue.)18:35
dobeythe kernel/recovery on the newer androids cause problems18:35
tathhudobey, thanks18:35
nhainesdobey: it seemed to work fine on a N7 with a dual boot with Android 5.1.1.18:36
nhainesBut if you're just replacing Android altogether, it'd be smarter to drop back down to 4.4. anyway.18:36
dobeynhaines: multirom works differently18:36
dobeyso yeah, multirom can work ok along 5.x at least18:36
dobeyat least, it works ok with stock recovery. i've seen people have issues with other recovery images flashed on18:37
tathhuNight stop hopping now, alltought battery life sucks on ubuntu18:38
tathhuOr maybe it was just stuff on 5.x:P18:38
tathhuOr LTE :F18:38
melesToday I had issues with my bluetooth so I restarted my BQ Aquarius E4.5 but it didn't come on again and now I'm not able to switch it on anymore. Battery was full and now its  plugged in but even the indicator Led stays off. Did anybody have this issue before or heard about it?18:38
nhainesBattery on my N7 is nice.18:45
tathhuI had tooo much battery drain while android lasts for days :(18:45
nhainesI find that my N5 doesn't last more than maybe two days in Android.  Been a very long time since I tried it in Ubuntu.18:47
tathhuWould be nice to have just wifi-N7 so I could use faster server :(18:52
melessolved the issue18:53
nhainesmeles: care to share how?18:58
bobloblianawe: sorry I didn't get a chance to ping you yesterday, but checking now to see if you found any info how I can find out of my inability to detect the cell networks is a hardware issue or a cell-network issue18:59
awebobloblian, I did spend some time looking at this yesterday, but unfortunately don't have any great news for you19:00
awebobloblian, my only suggestion at this point would be to see whether or not the other provider in your area works for you.19:00
awebobloblian, we're going to need to do more investigation with the modem vendor19:01
awebasically, there are four bands for GSM19:01
awethe US/CA use 850/1900, and Europe...most of the rest of the world use 900/180019:01
awethe krillin device is supposed to support all four19:02
awebut as it was originallly designed to be sold in Europe, my guess is that the internal fw is biased towards the Euro frequencies.19:02
aweI'm able to use it here in Boston, but it's far from *good*19:03
bobloblianhm.  well, I have already tried a sim card from the other provider, same deal, it doesn't detect any networks.19:03
bobloblianso does this mean that the phone may physically be able to detect the network, and a fw update may be coming in the future to fix the issue?19:04
aweno19:04
aweat this point there's no fw update, because we still don't fully understand the problem19:05
awequestion... how remote are you?  Are you in a city center, and if not, have you tried in an area with known strong signal?19:05
bobloblianI have walked to within 100 meters of the tower and tested it there, pretty sure it's not a signal strength issue19:06
aweas mentioned, even for me in Boston, 2g doesn't work very well.  It takes quite a long time for the phone to register, and some areas there's no 2g coverage at all19:06
awewow, you know where the towers are?19:07
awebobloblian, have you filed a bug?19:08
bobloblianyep, there are 4 of them, have been to 2 of them, the others are on mountain tops, would have gone but didn't see the point after the first two didnt' work19:08
bobloblianI haven't filed a bug because I want to determine if this is a software or hardware problem first19:08
bobloblianif the issue is that the phone won't physically scan, then I need to go back to bqa19:09
aweif it's a software problem, it's software that we're not able to modify19:09
bobloblians/bqa/bq/19:09
awealso re: the system settings and manual vs. auto-registration19:09
aweyour SIM card controls this19:10
=== dandrader|afk is now known as dandrader
bobloblianwhen I was at the store, we tried my sim card in an android phone and it worked fine, and we tried the sim card from the same phone in my phone, and it didn't scan...19:10
aweso it says "Mode=auto-only", then system settings won't try to list operators19:10
bobloblianthat sim card was from the other provider19:10
awedid it say "Searching" in the UI?19:11
awe( ie. the network indicator where the SIM cards are shown )19:11
bobloblianyes, goes from searching, to unregistered, every once in a while it says denied19:11
bobloblianwhere do I check the "Mode=auto-only" setting?19:12
bobloblianis that in list-modems?19:12
aweyes19:12
aweunder NetworkRegistration19:12
bobloblianI don't remmeber that, let me run it again...19:12
bobloblianunder networkRegistration mode=auto, status=searching19:14
bobloblianname=""19:14
bobloblianactuall name=19:15
bobloblianbut under gui I have it set to 2g only, not sure if that is relevant19:15
aweso is the "Carrier" field not greyed out on your phone under Cellular settings?19:16
awein theory, having it set to 2g only shouldn't make a difference.  That's all the phone is capable of19:17
awehave you installed any other non-std software on it?19:17
boblobliancorrect, I can select carrier, which brings me to another screen where I can tap carrier, there it spins for a few seconds, then leaves me with a checkmark beside automatically19:17
bobloblianphone is out of the box, got dekko and a few things installed, haven't enabled developer mode on it yet19:18
aweok19:18
aweif you select "Carrier", on that screen you should see "Carrier" and "APN"19:18
bobloblianyes19:18
boblobliancarrier shows "none"19:18
aweunfortunately, I don't have a SIM that allows me to specify manual registration19:19
awedoes the screen respond if you tap "none" ( ie. does it present you with any options? )19:19
aweas I understand it, there's supposed to be a control that allows you to select "auto" vs. a specific carrier19:20
awebut only if the SIM alllows it19:20
bobloblianthat is when I get the spinning circle for 4-20 seconds, then the checkmark beside the word automatically19:20
aweok, so it's probably because it's not picking up any carriers, and then falling back to auto19:20
bobloblianis the list-operators command supposed to show the list of networks that would be available?19:21
aweyes, but you said previously that it doesn't report any operators, just /ril_0 and /ril_119:22
boblobliancorrect19:22
awewhat's the other provider?19:23
awethe first provider you mentioned was ice wireless19:23
bobloblianthe other provider is bell19:23
bobloblianthere is another provider telus, but they carry on the same equipment, so same thing, just different billing address19:23
bobloblianthe bell equipment supports all the frequencies the phone does, on both 2g and 3g19:24
bobloblianso in theory, the phone should at least see those networks under list-operators19:24
bobloblianI guess my next step is to dig into the ofono docs and see if I can get some sort of debug info...19:26
awethere isn't any19:26
aweagain, network registration is handled by the modem fw19:26
bobloblianheh.  would explain why I haven't found it yet ;)19:26
awethe closest I've found is that there's a RF configuration mode19:27
awewhich may be used to pin the device to a particular set of frequencies19:27
aweunfortunately, the BQ device only supports 0 ( automatic ), 1 ( Europe ), and 3 ( Japan )19:27
aweso as I mentioned earlier, the only thing I can do now is to reach out to the modem vendor for more information19:28
awebut atm, there's not much more I can do to help...19:28
aweI checked Ice Wireless' site, and they only include 3g in their coverage map19:29
bobloblianyou have been more than helpful already, I think I already owe you a couple cases of beer...19:29
aweI know you mentioned an android device19:29
awehave you tried setting it to 2g19:30
aweand seeing how well it works?19:30
bobloblianhm, the android device isn't mine, it belonged to the guy who works at the store where I got my sim card19:30
* awe a couple of cases of canadian beer; damn, that would make my day19:30
* awe used to drive to Montreal for Molson Brador19:30
bobloblianBut I could go back down their and get them to try again19:30
awehmm19:31
aweok19:31
bobloblianwe canadians like our beer ;)19:31
awethat at least would give us an apples to apples comparison19:31
aweotherwise the android phone may have been operating on 3g19:31
awethis really could be a coverage issue with the 2g network19:31
bobloblianokay, I can probably get there later this afternoon, I will do that and ping you some time tomorrow to let you know how it went19:32
aweok, thanks much. If I learn anything more, I'll email you direct.  Was planning on doing that later today anyways...19:33
tathhu2015/10/15 21:54:21 Flashing version 2 from ubuntu-touch/vivid channel and server http://system-image.tasemnice.eu to device deb19:33
tathhu46.90 MB / 46.90 MB [=====================================] 100.00 % 67.01 KB/s19:33
tathhu144.37 MB / 335.05 MB [===>______] 43.09 % 63.68 KB/s 51145.26 MB / 335.05 MB [============================>______________________________________] 43.36 % 63.54 KB/s 50m58s19:33
tathhuhnng19:33
tathhuw00ps19:33
bobloblianexcellent.  Thanks again for looking into this, I really can't say how much I appreciate it19:33
ogra_tathhu, thanks for the ascii art :)19:34
nhainestathhu: you'll make it.  :)19:34
tathhuogra_, no problem :P19:35
ogra_:)19:36
tathhunhaines, yep, whatching counter-strike so this isn't real problem :P19:36
tathhu1min \o/20:16
tathhuhmm20:26
tathhufailed to enter recovery and it's on recovery...20:26
tathhuokay.jpg20:26
tathhurebooted and now it's pushng files \o/20:30
nhaines\o/20:30
tathhuWoops, vidid is.. like.. old. Anything more ota6'ish? :P20:51
=== curtness is now known as strahtw
=== dandrader is now known as dandrader|afk
nhainestathhu: you'll want to use the ubuntu-rtm/release or /14.04 branch or whatever it's called nowadays.21:25
=== dandrader|afk is now known as dandrader
tathhuthanks <321:30
tathhu1h download.. maybe tomorrow :P21:30
nhainesRemember to queue it up befor bed.  :)21:31
=== chihchun is now known as chihchun_afk
tathhuuhhhh now server seems to work, only 8min :P21:40
tathhumight do it while playing, rrrip21:40
=== salem_ is now known as _salem

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