Go to advanced search

by dom
Fri Jul 19, 2019 4:20 pm
Forum: Troubleshooting
Topic: Chromium 'awww snap' errors on Pi 4 1Gb
Replies: 8
Views: 176

Re: Chromium 'awww snap' errors on Pi 4 1Gb

Chromium does use a lot of memory and 1GB may be tight for heavy web sites (especially if multiple tabs are open).

gmail (despite appearances) is a very heavy web site. You can switch to the lighter html version from this link:
https://support.google.com/mail/answer/15049?hl=en
by dom
Fri Jul 12, 2019 3:34 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 714
Views: 62404

Re: Raspberry Pi 4 Thread - general discussion

gubo1 wrote:
Fri Jul 12, 2019 2:01 pm
Does rpi4 support OTG like pi-zeroes?
Yes. The USB C power connector is connected to dwc_otg controller and can support OTG like a Pi zero.
by dom
Fri Jul 12, 2019 11:39 am
Forum: General discussion
Topic: Transition from omxpayer to vlc
Replies: 7
Views: 552

Re: Transition from omxpayer to vlc

There are different code paths for different configurations in VLC: fkms enabled/disabled command line or X software or hardware decode full screen or windowed They all have hardware accelerated decode for supported codecs (e.g. H.264), but decode isn't the only significant work. In general the full...
by dom
Thu Jul 11, 2019 1:27 pm
Forum: General discussion
Topic: Transition from omxpayer to vlc
Replies: 7
Views: 552

Re: Transition from omxpayer to vlc

VLC is hardware accelerated in Stretch and Buster. See: https://www.raspberrypi.org/blog/raspbian-update-november-2018/ VLC is being actively worked on, so I'd say that is the recommended video player for desktop use (kodi is better as a standalone player). There should be a VLC update in raspbian s...
by dom
Thu Jul 11, 2019 11:05 am
Forum: General discussion
Topic: RPi 4 OpenVG Support?
Replies: 8
Views: 365

Re: RPi 4 OpenVG Support?

I found this: https://www.amanithvg.com/
but it's not open source and may require licensing (depending on usage).

Looks like libs are available for arm. But it's not quite a plug in replacement.
It renders VG to a memory buffer, which you presumably display as a GL texture.
by dom
Fri Jul 05, 2019 2:45 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 714
Views: 62404

Re: Raspberry Pi 4 Thread - general discussion

bunklung wrote:
Fri Jul 05, 2019 1:39 pm
Is ARC supported?
If you are talking about audio input from HDMI, then no.
by dom
Wed Jul 03, 2019 4:15 pm
Forum: Advanced users
Topic: Wake from halt
Replies: 75
Views: 65960

Re: Wake from halt

Checking with hardware people, on Pi4 shorting GLOBAL_EN to ground will reset a Pi4 from halted state.
by dom
Tue Jul 02, 2019 3:48 pm
Forum: Troubleshooting
Topic: Pi4 doesn´t start with upgraded Stretch->Buster Card
Replies: 7
Views: 338

Re: Pi4 doesn´t start with upgraded Stretch->Buster Card

One of the dangers of updating an old image is the FAT partition size. The extra firmware and kernel make this partition very full (I had 3MB free when upgrading). If you had any extra files on there the update may have failed to copy all files. Make sure none of start4.elf / fixup4.dat / kernel7l.i...
by dom
Tue Jul 02, 2019 3:09 pm
Forum: Advanced users
Topic: Wake from halt
Replies: 75
Views: 65960

Re: Wake from halt

I am trying to wake a raspberry pi 4 after either "shutdown now" "shutdown -h now" or "halt" by grounding gpio 3 as described in the OP ( shorting 5 and 6 ), but it appears not to do anything here. Did this change in the pi4 ? Is there any way to activate it, or a workaround with another method ? S...
by dom
Tue Jul 02, 2019 2:56 pm
Forum: Raspbian
Topic: After upgrade To buster Composite output stop working
Replies: 24
Views: 1534

Re: After upgrade To buster Composite output stop working

Fix is in latest rpi-update firmware.
Will appear in apt firmware soon.
by dom
Tue Jul 02, 2019 1:37 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

