Go to advanced search

by 6by9
Fri Jul 19, 2019 7:05 pm
Forum: Troubleshooting
Topic: Pi 4 Over scan settings not working
Replies: 4
Views: 126

Re: Pi 4 Over scan settings not working

Pushed for review this afternoon - https://github.com/raspberrypi/linux/pull/3090 This is using the upstream approach of scaling all planes, whereas the previous firmware overscan would reduce the framebuffer size instead (at least by default). I may look into whether we can fiddle the mode list tha...
by 6by9
Fri Jul 19, 2019 3:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 42
Views: 4234

Re: B101 hdmi input with i2s sound

Thanks for putting up with my lack of knowledge and for getting back to me. I've done as Aeluvidu did in the post you've linked above and I get the 10 second video to record just as he did, so thank you! I have a couple of issues still, if you wouldn't mind helping me further when you can, that wou...
by 6by9
Fri Jul 19, 2019 3:04 pm
Forum: Advanced users
Topic: MJPG-STREAMER make error
Replies: 1
Views: 50

Re: MJPG-STREAMER make error

by 6by9
Fri Jul 19, 2019 2:04 pm
Forum: General discussion
Topic: Kernel panic = ded os because too much gpu ram? (Pls send help. And fix)
Replies: 2
Views: 147

Re: Kernel panic = ded os because too much gpu ram? (Pls send help. And fix)

(a) No, there is no way to directly alter the gpu ram if you've done silly things in config.txt. (b) There's very little point in increasing gpu_mem significantly. You can't use the legacy 3D driver as it is for the older 3D hardware only. The new 3D hardware has an IOMMU, therefore it doesn't need ...
by 6by9
Fri Jul 19, 2019 11:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 hdmi input with i2s sound
Replies: 42
Views: 4234

Re: B101 hdmi input with i2s sound

Bit of an update to the above in case you get time to check it out. I too got the yvta directory in userland, so I did this inside the new tc358743 directory: git clone https://github.com/6by9/yavta.git cd yavta make I still got the 'Failed to open /dev/video0: Remote I/O error' error. I found on a...
by 6by9
Fri Jul 19, 2019 11:19 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: B101 HDMI to CSI-2 Bridge (15 pin FPC) - how to make it run ?
Replies: 15
Views: 386

Re: B101 HDMI to CSI-2 Bridge (15 pin FPC) - how to make it run ?

@6by9 Hi, I'm also trying to get this module working on my 3B+. I think I need to do the reset on the chip, but I'm confused as to how I'm suppose to do this. I read something about pin 133 being used for CAM_GPIO or something in a similar post. I'm just lost at what to do with it. I've followed th...
by 6by9
Fri Jul 19, 2019 11:12 am
Forum: Camera board
Topic: [MOTION] Overexposure using YUV format
Replies: 16
Views: 1394

Re: [MOTION] Overexposure using YUV format

Set the module parameters max_video_width and max_video_height on bcm2835-v4l2 to be equal to or greater than the resolution you are capturing. The defaults are 1280 and 720 respectively. The simplest way is to create a file in /etc/modprobe.d called bcm2835-v4l2 containing the text options bcm2835-...
by 6by9
Fri Jul 19, 2019 11:08 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 584
Views: 179940

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

I check the video in h264 format and it has an image (no problems) but no audio. Correct, it's an H264 elementary stream which is inherently video only. What I did was see alternatives, look through pi@raspberrypi:~ $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: tc358743 [tc358743]...
by 6by9
Fri Jul 19, 2019 10:46 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 262

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

But I don't know how it's gonna work with " appsink ". I haven't installed OpenCV on my new Raspbian Buster yet. You stick appsink on the end and it should just work. It is the buffers being passed between the decoder and converter that are dmabufs. In parallel, I am trying different "sink" methods...
by 6by9
Fri Jul 19, 2019 10:40 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 584
Views: 179940

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

If you just want a single frame in the native format of the source, then use v4l2-ctl v4l2-ctl --set-dv-bt-timings query v4l2-ctl -v pixelformat=UYVY v4l2-ctl --stream-mmap=3 --stream-count=1 --stream-to=foo.uyvy You can add --skip-count=N to skip some frames at the start of the stream. Post proces...
by 6by9
Fri Jul 19, 2019 10:12 am
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 1019

Re: Pi4 - custom dual display configuration

Can you pls provide your view on the issue, thanks!! Are the displays using standard video modes, or something odd? Currently I'd recommend using an EDID editor (various tools are avaiable) to create an EDID that matches your display. You can then use hdmi_edid_file:0=1 hdmi_edid_filename:0=edid0.d...
by 6by9
Thu Jul 18, 2019 8:12 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 401

Re: RPi 4 - Dual screen in CLI

Thank you for your answer, so in GUI I can run strached video? Do you actually want the gui? Your earlier comments said not. From the console you can use drm to display the same plane on both displays but with different source cropping rectangles (this I how x renders a stretched gui) . Hevc decode...
by 6by9
Thu Jul 18, 2019 6:33 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 262

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

