peteanderson80 / Matterport3DSimulator

AI Research Platform for Reinforcement Learning from Real Panoramic Images.
Other
481 stars 129 forks source link

EGL error REQUIRE_NOTHROW( sim.initialize() #134

Open ikamran64 opened 6 months ago

ikamran64 commented 6 months ago

tests is a Catch v2.0.1 host application. Run with -? for options


RGB Image

/root/mount/Matterport3DSimulator/src/test/main.cpp:342 ...............................................................................

/root/mount/Matterport3DSimulator/src/test/main.cpp:350: FAILED: REQUIRE_NOTHROW( sim.initialize() ) due to unexpected exception with message: EGL error 0x3001 at eglInitialize

=============================================================================== test cases: 5 | 4 passed | 1 failed assertions: 119187 | 119186 passed | 1 failed

i am unable to solve this error. if anyone has solved it can i get some help here ?

Leon022 commented 5 months ago

Have you solved the problem?

ikamran64 commented 5 months ago

Nope i havent

On Wed, 3 Apr 2024 at 15:23, Leon022 @.***> wrote:

Have you solved the problem?

— Reply to this email directly, view it on GitHub https://github.com/peteanderson80/Matterport3DSimulator/issues/134#issuecomment-2034774480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUTXVPNO7GUOZOOG46A5J6LY3QGG7AVCNFSM6AAAAABD5CZQZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZUG43TINBYGA . You are receiving this because you authored the thread.Message ID: @.***>

Leon022 commented 5 months ago

Alright, I'm also working on fixing it.

ikamran64 commented 5 months ago

Ok, let me know if you find a solution to it On Wed, 3 Apr 2024 at 15:27, Leon022 @.***> wrote:

Alright, I'm also working on fixing it.

— Reply to this email directly, view it on GitHub https://github.com/peteanderson80/Matterport3DSimulator/issues/134#issuecomment-2034782274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUTXVPO35A2UDSY7SYOFD4DY3QGTLAVCNFSM6AAAAABD5CZQZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZUG44DEMRXGQ . You are receiving this because you authored the thread.Message ID: @.***>

Leon022 commented 5 months ago

Sure, if I can fix it.

Leon022 commented 5 months ago

@ikamran64 Apologies for the delay, but I managed to resolve the issue by installing a Linux system. Specifically, I was initially using Windows 11 with Docker to run MatterSim, but kept encountering the "EGL error 0x3001 at eglInitialize" problem. Later on, I reinstalled a CentOS 7 system and ran Docker and MatterSim on Linux, which allowed everything to run smoothly.

I suspect it may have been related to the presence of visualization programs in the system, but I can't say for certain. Nonetheless, this solution worked for me.

Please feel free to optimize the response as needed.

hanyikao commented 3 months ago

@ikamran64 I encountered the same error when using docker in wsl. You may try setting the environment variable by export QT_X11_NO_MITSHM=1 and source ~/.bashrc. The solution is from https://github.com/schutzwerk/CANalyzat0r/issues/5#issuecomment-430387063. It fixed my problem in interactive demo and the error shown in unit test