{"action":"created","issue":{"url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF/issues/19","repository_url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF","labels_url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF/issues/19/comments","events_url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF/issues/19/events","html_url":"https://github.com/GPUOpen-LibrariesAndSDKs/AMF/issues/19","id":176263746,"number":19,"title":"Video Encode API: Encoder gets stuck after varying amount of time.","user":{"login":"Xaymar","id":437395,"avatar_url":"https://avatars.githubusercontent.com/u/437395?v=3","gravatar_id":"","url":"https://api.github.com/users/Xaymar","html_url":"https://github.com/Xaymar","followers_url":"https://api.github.com/users/Xaymar/followers","following_url":"https://api.github.com/users/Xaymar/following{/other_user}","gists_url":"https://api.github.com/users/Xaymar/gists{/gist_id}","starred_url":"https://api.github.com/users/Xaymar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xaymar/subscriptions","organizations_url":"https://api.github.com/users/Xaymar/orgs","repos_url":"https://api.github.com/users/Xaymar/repos","events_url":"https://api.github.com/users/Xaymar/events{/privacy}","received_events_url":"https://api.github.com/users/Xaymar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2016-09-11T20:37:58Z","updated_at":"2016-09-14T18:52:40Z","closed_at":null,"body":"Reported by one my users and shortly afterwards reproduced, it seems that encoding will get stuck at some point, never returning from SubmitInput or QueryOutput - it simply doesn't do things anymore. \r\n\r\n### Parameters (Applied in the order shown)\r\n* Quality Preset: Speed\r\n* Usage: Transcoding\r\n* Profile: Main\r\n* Profile Level: 41\r\n* Frame Size: 1280, 720\r\n* Frame Rate: 60, 1\r\n* Rate Control Method: Constant Bitrate\r\n* Rate Control Skip Frame: Disabled (false)\r\n* Minimum QP: 18\r\n* Maximum QP: 51\r\n* Target Bitrate: 3000000\r\n* Peak Bitrate: 3000000\r\n* VBV Buffer Size: 3000000\r\n* Initial VBV Buffer Fullness: 100% (64)\r\n* Filler Data: Enabled (true)\r\n* IDR Period: 120\r\n* B-Pictures Pattern: 3\r\n* B-Reference: Enabled (true)\r\n* B-Picture Delta QP: 0\r\n* Reference B-Picture Delta QP: 0\r\n* Scan Type: Progressive\r\n* Half Pixel Motion Estimation: Enabled (true)\r\n* Quarter Pixel Motion Estimation: Enabled (true)\r\n* Frame Size: 1280, 720\r\n* Frame Rate: 60, 1\r\n\r\n### Dump File\r\n\r\n* xaymar.com: http://cdn.xaymar.com/private/2016/09/11-09-2016_obs64_2.7z\r\n* mega.co.nz: https://mega.nz/#!eBdxlbhJ!MxAcaFGigTQ2OusIHGocdiQMsD9O0sUO0pgtp4BGhBE"},"comment":{"url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF/issues/comments/247117029","html_url":"https://github.com/GPUOpen-LibrariesAndSDKs/AMF/issues/19#issuecomment-247117029","issue_url":"https://api.github.com/repos/GPUOpen-LibrariesAndSDKs/AMF/issues/19","id":247117029,"user":{"login":"MikhailAMD","id":15144639,"avatar_url":"https://avatars.githubusercontent.com/u/15144639?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailAMD","html_url":"https://github.com/MikhailAMD","followers_url":"https://api.github.com/users/MikhailAMD/followers","following_url":"https://api.github.com/users/MikhailAMD/following{/other_user}","gists_url":"https://api.github.com/users/MikhailAMD/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailAMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailAMD/subscriptions","organizations_url":"https://api.github.com/users/MikhailAMD/orgs","repos_url":"https://api.github.com/users/MikhailAMD/repos","events_url":"https://api.github.com/users/MikhailAMD/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailAMD/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T18:52:40Z","updated_at":"2016-09-14T18:52:40Z","body":"I would like to see whole code.\r\nMikhail\r\n\r\nFrom: Michael Fabian Dirks [mailto:notifications@github.com]\r\nSent: September 14, 2016 1:21 PM\r\nTo: GPUOpen-LibrariesAndSDKs/AMF <AMF@noreply.github.com>\r\nCc: Mironov, Mikhail <Mikhail.Mironov@amd.com>; Comment <comment@noreply.github.com>\r\nSubject: Re: [GPUOpen-LibrariesAndSDKs/AMF] Video Encode API: Encoder gets stuck after varying amount of time. (#19)\r\n\r\n\r\nApplied the suggested changes now, the error doesn't seem to have changed.\r\n\r\n[AMFTrace] 2016-09-14 19:15:13.925     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n2016-09-14 19:15:13.941     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n[AMFTrace] 2016-09-14 19:15:13.941     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n2016-09-14 19:15:13.941     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n[AMFTrace] 2016-09-14 19:15:13.941     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n2016-09-14 19:15:13.958     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n[AMFTrace] 2016-09-14 19:15:13.958     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n2016-09-14 19:15:13.958     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\n[AMFTrace] 2016-09-14 19:15:13.958     280C [AMFDeviceComputeImpl]   Error: ..\\..\\..\\..\\..\\runtime\\src\\core\\DeviceComputeImpl.cpp(839):OpenCL failed, error = -30:CopyImageFromHost() clEnqueueWriteImage() failed\r\n\r\nThe errors happen on SubmitInput, so I'll probably have to move surface allocation over to the submission thread as well and only have the queue/dequeue code in ::encode. Unless there is a way to force it to do the copy at that exact moment.\r\n\r\n—\r\nYou are receiving this because you commented.\r\nReply to this email directly, view it on GitHub<https://github.com/GPUOpen-LibrariesAndSDKs/AMF/issues/19#issuecomment-247088880>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOcWvzT8hSjxIc8xufpXlxUadcVhvBZYks5qqC0LgaJpZM4J6GRX>.\r\n"}}
{"actor":{"display_login":"MikhailAMD"}}