Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
weston
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 272
    • Issues 272
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 117
    • Merge Requests 117
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Issues
  • #149

Closed
Open
Opened Sep 19, 2018 by Tomi Valkeinen@tomba

weston fails to start if it tries to switch active planes between crtcs

Linux kernel has drm_atomic.c::plane_switching_crtc() which prevents switching active planes from one crtc to another. This case can be hit with two displays when starting weston, if weston decides to pick a plane that's active on crtc2 and uses it on crtc1. The result is "atomic: couldn't commit new state: No such file or directory", and black screens, as the atomic commit fails.

I can see this with omapdrm driver, and I first suspected omapdrm, but after studying this a bit it looks like a more generic issue. Also, this is obviously a missing feature in the kernel, but I don't think the kernel has ever supported switching active planes, at least properly.

I think the currently working way to set things up is to first disable everything, and then activate the setup you want.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: wayland/weston#149