Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: [Dev] 2D/3D drivers

777
  1. [translate]    #1
    Senior Member
    Join Date
    May 2010
    Location
    Hungary
    Posts
    722

    Default [Dev] 2D/3D drivers

    Hi,

    I've succesfully loaded intercept drivers into GB:
    Code:
    I/SurfaceFlinger( 1996): EGL informations:
    I/SurfaceFlinger( 1996): # of configs : 23
    I/SurfaceFlinger( 1996): vendor    : Android
    I/SurfaceFlinger( 1996): version   : 1.4 Android META-EGL
    I/SurfaceFlinger( 1996): 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_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle 
    I/SurfaceFlinger( 1996): Client API: OpenGL ES
    I/SurfaceFlinger( 1996): EGLSurface: 5-6-5-0, config=0x0
    I/SurfaceFlinger( 1996): OpenGL informations:
    I/SurfaceFlinger( 1996): vendor    : Samsung Electronics
    I/SurfaceFlinger( 1996): renderer  : FIMG-3DSE v1.5
    I/SurfaceFlinger( 1996): version   : OpenGL ES-CM 1.1
    I/SurfaceFlinger( 1996): extensions: GL_OES_compressed_paletted_texture GL_OES_point_size_array GL_OES_point_sprite GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_depth24 GL_OES_draw_texture GL_OES_framebuffer_object	GL_OES_mapbuffer GL_OES_matrix_get GL_OES_matrix_palette GL_OES_query_matrix GL_OES_rgb8_rgba8 GL_OES_stencil8 GL_OES_stencil_wrap GL_OES_texture_mirrored_repeat GL_OES_texture_npot GL_OES_read_format GL_EXT_discard_framebuffer GL_EXT_texture_format_BGRA8888 GL_OES_byte_coordinates GL_OES_element_index_uint GL_APPLE_texture_2D_limited_npot GL_EXT_texture_compression_s3tc
    I/SurfaceFlinger( 1996): GL_MAX_TEXTURE_SIZE = 4096
    I/SurfaceFlinger( 1996): GL_MAX_VIEWPORT_DIMS = 4096
    I/SurfaceFlinger( 1996): flags = 00090000
    It could work, BUT
    Intercept (and spica & acclaim) drivers has no GL_OES_EGL_image extension, so blank screen effect
    So, We can wait for tom3q or, we need a hack to GB without GL_OES_EGL_image...

    Ideas?

  2. [translate]    #2
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,727

    Default

    I have already written, the driver of the i5700 and Intercept are loaded successfully but not working (black screen)
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  3. [translate]    #3
    Moderator
    Join Date
    Jun 2010
    Location
    Warsaw, Poland
    Posts
    2,828

    Default

    Quote Originally Posted by eViLrAcEr View Post
    in progress
    Yep, it's just as little as I could do to see anything on the screen.
    Proper implementation needs extending memory and shader subsystems.
    Unfortunately I've got the end of semester on the Uni now, which means pretty lot of work with tests and projects and then exams, so it will take a while until I find some time to do it.

  4. [translate]    #4
    Moderator
    Join Date
    Jun 2010
    Location
    Warsaw, Poland
    Posts
    2,828

    Default

    I've done some changes to allow Gingerbread to work a bit better, so no more red screen, colors are ok and the performance is pretty reasonable.

    You can find my development tree (with the changes) here:
    https://github.com/tom3q/gles6410/tree/devel

    To make everything work correctly, make sure that /dev/s3c-g3d and /dev/pmem_gpu1 have proper permissions (0666).

  5. [translate]    #5
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,727

    Default

    BIG THANKS!
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  6. [translate]    #6
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,727

    Default

    Quote Originally Posted by tom3q View Post
    I've done some changes to allow Gingerbread to work a bit better, so no more red screen, colors are ok and the performance is pretty reasonable.

    You can find my development tree (with the changes) here:
    https://github.com/tom3q/gles6410/tree/devel

    To make everything work correctly, make sure that /dev/s3c-g3d and /dev/pmem_gpu1 have proper permissions (0666).
    I built your driver (+module +kernel patches), but there is a sleep bug
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  7. [translate]    #7
    Moderator
    Join Date
    Jun 2010
    Location
    Warsaw, Poland
    Posts
    2,828

    Default

    Quote Originally Posted by LeshaK View Post
    I built your driver (+module +kernel patches), but there is a sleep bug
    Unfortunately, it is independent of the graphic subsystem, so I've got no control of it... (If you don't have latest s3c_g3d module from devel branch, there may be an additional sleep bug introduced by domain gating, worked around in development version by disabling it.)
    After the exam session I will try to debug both of them.

  8. [translate]    #8
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,727

    Default

    Quote Originally Posted by tom3q View Post
    If you don't have latest s3c_g3d module from devel branch
    I have the latest g3d from dev branch
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

  9. [translate]    #9
    Moderator
    Join Date
    Jun 2010
    Location
    Warsaw, Poland
    Posts
    2,828

    Default

    OK. Gingerbread works on my driver without display corruption. Performance varies, but it's on acceptable level all the time.

    Code available in master branch of my GitHub repo.
    Last edited by tom3q; 02-06-2011 at 11:10 PM.

  10. [translate]    #10
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,727

    Default

    Sleep bug?
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •