Go to advanced search

by 6by9
Wed Jun 23, 2021 1:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

Well, this is screwing up the display timing. To my current understanding only the typical (center) values from the timing definition in 'panel-simple.c) were used, the first entry (min values) and the third value (max value) were ignored. I also not saw one driver checking an 'adjusted timing' aga...
by 6by9
Wed Jun 23, 2021 1:10 pm
Forum: Troubleshooting
Topic: kedei HDMI screen w/ touch not working as expected with kernel 5.10
Replies: 5
Views: 138

Re: kedei HDMI screen w/ touch not working as expected with kernel 5.10

That's rather annoying, but such is life sometimes.
by 6by9
Wed Jun 23, 2021 1:09 pm
Forum: Graphics, sound and multimedia
Topic: Stressing USB3 affects H264 encoding performance (Update).
Replies: 21
Views: 1470

Re: Stressing USB3 affects H264 encoding performance (Update).

Without working through exactly where things are blocking, it's hard to comment further. How many IL buffers do you have allocated on the encoder ports? The encode pipeline needs to be kept filled if you want optimum encode rate. MMAL test app at https://github.com/6by9/mmal_encode_example. Run on a...
by 6by9
Wed Jun 23, 2021 8:30 am
Forum: General discussion
Topic: lost the email for my licenses how can I go about getting my licenses again?
Replies: 6
Views: 435

Re: lost the email for my licenses how can I go about getting my licenses again?

Strictly speaking, the licence keys are not written to the OTP bits. Not enough OTP bits to hold them. That valid licence keys have been applied requires only one bit per licence. As referenced in https://www.raspberrypi.org/documentation/hardware/raspberrypi/otpbits.md, the 32bit words of OTP regi...
by 6by9
Tue Jun 22, 2021 4:33 pm
Forum: Troubleshooting
Topic: kedei HDMI screen w/ touch not working as expected with kernel 5.10
Replies: 5
Views: 138

Re: kedei HDMI screen w/ touch not working as expected with kernel 5.10

If it has a valid EDID then remove all your edits and see what the kernel makes of it. It is far more flexible than the firmware. You may need disable_fw_kms_setup=1 to avoid the firmware interfering.
by 6by9
Tue Jun 22, 2021 3:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

4-lane DSI - with any of the displays that I have tested with - was a fail so far. I think I may have just found another possible cause. The Pi drives the DSI bus in burst mode because it comes via an integer divider off a PLL. SN65DSI83 supports burst mode, but it looks like the configuration is t...
by 6by9
Tue Jun 22, 2021 3:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

Both are alternate pin muxings of BSC0, correct?. If one would add "dtparam=i2c_vc=on" then they'll be presented as /dev/i2c-10 and i2c-0 respectively. I see the bridge on I2C10 (as expected), so why does it need to connect ID_SD/ID_SC? 'raspi-gpio get' does not show them configured to I2...
by 6by9
Tue Jun 22, 2021 2:59 pm
Forum: Troubleshooting
Topic: After I've updated the EEPROM latest I have no DSI display image (black)
Replies: 16
Views: 441

Re: After I've updated the EEPROM latest I have no DSI display image (black)

I appreciate it's frustrating, but we can only work with the information you provide us. Arguing with us that it must be the bootloader when it can't be adds nothing. At the moment you haven't provided information on the Linux kernel version you're running (uname -a) nor firmware (vcgencmd version),...
by 6by9
Tue Jun 22, 2021 9:42 am
Forum: General discussion
Topic: Any plans to use the C0 stepping for the Pi4B?
Replies: 10
Views: 598

Re: Any plans to use the C0 stepping for the Pi4B?

I find it slightly odd that people ask for detailed differences with between hardware steppings as generally they are insignificant to the end user. Intel publish info on which steppings you can buy (eg the i5-9400F is on U0!!! :o), but they don't appear to publish publicly details of those steppings.
by 6by9
Tue Jun 22, 2021 9:18 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

3 lane working but 4 not is still weird. I'd hoped that divider issue would have resolved that. Please don't introduce weird interactions into this thread - it's convoluted enough already. vc4-kms-dsi-sn65dsi83 enables i2c0if and i2c0mux, so claims GPIOs 0&1 and 44&45. vc4-kms-kippah-7inch c...
by 6by9
Tue Jun 22, 2021 9:04 am
Forum: Troubleshooting
Topic: After I've updated the EEPROM latest I have no DSI display image (black)
Replies: 16
Views: 441

Re: After I've updated the EEPROM latest I have no DSI display image (black)

There are 3 items that frequently get confused the bootloader EEPROM. Whilst this does bring up the HDMI diagnostic screen, it has no other graphics drivers, and does not touch I2C or DSI the firmware (start*.elf). This handles the legacy display stack and vc4-fkms-v3d, and can driver the Pi display...
by 6by9
Tue Jun 22, 2021 7:51 am
Forum: Troubleshooting
Topic: RPi 4b won't boot: spi-bcm2835 fe204000.spi: could not get clk: -517
Replies: 2
Views: 143

Re: RPi 4b won't boot: spi-bcm2835 fe204000.spi: could not get clk: -517

spi-bcm2835 fe204000.spi: could not get clk: -517. Error 517 is - EPROBE_DEFER and is a non-fatal error used during loading all the drivers. It just means that some resource that is required (in this case the clock) isn't loaded yet, so please try again later. Most drivers suppress generating an er...
by 6by9
Tue Jun 22, 2021 7:46 am
Forum: Camera board
Topic: My camera view size.
Replies: 1
Views: 72

