Skip to content

Assertion failed on Raspberry Pi 2 #631

Description

@cstranex

Compiled current branch of libavg on the Raspberry Pi 2 successfully finally. I've run a couple of the sample apps and I'm getting assertion failed errors with some, others seem to work fine.

samples/anim1.py has "Assertion failed in GLContext.cpp: 429"
[15-03-30 17:24:12.180][WARN][.....NONE] : Could not get valid refresh rate
[15-03-30 17:24:12.184][WARN][.....NONE] : Defaulting to 60 Hz refresh rate.
[15-03-30 17:24:12.215][WARN][.....NONE] : Using framerate of 60 instead of VBRate of 1
glGetError 0x505
[15-03-30 17:24:12.242][.ERR][.....NONE] : OpenGL error in End of frame: (#1285)
2 avg::avgAssert(bool, char const_, int, char const_)
3 avg::GLContext::mandatoryCheckError(char const*)
4 avg::Player::doFrame(bool)
5 avg::Player::play()
[...]
127 avg::Player::play()

samples/abort_gestures.py has "Assertion failed in EGLContext.cpp: 150"
2 avg::avgAssert(bool, char const_, int, char const_)
3 avg::EGLContext::createEGLContext(avg::GLConfig const&, glm::detail::tvec2<int, (glm::precision)0> const&, SDL_SysWMinfo const_)
4 avg::EGLContext::EGLContext(avg::GLConfig const&, glm::detail::tvec2<int, (glm::precision)0> const&, SDL_SysWMinfo const_)
5 avg::GLContextManager::createContext(avg::GLConfig const&, glm::detail::tvec2<int, (glm::precision)0> const&, SDL_SysWMinfo const_)
6 avg::SDLWindow::SDLWindow(avg::DisplayParams const&, avg::GLConfig)
7 avg::DisplayEngine::init(avg::DisplayParams const&, avg::GLConfig)
8 avg::Player::initGraphics()
9 avg::Player::initPlayback()
10 avg::Player::play()
11 boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void (avg::Player::_)(), boost::python::default_call_policies, boost::mpl::vector2<void, avg::Player&> > >::operator()(object, object)
12 boost::python::objects::function::call(object, object) const
13
14 boost::python::detail::exception_handler::operator()(boost::function0 const&) const
15 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<avg::Exception, ExceptionTranslatoravg::Exception >, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::value<ExceptionTranslatoravg::Exception > > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&)
16 boost::python::detail::exception_handler::operator()(boost::function0 const&) const
17 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::out_of_range, ExceptionTranslatorstd::out_of_range >, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::value<ExceptionTranslatorstd::out_of_range > > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&)
18 boost::python::detail::exception_handler::operator()(boost::function0 const&) const
19 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::exception, ExceptionTranslatorstd::exception >, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::value<ExceptionTranslatorstd::exception > > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&)
20 boost::python::handle_exception_impl(boost::function0)
[...]
127 boost::python::handle_exception_impl(boost::function0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions