/srv/irclogs.ubuntu.com/2016/10/27/#ubuntu-mir.txt

=== hikiko|off is now known as hikiko
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
duflugreyback: Sorry, forgot to test that option you suggested for nouveau. Such is the way with multi-part questions. It's worth noting though that the Nvidia binary driver we will only be able to support with newish GPUs. So any Nvidia chip more than a few years old like yours will always need to use nouveau anyway09:08
greybackduflu: yep, we need to address this somehow09:09
alan_ggreyback: I found had to rework this (when I realised I had no tests), could you re-review? https://code.launchpad.net/~alan-griffiths/miral/identify-code-using-libmirserver-directly/+merge/30908009:18
greybackok09:18
* alan_g hits the launchpad prerequisite limit again09:20
=== chihchun is now known as chihchun_afk
* duflu repeatedly kills his machine with nouveau09:22
greybackoh wow kernel4.8's scheduler is lousy, during build machine is unusable09:26
duflugreyback: Excellent, a second data point. Please talk to bschaefer who was scientifically trying to prove the same thing last week. Going back to 4.4 fixes it09:28
dufluI'm not sure if a bug has been logged09:28
=== chihchun_afk is now known as chihchun
=== marcusto_ is now known as marcustomlinson
=== hikiko is now known as hikiko|ln
=== hikiko|ln is now known as hikiko
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
alan_ggreyback: I think this fixes the titlebar glitch you spotted: https://code.launchpad.net/~alan-griffiths/miral/miral-shell-window-titles/+merge/30947014:12
greybackalan_g: confirmed fix, apprved14:16
=== dandrader is now known as dandrader|afk
=== ondra_ is now known as ondra
attenteare there performance optimizations with using opaque rgb surfaces over rgba surfaces?15:32
alan_gattente: Qt compositor or Mir compositor?15:35
attentealan_g: Mir15:36
alan_gI'm not entirely sure of the current state, I think kdub did some work on it a while back.15:37
attentealan_g: actually i guess i need to know if either optimizes non-alpha surfaces15:39
alan_gFor the qt compositor I'd ask greyback15:40
greybackattente: if you're using unity8/qtmir as the compositor, it will read the alpha state, and if opaque it will draw with blending disabled15:41
greybackQt's renderer doesn't do any occlusion culling however15:42
attentegreyback: does disabling blending help much performance-wise?15:42
greybackattente: it is more efficient on the GPU, no real difference to the CPU though15:44
greybackattente: are you seeing poor performance somewhere? Or just curious of current optimizations in Mir?15:44
attentegreyback: i was asked about this in #gtk+, but didn't know. someone (Company) seems to be suggesting moving to just using rgba surfaces everywhere15:46
attentei guess it could be pretty slow with software rendering15:48
greybackattente: I wouldn't consider it a huge burden for any GPU rendering, but I can imagine a software renderer would suffer. A software renderer can do nice optimisations if it knows stuff is opaque (not draw what is occluded)15:48
attenteok, thanks greyback15:49
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
anpokattente: i believe that qt claims that they do that in their scene graph (occlusion)18:05
anpokbut more importantly rgb allows the renderer to reorder stuff based on state changes instead of depth18:06
anpokso yes rgb should help alot18:06
kdubrgba blending also causes 3 hops on the bus (src-on, dest-on, dest-off)18:09
kdubso can cause bus congestion on devices that are sensitive to that18:09
attenteok18:16
attentekdub: isn't that traffic all on the gpu though?18:17
kdubnot on mobile18:17
attenteoh ok18:17
=== dandrader|afk is now known as dandrader
greybackanpok: qt does not, nor does it claim, to do occlusion culling :)18:33
greybackbut it does do batching of opaque and non-opaque primitives, which saves a lot of work18:34
greybackhttp://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph-renderer.html for more details18:34
greybackkdub: "not on mobile" <- that's interesting. Would you have a link to a resource where I could learn about that?18:36
kdubgreyback, will have to see if I can find something, nothing handy18:36
* kdub just remembers optimizing that situation many moons ago for bus reasons18:37
greybackkdub: ack, no worries. Just in case you had something handy18:37
anpokgreyback: hm I thought that I read a blog post..18:43
anpokbut maybe that was more marketing18:43
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

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