/srv/irclogs.ubuntu.com/2016/03/29/#ubuntu-mir.txt

=== marcusto_ is now known as marcustomlinson
=== chihchun_afk is now known as chihchun
zzarrhello!10:29
zzarrif there is a Vulkan driver for a GPU, would that matter to MIR (could I get MIR running with the help of it in the future?)10:46
=== chihchun is now known as chihchun_afk
=== alan_g is now known as alan_g|lunch
suebtHey there, I'm trying to get kivy (https://kivy.org/) running on Ubuntu Touch. The Python stuff part is working but I have issues with SDL and (maybe) MIR. It would be super cool if you could look into this whether you have an idea what's causing the error.13:00
suebtSo, the program is starting and segfaulting when loading sdl13:01
anpok_sdl2 that is?13:01
suebtyes13:01
anpok_what sdl2 library are you using13:02
suebtCustom builds (SDL2-2.0.4)13:02
anpok_hm bschaeffer is not around13:02
suebtI tried with packaged versions as well.13:02
suebtBoth resulting to the same error13:02
anpok_he would know better.. the symptoms sound familiar13:03
suebtokay, thanks, I'll just drop some links to the logs in case they're useful?13:03
suebthttps://drive.google.com/folderview?id=0B4EyY4wSGSyjNWwzVGo1eHBUc1k&usp=sharing Here are some stack traces. "kivy_log" is the output from python.13:05
=== alan_g|lunch is now known as alan_g
greybacksuebt: hey, those are "syscall traces" - you used strace, right? That tool reports all the calls the app makes to the kernel. This doc shows how to get stacktraces: https://wiki.ubuntu.com/Backtrace which would help us more13:13
suebtgreyback: okay, thanks. Yes, those where strace logs. Here is a gdb log: https://drive.google.com/folderview?id=0B4EyY4wSGSyjMFhlRDh6V2NrNjg&usp=sharing13:19
suebtor better http://paste.ubuntu.com/15551628/13:20
greybacksuebt: ok, looking, it's not a useful backtrace, as you only have 2 frames of the stack. __GI_raise indicates an exception was thrown.13:21
suebthmm, is there anything I can do to provide more useful information about this?13:22
greybacksuebt: suggest you install the debug packages for mir, and libc6-dbg, and then try again13:22
suebtokay, libc6-dbg is installed. Will install mir debug packages13:23
greybacksuebt: in gdb, also do "catch throw" before running13:23
suebtokay, will do, thanks!13:23
greybackthank you13:23
suebtgreyback: can you possibly point me on which mir debug packages you mean?13:25
greybacksuebt: probably libmirclient9-dbgsym13:27
suebtgreyback okay, thanks, let's see...13:28
suebtHmm... it's not in vivid repos, is there a ppa for it?13:39
greybacksuebt: you probably need this: https://wiki.ubuntu.com/DebuggingProgramCrash#Non-built-in_debug_symbol_packages_.28.2A-dbgsym.2913:44
suebtgreyback: It throws a lot of "W: Failed to fetch ..." errors if I try this …13:51
greybacksuebt: can you pastebin me what you see and the commands you used?13:52
greybackand also the contents of /etc/apt/sources.list.d/ddebs.list13:53
suebtgreyback: This is what I did: http://paste.ubuntu.com/15551845/ and here is my  /etc/apt/sources.list.d/ddebs.list: http://paste.ubuntu.com/15551853/13:55
greybacksuebt: oh, you're working on the phone13:56
suebtyeah sure :)13:56
greybacksuebt: ok, I need to change the advice (sorry, I thought you were developing on your desktop)13:56
suebtoh np :)13:56
suebtI don't have mir on the desktop13:57
greybacksuebt: please edit the ddebs.list file to just contain this:13:57
greybackdeb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main/debug13:57
suebtokay13:57
suebt(I'm on rc-proposed tho, not sure if that changes something)13:57
greybackexplanation: the phone uses a PPA to deliver software newer than vivid (which is about a year old now). So you need a special place to find debug packages for that PPA (which is what I gave you)13:58
greybacksuebt: nah, perfect. Best place for developing13:59
suebtah okay :)13:59
suebtmeh it doesn't want to write to that file oO13:59
greybackI think you're nearly out of disk space too13:59
suebtyep xD14:00
suebtnano doesn't work properly ... Or is it normal i can't save that file?14:00
greybackare you root?14:01
suebtI am.14:01
greybackI suspect nano and "adb shell" don't work well together14:01
greybackthe return key seems to disappear14:02
suebtyeah, I'll move the file manually ...14:02
greybackdelete it and do14:02
greybackecho "deb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main/debug" | sudo tee -a /etc/apt/sources.list.d/ddebs.list14:02
suebtoh that would've been faster :)14:03
suebtdone14:03
greybacknow after apt update you should be able to find the mir debug packages14:04
suebtphablet@ubuntu-phablet:~/Documents$ sudo apt-cache policy libmirclient14:05
suebtE: Write error - write (28: No space left on device)14:05
suebtha /0\14:06
greybacksudo apt-get clean14:06
greybackmight help14:06
suebtdone, took a second to run :)14:07
suebtwill delete some picture14:07
suebt*s14:07
suebtmeh, still no space left14:08
suebtThink, I'd better do a clean reset, should I?14:08
greybacksuebt: from experience, you'll hit this again & again14:16
greybackyou'd be better developing in a chroot. Let me try find a link to a handy email14:17
suebtgreyback: Okay, that'd be super nice :)14:20
greybacksuebt: http://pastebin.ubuntu.com/15552039/14:24
greybackoh, "sagu" should be "sudo apt update"14:25
greybackoh, "sagy" should be "sudo apt install"14:25
suebtgreyback: really nice, thanks, I'll look into it. Just finish resetting my device up ...14:26
greybacksuebt: fixed: http://pastebin.ubuntu.com/15552049/14:26
greybackhttp://pastebin.ubuntu.com/15552056/14:26
greybackis better14:27
suebtgreyback: cool, I'm back (with a fresh ubuntu phone)!14:57
suebtSo this is to be setup on the phone?14:57
suebtI'll try14:57
greybacksuebt: let's see14:58
suebthah, need to enable developer mode first :)14:59
suebtwhut? "E: Write error - write (28: No space left on device)"15:05
suebtWhat does this "reset" actually do xD ... let me reflash15:05
=== dandrader is now known as dandrader|afk
camakozzarr, hi15:12
camakozzarr, do you have source access to the GPU driver you've mentioned?15:13
camakozzarr, you'd need to implement the Window System Integration extensions to be able to display15:14
camakoWSI extensions for Mir, that is... using the Mir client library.15:14
camakoWe have not officially published all the headers you'd need.15:15
camakoBut they are available in our dev trunk15:15
=== shuduo-afk is now known as shuduo
=== dandrader|afk is now known as dandrader
=== marcusto_ is now known as marcustomlinson
=== chihchunl is now known as chihchun
=== Stskeepz is now known as Stskeeps
=== attente_ is now known as attente
=== alan_g is now known as alan_g|EOD
suebtgreyback: had to go off for some time. "sudo apt install debootstrap" doesn't work, I assume I should add the universe repo?18:22
greybacksuebt: did you "apt update" first?18:23
suebtgreyback no, will try18:24
suebtgreyback: oh, it works now, thank you!18:25
greybacknp18:25
suebtgreyback: hhmm, I get "usermod -G sudo phablet" >> "usermod: user 'phablet' does not exist"18:40
suebt"sudo ./ch -r vivid-chroot/" >> "logname: no login name18:41
suebtlogname: no login name"18:41
greybacksuebt: what is the user of your chroot? "echo $USER"18:41
suebt"echo $USER root"18:41
suebt"echo $USER" >> "root"18:41
greybacksuebt: if you enter the chroot as not-root, i.e. remove the "-r" switch, what is the user?18:42
suebtstill root ...18:42
suebtwithout -r18:42
greybackoh, you were root when creating the chroot, weren't you?18:44
suebthmm yeah, cause of sudo?18:44
greybackeven before?18:45
suebt"echo $USER" > phablet -> outside of my chroot. At least now ...18:45
greybackok, that's good18:45
suebtDoes this matter?18:46
greybacknot hugely18:46
suebtit also says "mount: mount point /home/phablet/vivid-chroot//home/phablet does not exist"18:46
greybackI'm not sure what's gone wrong. debootstrap should know about the phablet user.18:48
suebtcan't I create it manuallyß18:49
suebt*?18:49
greybackyeah, you can18:49
greybackI just never have to18:49
greybackso I'm confused what is different18:50
suebtmaybe I did something wrong?18:50
* suebt double checks everything18:50
greybacksuebt: fyi, you can blow everything away by just deleting the $HOME/vivid-chroot directory18:51
suebtok18:51
suebtbut I think I did it exactly the same18:51
suebtlet me try again18:51
greybacksuebt: only difference I can think of is that usually I SSH into the device. I find adb shell sometimes causes me problems18:51
greybackbut the instructions I gave you are exactly those I follow18:52
suebtAh, okay, I can try to use ssh18:52
=== dandrader is now known as dandrader|afk
suebtadb seems to be the issue indeed! No errors via ssh, yet19:10
* suebt needs to go off for today soon tho, thanks for all your help, will continue tomorrow.19:10
=== dandrader|afk is now known as dandrader

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