Your SlideShare is downloading. ×
0
Murphy integration to
Weston in Tizen IVI
Janos Kovacs
Intel
Open Source Technology Center
June 2014
2
Background
3
X Architecture
Wayland Architecture
Clients
Kernel
X server
Compositing
Window
Manager
Wayland Architecture
Kernel
Clien...
4
Resource Management Framework in Murphy
Resource Engine
(core library)
clientAPI
config API
managerAPI
Resource
Managers...
5
Screen Management Building Blocks
• Regulator
• Logic to adapt vehicle state, driver activities and application usage sc...
6
Basic Usecases for Screen Management
• Application launching
• Task switching
• Regulation changes
7
Evolution of HomeScreen
phase 1
8
Phase 1 Executive Summary
• Tizen IVI 2.0
• Toyota-san contributed HomeScreen to Tizen
• Weston ICO plugins
• HomeScreen...
9
Building Block Locations
WestonHome Screen
Resource
Manager
Screen
Controller
Layout
Manager
Launcher
Task Switcher
Regu...
10
Pros and Cons
• Pros
• Efficient communication between HomeScreen and Weston
• Cons
• Conflicting Tizen and ICO audio c...
11
Evolution of HomeScreen
phase 2
12
Phase 2 Executive Summary
• Tizen IVI 3.0, 2013EOY
• Integration of the audio stacks
• Home Screen refactored
• System ...
13
Building Block Locations
Weston
System
ControllerHome Screen
Layout
Manager
Layout
Manager
Launcher
Task Switcher
Resou...
14
Pros and Cons
• Pros
• GUI and control logic separated
• Cons
• Both HomeScreen and SystemController have layout manage...
15
Evolution of HomeScreen
phase 3
16
Phase 3 Executive Summary
• Tizen IVI 3.0 image 20140318.3
• Functionally equivalent to Phase2
• System controller is i...
17
Building Block Locations
WestonMurphyHome Screen
Layout
Manager
Layout
Manager
Launcher
Task Switcher
Resource
Manager
...
18 Example signal flow: launching Application B
Regulator
Layout
Manager
Resource
Manager
Launcher
Task Switcher
Layout
Ma...
19
Pros and Cons
• Pros
• GUI and control logic separated
• Full integration to TIZEN resource management
• Scriptable => ...
20
Evolution of HomeScreen
phase 4
21
Phase 4 Executive Summary
• Tizen IVI 3.0 M14.2
• Uses the IVI-shell instead of ICO Weston plugins
• IVI-shell is GENIV...
22
Evolution of HomeScreen
phase 5
23
Phase 5 Executive Summary
• Tizen IVI M14.3
• Merge of Phase 3 and Phase 4
• System Controller is implemented in Murphy...
24
Future directions
(life after phase 5)
25
Main goals
• Further data flow optimisation
• move layout and input management to Weston
• build a PoC to verify the id...
26
Building Block Locations
WestonMurphyHome Screen
Launcher
Task Switcher
Regulator
Layout
Manager
Resource
Manager
Scree...
27
X Architecture
Clients
Kernel
X server
Compositing
Window
Manager
Wayland Architecture Tizen Architecture
Kernel Kernel...
Harmonizing policy management with Murphy in Genivi, AGL and Tizen IVI
Upcoming SlideShare
Loading in...5
×

Harmonizing policy management with Murphy in Genivi, AGL and Tizen IVI

414

Published on

Harmonizing policy management with Murphy in Genivi, AGL and Tizen IVI - Janos Kovacs, Intel

