{"action":"created","issue":{"url":"https://api.github.com/repos/waveform80/picamera/issues/197","labels_url":"https://api.github.com/repos/waveform80/picamera/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/waveform80/picamera/issues/197/comments","events_url":"https://api.github.com/repos/waveform80/picamera/issues/197/events","html_url":"https://github.com/waveform80/picamera/issues/197","id":58477650,"number":197,"title":"Black screen when adding multiple overlays to the screen","user":{"login":"glamorous","id":62723,"avatar_url":"https://avatars.githubusercontent.com/u/62723?v=3","gravatar_id":"","url":"https://api.github.com/users/glamorous","html_url":"https://github.com/glamorous","followers_url":"https://api.github.com/users/glamorous/followers","following_url":"https://api.github.com/users/glamorous/following{/other_user}","gists_url":"https://api.github.com/users/glamorous/gists{/gist_id}","starred_url":"https://api.github.com/users/glamorous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glamorous/subscriptions","organizations_url":"https://api.github.com/users/glamorous/orgs","repos_url":"https://api.github.com/users/glamorous/repos","events_url":"https://api.github.com/users/glamorous/events{/privacy}","received_events_url":"https://api.github.com/users/glamorous/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/waveform80/picamera/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/waveform80/picamera/labels/upstream","name":"upstream","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-21T22:20:57Z","updated_at":"2015-03-25T23:25:28Z","closed_at":null,"body":"I've some strange problems with adding different overlays at the \"same\" time but I'm not receiving any errors or so.\r\n\r\nWhat I'm doing:\r\n\r\n    cam.create_overlay('start', LOCATION_OVERLAYS + 'overlay_push.jpg', layer=5)\r\n    cam.create_overlay('3', LOCATION_OVERLAYS + 'overlay_3.jpg', layer=4)\r\n    cam.create_overlay('2', LOCATION_OVERLAYS + 'overlay_2.jpg', layer=3)\r\n    cam.create_overlay('1', LOCATION_OVERLAYS + 'overlay_1.jpg', layer=2)\r\n    cam.create_overlay('bg', LOCATION_OVERLAYS + 'overlay_bg.jpg', resolution=(0, 0, 1920, 1080), layer=0)\r\n    cam.create_overlay('smile', LOCATION_OVERLAYS + 'overlay_smile.jpg', resolution=(0, 0, 1920, 1080), layer=8)\r\n    \r\n    cam.show_overlay('start')\r\n    cam.show_overlay('bg')\r\n    cam.start()\r\n\r\nwith \r\n- `cam.create_overlay` is `camera.create_overlay` call with alpha 0\r\n- `cam.show_overlay` is setting the overlay it's `alpha`-value to 255\r\n- `cam.start()` is `camera.start_preview(fullscreen = False, window = (0, 0, 1620, 1080), layer = 1)`\r\n\r\nI'm seeing some overlay-images flash and then blank until the script finishes. The red led from the camera is on. When I comment out a couple of overlay-lines (randomly), then I can see the preview and the 2 or 3 overlays that are active.\r\n\r\nAnyone knowing what I'm doing wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/waveform80/picamera/issues/comments/86251067","html_url":"https://github.com/waveform80/picamera/issues/197#issuecomment-86251067","issue_url":"https://api.github.com/repos/waveform80/picamera/issues/197","id":86251067,"user":{"login":"waveform80","id":1076190,"avatar_url":"https://avatars.githubusercontent.com/u/1076190?v=3","gravatar_id":"","url":"https://api.github.com/users/waveform80","html_url":"https://github.com/waveform80","followers_url":"https://api.github.com/users/waveform80/followers","following_url":"https://api.github.com/users/waveform80/following{/other_user}","gists_url":"https://api.github.com/users/waveform80/gists{/gist_id}","starred_url":"https://api.github.com/users/waveform80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waveform80/subscriptions","organizations_url":"https://api.github.com/users/waveform80/orgs","repos_url":"https://api.github.com/users/waveform80/repos","events_url":"https://api.github.com/users/waveform80/events{/privacy}","received_events_url":"https://api.github.com/users/waveform80/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T23:25:28Z","updated_at":"2015-03-25T23:25:28Z","body":"According to upstream this is working as designed. See discussion in raspberrypi/userland#197 for full details. I'll add a warning to the `add_overlay` method docs which mentions the `dispmax_offline` workaround but that's about all I can do this one."}}