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!
  • Note: This was originally posted on 27th May 2011 at http://forums.arm.com

    Hello,

    I have got the same problem as described above.

    * there are no errors or warnings when compiling and linking the examples
    * I have this problem with the 'cube' example as well as with any other simple program I want to run in the emulator

    I tried all kinds of changes to the configuration attributes. But that did not help.

    My graphics system information follows:

    > fglrxinfo
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: Radeon X1300/X1550 Series
    OpenGL version string: 2.1.8543 Release

    > glxinfo | grep GLX
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
    GLX_ARB_create_context, 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_swap_control,
    GLX_MESA_swap_frame_usage, GLX_NV_swap_group, 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_swap_barrier, GLX_SGIX_swap_group,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
    GLX_ARB_create_context, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_MESA_swap_control, GLX_NV_swap_group, GLX_OML_swap_method,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_swap_barrier, GLX_SGIX_swap_group

    > cat /etc/redhat-release
    CentOS release 5.6 (Final)

    It is a 32bit system.

    I can run 'glxgears' and all kinds of OpenGL stuff. As mentioned above it might be the GLX release that blocks the whole thing. I installed the latest official driver for my graphics card recently. Is there any chance to find a driver that supports GLX 1.4?

    Any help is appreciated.

    Thanks

      lutz
  • 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