Go to advanced search

by 6by9
Fri Dec 13, 2019 10:34 pm
Forum: Device Tree
Topic: No HDMI hotplug detection with Full KMS on CM3
Replies: 1
Views: 43

Re: No HDMI hotplug detection with Full KMS on CM3

That does look incorrect, but you can't address it as GPIO 128 from Linux as you need to direct it to the correct GPIO controller driver.
I'd expect it to be

Code: Select all

hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
by 6by9
Fri Dec 13, 2019 3:15 pm
Forum: Camera board
Topic: Camera Dropped Frames
Replies: 2
Views: 60

Re: Camera Dropped Frames

For a third party camera there is very little support that can be offered. MMAL provides timestamps on all frames via the PTS field. It's always recommended to look at those values rather than assume anything. The other concern I'd have is that memory says the CSI2 receiver will drop incoming frames...
by 6by9
Fri Dec 13, 2019 2:10 pm
Forum: Troubleshooting
Topic: 32:9 resolution 5120x1440 not working
Replies: 10
Views: 318

Re: 32:9 resolution 5120x1440 not working

I know that that setting is intended to force behaviour for HDMI 1.4. What you were reporting was almost exactly as if you had engaged it, hence requesting you check it. All of the display resolution setup and selection on the Pi4 is now using standard Linux code. It'd be interesting to know if a Li...
by 6by9
Thu Dec 12, 2019 4:21 pm
Forum: Beginners
Topic: Pi and DACs question [solved]
Replies: 14
Views: 304

Re: Pi and DACs question

Sorry, I don't buy into the Digione claims over jitter. A lot of audiophile debate could be confused with homeopathy rather than science. For reference, my background is a (now slightly rusty) Masters in Electronic Engineering and Music Technology, and nearly 30 years in live sound and home recordin...
by 6by9
Thu Dec 12, 2019 2:40 pm
Forum: Beginners
Topic: Pi and DACs question [solved]
Replies: 14
Views: 304

Re: Pi and DACs question

So 16bit source material (eg CD) has a signal to noise ratio of 96dB (6dB per bit of signal). Going significantly over that is redundant. Your amplifier quotes a spec of 100dB S/N from the CD or tape analog inputs. I'd expect the digital inputs to be a smidge quieter than that. Frequency response on...
by 6by9
Thu Dec 12, 2019 10:56 am
Forum: Beginners
Topic: Pi and DACs question [solved]
Replies: 14
Views: 304

Re: Pi and DACs question

Generally keep things digital until the last minute. You say "I have an optical (Coaxial) input into my amp, but I understand that the internal DAC will be dated so better to get something else." Have you checked out the specs of your amp? Do you need 192kHz 24bit playback? Can you tell the differen...
by 6by9
Thu Dec 12, 2019 7:49 am
Forum: Graphics, sound and multimedia
Topic: How to play 2 videos simultaneously? - Pi 4 ModelB
Replies: 19
Views: 534

Re: How to play 2 videos simultaneously? - Pi 4 ModelB

I hadn't provided the command line lightly, I'd tested it beforehand and it works. There is obviously something different on your system. My next guess is that you haven't given the gpu sufficient memory to be able to do 2 simultaneous decodes. Have you increased gpu_mem in config.txt at all? The de...
by 6by9
Wed Dec 11, 2019 7:40 pm
Forum: Camera board
Topic: accelerated 16-bit demosaic?
Replies: 6
Views: 233

Re: accelerated 16-bit demosaic?

Various of the hardware blocks on the pi4 can only access the bottom 1GB of RAM. Gpu_mem, the cma heap, and a small amount of working space have to fit into that bottom 1GB. Default cma heap is 256MB. 768MB of gpu_mem will try putting too much stuff in that space. There is a move to shift away from ...
by 6by9
Wed Dec 11, 2019 6:38 pm
Forum: Beginners
Topic: Need a blue light filter to be on continuously (Redshift?)
Replies: 9
Views: 221

Re: Need a blue light filter to be on continuously (Redshift?)

