Go to advanced search

by 6by9
Mon Mar 30, 2020 8:34 pm
Forum: Beginners
Topic: Full KMS OpenGL
Replies: 18
Views: 658

Re: Full KMS OpenGL

Patches are up for review - https://github.com/raspberrypi/linux/pull/3515.
It's still early days, but is starting to look moderately stable.
by 6by9
Mon Mar 30, 2020 5:38 pm
Forum: Graphics, sound and multimedia
Topic: yet another v4l2h264enc problem
Replies: 8
Views: 428

Re: yet another v4l2h264enc problem

Hi there, I found this thread and my problem seems to relate to this, too. My stream stops after some minutes and I can't get it working again without rebooting the Pi. I tried to change the values of io-modes. This didn't work, too. If I omit the io-values like this: GST_DEBUG=2 gst-launch-1.0 flv...
by 6by9
Mon Mar 30, 2020 2:40 pm
Forum: General discussion
Topic: vlc show controls in full screen mode not working
Replies: 1
Views: 43

Re: vlc show controls in full screen mode not working

Not really. X doesn't do overlays very well (at all!), so within the standard rendering paths it doesn't use the hardware acceleration to do that composition. Performance therefore it pretty poor unless you have a fairly beefy graphics card. 720p60 if you're lucky. The Pi has hardware specifically d...
by 6by9
Mon Mar 30, 2020 7:41 am
Forum: Troubleshooting
Topic: Pi4 won't keep screen resolution.
Replies: 13
Views: 276

Re: Pi4 won't keep screen resolution.

The Screen Configuration app saves the selected mode to a configuration file that is applied on every boot. Manually invoking xrandr doesn't.
Set it in the Screen Configuration app and it should persist over reboots.
by 6by9
Sun Mar 29, 2020 3:51 pm
Forum: General discussion
Topic: the driver source code of the Raspberry Pi camera module
Replies: 19
Views: 10923

Re: the driver source code of the Raspberry Pi camera module

If you wish to drive the sensor directly, then - https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/media/platform/bcm2835/bcm2835-unicam.c for the CSI2 receiver - https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/media/i2c/imx219.c for the sensor driver - https://github.com/ras...
by 6by9
Sat Mar 28, 2020 10:46 am
Forum: Advanced users
Topic: i2c_transfer() not found.
Replies: 4
Views: 165

Re: i2c_transfer() not found.

i2c_transfer() is an in-kernel function - https://elixir.bootlin.com/linux/v4.19.113/source/drivers/i2c/i2c-core-base.c#L1932 Userspace doesn't get to call it directly. The fact the function is in the include/linux/i2c.h and not include/uapi/linux/i2c.h or include/uapi/linux/i2c-dev.h is the big clu...
by 6by9
Sat Mar 28, 2020 10:33 am
Forum: Device Tree
Topic: Missing libfdt.so
Replies: 14
Views: 299

Re: Missing libfdt.so

The firmware parses any dtoverlay or dtparam lines and updates the base DT that is passed to the kernel. The dtoverlay command will not see those things as being loaded as overlays. As per the docs Only overlays and parameters applied at run-time can be unloaded - an overlay or parameter applied by ...
by 6by9
Fri Mar 27, 2020 6:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing MIPI CSI camera modules?
Replies: 2
Views: 101

Re: Interfacing MIPI CSI camera modules?

I see this question is also posted on Reddit - https://www.reddit.com/r/embedded/comments/f5xm3x/interfacing_mipi_csi_camera_modules/ I'm assuming you're not a spammer who's copied someone else's question. I was curious if there is any possibility of a home-gamer interfacing one. I watched MikesElec...
by 6by9
Fri Mar 27, 2020 5:47 pm
Forum: Device Tree
Topic: Missing libfdt.so
Replies: 14
Views: 299

Re: Missing libfdt.so

https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/dtoverlay/dtoverlay_main.c#L209 Either a -d <directory> option, or it expects to find them in one of the standard locations listed at https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/dtov...
by 6by9
Fri Mar 27, 2020 3:40 pm
Forum: Device Tree
Topic: Missing libfdt.so
Replies: 14
Views: 299

Re: Missing libfdt.so

Sorry, no. We support the version in https://github.com/raspberrypi/userland ... /dtoverlay
Whilst busybox may be pulling in from there, I'm afraid you're pretty much on your own or need to ask for assistance fromthe busybox folk.
by 6by9
Fri Mar 27, 2020 3:34 pm
Forum: Camera board
Topic: No-IR effect
Replies: 6
Views: 198

Re: No-IR effect

Do you know if it would be possible to apply a No IR filter effect to an image taken with a camera that has IR filter (using Python or similar)? How? It's not an effect. It's down to the fact that all 3 channels are equally sensitive to IR, and with sunlight having a significant IR content you get ...
by 6by9
Fri Mar 27, 2020 1:58 pm
Forum: Advanced users
Topic: .h264 video framerate constant or not?
Replies: 8
Views: 178

Re: .h264 video framerate constant or not?

I understand. Given what you've said then, if the know recording time of my video was 20 minutes exactly (confirmed by looking at the clock when the video stopped writing) why then would the re-encoded file at 30 fps be sometimes less than 20 minutes, by 10 - 20 seconds. Would this be from an incon...
by 6by9
Fri Mar 27, 2020 1:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Addressing 16 bit Register, Read/Write 16 bit into this Register
Replies: 7
Views: 201

