Go to advanced search

by kilograham
Fri Aug 09, 2019 12:51 am
Forum: Advanced users
Topic: [Tutorial] Hardening/Securing RPi against cold boot attacks
Replies: 8
Views: 505

Re: [Tutorial] Hardening/Securing RPi against cold boot attacks

RDPUser wrote:
Mon Aug 05, 2019 9:44 am
Important: Cold boot attacks are only one attack vector. Ensure secure passwords.
"raspberry" is an insecure password; i suggest "yrrebpsar1"
by kilograham
Mon Jul 29, 2019 3:31 pm
Forum: Graphics programming
Topic: GLX vs EGL
Replies: 2
Views: 244

Re: GLX vs EGL

Cool, thanks; i'm looking at an existing codebase that uses GLX on X11, but EGL for wayland... debating whether there would be performance benefits in moving the X11 code to use EGL
by kilograham
Mon Jul 29, 2019 12:42 pm
Forum: Advanced users
Topic: How to correctly set up v4l2 (m2m) under 64-bit kernel / 64-bit userland?
Replies: 13
Views: 1889

Re: How to correctly set up v4l2 (m2m) under 64-bit kernel / 64-bit userland?

[email protected] ~ $ wget -c http://jell.yfish.us/media/jellyfish-10-mbps-hd-h264.mkv [email protected] ~ $ ffplay -vcodec h264_v4l2m2m -i jellyfish-10-mbps-hd-h264.mkv And it displays smoothly! Playing this file using s/w decoding is laggy and takes up all the cores, so the improvement is really marked. ...
by kilograham
Mon Jul 29, 2019 12:01 pm
Forum: Advanced users
Topic: FFMPEG/V4L2M2M status (+Kodi/OpenElec)
Replies: 7
Views: 394

Re: FFMPEG/V4L2M2M status (+Kodi/OpenElec)

It should be passing through whatever timestamp is on the input (output queue in v4l2 parlance) to the output (capture queue). That does assume that framed data is being passed in - it makes no sense with unframed data. Thanks; yeah still need to do some work to root cause, this is a guess right no...
by kilograham
Mon Jul 29, 2019 12:40 am
Forum: Advanced users
Topic: FFMPEG/V4L2M2M status (+Kodi/OpenElec)
Replies: 7
Views: 394

Re: FFMPEG/V4L2M2M status (+Kodi/OpenElec)

I think that the problem may be the pi v4l2 device not filling in

Code: Select all

v4l2_buffer.timestamp
for the captured frame (in this case for h264 decode)
by kilograham
Sun Jul 28, 2019 9:22 pm
Forum: Advanced users
Topic: FFMPEG/V4L2M2M status (+Kodi/OpenElec)
Replies: 7
Views: 394

Re: FFMPEG/V4L2M2M status (+Kodi/OpenElec)

Has anyone else tried To get ffmpeg working on 32bit raspbian with v4l2m2m This mentions success on 64 bit gentoo https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=234778&p=1436162&hilit=Gentoo+v4l2m2m#p1436511 I tried the same older base (ffmoeg 4.1.1 and applied patches to that, but I got th...
by kilograham
Sat Jul 27, 2019 4:14 pm
Forum: Advanced users
Topic: FFMPEG/V4L2M2M status (+Kodi/OpenElec)
Replies: 7
Views: 394

Re: FFMPEG/V4L2M2M status (+Kodi/OpenElec)

Well I rebuilt latest ffmpeg from main git repo (with the 3 mentioned patches) on my Pi 4, with: ./configure --prefix=/usr --extra-version=1+rpt1 --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample ...
by kilograham
Sat Jul 27, 2019 12:41 pm
Forum: Advanced users
Topic: FFMPEG/V4L2M2M status (+Kodi/OpenElec)
Replies: 7
Views: 394

Re: FFMPEG/V4L2M2M status (+Kodi/OpenElec)

