Ubuntu as a gaming platform: process cleanup actions

Registered by David Planella

We need to address possible issues with process cleanup not handling some important actions (e.g. video mode restoration after app exit or crash)

Blueprint information

Status:
Not started
Approver:
Jason Warner
Priority:
Low
Drafter:
None
Direction:
Approved
Assignee:
Daniel van Vugt
Definition:
Approved
Series goal:
Accepted for raring
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

There are discussions on gnome's wm-spec-list regarding this problem. https://mail.gnome.org/archives/wm-spec-list/2012-October/msg00001.html

Process Cleanup
* When an application crashes, system should return resolution to standard mode and layout
* Shared memory - currently cleaned up by game, but hard to validate it's cleaned
Could handle this several ways:
1. Window manager
2. Resolution service
3. Wrapper script
Window manager proposed spec: http://hg.icculus.org/icculus/wm-fullscreen-spec/raw-file/tip/spec.txt

We discussed the various options, and consensus at the session was to investigate implementing support in the window manager.

(?)

Work Items

Work items:
[vanvugt] Investigate best approach for handling wm hint in compiz: TODO
[johnlea] Review wm-spec-list discussions: TODO