Git Product home page Git Product logo

cxvideocube's Issues

Odroid C2 Ubuntu (release 27/09/2017) OSD_GET_DMA_BUF_FD failed. (-1)

Hello @OtherCrashOverride ,

Thank you for the code. I'm trying to make it works on X11 (actually, fbdev got EGL_BAD_ALLOC when create surface as well). And I facing with error when get DMA buf for /dev/fb0 at https://github.com/nvl1109/CXVideoCube/blob/master/main.cpp#L623.
Here are output log:

odroid@odroid64:~/p/code/CXVideoCube⟫ sudo ./videocube
EGL: major=1, minor=4
EGL: Vendor=ARM
EGL: Version=1.4 Linux-r6p1-01rel0
EGL: ClientAPIs=OpenGL_ES
EGL: Extensions=EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_swap_buffers_with_damage EGL_EXT_swap_buffers_with_damage EGL_KHR_lock_surface EGL_KHR_lock_surface2 EGL_EXT_create_context_robustness EGL_ANDROID_blob_cache EGL_KHR_create_context EGL_KHR_partial_update EGL_KHR_create_context_no_error
EGL: ClientExtensions=EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_platform_x11

red colorSize: 8
green colorSize: 8
blue colorSize: 8
alpha colorSize: 8
depth size: 24
stencil size: 8
sample size: 0
file handle: a
screen info: width=3840, height=2160, bpp=32
OSD_GET_DMA_BUF_FD failed. (-1): Operation not permitted

Could you please take alook and give me your suggestions? Thank you.

egl.cpp:9:1: error: 'fbdev_window' does not name a type;

egl.cpp:9:1: error: 'fbdev_window' does not name a type; did you mean 'XMoveWindow'?
fbdev_window window;
^~~~~~~~~~~~
XMoveWindow
egl.cpp: In function 'void* Egl_CreateWindow(EGLDisplay, void**)':
egl.cpp:79:2: error: 'window' was not declared in this scope
window.width = width;
^~~~~~
egl.cpp:79:2: note: suggested alternative: 'Window'
window.width = width;
^~~~~~
Window

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.