{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/386","repository_url":"https://api.github.com/repos/raspberrypi/userland","labels_url":"https://api.github.com/repos/raspberrypi/userland/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/userland/issues/386/comments","events_url":"https://api.github.com/repos/raspberrypi/userland/issues/386/events","html_url":"https://github.com/raspberrypi/userland/issues/386","id":217765414,"node_id":"MDU6SXNzdWUyMTc3NjU0MTQ=","number":386,"title":"Dispmanx fails with zero-copied MMAL buffer?","user":{"login":"Terminus-IMRC","id":4298265,"node_id":"MDQ6VXNlcjQyOTgyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/4298265?v=4","gravatar_id":"","url":"https://api.github.com/users/Terminus-IMRC","html_url":"https://github.com/Terminus-IMRC","followers_url":"https://api.github.com/users/Terminus-IMRC/followers","following_url":"https://api.github.com/users/Terminus-IMRC/following{/other_user}","gists_url":"https://api.github.com/users/Terminus-IMRC/gists{/gist_id}","starred_url":"https://api.github.com/users/Terminus-IMRC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Terminus-IMRC/subscriptions","organizations_url":"https://api.github.com/users/Terminus-IMRC/orgs","repos_url":"https://api.github.com/users/Terminus-IMRC/repos","events_url":"https://api.github.com/users/Terminus-IMRC/events{/privacy}","received_events_url":"https://api.github.com/users/Terminus-IMRC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"6by9","id":5822349,"node_id":"MDQ6VXNlcjU4MjIzNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5822349?v=4","gravatar_id":"","url":"https://api.github.com/users/6by9","html_url":"https://github.com/6by9","followers_url":"https://api.github.com/users/6by9/followers","following_url":"https://api.github.com/users/6by9/following{/other_user}","gists_url":"https://api.github.com/users/6by9/gists{/gist_id}","starred_url":"https://api.github.com/users/6by9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6by9/subscriptions","organizations_url":"https://api.github.com/users/6by9/orgs","repos_url":"https://api.github.com/users/6by9/repos","events_url":"https://api.github.com/users/6by9/events{/privacy}","received_events_url":"https://api.github.com/users/6by9/received_events","type":"User","site_admin":false},"assignees":[{"login":"6by9","id":5822349,"node_id":"MDQ6VXNlcjU4MjIzNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5822349?v=4","gravatar_id":"","url":"https://api.github.com/users/6by9","html_url":"https://github.com/6by9","followers_url":"https://api.github.com/users/6by9/followers","following_url":"https://api.github.com/users/6by9/following{/other_user}","gists_url":"https://api.github.com/users/6by9/gists{/gist_id}","starred_url":"https://api.github.com/users/6by9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6by9/subscriptions","organizations_url":"https://api.github.com/users/6by9/orgs","repos_url":"https://api.github.com/users/6by9/repos","events_url":"https://api.github.com/users/6by9/events{/privacy}","received_events_url":"https://api.github.com/users/6by9/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2017-03-29T05:02:16Z","updated_at":"2018-07-02T11:20:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"It seems that Dispmanx fails with zero-copied MMAL buffer.\r\n\r\nPlease try with this code:\r\nhttps://github.com/Terminus-IMRC/dispmanx-fails-with-zero-copied-mmal-buffer\r\nThis code gets 128x128 random image from `vc.ril.source` component and feeds it to dispmanx to display it on screen.\r\n![img_9947](https://cloud.githubusercontent.com/assets/4298265/24439232/f477e9fc-1487-11e7-96a0-002b3950c1b9.JPG)\r\n\r\nIf you keep `#define ZERO_COPY 0`, it will work.\r\nIf you change this to `#define ZERO_COPY 1`, it will fail with this error:\r\n`main.c:85: Dispmanx call failed: 0xffffffff`\r\nI also confirmed this issue with `vc.ril.camera` component.\r\n\r\nAm I wrong in usage of the APIs?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/raspberrypi/userland/issues/comments/401772590","html_url":"https://github.com/raspberrypi/userland/issues/386#issuecomment-401772590","issue_url":"https://api.github.com/repos/raspberrypi/userland/issues/386","id":401772590,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTc3MjU5MA==","user":{"login":"6by9","id":5822349,"node_id":"MDQ6VXNlcjU4MjIzNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5822349?v=4","gravatar_id":"","url":"https://api.github.com/users/6by9","html_url":"https://github.com/6by9","followers_url":"https://api.github.com/users/6by9/followers","following_url":"https://api.github.com/users/6by9/following{/other_user}","gists_url":"https://api.github.com/users/6by9/gists{/gist_id}","starred_url":"https://api.github.com/users/6by9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6by9/subscriptions","organizations_url":"https://api.github.com/users/6by9/orgs","repos_url":"https://api.github.com/users/6by9/repos","events_url":"https://api.github.com/users/6by9/events{/privacy}","received_events_url":"https://api.github.com/users/6by9/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T11:20:30Z","updated_at":"2018-07-02T11:20:30Z","author_association":"CONTRIBUTOR","body":"I have a long patchset of cleaning up the V4L2 camera driver and adding a V4L2 codec driver. Not ready for a PR yet, but I've pushed it to https://github.com/6by9/linux/tree/rpi-4.14.y-codecs-push2. \r\nhttps://github.com/6by9/linux/commit/07e61b8efa2490097ff7e5304307d26c107d68e8 is the commit that may fix it."}}
{"actor":{"display_login":"6by9"}}