Go to advanced search

by jannewmarch
Sat Feb 03, 2018 12:16 am
Forum: Networking and servers
Topic: Getting IPv6 working over a PPPoE interface
Replies: 1
Views: 1586

Re: Getting IPv6 working over a PPPoE interface

Adding +ipv6 to /etc/ppp/options seems to have fixed it. I'm now getting a GUA IPv6 address.
by jannewmarch
Sat Jan 27, 2018 10:23 am
Forum: Networking and servers
Topic: Getting IPv6 working over a PPPoE interface
Replies: 1
Views: 1586

Getting IPv6 working over a PPPoE interface

Problem: Trying to use an RPi as a router to my ISP. Can get IPv4 working to the RPi on a PPPoE link, but can't get IPv6 addresses assigned. IPv4 and IPv6 work okay with a Linksys EA6900 router. Details: I have a Linksys router which gives me an IPv4 address and and a /64 IPv6 network. When I run rd...
by jannewmarch
Sun Nov 08, 2015 1:28 am
Forum: OpenVG
Topic: additional font types for openvg C/C++ ?
Replies: 14
Views: 3107

Re: additional font types for openvg C/C++ ?

See the chapter "Text processing in OpenVG" at https://jan.newmarch.name/RPi/OpenVG/Text/ in my "RPi GPU" ebook at https://jan.newmarch.name/RPi/
by jannewmarch
Sun Nov 08, 2015 1:16 am
Forum: OpenVG
Topic: Memory problem using pbuffers: EGL_BAD_ALLOC
Replies: 3
Views: 1698

Re: Memory problem using pbuffers: EGL_BAD_ALLOC

Solved - not enough garbage collection. I'm using 64M GPU memory, so the problem showed up early. I was assuming that memory used during an application would be reclaimed by the O/S, as usually happens with ordinary applications. That isn't the case with the GPU: memory allocated must be explicitly ...
by jannewmarch
Thu Oct 29, 2015 11:50 pm
Forum: OpenGLES
Topic: A few questions...
Replies: 3
Views: 2629

Re: A few questions...

I reckon my online book "Programming AudioVideo on the Raspberry Pi GPU " at https://jan.newmarch.name/RPi/ is maybe half-decent. It concentrates more on OpenMAX but has some coverage of OpenGL ES
by jannewmarch
Thu Oct 29, 2015 11:16 am
Forum: OpenVG
Topic: Memory problem using pbuffers: EGL_BAD_ALLOC
Replies: 3
Views: 1698

Memory problem using pbuffers: EGL_BAD_ALLOC

I am drawing into an off-screen VGImage using a pbuffer. The image is 2048 bytes x 2048 bytes, the maximum allowed on the RPi. The surface is an EGLSurface created using eglCreatePbufferFromClientBuffer. As a standalone program it works fine. However, when I load the same program as a .so module int...
by jannewmarch
Wed Sep 16, 2015 11:43 am
Forum: Troubleshooting
Topic: Problems with audio rpi2
Replies: 1
Views: 445

Re: Problems with audio rpi2

This is explained at http://raspberrypi.stackexchange.com/questions/44/why-is-my-audio-sound-output-not-working . I edited the file /boot/config.txt and uncommented the line "hdmi_drive=2". I also used the command sudo amixer cset numid=3 <n> where n is 0=auto, 1=headphones, 2=hdmi to toggle between...
by jannewmarch
Thu Sep 10, 2015 10:20 am
Forum: Graphics, sound and multimedia
Topic: RPi and real-time, low-latency audio
Replies: 189
Views: 75797

Re: RPi and real-time, low-latency audio

