{"action":"created","issue":{"url":"https://api.github.com/repos/google/filament/issues/42","repository_url":"https://api.github.com/repos/google/filament","labels_url":"https://api.github.com/repos/google/filament/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/google/filament/issues/42/comments","events_url":"https://api.github.com/repos/google/filament/issues/42/events","html_url":"https://github.com/google/filament/issues/42","id":348674918,"node_id":"MDU6SXNzdWUzNDg2NzQ5MTg=","number":42,"title":"Crash on AMD GPU","user":{"login":"Damianno19","id":11327470,"node_id":"MDQ6VXNlcjExMzI3NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/11327470?v=4","gravatar_id":"","url":"https://api.github.com/users/Damianno19","html_url":"https://github.com/Damianno19","followers_url":"https://api.github.com/users/Damianno19/followers","following_url":"https://api.github.com/users/Damianno19/following{/other_user}","gists_url":"https://api.github.com/users/Damianno19/gists{/gist_id}","starred_url":"https://api.github.com/users/Damianno19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Damianno19/subscriptions","organizations_url":"https://api.github.com/users/Damianno19/orgs","repos_url":"https://api.github.com/users/Damianno19/repos","events_url":"https://api.github.com/users/Damianno19/events{/privacy}","received_events_url":"https://api.github.com/users/Damianno19/received_events","type":"User","site_admin":false},"labels":[{"id":1013864478,"node_id":"MDU6TGFiZWwxMDEzODY0NDc4","url":"https://api.github.com/repos/google/filament/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"pixelflinger","id":1240896,"node_id":"MDQ6VXNlcjEyNDA4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1240896?v=4","gravatar_id":"","url":"https://api.github.com/users/pixelflinger","html_url":"https://github.com/pixelflinger","followers_url":"https://api.github.com/users/pixelflinger/followers","following_url":"https://api.github.com/users/pixelflinger/following{/other_user}","gists_url":"https://api.github.com/users/pixelflinger/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelflinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelflinger/subscriptions","organizations_url":"https://api.github.com/users/pixelflinger/orgs","repos_url":"https://api.github.com/users/pixelflinger/repos","events_url":"https://api.github.com/users/pixelflinger/events{/privacy}","received_events_url":"https://api.github.com/users/pixelflinger/received_events","type":"User","site_admin":false},"assignees":[{"login":"pixelflinger","id":1240896,"node_id":"MDQ6VXNlcjEyNDA4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1240896?v=4","gravatar_id":"","url":"https://api.github.com/users/pixelflinger","html_url":"https://github.com/pixelflinger","followers_url":"https://api.github.com/users/pixelflinger/followers","following_url":"https://api.github.com/users/pixelflinger/following{/other_user}","gists_url":"https://api.github.com/users/pixelflinger/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelflinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelflinger/subscriptions","organizations_url":"https://api.github.com/users/pixelflinger/orgs","repos_url":"https://api.github.com/users/pixelflinger/repos","events_url":"https://api.github.com/users/pixelflinger/events{/privacy}","received_events_url":"https://api.github.com/users/pixelflinger/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-08-08T10:53:51Z","updated_at":"2018-08-09T07:49:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"All examples on OpenGL crashes on same function `OpenGLDriver::updateUniformBuffer`, on friend pc ( GTX 970, win 10 ) works fine.\r\n\r\nOS: Win 10\r\nGPU: RX 480 8GB\r\nDrivers: 18.5.1 ( on older drivers same situation )\r\n\r\n> FEngine (64 bits) created at 000002C860664080\r\n> FEngine resolved backend: OpenGL\r\n> HwFence: 16\r\n> GLIndexBuffer: 24\r\n> GLSamplerBuffer: 24\r\n> GLRenderPrimitive: 48\r\n> GLTexture: 64\r\n> OpenGLProgram: 56\r\n> GLRenderTarget: 72\r\n> GLVertexBuffer: 112\r\n> GLUniformBuffer: 128\r\n> GLStream: 128\r\n> ATI Technologies Inc.\r\n> Radeon (TM) RX 480 Graphics\r\n> 4.1.13521 Core Profile Forward-Compatible Context 24.20.11016.4\r\n> 4.50\r\n> OS version: 0\r\n> Hierarchy depth = 1\r\n> OpenGL error 1282 (GL_INVALID_OPERATION) in \"void filament::OpenGLDriver::updateUniformBuffer(Driver::UniformBufferHandle, filament::UniformBuffer &&)\" at line 1851\r\n\r\nCallstack:\r\n\r\n> ucrtbased.dll!00007fff40f67135()\tUnknown\r\n> ucrtbased.dll!00007fff40f672d3()\tUnknown\r\n> ucrtbased.dll!00007fff40f7bf3d()\tUnknown\r\n> ucrtbased.dll!00007fff40f7af86()\tUnknown\r\n> material_sandbox.exe!filament::GLUtils::checkGLError(utils::io::ostream & out, const char * function, unsigned __int64 line) Line 56\tC++\r\n> material_sandbox.exe!filament::OpenGLDriver::updateUniformBuffer(filament::Handle<filament::HwUniformBuffer> ubh, filament::UniformBuffer && uniformBuffer) Line 1853\tC++\r\n> material_sandbox.exe!filament::trampoline<void (filament::OpenGLDriver::*&)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&),filament::OpenGLDriver &,std::tuple<filament::Handle<filament::HwUniformBuffer>,filament::UniformBuffer> &,0,1>(void(filament::OpenGLDriver::*)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&) & m, filament::OpenGLDriver & d, std::tuple<filament::Handle<filament::HwUniformBuffer>,filament::UniformBuffer> & t, std::integer_sequence<unsigned long long,0,1>) Line 96\tC++\r\n> material_sandbox.exe!filament::apply<void (filament::OpenGLDriver::*&)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&),filament::OpenGLDriver &,std::tuple<filament::Handle<filament::HwUniformBuffer>,filament::UniformBuffer> &>(void(filament::OpenGLDriver::*)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&) & m, filament::OpenGLDriver & d, std::tuple<filament::Handle<filament::HwUniformBuffer>,filament::UniformBuffer> & t) Line 103\tC++\r\n> material_sandbox.exe!filament::CommandType<void (filament::Driver::*)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&)>::Command<&filament::Driver::updateUniformBuffer>::execute<void (filament::OpenGLDriver::*)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&),filament::OpenGLDriver &>(void(filament::OpenGLDriver::*)(filament::Handle<filament::HwUniformBuffer>, filament::UniformBuffer &&) && method, filament::OpenGLDriver & driver, filament::CommandBase * base, __int64 * next) Line 139\tC++\r\n> material_sandbox.exe!filament::ConcreteDispatcher<filament::OpenGLDriver>::updateUniformBuffer(filament::Driver & driver, filament::CommandBase * base, __int64 * next) Line 354\tC++\r\n> material_sandbox.exe!filament::CommandBase::execute(filament::Driver & driver) Line 83\tC++\r\n> material_sandbox.exe!filament::CommandStream::execute(void * buffer) Line 78\tC++\r\n> material_sandbox.exe!filament::details::FEngine::loop() Line 384\tC++\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/filament/issues/comments/411669241","html_url":"https://github.com/google/filament/issues/42#issuecomment-411669241","issue_url":"https://api.github.com/repos/google/filament/issues/42","id":411669241,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY2OTI0MQ==","user":{"login":"pixelflinger","id":1240896,"node_id":"MDQ6VXNlcjEyNDA4OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1240896?v=4","gravatar_id":"","url":"https://api.github.com/users/pixelflinger","html_url":"https://github.com/pixelflinger","followers_url":"https://api.github.com/users/pixelflinger/followers","following_url":"https://api.github.com/users/pixelflinger/following{/other_user}","gists_url":"https://api.github.com/users/pixelflinger/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelflinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelflinger/subscriptions","organizations_url":"https://api.github.com/users/pixelflinger/orgs","repos_url":"https://api.github.com/users/pixelflinger/repos","events_url":"https://api.github.com/users/pixelflinger/events{/privacy}","received_events_url":"https://api.github.com/users/pixelflinger/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T07:49:02Z","updated_at":"2018-08-09T07:49:02Z","author_association":"CONTRIBUTOR","body":"@Damianno19 thank you for testing this; that rules out a state-tracking bug in filament.\r\nAll the GL_INVALID_OPERATION cases from the spec are ruled out, so I can only guess a driver bug (at the very least in how it reports errors). Not sure what to do from here."}}
{"actor":{"display_login":"pixelflinger"}}