/srv/irclogs.ubuntu.com/2015/12/29/#ubuntu-touch.txt

mukaok, ubuntu store started to work after reboot but when I enter 'terminal' in search input, the results do not show it.00:17
=== chihchun_afk is now known as chihchun
amazoniantoadIf I root my phone and then break it...how easily can I restore it to its former glory?03:35
lotuspsychjeamazoniantoad: using the recovery built-in?03:36
amazoniantoadlotuspsychje: I guess? It's an aquaris e5.03:36
lotuspsychjeamazoniantoad: system settings==> back to defaults03:37
amazoniantoadlotuspsychje: so pretty easily? My next question is...how can I root it? Google isn't being my friend. I need to emulate whatsapp03:37
lotuspsychjeamazoniantoad: there is a whatsapp webversion for touch, why do you wanna emulate?03:38
lotuspsychjeamazoniantoad: not a good idea to root the phone for security neither03:39
SFCcan ubuntu touch be used on touch screen lapyops to support the screen rotation features?06:47
lotuspsychjeSFC: ubuntu touch is not meant for laptops06:48
lotuspsychje!devices | SFC06:48
ubot5SFC: You can find the full list of devices, official images, community images, and works in progress at https://wiki.ubuntu.com/Touch/Devices06:48
lotuspsychjeSFC: use ubuntu desktop for tablets06:48
lotuspsychjeSFC: but devs are working on convergence, so who knows what will be possible in the near future06:49
SFChow would i get the screen rotation for a touch screen lapto to be aa usable feature in ubuntu06:49
lotuspsychjeSFC: for now, not yet06:50
SFCroger06:50
lotuspsychjeSFC: unless you port ubuntu touch specificly for your device06:50
SFCwould it work?06:50
lotuspsychjeSFC: but ubuntu desktop has touch support, so your device can run already but wihtout rotation06:51
lotuspsychjeSFC: if the port is succesfull, sure06:51
lotuspsychjeSFC: but its a hard job06:51
SFCi see06:52
lotuspsychjeSFC: or check the XDA forums if someone already has an existing project06:52
SFCi was just thinking it would be more user friendly when using touch screens to have the screen rotation06:53
lotuspsychjeSFC: for now its not possible yet on your device06:53
lotuspsychjeSFC: works like a charm on nexus7 though...06:54
SFCi have a feeeling it will be sooner or later06:54
lotuspsychjeSFC: yeah me too06:54
lotuspsychjeSFC: lets hope one day touch can be installed on every device :p06:54
SFCi like what they did with vlc where you can use the vlc --video-wallpaper command06:56
SFCand agrred to your last statement06:56
lotuspsychje:p06:56
lotuspsychjei run ubuntu already on all my devices06:57
lotuspsychjebq, nexus7, netbook,desktop06:57
SFCso there is a chance though if i port it say the tablet version06:57
SFCof ubuntu touch06:57
lotuspsychjeSFC: if your handy enough to do, sure look at the porting guide in topic06:58
SFCbetween me and my brother we could do it06:58
lotuspsychjeSFC: you would make a great deal for the community if succeed06:58
SFCwe both picked up computers back when windows 95 came out06:59
lotuspsychjeSFC: but keep in mind, wont be simple06:59
SFCand now that im out of the U.S. Army were both going to college for computers06:59
lotuspsychjebbl mate breakfast here07:00
=== shuduo_ is now known as shuduo
=== shuduo is now known as shuduo_afk
cmazieriajalkane: how are you?19:07
cchrissgood19:10
cchrissoops :D19:11
Clubuntuhello19:45
Clubuntuanyone has information on China Mobile N1 Max Maruko19:46
anpokClubuntu: oh thats the china mobile device?20:05
Clubuntubut it will be released officially as a device for convergence?20:06
simosxClubuntu, you can judge by the SoC whether it can do MHL or Slimport.20:09
Clubuntuand so who took Bq or meizu?20:10
k1lthe bq or meizu dont support convergence since the chip doesnt support it in that devices20:14
Clubuntuso I should sell my meizu just released the new device20:17
anpokClubuntu: hint: http://www.phoronix.com/scan.php?page=news_item&px=Aethercast-Ubuntu-WiDi20:23
anpoknot sure how latency will be..20:25
anpokbut in the end it means proper bluetooth support and flash size and ram size are the key features20:25
ClubuntuThank you, we hope you will be able to do something20:27
anpokmx4 display is actually that large that you only need a cardbox to head mount the mx4..20:29
Clubuntuthen look and see what happens20:33
BlackJohnnyhello, anyone knows an example on how to read the data of a GL handle/texture in a QML ubuntu-touch app? I cant get a valid GL context where I have access to the texture id ... I am trying some camera augmented reality20:37
tvossBlackJohnny, it's quite difficult to do low-level gl operations from within qml, unless you can express what you want to do in a shader20:40
tvossBlackJohnny, people usually do the heavy-lifting in C++, and provide qml bindings to their code20:40
BlackJohnnytvoss, I am using QML with C++ backend20:40
tvossBlackJohnny, ah okay20:41
BlackJohnnytvoss, on ubuntu alone i get a buffer that I can easily access however in ubuntu-touch i get a texture id ...20:41
tvossBlackJohnny, yup, camera data streams never hit main memory unless explicitly requested20:42
tvossBlackJohnny, on ubuntu touch, that is20:42
BlackJohnnytvoss, so there is a way to ask/configure for this? I am basically handling the preview/viewfinder20:43
tvossBlackJohnny, I think you want to take a look at: http://bazaar.launchpad.net/~phablet-team/qtubuntu-camera/stable/files/head:/src/20:43
BlackJohnnytvoss, thanks ... an example is "goldlike"20:43
BlackJohnny:)20:43
BlackJohnnytvoss, hmm I've been there before :)20:44
tvossBlackJohnny, http://bazaar.launchpad.net/~phablet-team/qtubuntu-camera/stable/view/head:/src/aalvideorenderercontrol.h and http://bazaar.launchpad.net/~phablet-team/qtubuntu-camera/stable/view/head:/src/aalvideorenderercontrol.cpp20:45
tvossBlackJohnny, I'm assuming you are familiar with http://doc.qt.io/qt-5/cameraoverview.html20:46
tvoss?20:46
BlackJohnnytvoss, the texture handling is done by some QT class ... dont remember exactly which one20:47
tvossBlackJohnny, okay, so what problem are you trying to solve then :) if you have the texture id, a glReadPixels would give you the raw pixel values in main memory (not that glReadPixels has a huge performance penalty, though)20:49
BlackJohnnytvoss, I dont get there because QOpenGLContext::currentContext() returns 020:51
BlackJohnnytvoss, maybe it is something i do wrong20:51
BlackJohnnytvoss, thanks20:51
tvossBlackJohnny, okay, so you would have to make sure that you only invoke any calls to gl if you are on the render thread. ensuring that depends on how your code is structured20:51
BlackJohnnytvoss, i am in a QAbstractVideoSurface::present implementation20:52
tvossBlackJohnny, ah, how do you do the actual rendering?20:52
BlackJohnnytvoss, I am handling the communication between Camera and VideoOut20:53
BlackJohnnytvoss, I basically want to alter the frames adding some AR on top of what camera sends to the Videout renderer20:54
BlackJohnnytvoss, I am wandering how tagger app works20:55
BlackJohnnytvoss, I will check that20:55
BlackJohnnywondering :)20:56
tvossBlackJohnny, I was about to say: tagger does exactly that :)20:56
BlackJohnnytvoss, :)20:56
tvossBlackJohnny, in case you are still searching: https://launchpad.net/tagger20:56
BlackJohnnytvoss, I am there already thanks :)20:56
tvossBlackJohnny, ack. so I did hud-like functionality before by implementating a QAbstractVideoSurface in a QQuickItem20:59
tvossBlackJohnny, more specifically: I used an http://doc.qt.io/qt-5/qquickframebufferobject.html as I already had quite some gl code available for the rendering21:00
BlackJohnnytvoss, I will check that, thanks21:03
BlackJohnnytvoss, m_mainWindow->grabWindow() :))21:13
BlackJohnnytvoss, that is what tagger does21:13
BlackJohnnytvoss, to get the camera information ... I am 99% sure :)21:13
BlackJohnnytvoss, I will check that QQuickFramebufferObject lead21:14
BlackJohnnytvoss, have a nice day21:15
tvossBlackJohnny, that's a glReadPixels, though :) I think the more elegant approach is to implement a QAbstractVideoSurface in terms of QQuickTime. You would just store the frame handed to you in present() and render it (with stuff on top of it) in http://doc.qt.io/qt-5/qquickframebufferobject-renderer.html#render21:15
tvossBlackJohnny, yup, you too21:15
BlackJohnnytvoss, actually I do also edge detection and want to feed that to an neural network :)21:15
BlackJohnnytvoss, anyway thanks. I will continue later21:16
tvossBlackJohnny, well, you could do edge detection in a shader (which is a lot faster) and grab the resulting features, less bandwidth needed usually :)21:16
BlackJohnnytvoss, I implemented already the Sobel alg21:17
BlackJohnnytvoss, and it is working on Desktop but not on mx421:17
tvossBlackJohnny, ah okay, so you are calculating the sobel image on the cpu, correct?21:18
BlackJohnnytvoss, yup ... I do online learning with my net and that is sufficient in terms of performance21:18
tvossBlackJohnny, ack, so yeah, you still could do a glReadPixels in render, and overlay detected edges plus anything else you calculate in there. render is called with a valid gl context21:20

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