Ah, got it. Thanks, I'll write to the developer with what you've told me and see if they respond. Little point as they are doing it the standard way. If you want to solve the problem on the Pi now then you need to do it a non-standard way, or wait for the standard API to be implemented (see the git...
by 6by9
Wed Dec 11, 2019 6:19 pm
Forum: Beginners
Topic: Need a blue light filter to be on continuously (Redshift?)
Replies: 9
Views: 221

Re: Need a blue light filter to be on continuously (Redshift?)

Bearing in mind that my tech-ese is at the pidgin level, I'd guess that what you're saying is that although one might be able to install Redshift on the Pi, it won't actually have any effect on the 7" screen because reasons (which I have confirmed through observation - Redshift doesn't appear to ch...
by 6by9
Wed Dec 11, 2019 5:35 pm
Forum: C/C++
Topic: MMAL Decode JPEG and get frame back immediately
Replies: 6
Views: 214

Re: MMAL Decode JPEG and get frame back immediately

Is your output port format configured correctly? Decode of compressed formats normally needs to handle the format changed events to ensure they match up with what the codec detects. Sample MMAL JPEG decode app - https://github.com/6by9/userland/blob/hello_mmal/host_applications/linux/apps/hello_pi/h...
by 6by9
Wed Dec 11, 2019 5:25 pm
Forum: Beginners
Topic: Need a blue light filter to be on continuously (Redshift?)
Replies: 9
Views: 221

Re: Need a blue light filter to be on continuously (Redshift?)

I suspect that redshift alters the gamma parameters of the display pipeline via xrandr or KMS. That relies on the underlying display driver supporting a user-supplied gamma look up table, and currently the Pi doesn't(*). There is a mailbox service call on the Pi0-3 that does allow you to push in a g...
by 6by9
Wed Dec 11, 2019 3:48 pm
Forum: Troubleshooting
Topic: Play Video on Rpi4 ?
Replies: 4
Views: 148

Re: Play Video on Rpi4 ?

omxplayer : I get the "have a nice day" message, but no window opens, nothing happens. I am 100% sure of my video format, I tried several ones that run smoothly on a pi3 with omxplayer. Tried a few options like --display=2, --display=7 (found here : https://lb.raspberrypi.org/forums/viewtopic.php?f...
by 6by9
Wed Dec 11, 2019 3:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CM3 and DSI <=> LVDS converter
Replies: 7
Views: 458

Re: CM3 and DSI <=> LVDS converter

Thanks. For the non-legacy drivers, is the GPU still providing acceleration for OpenGL? Or does "the kernel provides OpenGL" imply that it's all done on the CPU and hence slower? You have a number of different core hardware blocks in play here: - ARM CPU - Videocore VPU (SIMD multi-purpose processo...
by 6by9
Wed Dec 11, 2019 2:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CM3 and DSI <=> LVDS converter
Replies: 7
Views: 458

Re: CM3 and DSI <=> LVDS converter

Can someone at Pi Towers please clarify the official position on this? As I understand it: The official 7" display uses the Toshiba TC358762 This chip gets set up by the GPU firmware before the ARM even boots (it must since it displays the rainbow square) So does this mean that if we do manage to g...
by 6by9
Wed Dec 11, 2019 2:00 pm
Forum: Compute Module
Topic: Best way to connect a third party display
Replies: 3
Views: 119

Re: Best way to connect a third party display

So you can add any DSI display to the vc4-kms-v3d stack by writing a suitable Linux kernel panel driver. It requires a modicum of understanding of DSI and how KMS hooks together, and a complete datasheet for the panel, but https://github.com/anholt/linux/wiki/Raspberry-Pi-and-other-MIPI-DSI-display-...
by 6by9
Wed Dec 11, 2019 1:06 pm
Forum: HATs and other add-ons
Topic: HDMI to CSI-2 TC358743 I2S Audio
Replies: 23
Views: 589

Re: HDMI to CSI-2 TC358743 I2S Audio

I've just tested it for myself on a Pi4 with B101 board. Edited config.txt to add dtoverlay=tc358743 dtoverlay=tc358743-audio Rebooted. pi@raspberrypi:~ $ v4l2-ctl --set-edid=file=1080P50EDID.txt --fix-edid-checksums CTA-861 Header IT Formats Underscanned: yes Audio: yes YCbCr 4:4:4: no YCbCr 4:2:2:...
by 6by9
Wed Dec 11, 2019 12:26 pm
Forum: Graphics, sound and multimedia
Topic: How to play 2 videos simultaneously? - Pi 4 ModelB
Replies: 19
Views: 534

Re: How to play 2 videos simultaneously? - Pi 4 ModelB

Code: Select all

omxplayer --no-keys --display=2 foo.mov & omxplayer --display=7 bar.mkv
by 6by9
Wed Dec 11, 2019 12:19 pm
Forum: Device Tree
Topic: DPI displays - dpi24 overlay fails on RPi4 (SOLVED)
Replies: 38
Views: 6986

Re: DPI displays - dpi24 overlay fails on RPi4 (SOLVED)

So my question is: Is v4c driver compatibile with dpi24 also in CM3+? Is this a driver problem or a bad config.txt problem? Seeing as your query relates to CM3, whilst this thread is about Pi4 (see the title), you would have been better off starting a new thread. vc4-kms-v3d replaces ALL display co...
by 6by9
Wed Dec 11, 2019 6:52 am
Forum: Official Foundation Display
Topic: Powering The Display OFF, Removing The Power
Replies: 4
Views: 148

Re: Powering The Display OFF, Removing The Power

Dougie's correct that you can't hotplug the display as there is an initialisation phase that only runs during boot.

Shutting down and disconnecting the power lines is safe, but you may find that it stops the Pi camera working as they're on the same i2c bus.
by 6by9
Tue Dec 10, 2019 9:44 pm
Forum: Camera board
Topic: Can't get IR-cut camera to switch to IR mode
Replies: 2
Views: 112

Re: Can't get IR-cut camera to switch to IR mode

I think you've misunderstood what the NoIR camera module is. It is a sensor which has no IR filter, therefore it is sensitive to IR as well as visible light. There is no switch in or out of IR mode. A scene illuminated by sunlight will result in strange colours as the IR component will be picked up ...
by 6by9
Tue Dec 10, 2019 6:35 pm
Forum: HATs and other add-ons
Topic: HDMI to CSI-2 TC358743 I2S Audio
Replies: 23
Views: 589

Re: HDMI to CSI-2 TC358743 I2S Audio

Check the wiring for the data line.
No BCK/SCK or LRCK/WFS would probably give you sync errors, whilst no data line would give silence as it doesn't require any transitions.
by 6by9
Tue Dec 10, 2019 5:59 pm
Forum: HATs and other add-ons
Topic: HDMI to CSI-2 TC358743 I2S Audio
Replies: 23
Views: 589

Re: HDMI to CSI-2 TC358743 I2S Audio

Reduce your pipeline down to just the audio gst-launch-1.0 -vvv -e alsasrc device=hw:1,0 ! audio/x-raw,rate=48000 ! queue ! voaacenc ! aacparse ! matroskamux name=mux ! filesink location=foo.mkv or try using arecord to record just the audio. Check with "arecord -l" that hw:1,0 is the correct alsa na...
by 6by9
Tue Dec 10, 2019 5:12 pm
Forum: General discussion
Topic: Omxplayer - problem with 'overlay' on RPI-4
Replies: 7
Views: 164

Re: Omxplayer - problem with 'overlay' on RPI-4

Pi3 and Pi4 should behave identically. If --win isn't sepcified then as of https://github.com/popcornmix/omxplayer/commit/a70e9b4b38e9568eac5e7ec8d19b5b4b70165bf5 (nearly a year ago) it adds a flag OMX_DISPLAY_ALPHA_FLAGS_DISCARD_LOWER_LAYERS to remove all layers lower than the video (eg the framebu...
by 6by9
Tue Dec 10, 2019 5:00 pm
Forum: HATs and other add-ons
Topic: HDMI to CSI-2 TC358743 I2S Audio
Replies: 23
Views: 589

Re: HDMI to CSI-2 TC358743 I2S Audio

"v4l2-ctl --list-ctrls"
What do audio_present and audio_sampling_rate report?

You also haven't apparently run " v4l2-ctl --set-dv-bt-timings query" to set the resolution to that of the incoming video.

Go to advanced search