Note the two patches I'd linked to (they've been picked into our internal repos for testing, so should be available when I get a chance to do that) One includes devices that support bayer formats as compatible with v4l2convert. We support bayer on the input side of our v4l2 device, however there is ...
by 6by9
Wed Jul 17, 2019 8:05 pm
Forum: Troubleshooting
Topic: Simultaneous video encoding & decoding does not work
Replies: 3
Views: 138

Re: Simultaneous video encoding & decoding does not work

I believe that one of my colleagues has made some progress on this today, so hopefully we will have a solution soon.
by 6by9
Wed Jul 17, 2019 7:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi4B - Coach! I can't do a pull-up!?
Replies: 5
Views: 154

Re: Pi4B - Coach! I can't do a pull-up!?

raspi-gpio is the tool that is provided by Pi Towers for setting up GPIO from the command line. It should be installable from apt.
by 6by9
Wed Jul 17, 2019 7:01 pm
Forum: Graphics programming
Topic: Clone UHD60 outputs on Pi4?
Replies: 1
Views: 40

Re: Clone UHD60 outputs on Pi4?

Generally it is memory bandwidth that is the limiting factor for dual 4k60. Hdmi1 also has a slightly smaller fifo, so the timing of available memory bandwidth is more critical. It may be that we can find settings that allow it with limited scene complexity, but that'll be a little way down the line...
by 6by9
Wed Jul 17, 2019 2:37 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 401

Re: RPi 4 - Dual screen in CLI

I need to play one video on two screens with omxplayer, but without GUI. Right now im using PiWall, so for 2 screens i use 3 Rpi's . The same video on both screens, or different videos? omxplayer won't allow you to replicate the video on both screens directly, but the underlying components will. At...
by 6by9
Wed Jul 17, 2019 1:56 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 401

Re: RPi 4 - Dual screen in CLI

I bet it is possible to have separate consoles on different framebuffers. Last time I was playing with it was for adding additional screens on SPI interface, and assign console to it. I can't remember what I've done then - later I just switched to fbcp and had main (GPU supported) framebuffer just ...
by 6by9
Wed Jul 17, 2019 1:36 pm
Forum: General discussion
Topic: RPi 4 - Dual screen in CLI
Replies: 12
Views: 401

Re: RPi 4 - Dual screen in CLI

I don't believe Linux allows you to stretch the console framebuffer across two screens. I've never seen it on any install I've ever done. I'm not sure what the gain would be in stretching the screen when at the console.

You can control the two displays independently via libdrm when in the console.
by 6by9
Wed Jul 17, 2019 9:06 am
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 1019

Re: Pi4 - custom dual display configuration

On the RPI3 I could operate two WXGA (1280*800) side by side. I'm assuming you mean Rpi3 with legacy drivers (I'm also running on a RPi3). That would have been using Xinerama and have had no hardware acceleration using the 3D hardware. Xinerama also has to do a load of extra work as objects get dra...
by 6by9
Wed Jul 17, 2019 9:01 am
Forum: OpenMAX
Topic: Convert color format using GPU in Gstreamer (alternative to videoconvert).
Replies: 7
Views: 262

Re: Convert color format using GPU in Gstreamer (alternative to videoconvert).

6by9, thank you for the answer! I plan to switch to Raspbian Buster and Raspberry Pi 4 (at Raspbian Stretch, I updated the kernel to 4.19). I hope that in Raspbian Buster with Gstreamer 1.14 I will be able to configure the gst-plugin-bad to output video through the GLES layer. In Raspbian Stretch I...
by 6by9
Tue Jul 16, 2019 9:37 pm
Forum: General discussion
Topic: Pi 4 firmware, software stability improvements
Replies: 66
Views: 6947

Re: Pi 4 firmware, software stability improvements

if double buffer is what you need to make it not look bad... then why wouldn't you do it? It's not the way X does things, therefore is almost a complete rewrite of the whole windowing system. Wayland and Weston were attempts to do this, but when they got there they also found out just how hard it w...
by 6by9
Tue Jul 16, 2019 5:01 pm
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 1019

Re: Pi4 - custom dual display configuration

OK, Pi3 V3D does appear to have a rendering issue, but only because the maximum resolution isn't being clipped to 2048x2048. I need to check why the conditional at https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/gpu/drm/vc4/vc4_kms.c#L432 isn't altering the max render area. I had forgot...
by 6by9
Tue Jul 16, 2019 3:20 pm
Forum: General discussion
Topic: Pi4 - custom dual display configuration
Replies: 34
Views: 1019

Re: Pi4 - custom dual display configuration

hdmi_timing/hdmi_group/hdmi_mode in FKMS changes ready, but need to got through the process to be released into the wild. Kernel side is https://github.com/raspberrypi/linux/pull/3082, but it's not going to do much without the firmware side. Pi4, DPI (via VGA666) @ 1080p, HDMI0 @ 1080p. https://driv...
by 6by9
Tue Jul 16, 2019 11:41 am
Forum: C/C++
Topic: i2c - send only read bit without register address and read 2 bytes
Replies: 5
Views: 126

Re: i2c - send only read bit without register address and read 2 bytes

SMBus is defintely NOT what you want. It is a protocol that is partially compatible with I2C, but enforces sending a register address before every read. The datasheet says that tconv is 7.5usecs, which would be 133kHz. With the default I2C frequency being 100kHz you're probably getting away without ...

Go to advanced search