Go to advanced search

by paddyg
Thu Apr 20, 2017 6:46 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

... such as phones. It has reduced functionality compared with OpenGL but is more ubiquitous and ES2.0 is the native system used on the Raspberry Pi; Pi3d uses this. To run pi3d on laptops and desktop computers you need to install libraries that will emulate OpenGL ES behaviour on the OpenGL graphics ...
by Cigano1434
Thu Apr 20, 2017 5:37 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

Paddy, Thanks for your response. I've been able to run most of the demos now. The short answer is the GL driver change. I imaged a different SD card with Raspian (Not using NOOBS) and configured it and received the same error. I began to suspect that it was the driver. I had been changing the GL dri...
by paddyg
Thu Apr 20, 2017 12:03 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

... out. On my RPi 3 I did $ ls /opt/vc/lib -l and saw that date of the libbcm_host.so file was some time in 2016. The /opt/vc/src/hello_pi demos and pi3d worked ok. Then I updated the system: $ sudo apt-get update $ sudo apt-get dist-upgrade and the file date had changed to Mar 31 2017 and the demos ...
by Amrutha Saseendran
Wed Apr 19, 2017 8:41 pm
Forum: Python
Topic: Qt without x11 on Raberry pi 2
Replies: 6
Views: 461

Re: Qt without x11 on Raberry pi 2

No. You can access the display surface directly without running x11. Most of my involvement is with the development of pi3d and that uses the OpenGL ES library for the GPU and gets a display surface directly using the libbcm_host.so library. It runs significantly better without the ...
by paddyg
Wed Apr 19, 2017 8:38 pm
Forum: Python
Topic: Qt without x11 on Raberry pi 2
Replies: 6
Views: 461

Re: Qt without x11 on Raberry pi 2

No. You can access the display surface directly without running x11. Most of my involvement is with the development of pi3d and that uses the OpenGL ES library for the GPU and gets a display surface directly using the libbcm_host.so library. It runs significantly better without the ...
by Cigano1434
Wed Apr 19, 2017 5:39 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

... the issue currently on a brand new RaspberryPi 3. I installed the Full Raspian using NOOBS, then followed the instructions found here: https://pi3d.github.io/html/ReadMe.html#setup-on-the-raspberry-pi After completing the installation and attempting to run any of the examples, I get the same ...
by eladbar
Fri Apr 07, 2017 6:16 am
Forum: Python
Topic: putting 3d model Apollo soyuz on freeboard
Replies: 1
Views: 161

putting 3d model Apollo soyuz on freeboard

hello,
i am interested of running pi3d apollo soyuz 3d model
on node red freeboard dashboard.

is it possible?
by dlleigh
Sun Apr 02, 2017 11:29 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

Yes, very frustrating. Another data point of interest is that the demos in /opt/vc/src/hello_pi were also failing, but are now working. If I recall correctly, the particular program hello_dispmanx was reporting a weird display size, something like 2 by something large and bizarre. I don't remember t...
by paddyg
Sun Apr 02, 2017 1:51 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

Hi, it's frustrating that it 'just' started working without a satisfactory explanation for what caused the error. When you had the assertion error was there anything else installed and possibly running on the RPi that could have conflicted? I don't really know what might cause that error generally b...
by dlleigh
Fri Mar 31, 2017 5:57 pm
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

... clean re-install and everything works fine now in the original RPi 3. I'm not sure what the problem was before, but now it's gone. I can play with Pi3D now. I hope the problem doesn't return.
by dlleigh
Fri Mar 31, 2017 1:36 am
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Re: Pi3D AssertionError on all demos

The problem might be bad hardware.

I just tried exactly the same thing on a Raspberry Pi 2 that I have -- same OS version, same everything -- and the Pi3D demos work fine.

Unless there's a known problem running Pi3D on the 3, I'd say there's something else very weird going on.
by dlleigh
Thu Mar 30, 2017 12:09 am
Forum: Python
Topic: Pi3D AssertionError on all demos
Replies: 18
Views: 633

Pi3D AssertionError on all demos

I decided to try out Pi3D but can't even get the demos running. No matter what demo I try, it fails in DisplayOpenGL with AssertionError "assert s >= 0". I checked the FAQ and found this very problem right at the top, with the explanation: ...
by paddyg
Fri Mar 17, 2017 10:16 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3191

Re: Pi3D

... If you are using Wayne's code then my approach would be to look at his hmd stuff and replace that. Wayne's code is much more structured than the pi3d demos so probably worth building on. If you are starting with ForestStereo then the simplest hack would probably be to have your accelerometer ...
by dynamo770
Fri Mar 17, 2017 3:44 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3191

Re: Pi3D