Thanks, I assume you mean these https://www.raspberrypi.org/forums/viewtopic.php?t=234778#p1436166 I suspect I do need these as I was seeing no data for subsequent planes for YUV420P. I had hacked this on the caller side to no avail, but perhaps the other bits are the problem. Now to figure out the ...
by kilograham
Sat Jul 27, 2019 3:23 am
Forum: Graphics programming
Topic: GLX vs EGL
Replies: 2
Views: 244

GLX vs EGL

We have (at least with FKMS and mesa) GLX and EGL ... to the extent that we may be able to choose between them is there a preference, or a performance difference for the areas they overlap - is GLX built on top of EGL internally for Pi?
by kilograham
Fri Jul 26, 2019 10:44 pm
Forum: Advanced users
Topic: FFMPEG/V4L2M2M status (+Kodi/OpenElec)
Replies: 7
Views: 394

FFMPEG/V4L2M2M status (+Kodi/OpenElec)

I see that ffmpeg after recent raspberry pi update offers h264_v4l2m2m and hevc_v4l2m2m - I was pretty sure at least the latter was not yet functional. Should I expect either to work, should I build my own copy of libffmpeg (where is the latest canonical OpenELEC/Kodi version if so?) (I know they ha...
by kilograham
Thu Jul 18, 2019 1:32 pm
Forum: General discussion
Topic: Is it possible to survive only on raspberry pi 4b4?
Replies: 15
Views: 651

Re: Is it possible to survive only on raspberry pi 4b4?

you may also need food and water
by kilograham
Sat Jul 13, 2019 6:24 pm
Forum: Advanced users
Topic: Anyone cross compiled QT for the Pi 4 yet.
Replies: 23
Views: 1183

Re: Anyone cross compiled QT for the Pi 4 yet.

awesome; thank you
by kilograham
Sat Jul 13, 2019 1:39 pm
Forum: Advanced users
Topic: Anyone cross compiled QT for the Pi 4 yet.
Replies: 23
Views: 1183

Re: Anyone cross compiled QT for the Pi 4 yet.

I believe the bug causing the issue is this one.... https://bugs.launchpad.net/qemu/+bug/1805913 ooh; that sucks! With regards to getting around losing data from the docker container.... You can stop that by binding directories on your host to the docker container using the -v flag. More info here....
by kilograham
Fri Jul 12, 2019 10:52 pm
Forum: Advanced users
Topic: Anyone cross compiled QT for the Pi 4 yet.
Replies: 23
Views: 1183

Re: Anyone cross compiled QT for the Pi 4 yet.

Kilograham, Due to a bug, debootstrap doesn’t build a buster sysroot without using a 32bit host. You will get strange issues such as SSL problems like you are having. To fix the problem either use a 32bit host, or do what I do and that is to use docker in a 64bit environment but with an i386 image....
by kilograham
Fri Jul 12, 2019 3:18 am
Forum: Advanced users
Topic: Anyone cross compiled QT for the Pi 4 yet.
Replies: 23
Views: 1183

Re: Anyone cross compiled QT for the Pi 4 yet.

I actually build my entire sysroot and resulting image using debootstrap and chroot (under x86_64 ubuntu with qemu-static userland). No Pi is involved in any of the build process other than to actually run what I am producing as the end product. The resulting image works really well on my Pi 3b+ an...
by kilograham
Sun Jul 07, 2019 12:11 am
Forum: General discussion
Topic: well, i pre-ordered a Rpi4B-4GB...
Replies: 9
Views: 725

Re: well, i pre-ordered a Rpi4B-4GB...

As of Pi4, CLion (https://www.jetbrains.com/clion/) is actually pretty usable on the Pi! (at least with 4G). This is the IDE I use for C/C++/Rust etc. dev on Linux Desktop or on macOS.
by kilograham
Thu Jul 04, 2019 11:12 am
Forum: General discussion
Topic: Just received my RPi4b/4GB - no HDMI output!!!
Replies: 75
Views: 5194

Re: Just received my RPi4b/4GB - no HDMI output!!!

out of curiosity is your monitor powered from the same or different mains circuit?

Go to advanced search