Go to advanced search

by rodizio
Mon Oct 10, 2016 10:56 am
Forum: Troubleshooting
Topic: Disk I/O seems to freeze system
Replies: 7
Views: 2171

Re: Disk I/O seems to freeze system

Since harddisks have their own controller and cache it might fix that problem. But didn't even bother to try it, would be an expensive, heavy, ugly and clumsy workaround. I'd rather like to find out why it's not possible to write a few hundred kilobytes per seconds to SD cards or USB sticks and if i...
by rodizio
Sat Oct 08, 2016 12:00 pm
Forum: Troubleshooting
Topic: Disk I/O seems to freeze system
Replies: 7
Views: 2171

Re: Disk I/O seems to freeze system

Have tried now: - Kernel compiled with 1000Hz timer freq - Different IO schedulers - Even more different sysctl values and settings - Several different (and fast) USB sticks and SD cards - nice and ionice on the processes in different combinations - Different wifi sticks for receiving - ext4 and fat...
by rodizio
Sat Oct 08, 2016 11:45 am
Forum: Advanced users
Topic: Freezing with RT-patch (Pi 3)
Replies: 24
Views: 9450

Re: Freezing with RT-patch (Pi 3)

So far it works for me, but another user who also tried 1000Hz _without_ RT patches (to get rid of the USB latency which causes delayed wifi packets) reported problems when using wifi cards and an USB joystick at the same time. I tried my image with the new 1000Hz kernel option, and I can not login ...
by rodizio
Mon Oct 03, 2016 12:20 pm
Forum: Advanced users
Topic: Freezing with RT-patch (Pi 3)
Replies: 24
Views: 9450

Re: Freezing with RT-patch (Pi 3)

Just for clarity, in my case the issue happens _without_ using any RT patches, the only change I made to the rpi-source kernel was setting the timer frequency to 1000Hz. Did some kernel compilations while receiving wifi packets (this would make it freeze often), seems stable now with the above menti...
by rodizio
Sun Oct 02, 2016 6:40 am
Forum: Advanced users
Topic: Freezing with RT-patch (Pi 3)
Replies: 24
Views: 9450

Re: Freezing with RT-patch (Pi 3)

I have a similar problem with the Raspbian kernel pulled via rpi-source using the same config as stock Raspbian (running kernel config pulled from /proc directory). When using anything higher than 100Hz it freezes randomly.
by rodizio
Thu Sep 08, 2016 5:58 pm
Forum: Troubleshooting
Topic: Disk I/O seems to freeze system
Replies: 7
Views: 2171

Disk I/O seems to freeze system

