This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

OpenGL/EGL 1.1 and 2.0 emulators - any chance of different linux OS builds?

Note: This was originally posted on 24th March 2011 at http://forums.arm.com

Hello,

I can build and run the examples for both of these emulators on windows without problem.

On linux I can build and link no problems, but the examples do not run properly.

I am using red hat 5 - the OpenGL 1.1 emulator supports red hat 4 only, and the OpenGL 2.0 emulator supports ubuntu 10.04 only, so I suspect this is the problem.

The OpenGL 1.1 emulator pops up a window, but nothing is rendered to it using the example.
The OpenGL 2.0 emulator fails with "EGL_BAD_PARAMETER" status when the "eglMakeCurrent" fn is called. The parameters passed into that fn are correct and have passed all previous checks.


I have the latest ATI drivers for my graphics card installed - "glxinfo" and "fglxinfo" commands indicate OpenGL 2.1 is supported.

So, I'm expecting that the root cause of these linux issues is incompatibility of the emulator with my OS...

Is there any possibility of builds for other OS's being made available?

thanks!
Parents
  • Note: This was originally posted on 1st June 2011 at http://forums.arm.com

    Hello,

    I tried  it in the meantime on my Notebook running Ubuntu. There it works as expected.


    $ cat /etc/issue
    Ubuntu 10.04.2 LTS \n \l

    $ glxinfo | grep GLX
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap

    $ lspci | grep -i Graphic
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


    So even if the GLX Version is not 1.4 it still shows the cube demo.

    Anyway, I will probably upgrade my workstation to Ubuntu as well.

    Thanks for your help.

      lutz
Reply
  • Note: This was originally posted on 1st June 2011 at http://forums.arm.com

    Hello,

    I tried  it in the meantime on my Notebook running Ubuntu. There it works as expected.


    $ cat /etc/issue
    Ubuntu 10.04.2 LTS \n \l

    $ glxinfo | grep GLX
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap

    $ lspci | grep -i Graphic
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


    So even if the GLX Version is not 1.4 it still shows the cube demo.

    Anyway, I will probably upgrade my workstation to Ubuntu as well.

    Thanks for your help.

      lutz
Children
No data