Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EGL error REQUIRE_NOTHROW( sim.initialize() #134

Open
ikamran64 opened this issue Feb 28, 2024 · 7 comments
Open

EGL error REQUIRE_NOTHROW( sim.initialize() #134

ikamran64 opened this issue Feb 28, 2024 · 7 comments

Comments

@ikamran64
Copy link

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
Copy link

Leon022 commented Apr 3, 2024

Have you solved the problem?

@ikamran64
Copy link
Author

ikamran64 commented Apr 3, 2024 via email

@Leon022
Copy link

Leon022 commented Apr 3, 2024

Alright, I'm also working on fixing it.

@ikamran64
Copy link
Author

ikamran64 commented Apr 3, 2024 via email

@Leon022
Copy link

Leon022 commented Apr 3, 2024

Sure, if I can fix it.

@Leon022
Copy link

Leon022 commented Apr 8, 2024

@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
Copy link

@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 schutzwerk/CANalyzat0r#5 (comment). It fixed my problem in interactive demo and the error shown in unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants