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

Mesa loader issue. #2

Open
Hashirroshan opened this issue Mar 17, 2019 · 4 comments
Open

Mesa loader issue. #2

Hashirroshan opened this issue Mar 17, 2019 · 4 comments

Comments

@Hashirroshan
Copy link

Whenever I ran multistick.py script I got following error even after reinstalling libdrm using sudo apt install libdrm-*. I got live streaming without detection. Pls help me to solve this.

pi@Zero:~/TinyYolo $ python3 ./detectionExample/MultiStick.py

Device 0 Address: 1.2 - VID/PID 03e7:2150
1
Starting wait for connect with 2000ms timeout
Found Address: 1.2 - VID/PID 03e7:2150
Found EP 0x81 : max packet size is 512 bytes
Found EP 0x01 : max packet size is 512 bytes
Found and opened device
Performing bulk write of 865724 bytes...
Successfully sent 865724 bytes of data in 95.934476 ms (8.606069 MB/s)
Boot successful, device address 1.2
Found Address: 1.2 - VID/PID 03e7:f63b
done
Booted 1.2 -> VSC

Loaded Graphs!!!
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
press 'q' to quit!

RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
/usr/local/lib/python3.5/dist-packages/OpenGL/arrays/numpymodule.py:30: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
"Unable to load numpy_formathandler accelerator from OpenGL_accelerate"
Unable to load numpy_formathandler accelerator from OpenGL_accelerate

Finished

Thanks in advance
Hashir

@PINTO0309
Copy link
Owner

sorry. I have no time today, so I will check it later. Please give me some time.

@Hashirroshan
Copy link
Author

Okey, take your time. But am still waiting for your answer

Thanks and regards
HASHIR

@PINTO0309
Copy link
Owner

https://www.raspberrypi.org/forums/viewtopic.php?t=193902
and, please try below.

$ sudo apt-get install python-opengl
$ sudo -H pip3 install pyopengl --upgrade
$ sudo -H pip3 install pyopengl_accelerate --upgrade

@Hashirroshan
Copy link
Author

sorry, i could not fix the previous issue(mesa loader) yet, even after upgarde pyopengl and pyopengl_accelerate. i have still same issue.

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

2 participants