glXChooseVisual message

This topic contains 4 replies, has 2 voices, and was last updated by  esyjun 8 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29665

    esyjun
    Member

    Hello,

     

    When I try to run Open GL/ES 1.1 training codes, I got en errors.

    Coule you tell me how I can solve this problem?

     

     

     

    [Message]

     

    root@test-desktop:/gl# ./OGLESInitialization

    OGLESPCViewer Version 2, 15/04/05

     

    OpenGL ES desktop PC emulation viewer for MBX IP cores

    Coptright Imagination Technologies Ltd 2004-2005.

     

    Reading oglespcviewer.cfg file…

    Using profile: PowerVR MBX1 With VGP – GENERIC PROFILE

    PVR: VFrame attempted to use one of these functions:

    PVR:             glXChooseVisual

     

    PVR: but they are not present on your machine.

     

     
    #32573

    Xmas
    Member

    Could you please give some details on the system you are using: hardware, linux version, graphics drivers?

    #32574

    esyjun
    Member

    Hi,

     

    These are my system configuration

     1. H/W : LG XNote M2 notebook (Dual Core Intel CPU)

     2. S/W : Ubuntu 7.10(Gutsy Gibbon) on Vmware Workstation

     3. Graphic Driver : nVidia

     

    I have two system environment. One is LinuxPC and the other is Emulator on LinuxPC.

    on LinuxPC, PowerVR works fine, but on emulator it does not work.

     

    On linux emulator, an error occure below:

     

    OGLESPCViewer Version 2, 15/04/05

     

    OpenGL ES desktop PC emulation viewer for MBX IP cores

    Copyright Imagination Technologies Ltd 2004-2005.

     

    Reading oglespcviewer.cfg file…

    Using profile: PowerVR MBX1 With VGP – GENERIC PROFILE

    *ERROR* Failed to open libGL.so

    Error: gelInitialize() failed.

     

     

    Then, I tried to copy two methods.

     

    1) copy libGL.so file on LinuxPC to emulator.

      – result : same error occured

     

    2) copy libGLES_CM.so file to emulator and rename it with libGL.so

     – result : PVR:glXChooseVisual  ,

                   PVR: but they are not present on your machine

     

    Coule you give me a clue to solve this problem?

     
    #32575

    esyjun
    Member

    Hello,

     

    I tried to some more.

     

    I downloaded mesa source codes and build it.  After building, I copied files below on /usr/lib

      libGL.so, libGLU.so, libglut.so, libGLw.so, libOSMesa.so

     

    Then, I run the same application which is OGLESHelloTriangle.

    I did not see any errors, but the screen blinked once and nothing happened. Message is as follows:

     

    OGLESPCViewer Version 2, 15/04/05

     

    OpenGL ES desktop PC emulation viewer for MBX IP cores

    Copyright Imagination Technologies Ltd 2004-2005.

     

    Reading oglespcviewer.cfg file…

    Using profile:PowerVR MBX1 With VGP – GENERIC PROFILE

     

     

    Do you know why the screen does not show anything?

     
    #32576

    esyjun
    Member

    I solved the problem.

     

    Solution :

      1) download mesa source codes at http://www.mesa3d.org/

      2) Build mesa with

           make linux-x86

      3) copy libGL.so in your path, for example /usr/lib/libGL.so

          – if there is already libGL.so, back up the file just in case.

      4) Run a sample application.

     
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.