Go to advanced search

by bhjel
Thu Nov 12, 2020 5:43 am
Forum: OpenGLES
Topic: Update OpenGL texture using DMA exported buffer
Replies: 3
Views: 496

Re: Update OpenGL texture using DMA exported buffer

Hi all, Raspberry Pi 4 Model B OS: boot 2 qt yocto based graphic driver: vc4-fkms-v3d (Aug 22 2019 13:55:50) I'am trying to boost OpenGL texture updating rate by using DMA mechanism to avoid unnecessary copying, because until now it's taking ~40ms to update a 720p (1280x720) BGRA Texture. So, i dec...
by bhjel
Fri Sep 11, 2020 12:14 pm
Forum: Camera board
Topic: raspistill on RPI4 - failed to add service
Replies: 9
Views: 691

Re: raspistill on RPI4 - failed to add service

Thank you - that gave me some clues. I'm very close now - through the mmal api I am getting proper RGBA frames (judging by the contents of the buffer). glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES,...) continues to return error 1282, and I have a feeling that I am missing some context on wha...
by bhjel
Wed Sep 09, 2020 9:02 pm
Forum: Camera board
Topic: raspistill on RPI4 - failed to add service
Replies: 9
Views: 691

Re: raspistill on RPI4 - failed to add service

Same issue - I have swapped out dispmanX with X11 for the userland demos and I am linking the latest MESA openglES 3.1. Not sure how to address the following methods just yet: eglCreateImageKHR eglDestroyImageKHR glEGLImageTargetTexture2DOES There is progress with eglGetProcAddress(), but I'm not su...
by bhjel
Thu Mar 19, 2020 4:27 am
Forum: Camera board
Topic: 1080p 30-60fps OpenCV
Replies: 6
Views: 928

Re: 1080p 30-60fps OpenCV

Understood - thanks so much for your quick responses!
by bhjel
Tue Mar 17, 2020 5:10 pm
Forum: Camera board
Topic: 1080p 30-60fps OpenCV
Replies: 6
Views: 928

Re: 1080p 30-60fps OpenCV

I see. This is all really great information, and it's helping me understand the driver now that I have a better understanding of the intended functionality. I have one more question - how can I determine when the image is being upscaled vs downscaled? If I request something like 1440x1080 30fps on a...
by bhjel
Tue Mar 17, 2020 11:57 am
Forum: Camera board
Topic: 1080p 30-60fps OpenCV
Replies: 6
Views: 928

Re: 1080p 30-60fps OpenCV

Thanks for the quick response! Your suggestion worked perfectly. I tried searching the forums again for max_video_height, bcm2835-v4l2.conf, etc and I have finally found one of your other posts on this. It's worth noting that searching for "max_video_height" doesn't seem to show anything relevant fo...
by bhjel
Tue Mar 17, 2020 8:36 am
Forum: Camera board
Topic: 1080p 30-60fps OpenCV
Replies: 6
Views: 928

1080p 30-60fps OpenCV

Hello, We are attempting to use OpenCV's video capture api to grab frames from a V1 camera at 1080p30 on a Pi 4. It seems that beyond 960x720 (which works at 30fps), we are bound to roughly 7 fps. RaspiVid does not appear to be as limited and can capture at 1080p at higher framerates. Is this a limi...
by bhjel
Wed Mar 04, 2020 7:56 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Ah, I now get excited at any mention of networking errors in any commit. I will read a bit more closely next time, and I'm slowly working towards being able to trace these errors better myself. I will gladly absorb any resources that you may have in mind.
by bhjel
Tue Mar 03, 2020 8:58 am
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

The 4.19.105 firmware feels very close. We are still encountering the error, but its frequency has been reduced.
by bhjel
Mon Feb 24, 2020 10:30 am
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Here's what I have been seeing with the latest firmware, which matches what our test group is currently seeing: We see very few of the same netdev watchdog errors. I have seen one over the past two days. We do, however, see intermittent networking dropouts. Dmesg shows the occasional linkdown/linkup...
by bhjel
Fri Feb 21, 2020 5:37 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

I'm having seemingly better results with 4.19.105 (https://github.com/Hexxeh/rpi-firmware/commit/fd8347b54d64b462b6aaf9771448d1b4d8ee4e0e). It took 3 hours to hit the first crash, and I'm on 2.5 hours now without a second crash. A few of the commits here did catch my eye, but I'm not sure if they ma...
by bhjel
Thu Feb 20, 2020 9:38 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

It might already on 4.19 actually, but it certainly isn't running absolute latest firmware. You will probably want to run the remount script in home/pi/dev to remount the boot partition as r/w.
by bhjel
Tue Feb 18, 2020 4:23 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

I noticed the brief slowdown before every crash as well. What is interesting is that moving to 4.19 seemed to make the problem more frequent. I can provide an image with 4.19 as well your current 4.14 image if it would help.

We really appreciate the help so far.
by bhjel
Wed Jan 15, 2020 4:35 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

We will send a unit over and try to work this out in parallel. I performed a diff of the driver in 4.14.96 and 4.19.50 and confirmed that they are identical. I also confirmed that the issue does exist in 4.14.96, although it does seem to happen less frequently (sometimes 30 minutes between failures)...
by bhjel
Tue Jan 14, 2020 7:23 pm
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

This is matched with an error 11 and then error 9 out of our select() call. It seems like something in the spi driver commits after Jan 9 has introduced a new bug. Has anyone else experienced this? I've multiplied our network transmit calls to try to reproduce the issue, but it almost seems like it ...
by bhjel
Mon Jan 13, 2020 12:19 am
Forum: Compute Module
Topic: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"
Replies: 29
Views: 5467

Re: Rare comms failure with enc28j60 and compute module "netdev watchdog: eth0 ("enc28j60"): transmit queue 0 timed out"

Seeing it again on 4.19.66 unfortunately. Our INT pin is physically connected, and it appears that downgrading to 4.14.98 resolves the issue. Here is the dmesg log from the crash on 4.19.66:: Uname -a Linux limelight 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux Network Freeze/...
by bhjel
Thu Sep 12, 2019 2:43 am
Forum: Camera board
Topic: Official V4L2 driver
Replies: 565
Views: 531313

Re: Official V4L2 driver

Any thoughts on adding a 4x4 binning, 320x240 "mode 8" to the v4l2 driver for the imx219? This would be immensely useful for our computer vision application.
by bhjel
Sat Sep 07, 2019 2:06 am
Forum: Camera board
Topic: 4x4 binning
Replies: 6
Views: 2628

Re: 4x4 binning

Hello,

Any updates on this? I agree that 4x4 binning on the IMX219 would be extremely valuable for certain computer-vision tasks. The ideal would be automatic "mode 8" selection below a certain res such that we could utilize it with the v4l driver.

Thank you
by bhjel
Mon Sep 02, 2019 9:02 pm
Forum: Camera board
Topic: 320x240 at 120fps and full FOV w/ OpenCV Advice
Replies: 0
Views: 254

320x240 at 120fps and full FOV w/ OpenCV Advice

Hello, I'm hoping to get an opinion on our current goal: We currently have our pipeline running well at 90fps, 320x240 with the V1 and V2 cameras. We have also achieved 120fps with the V2 camera at 320x240, but only with sensor mode 7 which heavily crops the image. We have forced sensor modes 4 and ...

Go to advanced search