processing / processing-pi-website

Files for the pi.processing.org subdomain that documents Processing on the Raspberry Pi
https://pi.processing.org/
16 stars 10 forks source link

[Content] - add info for opengl driver #22

Closed msurguy closed 6 years ago

msurguy commented 6 years ago

Prompted by user "micuat" in the the thread on https://discourse.processing.org/t/where-is-the-main-documentation/1757, some of the docs on opengl driver are not currently found on this website.

Perhaps we can move the contents from https://github.com/processing/processing/wiki/Raspberry-Pi to this website and make a note on the wiki to come here instead.

What do you think @gohai ?

micuat commented 6 years ago

@msurguy thanks for opening an issue. First I read the documentation on https://www.raspberrypi.org/blog/now-available-for-download-processing/ and followed the shell command.

After installation I got glsl compilation error and also I noticed pgraphics related things didn't work (crashes at endDraw). Then I searched related info and found about the wiki page. I tried Full KMS but didn't work until I found that I needed to reboot the machine.

(just now I found that a user commented about the driver on the original blog post - but there are quite a few comments and wouldn't have found it even though I scrolled)

It would be useful to have a line about opengl driver after the shell command in the install doc - and/or a faq page that states the shader error and the solution (sorry I didn't take screenshots or complete error messages but it would be easy to reproduce by switching the driver).

@gohai by the way I saw your presentation at PCD last year - the progress is amazing and I'm interested in the upload feature; I will try soon :)

N

gohai commented 6 years ago

@msurguy Good idea Maks, I started the process here: c1470ab9f5018cb85f3c575635d6f32a5b30e0b2

@micuat You'll get the best possible experience currently by downloading and using our pre-built image. If you run into any issues with that please holler!

I agree that the situation with the multiple graphics drivers is currently a bit confusing. The Raspberry Pi Foundation has been working since years on the "new" driver, which is feature-wise almost en-par with the old one. Unfortunately the features that are not quite ready pertain to video decoding and use of the camera - so things that people probably do care about. I am hopeful that they will release a Raspbian version in the fall that will finally make the "new" driver the default. At that point we'll revisit the OpenGL and video situation - make sure that everything works, and drop support for the legacy driver going forward.

gohai commented 6 years ago

PS for @msurguy: I think ultimately we should strive to move information from this page to more specific places - e.g. the information on how to enable the I2C or SPI bus (on vanilla installations of Raspbian) could be moved to an overview site for the I2C/SPI classes respectively.