How "safe" is rpi-update at the moment ? (I've not had cause to use it for many years). It's always advisable to have a backup of sdcard just in case, or run it on a non-critical Pi. We're not currently aware of any issues in rpi-update firmware/kernel that aren't in apt firmware/kernel. Regression...
by dom
Mon Jul 01, 2019 4:39 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

PeterO wrote:
Mon Jul 01, 2019 4:12 pm
Is this fix available ? That page mentions "bump to 4.19.56 #1" but that doesn't seem to be available yet,
PeterO
Where are you looking? It's currently only in rpi-update firmware (this update)
It will appear in apt firmware soon.
by dom
Mon Jul 01, 2019 3:09 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 275
Views: 51851

Re: Raspberry Pi 4 temperature

For a headless (Raspbian Lite) Pi4, are there any performance downsides when reducing core_freq and/or gpu_freq to save power/reduce heat? core_freq affects the main AXI bus the ARM and other hardware use to access sdram (on all models of Pi). Reducing core_freq directly reduces the sdram bandwidth...
by dom
Mon Jul 01, 2019 1:32 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

The bad news is, what ran at 60fps on a Pi3 runs at 5fps on a Pi4 ....ermmm does that mean the Mesa libs are emulating everything? You will get software 3d rendering if you have the legacy firmware driver enabled. You should have fkms driver enabled (dtoverlay=v3d-fkms-vc4 in config.txt) It is enab...
by dom
Mon Jul 01, 2019 12:51 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 714
Views: 62404

Re: Raspberry Pi 4 Thread - general discussion

I saw somewhere that the Pi4 only supports 3d on one display, if using two, the other one doesn't support 3d. Please always provide a link when asking questions about something you read. It unclear if what you are referring to is blatantly wrong information or something ambiguous that has been misi...
by dom
Fri Jun 28, 2019 5:54 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 714
Views: 62404

Re: Raspberry Pi 4 Thread - general discussion

Also, does anyone know of any cases that support having a fan for the rpi4? This little Pi runs a bit toasty. And one more thing, I've seen little fans that you can tape to the top of the heatsinks on Pi boards. Anyone know where to get those and the heatsinks? Assuming the FLIRC case for Pi4 works...
by dom
Fri Jun 28, 2019 1:37 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

Any hint where to look at? I guess this is the GBM part? Is there any minimal example that shows how to set up a GL surface similar to how it worked with the legacy drivers? When opening a surface like that, I guess that's still on its own dispmanx layer? Is it possible to create a transparent GL s...
by dom
Fri Jun 28, 2019 12:45 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

Brian Beuken wrote:
Fri Jun 28, 2019 1:17 am
hmm I am having some issues, just trying to get gles2.0 projects that work on Pi3's to run.
Are there dispmanx calls in there being passed to EGL?
If so that's not how you do it with mesa libs.
The native window given to EGL needs to be an X window handle.,
by dom
Thu Jun 27, 2019 2:59 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

ok if I read this right? if we want to use GLES3.0 we need to set up an Xwindow system and use Mesa libs? You must use mesa libs (that is where the 3d driver is for kms/fkms, and Pi4 only supports fkms). X isn't essential. Kodi for example runs as a fullscreen app. Note: you can only have one maste...
by dom
Thu Jun 27, 2019 11:21 am
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

PeterO wrote:
Thu Jun 27, 2019 8:35 am
Just tried my code on Pi3B with Buster , as expected it works 8-)
I also tried in on my X86-64 Mint-19 box, and it compiled and worked as-is with no modification required :-)
Is your code available somewhere? Might be useful to other users trying to do a similar thing.
by dom
Wed Jun 26, 2019 12:51 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 714
Views: 62404

Re: Raspberry Pi 4 Thread - general discussion

When I change to hello_triangle demo to not bail out on a Pi 4, it hangs in the same eglCreateContext. Is there any way to get OpenGL ES/Dispmanx applications working on the Pi 4? No it will need minor changes to the code. The good news is after the changes the code will run unchanged on earlier Pi...
by dom
Tue Jun 25, 2019 9:46 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

PeterO wrote:
Tue Jun 25, 2019 8:46 pm
That fixed the compile :-) And it's getting 48-50 fps. I have 128M of GPU memory if that makes a difference.
Shouldn't make a difference - gpu mem is needed by legacy driver, but arm side driver can just use normal arm memory.
by dom
Tue Jun 25, 2019 8:39 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

Oh - you may need:

Code: Select all

sudo apt-get install libgles2-mesa-dev
(best not to use the /opt/vc/include ones - they are for a different driver).
by dom
Tue Jun 25, 2019 8:37 pm
Forum: OpenGLES
Topic: Thread from Pi4 discussion
Replies: 80
Views: 4524

Re: Thread from Pi4 discussion

I just followed the instructions in the comments and it compiled with no changes.

Code: Select all

pi@domnfs:~/projects/gl $ g++  -lX11 -lEGL -lGLESv2  egl-example.cpp
pi@domnfs:~/projects/gl $ ./a.out
by dom
Tue Jun 25, 2019 8:22 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 714
Views: 62404

Re: Raspberry Pi 4 Thread - general discussion

PeterO wrote:
Tue Jun 25, 2019 8:09 pm
PS: Maybe we should take this over to the graphics programming/OpenGLES forum ?
Yep.

Go to advanced search