Hi, have you looked at WayneK's VR stuff here https://thebubbleworks.com/waynes-bubble/2016/9/15/vr-zero-python-vr-on-the-raspberrypi If you've already used that code do you have any line numbers from the error messages that give a clue what might be going wrong. Thanks paddyg for your suggestions,...
by paddyg
Sun Mar 12, 2017 9:14 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3191

Re: Pi3D

Hi, have you looked at WayneK's VR stuff here https://thebubbleworks.com/waynes-bubbl ... aspberrypi
If you've already used that code do you have any line numbers from the error messages that give a clue what might be going wrong.
by dynamo770
Sun Mar 12, 2017 2:50 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3191

Re: Pi3D

... line which divides the screen then it would have greater impact. But as I am getting error while using tunnel shaper. I put this condition in the pi3d.stereocam. Can you help why am I getting errors when I change these shapers?
by dynamo770
Sun Mar 12, 2017 2:27 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3191

Re: Pi3D

I have using pi3d and ran demos like foreststereo on raspi3. That showed me left and right views by dividing the screen into two using a vertical line. I read about shaper and tried to use tunnel shaper. But it resulted in errors ...
by paddyg
Fri Mar 03, 2017 11:28 pm
Forum: Troubleshooting
Topic: installing pi3d problem
Replies: 1
Views: 151

Re: installing pi3d problem

... etc. mainly suggesting that pip is broken in some way and should be re-installed. I can certainly install pi3d ok so I think that end is ok screenshot.jpg you can actually do the same job a pip by opening a terminal and typing $ wget https://pypi.python.org/packages/42/69/65d5eca09727034e6e8979d65f30e85f7d748622998b0aae9543722cecbc/pi3d-2.18.tar.gz ...
by eladbar
Wed Mar 01, 2017 8:11 pm
Forum: Troubleshooting
Topic: installing pi3d problem
Replies: 1
Views: 151

installing pi3d problem

hi,
i try to run "sudo pip3 install pi3d".

it is returning this comment: ImportError: cannot import name 'IncompleteRead'

i want to use it for the apollo soyuz gyro demonstration,

your help will be highly appreciated,
by PiGraham
Tue Feb 28, 2017 8:33 am
Forum: Off topic discussion
Topic: Impossibilities.
Replies: 23
Views: 1893

Re: Impossibilities.

... piscope and waveform output and other GPIO tricks go a long way to making the Pi somewhat real-time. People have ported various real-time kernels. Pi3D opens up fancy shader tricks. Using the GPU for FFT, doing fast motion detection using the h264 codec motion vectors... We hve als seen various ...
by paddyg
Fri Feb 24, 2017 9:07 pm
Forum: Python
Topic: Display jpg image
Replies: 1
Views: 342

Re: Display jpg image

... what). But there are lots of forum posts on issues with slideshow systems on the pi so you should be able to figure this out. PS I would use pi3d but I'm biased! PPS You can pass a command to use as an argument to show() and you can probably see what that defaults to by looking at the default ...
by paddyg
Mon Feb 20, 2017 11:18 pm
Forum: Beginners
Topic: pi3d install?
Replies: 8
Views: 1522

Re: pi3d install?

... mode and I reduced the screen resolution to a fairly old fashioned screen size. Thereafter I could log in directly to command line and run the pi3d demos, all of which seemed to work fine apart from input using the event system (not surprisingly). They also worked with the desktop running but ...
by paddyg
Sun Feb 05, 2017 8:11 pm
Forum: Beginners
Topic: pi3d install?
Replies: 8
Views: 1522

Re: pi3d install?

Hi, yes you're right. In the case of applications like pi3d you just need the module code and either put it somewhere that's already in sys.path (which is what pip does) or add the location like sys.path.insert(1, '/home/pi/pi3d'). But with other packages ...
by B.Goode
Sun Feb 05, 2017 8:03 pm
Forum: Beginners
Topic: pi3d install?
Replies: 8
Views: 1522

Re: pi3d install?

@B.Goode pi3d is all python so all the pip install really does is copy the code into /usr/local/lib/python3.5/dist-packages/ and I have installed using the download tar.gz from pypi.python.org a few times. My impression was/is ...
by paddyg
Sun Feb 05, 2017 6:53 pm
Forum: Beginners
Topic: pi3d install?
Replies: 8
Views: 1522

Re: pi3d install?

... a network to another device. It's not even very nice getting GPU stuff into an xserver window on the same Raspberry Pi! (See https://github.com/pi3d/pi3d_demos/blob/master/PyQtCube.py (which won't make a lot of sense unless you are familiar with Qt and the Pi3d looping structure - but it's basically ...

Go to advanced search