Go to advanced search

by 6by9
Mon Oct 14, 2019 3:30 pm
Forum: General discussion
Topic: Current State of Raspberry Pi 4 Software and Hardware Support
Replies: 20
Views: 616

Re: Current State of Raspberry Pi 4 Software and Hardware Support

What's the problem with EDID? Back in the days of the original Pi it would not work with one of my monitors. After a quick question here I had read the EDID of the monitor manually with some user space program and entered required details from that into config.txt or wherever. Then my monitor worke...
by 6by9
Mon Oct 14, 2019 1:49 pm
Forum: Camera board
Topic: Camera LED and Shutdown Direct Control on Pi 3B+
Replies: 3
Views: 59

Re: Camera LED and Shutdown Direct Control on Pi 3B+

You can stop the firmware doing anything with regard those GPIOs if you create a custom dt-blob.bin file in /boot based on https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts with CAMERA_0_SHUTDOWN and CAMERA_0_LED under pins_3b2 set to type = "absent" See https://www.raspberrypi.o...
by 6by9
Mon Oct 14, 2019 1:28 pm
Forum: Advanced users
Topic: VC4/V3D on RPi4 with Buildroot
Replies: 5
Views: 94

Re: VC4/V3D on RPi4 with Buildroot

vc4_submit_cl_ioctl shouldn't be called. It should be calling v3d_submit_cl_ioctl You should have two devices under /dev/drm (card0 and card1), and two sets of entries under /sys/class/drm/[card0|card1]. One (generally card0) is the v3d graphics side. The other (generally card1) is the vc4 rendering...
by 6by9
Mon Oct 14, 2019 10:51 am
Forum: Beginners
Topic: Mirrored output to RCA and HDMI touchscreen
Replies: 3
Views: 84

Re: Mirrored output to RCA and HDMI touchscreen

Doesn't the fbcp tool still work? https://github.com/tasanakorn/rpi-fbcp It works, but with a significant overhead. One display channel is composing the HDMI display fbcp calls dispmanx_snapshot at whatever rate it fancies. This clones the display list for the HDMI display and kicks off a compositi...
by 6by9
Mon Oct 14, 2019 10:42 am
Forum: Camera board
Topic: Camera LED and Shutdown Direct Control on Pi 3B+
Replies: 3
Views: 59

Re: Camera LED and Shutdown Direct Control on Pi 3B+

Why are you trying to directly manipulate them? What's your use case? - If you run any of the GPU driven camera apps then it will try and power on the camera. Nothing else from the GPU will alter them. - The Linux kernel also has a driver for them (generally registers as gpiochip1), so you could wri...
by 6by9
Mon Oct 14, 2019 10:25 am
Forum: Beginners
Topic: Mirrored output to RCA and HDMI touchscreen
Replies: 3
Views: 84

Re: Mirrored output to RCA and HDMI touchscreen

There is no way to drive both HDMI and composite output simultaneously from the Pi SoC. They use a common part of the display pipeline, and it can not drive two outputs simultaneously. A DPI (or DSI) display could be used at the same time as either HDMI or composite, but there isn't a trivial way to...
by 6by9
Mon Oct 14, 2019 10:17 am
Forum: Beginners
Topic: STICKY: Using a Gert VGA 666 adapter - [HOWTO]
Replies: 178
Views: 203768

Re: STICKY: Using a Gert VGA 666 adapter - [HOWTO]

Hi, The latest Raspbian distro includes gstreamer support for the "kmssink" video sink which allows direct video rendering into a frame of a DRM device. This works really well on the Pi's HDMI output however I'd like to use it with this module (instead of HDMI, not in addition to). In order for the...
by 6by9
Mon Oct 14, 2019 9:52 am
Forum: Graphics programming
Topic: v4l2convert in playbin or custom pipeline
Replies: 1
Views: 38

Re: v4l2convert in playbin or custom pipeline

kmssink should directly accept the YUV frames produced from v4l2h264dec. Why do you want a conversion stage in there anyway?