Re: My camera view size.

What software are you using? The sensor has a 4:3 aspect ratio. Most monitors have a 16:9 widescreen aspect ratio. You need to specify that you want the preview to have a 16:9 aspect ratio (eg 1920x1080), and then the system will chop a strip off both the top and bottom of the sensor images to produ...
by 6by9
Mon Jun 21, 2021 9:10 pm
Forum: Camera board
Topic: Understanding MMAL camera control interactions
Replies: 6
Views: 194

Re: Understanding MMAL camera control interactions

It is not really clamping that I am seeing. If you turn the gain right down you will get a black image, or right up you get a white image. However for a surprisingly large range of gains between these values the image is the expected view and largely unaffected by the exact gain value, so over this...
by 6by9
Mon Jun 21, 2021 9:06 pm
Forum: Troubleshooting
Topic: After I've updated the EEPROM latest I have no DSI display image (black)
Replies: 16
Views: 441

Re: After I've updated the EEPROM latest I have no DSI display image (black)

was already added to /boot/config.txt - so my RPi4 has a stock problem with the MIPI DSI? it just disabled itself alter eeprom update? or the kernel itself? The default for the 32bit OS is for vc4-fkms-v3d, not vc4-kms-v3d. No, the update will not have magically enabled that. If you're using the 64...
by 6by9
Mon Jun 21, 2021 5:47 pm
Forum: Troubleshooting
Topic: kedei HDMI screen w/ touch not working as expected with kernel 5.10
Replies: 5
Views: 138

Re: kedei HDMI screen w/ touch not working as expected with kernel 5.10

DRM/KMS relies heavily on the EDID of the display. That should tell the kernel exactly what mode to run in, but it causes an issue should there be no EDID. dtoverlay=vc4-kms-v3d is mapped to dtoverlay=vc4-kms-v3d-pi4 automatically on platforms running BCM2711 (Pi4, Pi400, and CM4). Your config.txt e...
by 6by9
Mon Jun 21, 2021 5:34 pm
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 852
Views: 194307

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

Previously working program fails, perhaps after rpi-update or apt full-upgrade? gcompris-qt/stable,now 0.95-1 arm64 [installed] fail is in full screen mode. windowed mode seems to work. (gcompris-qt -w) The program has been working fine for months and worked last week (Monday). Since things have be...
by 6by9
Mon Jun 21, 2021 4:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

Pushed again with Maxime's latest PR added.
It is a force push as his PR includes a revert I'd already done, but it should only be a minor rebuild.
by 6by9
Mon Jun 21, 2021 2:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

Branch now updated.
Marek had sent https://patchwork.freedesktop.org/series/91707/ to the list this morning, and Laurent followed it up with https://patchwork.freedesktop.org/series/91725/. Both of those series are on my branch - https://github.com/6by9/linux/tree/rpi- ... si8x-marek
by 6by9
Mon Jun 21, 2021 2:52 pm
Forum: Troubleshooting
Topic: After I've updated the EEPROM latest I have no DSI display image (black)
Replies: 16
Views: 441

Re: After I've updated the EEPROM latest I have no DSI display image (black)

The logging you've included shows the vc4-kms-v3d overlay being loaded, but with no configuration for the DSI display. [ 7.333466] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 7.379480] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4]) [ 7.406218] vc4-drm gpu: bound fef05700.hdm...
by 6by9
Mon Jun 21, 2021 2:40 pm
Forum: Troubleshooting
Topic: raspberry pi B with arducam usb camera not working
Replies: 6
Views: 245

Re: raspberry pi B with arducam usb camera not working

Is your Pi sensibly powered? Undervoltage may account for weird behaviour of USB peripherals. Or connect it via a powered USB hub. Otherwise there's not much more to advise. It's probably worth asking on the Arducam forums - https://www.arducam.com/forum/ https://www.arducam.com/forums/topic/getting...
by 6by9
Mon Jun 21, 2021 12:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 251
Views: 14079

Re: Rpi 4 with DRM and 7inch panel using kms driver

Apologies - I messed up my branches and hadn't taken Marek's latest patchset. I'm sorting them now. One of the mainline kernel guys is also now trying it, and has reported issues. https://lists.freedesktop.org/archives/dri-devel/2021-June/311819.html If you're getting 5.10.17, then that is the stand...
by 6by9
Mon Jun 21, 2021 11:34 am
Forum: General discussion
Topic: Any plans to use the C0 stepping for the Pi4B?
Replies: 10
Views: 598

Re: Any plans to use the C0 stepping for the Pi4B?

p-paul wrote:
Mon Jun 21, 2021 8:55 am
does anyone know if there are plans to use the C0 stepping of the BCM2711 also for the Pi4B at some point in the future?
I believe all 8GB Pi4's already are.
by 6by9
Mon Jun 21, 2021 11:29 am
Forum: Troubleshooting
Topic: raspberry pi B with arducam usb camera not working
Replies: 6
Views: 245

Re: raspberry pi B with arducam usb camera not working

/dev/video10-16 are all memory to memory devices, either video codecs or image resizing. They are normal. Not getting /dev/video0 when connecting the Arducam camera is abnormal, particularly if other webcams do work. I would have expected something to be logged on connect/disconnect, even if somethi...

Go to advanced search