Re: Addressing 16 bit Register, Read/Write 16 bit into this Register

write = i2c_msg.write(30,[3F,91,0D,03])
bus.i2c_rdwr(write)
write = i2c_msg.write(30,[35,02,08,08])
bus.i2c_rdwr(write)

You'll need to read your device's datasheet to see whether you need to swap the bytes around in either of those values. Quite frequently they are sent least significant byte first.
by 6by9
Fri Mar 27, 2020 1:16 pm
Forum: Advanced users
Topic: .h264 video framerate constant or not?
Replies: 8
Views: 178

Re: .h264 video framerate constant or not?

If the data storage and transfer was fast enough (lets assume), is there any way to verify the way an .h264 was captured if what you have recommended was not enabled when the video was captured? I.e. can we post-analyze a raw .h264 file? Not really. You can count the number of encoded frames in the...
by 6by9
Fri Mar 27, 2020 12:39 pm
Forum: Device Tree
Topic: Missing libfdt.so
Replies: 14
Views: 299

Re: Missing libfdt.so

Will that build the missing library if I did that from a Raspbian Buster install. Or do I have to use the Buildroot cross compiler? Normally cloning userland, installing cmake, and running the ./buildme script. It looks like dtoverlay is normally building libfdt statically. I have build/lib/libfdt....
by 6by9
Fri Mar 27, 2020 12:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Addressing 16 bit Register, Read/Write 16 bit into this Register
Replies: 7
Views: 201

Re: Addressing 16 bit Register, Read/Write 16 bit into this Register

If your device isn't an SMbus device, then don't use SMbus calls. write_i2c_block_data doesn't do the right thing as it is still taking an SMbus register number as a parameter and inserting it into the I2C traffic. i2c_rdwr is the correct call and is documented in https://pypi.org/project/smbus2/ wi...
by 6by9
Fri Mar 27, 2020 11:59 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 648
Views: 237617

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

I try to set the dv-timings via v4l2 --set-dv-timings to the detected input format. Is this possible without having to provide an EDID file? If your source is ignoring the EDID totally, then you can do what you like. This is the output with v4l2-ctl --log-status : [ 7190.336255] unicam fe801000.csi...
by 6by9
Fri Mar 27, 2020 10:42 am
Forum: Advanced users
Topic: .h264 video framerate constant or not?
Replies: 8
Views: 178

Re: .h264 video framerate constant or not?

The framerate should be constant as long as you have fast enough storage and no data integrity errors. With raspivid you can capture the timestamps of each frame as well by using the -pts <filename> option. You can then use mkvmerge (and probably others) to merge together the two files into a contai...
by 6by9
Fri Mar 27, 2020 10:32 am
Forum: Device Tree
Topic: Missing libfdt.so
Replies: 14
Views: 299

Re: Missing libfdt.so

by 6by9
Fri Mar 27, 2020 10:29 am
Forum: Troubleshooting
Topic: [email protected] Hz not working, tried everything I could
Replies: 7
Views: 363

Re: [email protected] Hz not working, tried everything I could

Is the data formatting a hardware limitation? or is it a software limitation? Hardware. YUV4:2:0 requires chroma subsampling after composition. I'm not even sure exactly how it is packed into the HDMI signal as lines will vary in length depending on whether they have a chroma line or not. 4:2:2 can...
by 6by9
Fri Mar 27, 2020 10:26 am
Forum: Advanced users
Topic: Timeline on raspbian kernel updates?
Replies: 10
Views: 679

Re: Timeline on raspbian kernel updates?

I'm wasn't expecting you to make any kernel changes for the duration. You don't want to risk making any change that could shoot the random rpi-update user's systems dead while the World (except America) is on Covid-19 lockdown. The commercial companies I work for have all implemented an Antarctic c...
by 6by9
Fri Mar 27, 2020 8:22 am
Forum: Advanced users
Topic: Timeline on raspbian kernel updates?
Replies: 10
Views: 679

Re: Timeline on raspbian kernel updates?

Normal steps are that "BRANCH=next rpi-update" will get bumped first for those who are really keen to test things out. Once that is appearing stable, it'll get promoted to the standard rpi-update. Given a month or two of testing there, it'll be promoted to apt. The slight fly in the ointment is that...
by 6by9
Thu Mar 26, 2020 6:09 pm
Forum: Graphics, sound and multimedia
Topic: Span images/videos across two monitors 3840x1080
Replies: 26
Views: 1810

Re: Span images/videos across two monitors 3840x1080

Note that there is texture format conversion for SAND (8bit YUV), but not the 10bit version that the HEVC block produces from 10bit sources.

Performance for 4k YUV rendering through GL is not something that has been benchmarked at all.
by 6by9
Thu Mar 26, 2020 4:42 pm
Forum: Graphics programming
Topic: Where can I find sources for ffmpeg 7:4.1.4-1+rpt7~deb10u1
Replies: 8
Views: 351

Re: Where can I find sources for ffmpeg 7:4.1.4-1+rpt7~deb10u1

https://github.com/RPi-Distro/ffmpeg

What exactly is your issue? I'll agree that it appears to have a prototype, but it's not apparently used anywhere either. The actual implementation appears to be called zc_get_buffer2.

Go to advanced search