Update for RPi 2 Model B using 2015-05-05-raspbian-wheezy.img. The version of jackd in the distro is still 1.9.9 from 2012 and still has the rough sound problem. The jackd site (http://jackaudio.org/downloads) now has version 1.9.10 in source code form which dates from 2014 but that does not improve...
by jannewmarch
Thu Jul 16, 2015 10:56 am
Forum: Graphics programming
Topic: Drawing to the screen without using X
Replies: 4
Views: 2708

Re: Drawing to the screen without using X

Check out my online book "Programming AudioVideo on the Raspberry Pi GPU" at http://jan.newmarch.name/RPi/. That deals with OpenMAX, OpenGL ES and OpenVG without using X
by jannewmarch
Sat Jul 04, 2015 12:26 pm
Forum: OpenMAX
Topic: Problem with omx video_decode
Replies: 2
Views: 2523

Re: Problem with omx video_decode

Is it an MP4 file? If so, you will need to demultiplex it using ffmpeg before you can decode the video stream (using the Broadcom video_decode) and the audio stream (using ffmpeg). I tested this using an MP4 I downloaded from YouTube with il_ffmpeg_demux_render_audio_video.c from the new chapter in ...
by jannewmarch
Sun Jun 07, 2015 11:24 am
Forum: OpenMAX
Topic: Are there any VLL plugins for image transitions?
Replies: 0
Views: 1895

Are there any VLL plugins for image transitions?

The OMX.broadcom.visualisation and OMX.broadcom.transition components seem to rely on plugins to perform functionality such as OMX_EffectDissolve between two images. The plugins end in .vll according to the Broadcom documentation. I can't find any on my RPi, and when I query the transition component...
by jannewmarch
Sun Jun 07, 2015 11:11 am
Forum: OpenMAX
Topic: Pi openmax audio video sync
Replies: 5
Views: 4423

Re: Pi openmax audio video sync

No, you don't need audio_decode - if you use that you have to stick a WAV header in front of the PCM data. omxplayer is fantastic but there are hardly any comments saying why things are done. I've just added another chapter to my RPi/GPU online book at jan.newmarch.name/RPi which talks through many ...
by jannewmarch
Sun Jun 07, 2015 10:49 am
Forum: OpenMAX
Topic: audio_decode/audio_render capabilities/questions
Replies: 7
Views: 5112

Re: audio_decode/audio_render capabilities/questions

The audio_decode component seems happier with WAV data than with PCM data. In omxplayer the output from the ffmpeg decoder is PCM, and a WAV header is added before sending it to the audio_decode component. After months of breaking my head over the omxplayer code I have added a chapter to my online R...
by jannewmarch
Mon Nov 10, 2014 9:27 am
Forum: OpenMAX
Topic: OpenGL, OpenMAX ebook available
Replies: 7
Views: 3082

Re: OpenGL, OpenMAX ebook available

Thanks for the feedback. The book isn't finished yet, so I guess you've given me some (strong) clues about where to focus next! Actually, I was intending to look at the egl_render component soon because I think that hello_teapot and hello_videocube are really cool and they combine both OpenGL and Op...
by jannewmarch
Fri Nov 07, 2014 10:20 am
Forum: OpenMAX
Topic: OpenGL, OpenMAX ebook available
Replies: 7
Views: 3082

OpenGL, OpenMAX ebook available

My ebook on programming the RPi's Broadcom GPU is now up to version 1.0. There is still plenty more to do, but it now covers drawing simple graphics using Dispmanx and OpenGL ES, and rendering audio, images and video using OpenMAX IL. It is at http://jan.newmarch.name/RPi/
by jannewmarch
Fri Nov 07, 2014 10:15 am
Forum: OpenMAX
Topic: ilclient_enable_port_buffers() always fails for audio_decode
Replies: 2
Views: 1712

Re: ilclient_enable_port_buffers() always fails for audio_de

That's because it doesn't support these formats. From http://www.raspberrypi.org/forums/viewtopic.php?f=70&t=28313&p=272804#p272804 From jamesh: "Checked with the team. The way it works is that the component passes back success for all the codecs it can potentially support. (i.e. all the codecs we'v...
by jannewmarch
Mon Nov 03, 2014 9:58 am
Forum: OpenMAX
Topic: newbie question
Replies: 7
Views: 2359

Re: newbie question

As far as I know, you are out of luck. If you want OpenMAX then the RPi libraries are only IL. If you want (say) AL or SL, you will probably have to put it on top of IL yourself. LIM has an implementation of AL, you could try that.
by jannewmarch
Mon Oct 13, 2014 4:22 am
Forum: OpenMAX
Topic: openmax programming guide
Replies: 3
Views: 5794

Re: openmax programming guide

I'm now rewriting all my OpenMAX stuff specifically for the RPi. It will be an ongoing project and also includes OpenGL It is at http://jan.newmarch.name/RPi/ "Programming AudioVideo on the Raspberry Pi GPU". It is still at a fairly early stage but may be useful anyway.
by jannewmarch
Tue Sep 02, 2014 12:21 pm
Forum: OpenMAX
Topic: Reading an image using OMX.broadcom.image_read
Replies: 4
Views: 4556

Reading an image using OMX.broadcom.image_read

Has anyone succeeded in reading an image using the OMX.broadcom.image_read component? It has one (output) port that I have disabled, but when I ask to transition to Idle state I get an OMX_ErrorInsufficientResources event and it stays in Loaded state. The URL I am using is a relative local file "ima...
by jannewmarch
Tue Sep 02, 2014 12:05 pm
Forum: OpenMAX
Topic: Audio PCM rendering, transition to OMX_StateIdle after alloc
Replies: 2
Views: 2197

Re: Audio PCM rendering, transition to OMX_StateIdle after a

That one I can help with: code that works (for me at least!) is in the OpenMAX chapter of my Linux Sound book: http://jan.newmarch.name/LinuxSound/Sampled/OpenMAX/http://jan.newmarch.name/LinuxSound/Sampled/OpenMAX/
by jannewmarch
Tue Aug 19, 2014 11:36 am
Forum: OpenMAX
Topic: openmax programming guide
Replies: 3
Views: 5794

Re: openmax programming guide

My book on Linux Soundhttp://jan.newmarch.name/LinuxSound has a chapter on OpenMAX. It's nasty stuff to work with.
by jannewmarch
Sun Mar 16, 2014 9:34 am
Forum: Raspbian
Topic: Mounting disk image like Linux disk
Replies: 3
Views: 3898

Re: Mounting disk image like Linux disk

Cool. It works for CubieBoard images too. I learnt something from this post
by jannewmarch
Thu May 23, 2013 10:41 am
Forum: Media centres
Topic: Karaoke on the OpenElec XBMC fails
Replies: 1
Views: 3656

Karaoke on the OpenElec XBMC fails

I'm using the OpenELEC XBMC RPi distro. I've followed instructions on how to play Karaoke files (.kar extension) at http://wiki.xbmc.org/index.php?title=HOW-TO:Setup_XBMC_for_Karaoke On my Fedora laptop XBMC Karaoke works fine, loading libtimidity into system/.xbmc/temp and playing .kar files. The T...
by jannewmarch
Thu Feb 14, 2013 10:57 am
Forum: OpenMAX
Topic: Setting the audio output device
Replies: 8
Views: 22174

Re: Setting the audio output device

Thanks OtherCrashOverride, got it. git clone git://limoa.git.sourceforge.net/gitroot/limoa/limoi-components git clone git://limoa.git.sourceforge.net/gitroot/limoa/limoi-core git clone git://limoa.git.sourceforge.net/gitroot/limoa/limoi-plugins git clone git://limoa.git.sourceforge.net/gitroot/limoa...
by jannewmarch
Wed Feb 13, 2013 8:28 am
Forum: OpenMAX
Topic: Setting the audio output device
Replies: 8
Views: 22174

Re: Setting the audio output device

It is possible to chain OpenMax libraries together as is done here http://limoa.sourceforge.net/docs/1.0/group__core__loader.html Also, LIM OpenMAX IL core can serve as the super IL core where components from other IL cores can be dynamically loaded and universally enumerated. Those would be cool t...

Go to advanced search