Based on your audio destination I'm assuming is a Pi0-3 running vc4-kms-v3d (hence vc4hdmi). What kernel version?
by 6by9
Sun Oct 13, 2019 7:59 pm
Forum: Compute Module
Topic: DSI Panel JDI LT070ME05000 bringup issues
Replies: 5
Views: 204

Re: DSI Panel JDI LT070ME05000 bringup issues

When using vc4-kms-v3d it shouldn't matter if the hdmi is connected or not as it has supported multiple displays almost since the beginning.
by 6by9
Sat Oct 12, 2019 8:26 am
Forum: Advanced users
Topic: STICKY: HOWTO: Create Custom HDMI modes
Replies: 214
Views: 355839

Re: STICKY: HOWTO: Create Custom HDMI modes

Hello, it is true that custom video modes (hdmi_mode 87) are not supported on RPI4? Thank you seems to work for some folks. But you might be better off with putting them into an EDID.dat file - under detailed timings section. But this is work in progress as it requires new firmware (which is still ...
by 6by9
Sat Oct 12, 2019 8:22 am
Forum: Camera board
Topic: Camera missing frames
Replies: 14
Views: 417

Re: Camera missing frames

Try this and it will fix it I spend lots of time asking them qs and trying to debug the issue What worked is core_freq=500 #h264_freq=300 #gpu_freq=500 sdram_freq=600 over_voltage=6 gpu_mem=150 sdram_freq=600 because i was storing video in it in tmpfs mount You may not need it You've quoted this tw...
by 6by9
Fri Oct 11, 2019 9:43 am
Forum: Camera board
Topic: Maximum capture speed
Replies: 10
Views: 2109

Re: Maximum capture speed

Csi2 supports up to 1Gbit/s per lane, and the Pi exposes two lanes. The cameras generally produce bayer data at 10bits per pixel. I make that 200MPix/s, ... It is 231.22Mbits per frame: $ echo "scale=2; 3280*2464*3*10/(1024^2)" | bc -ql 231.22 $ "3280*2464*3*10" ? Why are you doing 30bits per pixel...
by 6by9
Fri Oct 11, 2019 6:37 am
Forum: General discussion
Topic: How to remove the black border?
Replies: 12
Views: 421

Re: How to remove the black border?

Support for overscan (technically underscan, or overscan compensation) was missing on first release of the Pi4 due to the new graphics stack not having any support. Cue lots of complaints about it not being able to work with this or that TV. Mainline Linux gained support in 5.2 if memory serves, and...
by 6by9
Fri Oct 11, 2019 5:46 am
Forum: Camera board
Topic: Maximum capture speed
Replies: 10
Views: 2109

Re: Maximum capture speed

This is an old thread, but came across it also looking for optimization tips. You've got to think about what you're asking for... If you're shooting 3280 x 2464 at 8-bits in RGB, each image is 24.25MB raw -- (3280x2464x8x3)/8 On the output, yes. The theoretical limit of the camera bus is 100MBps pe...
by 6by9
Thu Oct 10, 2019 3:40 pm
Forum: General discussion
Topic: Video recording on RPI3 - RPI4
Replies: 3
Views: 124

Re: Video recording on RPI3 - RPI4

FFmpeg (and Gstreamer) try to be totally generic, and therefore often fail in a large number of cases due to lack of platform optimisation.

Using MMAL or IL to pass images directly between GPU components without involving the ARM cores can easily achieve 1080p30 encode.
by 6by9
Thu Oct 10, 2019 3:38 pm
Forum: General discussion
Topic: Jumbo Packets for the USB Ethernet Gadget
Replies: 12
Views: 1482

Re: Jumbo Packets for the USB Ethernet Gadget

The set of "net: use core MTU range checking" patches b96f9af ipv4/6: use core net MTU range checking 46b3ef4 s390/net: use net core MTU range checking b3e3893 net: use core MTU range checking in misc drivers d0c2c99 net: use core MTU range checking in virt drivers 9157208 net: use core MTU range ch...
by 6by9
Thu Oct 10, 2019 2:49 pm
Forum: General discussion
Topic: Help me please,my due date is next week.....
Replies: 19
Views: 724

Re: Help me please,my due date is next week.....

echmain wrote:
Thu Oct 10, 2019 1:44 pm
Congratulations on your new baby!
I'm glad I'm not the only one who had incorrectly interpreted the thread title :D
by 6by9
Thu Oct 10, 2019 12:23 pm
Forum: Compute Module
Topic: DSI Panel JDI LT070ME05000 bringup issues
Replies: 5
Views: 204

Re: DSI Panel JDI LT070ME05000 bringup issues

[ 7.497195] [drm:vc4_dsi_irq_handler [vc4]] *ERROR* DSI1: LP0 contention error looks suspicious. Checking the datasheet for the meaning of that error, it says "lane module detected a contention situation on a line while trying to drive the line low". That would imply a wiring issue on lane 0. DSI s...
by 6by9
Thu Oct 10, 2019 12:12 pm
Forum: General discussion
Topic: I cant rotate my raspberry pi 3b 10.1 inch screen and touch together
Replies: 3
Views: 90

Re: I cant rotate my raspberry pi 3b 10.1 inch screen and touch together

display_rotate=2 will affect all displays (display only) lcd_rotate=2 will affect only the DSI display, and compensate for the touchscreen as that goes via the firmware. There is no 10.1" screen sold by Raspberry Pi, therefore the logical conclusion is that yours is connected via USB or similar. If ...
by 6by9
Thu Oct 10, 2019 6:31 am
Forum: General discussion
Topic: Jumbo Packets for the USB Ethernet Gadget
Replies: 12
Views: 1482

Re: Jumbo Packets for the USB Ethernet Gadget

Nothing to do with Buster, this is just the kernel version switch to 4.19
https://github.com/raspberrypi/linux/co ... c952543697
by 6by9
Wed Oct 09, 2019 3:22 pm
Forum: General discussion
Topic: which rpi should I get?
Replies: 25
Views: 681

Re: which rpi should I get?

the usb connections will be the actual dtv dongle and usb thumbdrive used for recordings. I don't record alot, haven't tried the timeshift yet. I see such pricing for the pi4 in my local vicinity too, but the pi4 is only at pre-order stage that makes me wonder, what is the level of support? I had i...
by 6by9
Wed Oct 09, 2019 2:32 pm
Forum: General discussion
Topic: which rpi should I get?
Replies: 25
Views: 681

Re: which rpi should I get?

Depends on how much USB traffic you are intending to throw around. On the Pi 0-3, ethernet, USB HDD, and your DVB-T tuner will all share the one USB2 interface via a hub. There are known limitations to the USB controller, and it can struggle with certain loads. The Pi4 uses a totally different USB i...
by 6by9
Wed Oct 09, 2019 11:26 am
Forum: Camera board
Topic: Temperature Sensor on IMX 219
Replies: 7
Views: 217

Re: Temperature Sensor on IMX 219

And as I have warned multiple times, using i2c0 from userspace at the same time the VPU is using it is going to be hit and miss. Please stop recommending it - I don't want the support overhead. I see your point, but what is your solution "to do it the right way"? If you want to poke registers then ...
by 6by9
Wed Oct 09, 2019 11:10 am
Forum: Camera board
Topic: Best way to timestamps to .h264 files
Replies: 2
Views: 146

Re: Best way to timestamps to .h264 files

Time unknown will be returned on frames that have been split over multiple buffers. The first frame gets the timestamp of the frame, and subsequent buffers get time unknown. It's to make things consistent with things like uncompressed audio, where the timestamp applies to the first sample within the...
by 6by9
Wed Oct 09, 2019 10:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DSI to LVDS
Replies: 5
Views: 223

Re: DSI to LVDS

Output size is defined in the /boot/config.txt so that it uses [email protected] 24pp. Wich is the target screen size. How? There are hdmi_timings and dpi_timings parameters, but no dsi_timings. DSI has more parameters to setup than either of the others. You can also change the size of the framebuffer,...

Go to advanced search