Published in: Technology, Art & Photos
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
414
On Slideshare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Harmonizing policy management with Murphy in Genivi, AGL and Tizen IVI"

  1. 1. Murphy integration to Weston in Tizen IVI Janos Kovacs Intel Open Source Technology Center June 2014
  2. 2. 2 Background
  3. 3. 3 X Architecture Wayland Architecture Clients Kernel X server Compositing Window Manager Wayland Architecture Kernel Clients Wayland compositor (Weston)
  4. 4. 4 Resource Management Framework in Murphy Resource Engine (core library) clientAPI config API managerAPI Resource Managers (optional plugins) Exception Rules (optional) Client Protocol Adapters (plugins) LUA adapter Config Protocol Adapter (optional plugins) DB Table DB Table DatabaseInterface xxx_owners xxx_users
  5. 5. 5 Screen Management Building Blocks • Regulator • Logic to adapt vehicle state, driver activities and application usage scenarios • Set of rules and/or state machines • Determines what applications can be active • Layout Manager • Manages Areas and Layers • Assigns and moves surfaces to areas/layers • Depends on Regulations • Resource Manager • Decides what active applications can do and when • Depends on Regulations • Application Launcher / Task Switcher • Launches/kills application • Requests to switch active application • Screen Controller • Carries out / enforces the decisions of Layout & Resource Manager • Input Controller • Carries out / enforces the decisions of Input & Resource Manager
  6. 6. 6 Basic Usecases for Screen Management • Application launching • Task switching • Regulation changes
  7. 7. 7 Evolution of HomeScreen phase 1
  8. 8. 8 Phase 1 Executive Summary • Tizen IVI 2.0 • Toyota-san contributed HomeScreen to Tizen • Weston ICO plugins • HomeScreen • Sample applications • First version of HomeScreen was monolithic • GUI • System controller to manage screens, audio, input etc • Conflicting audio management • TIZEN had its own Murphy based audio management for routing and volume ctrl. • HomeScreen had its own management for volume control • The two stack was not integrated
  9. 9. 9 Building Block Locations WestonHome Screen Resource Manager Screen Controller Layout Manager Launcher Task Switcher Regulator Input Manager Input Controller
  10. 10. 10 Pros and Cons • Pros • Efficient communication between HomeScreen and Weston • Cons • Conflicting Tizen and ICO audio controllers in PulseAudio • Monolithic • GUI and control logic were grown together • Configuration • Limited • No scripting
  11. 11. 11 Evolution of HomeScreen phase 2
  12. 12. 12 Phase 2 Executive Summary • Tizen IVI 3.0, 2013EOY • Integration of the audio stacks • Home Screen refactored • System Controller was separated and run outside of HomeScreen as a daemon • Audio resource management was linked to Murphy • Home Screen improvements • Look & feel has changed • Improved configurability and better integration for TIZEN infrastructure
  13. 13. 13 Building Block Locations Weston System ControllerHome Screen Layout Manager Layout Manager Launcher Task Switcher Resource Manager screen, input Regulator Screen Controller Input Manager Input Manager Input Controller Murphy Resource Manager audio
  14. 14. 14 Pros and Cons • Pros • GUI and control logic separated • Cons • Both HomeScreen and SystemController have layout management logic • Proxying Weston messages represent an extra hop • Simple integration to TIZEN resource management • Oversimplified audio management • No scripting
  15. 15. 15 Evolution of HomeScreen phase 3
  16. 16. 16 Phase 3 Executive Summary • Tizen IVI 3.0 image 20140318.3 • Functionally equivalent to Phase2 • System controller is implemented in Murphy • The Murphy implementation is a drop-in replacement to SystemController written in C++ • Could be tested by installing the relevant Murphy plugins • Uses the ICO weston plugins • Snapshot only • Migrating from ICO weston plugins to GENIVI compliant IVI shell was prioritized over the reimplementation of System Controller in Murphy • Paralell efforts • Toyota team worked on migration to GENIVI shell (see phase 4) • Intel team worked on reimplementation of SystemController in Murphy
  17. 17. 17 Building Block Locations WestonMurphyHome Screen Layout Manager Layout Manager Launcher Task Switcher Resource Manager Regulator Screen Controller Input Manager Input Manager Input Controller
  18. 18. 18 Example signal flow: launching Application B Regulator Layout Manager Resource Manager Launcher Task Switcher Layout Manager Application A Application B Screen Controller Launch B create surface create surface notification create resource for B move to area set layer create surface notification B is ready Make B active show surface request resource B grant B revoke A hide surface A show surface B hide surface notification show surface notification hide surface notification show surface notification Make launcher inactive B is active A is inactive hide HomeScreen surface hide HomeScreen surface
  19. 19. 19 Pros and Cons • Pros • GUI and control logic separated • Full integration to TIZEN resource management • Scriptable => highly configurable • Cons • Both HomeScreen and SystemController have layout management logic • Proxying Weston messages represent an extra hop • Works only with the deprecated ICO weston plugins
  20. 20. 20 Evolution of HomeScreen phase 4
  21. 21. 21 Phase 4 Executive Summary • Tizen IVI 3.0 M14.2 • Uses the IVI-shell instead of ICO Weston plugins • IVI-shell is GENIVI compliant • IVI-shell upstreaming is ongoing • Functionally equivalent to Phase2
  22. 22. 22 Evolution of HomeScreen phase 5
  23. 23. 23 Phase 5 Executive Summary • Tizen IVI M14.3 • Merge of Phase 3 and Phase 4 • System Controller is implemented in Murphy • Uses the IVI-shell • No new functionality • Functionally equivalent to Phase 4
  24. 24. 24 Future directions (life after phase 5)
  25. 25. 25 Main goals • Further data flow optimisation • move layout and input management to Weston • build a PoC to verify the idea • Work with OEMs and Tier1s on regulator • Regulations are currently rule based • Verify whether the current mechanisms are covering all the needs • Do we need new mechanism beside rules? • eg. Table driven approach
  26. 26. 26 Building Block Locations WestonMurphyHome Screen Launcher Task Switcher Regulator Layout Manager Resource Manager Screen Controller Input Manager Input Controller
  27. 27. 27 X Architecture Clients Kernel X server Compositing Window Manager Wayland Architecture Tizen Architecture Kernel Kernel Clients Clients Wayland compositor (Weston) MurphyWeston HomeScreen
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×