Is there a way to make the kernel not freeze/stall the whole system while it is writing to disk? Following background: I'm using the Raspberry and it's camera as a video transmitter/receiver system for FPV (see here if interested: http://www.rcgroups.com/forums/showthread.php?t=2664393). This system...
by rodizio
Mon Aug 29, 2016 12:08 pm
Forum: Camera board
Topic: New 8MP Camera - Q&A thread
Replies: 451
Views: 221937

Re: New 8MP Camera - Q&A thread

It'll get clipped to the range permitted by the mode. Thanks. I have in memory, that when not forcing the mode, it will revert back to 640x480 and when forcing the mode and setting something over 49fps, it throws some "MMAL ...." error. That's why I hoped it was working with more than 49fps now. Ok...
by rodizio
Sun Aug 28, 2016 12:22 pm
Forum: Camera board
Topic: New 8MP Camera - Q&A thread
Replies: 451
Views: 221937

Re: New 8MP Camera - Q&A thread

I have a question regarding the older V1 camera. Before I upgraded firmware and userspace stuff for the V2 camera, maximum FPS supported was 49FS at 1296x730 (mode 5), when setting a higher FPS, it would either revert back to 640x480 and scale-up or give an error message (don't remember). Now it see...
by rodizio
Thu Aug 18, 2016 2:39 pm
Forum: Troubleshooting
Topic: Unable to read a serial port with 100000 baudrate
Replies: 9
Views: 6655

Re: Unable to read a serial port with 100000 baudrate

stty did still give error messages, tried with both uart clocks (one zero more). Finally found what has to be done to set the serialport to 100.000 bit/s, maybe it helps somebody else in the future. setserial -a /dev/ttyS0 spd_cust setserial -a /dev/ttyS0 divisor 312 stty -F /dev/ttyS0 38400 Here is...
by rodizio
Tue Aug 16, 2016 5:00 pm
Forum: Troubleshooting
Topic: Unable to read a serial port with 100000 baudrate
Replies: 9
Views: 6655

Re: Unable to read a serial port with 100000 baudrate

I'm having the same issue. Tried with the on-board serial port of the Pi3 and a Prolific pl2303 USB adapter. Using the latest Rasbian, when trying to set a non-standard baudrate with stty I get: stty: invalid argument ‘100000’ I've read on some other thread (from 2013) that there was a kernel patch ...
by rodizio
Wed Jun 08, 2016 3:05 pm
Forum: Camera board
Topic: New 8MP Camera - Q&A thread
Replies: 451
Views: 221937

Re: New 8MP Camera - Q&A thread

Thanks for the info 6by9. I already did some testing, keeping up with the output is not easy because the bitrate varies a lot sometimes. I realize it's not really possible for a live encoder to get the bitrate exactly right. Also, of course, when there is not much to encode like when pointing the ca...
by rodizio
Wed Jun 08, 2016 10:32 am
Forum: Camera board
Topic: New 8MP Camera - Q&A thread
Replies: 451
Views: 221937

Re: New 8MP Camera - Q&A thread

Could you please consider making additional buffering configurable somehow if you do that? For live video feed it would be nice to keep latency as low as possible.
by rodizio
Fri May 27, 2016 3:36 pm
Forum: Camera board
Topic: Best way to stream mjpeg
Replies: 18
Views: 12067

Re: Best way to stream mjpeg

Thank you for this comprehensive answer. I was trying to eliminate jpegparse because I thought it added a lot of latency, but it looks like it doesn't add that much (max 3ms). I found a way to stream the raspivid MJPEG stream directly through gstreamer, and it works tremendously well (720P @ 49fps,...
by rodizio
Sat May 14, 2016 8:21 pm
Forum: Raspberry Pi OS
Topic: Is there a way to run hello_video.bin early during bootup?
Replies: 0
Views: 289

Is there a way to run hello_video.bin early during bootup?

I'm trying to get a clean bootup and found it's not that easy because the login prompt always flashes up briefly. Now since hello_video.bin writes directly on the hardware which nicely covers anything there is, I figured why not let hello_video.bin play a little animation while booting? I've tried a...
by rodizio
Sat May 14, 2016 8:18 pm
Forum: Raspberry Pi OS
Topic: Possible to compile a Rasberry Pi1 Kernel on a Pi2/3?
Replies: 2
Views: 729

Re: Possible to compile a Rasberry Pi1 Kernel on a Pi2/3?

Thanks. That worked flawlessly indeed. Just had to do a make mrproper before, make clean would still build a -v7 kernel afterwards.

The Pi3 is so fast, that cross-compile isn't really necessary anymore :)
by rodizio
Wed May 11, 2016 5:22 pm
Forum: Raspberry Pi OS
Topic: Possible to compile a Rasberry Pi1 Kernel on a Pi2/3?
Replies: 2
Views: 729

Possible to compile a Rasberry Pi1 Kernel on a Pi2/3?

I've lately compiled a custom kernel with some patches on a Pi 3 using rpi-source and then following the directions on Raspberry.org on how to build a kernel. Worked nicely. However, the kernel and modules for the Pi1 are still the ones that came with Raspbian Jessie. Is there a simple way to compil...
by rodizio
Mon May 09, 2016 2:02 pm
Forum: Troubleshooting
Topic: 6 inch 1080x1920 HDMI display - no picture
Replies: 5
Views: 3117

Re: 6 inch 1080x1920 HDMI display - no picture

Well, I have converted the modeline the X-Server on my Notebook gave me to the config.txt hdmi_timings syntax: hdmi_timings=1080 0 118 4 118 1920 0 4 4 3 0 0 0 60 0 152900000 3 Does anybody know if these green lines are really sync issues? I'm pretty sure the timings are right. Atleast these are the...
by rodizio
Sat May 07, 2016 3:00 am
Forum: Troubleshooting
Topic: 6 inch 1080x1920 HDMI display - no picture
Replies: 5
Views: 3117

6 inch 1080x1920 HDMI display - no picture

Can somebody please give me a hint on what else to try to get this display working? I've been trying for several days now, been through all config.txt options, tried hdmi_boost, hdmi_safe and all the other options to no avail and in probably all combinations there are. Tried it on Pi 2 and 3 with di...

Go to advanced search