Go to advanced search

by tvjon
Thu Feb 14, 2019 11:36 am
Forum: Graphics programming
Topic: gles & omx.resize deadlock
Replies: 25
Views: 806

Re: gles & omx.resize deadlock

I tried waiting for the FillBufferDone callback and now it just hangs waiting for the callback. Same errors as before. Here's the code in another branch: https://github.com/piense/pi-omx-gles-bug/tree/atomic ... For the testImages folder containing 3 usable jpgs, 1 of which is delrod I posted earli...
by tvjon
Sun Feb 10, 2019 7:44 pm
Forum: Graphics programming
Topic: gles & omx.resize deadlock
Replies: 25
Views: 806

Re: gles & omx.resize deadlock

Well, it's definitely improved, but a quick test suggests any jpg < 81920 bytes will fail, eg., the attached jpg.

I'll look at your changes later tonight. hopefully.
by tvjon
Sun Feb 10, 2019 1:17 pm
Forum: Graphics programming
Topic: gles & omx.resize deadlock
Replies: 25
Views: 806

Re: gles & omx.resize deadlock

What f/w & kernel are the failing OS's, ie. $ sudo vcgencmd version $ uname -a I've run the new version for ~ 3 & a half hours with no failures on the 4.19.19-v7+ kernel (sudo BRANCH=next rpi-update) However using some of the jpg's here, eg. the attached, note the Allocating buffer size. $ ./omxtest...
by tvjon
Sat Feb 02, 2019 10:44 am
Forum: Graphics programming
Topic: gles & omx.resize deadlock
Replies: 25
Views: 806

Re: gles & omx.resize deadlock

It's interesting to see how you go about doing this. I'm afraid I don't as yet have sufficient experience to fix the problem, but you may be interested in some feedback? Using your test.jpg I have similar lockups, so reboots necessary. It appears the size & resolution of a test.jpg are significant. ...
by tvjon
Fri Feb 01, 2019 11:36 am
Forum: Graphics, sound and multimedia
Topic: Timidity output device
Replies: 9
Views: 668

Re: Timidity output device

You beat me to it. As you have it working now, I was going to check that when less busy. There's other versions on Github too. I already had looked at the output of aplay -L, but thinking about it, probably not tried it with the Burr-Brown. Anyway, this does work, so hopefully will for you. Zipped a...
by tvjon
Thu Jan 31, 2019 10:41 pm
Forum: Graphics, sound and multimedia
Topic: Timidity output device
Replies: 9
Views: 668

Re: Timidity output device

Good find. It also works for my DAC, so that means at least for the IQ, & possibly other cards running timidity, a specific syntax is necessary, hmmm. $ timidity -v TiMidity++ version 2.14.0 omxplayer doesn't need X, so if you wanted to test it at some point, you could install it. Besides audio it's...
by tvjon
Thu Jan 31, 2019 11:43 am
Forum: OpenGLES
Topic: Has anyone been able to get glfw running?
Replies: 21
Views: 5444

Re: Has anyone been able to get glfw running?

... I know there is an issue with fake KMS stalling during boot on 4.19, but full KMS is working fine for me. Admittedly I'm also testing a Debian Buster build so have a significantly more recent Mesa. How far does it get during boot for you? Just the black screen as I mentioned in another post. I'...
by tvjon
Thu Jan 31, 2019 11:27 am
Forum: General programming discussion
Topic: Using a USB keyboard as a controller
Replies: 4
Views: 192

Re: Using a USB keyboard as a controller

...Are these things possible?... Many thanks, Chris Yes. Some of my RPi applications use up almost all of the GPIO's switched to an alternative dedicated function, so I sometimes have to use a different method of input, the simplest (& cheapest) being to use a USB (or even PS/2, as they are often b...
by tvjon
Thu Jan 31, 2019 8:45 am
Forum: Graphics, sound and multimedia
Topic: Timidity output device
Replies: 9
Views: 668

Re: Timidity output device

John, I don't have any I2S based audio kit, so will try to get one at some point. However I bought a DAC, but USB based, so not too dear, & indeed that line: timidity -iA -Os plughw:4 does not let any audio appear from its output! $ cat /proc/asound/cards 0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA bcm28...
by tvjon
Wed Jan 30, 2019 8:05 pm
Forum: OpenGLES
Topic: Has anyone been able to get glfw running?
Replies: 21
Views: 5444

Re: Has anyone been able to get glfw running?

I'm currently using 4.19 kernel for a particular project, but presently it won't boot with either fake or real kms in config.txt. As I'm interested in how well a particular OpenGL application runs, I've built a card using the very interesting 32-64 bit kernels from Sakaki. $ uname -a Linux nsp64 4.1...
by tvjon
Tue Jan 29, 2019 11:12 pm
Forum: Graphics, sound and multimedia
Topic: Timidity output device
Replies: 9
Views: 668

Re: Timidity output device

In more detail, here's the sequence of events for me (in different terminals, but doesn't affect the sequence) $ cat /proc/asound/cards 0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA bcm2835 ALSA 1 [CameraB409241 ]: USB-Audio - USB Camera-B4.09.24.1 OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb...
by tvjon
Tue Jan 29, 2019 7:40 pm
Forum: General discussion
Topic: Easily run 64-bit Debian Stretch packages on a Raspbian system: new RPi3 demo image released (systemd-nspawn, LXDE)
Replies: 65
Views: 2607

Re: Easily run 64-bit Debian Stretch packages on a Raspbian system: new RPi3 demo image released (systemd-nspawn, LXDE)

energyi wrote:
Tue Jan 29, 2019 6:02 pm
...Any bench testing results to help the uneducated on reasons to try the 64 bit bootable image on GitHub?

It took just 5 minutes to xzcat the compressed image to a 32G µSD on Raspbian, thanks to Sakaki's excellent instructions, so why not just try it for yourself?
by tvjon
Sun Jan 27, 2019 9:17 am
Forum: Graphics, sound and multimedia
Topic: Video DJ Setup
Replies: 2
Views: 189

Re: Video DJ Setup

Last week I attended BETT at the Excel, London, where I had an interesting chat with one of the developers at http://www.curiouschip.com/blog/ This does pretty much what you describe you'd like to do. Their inbuilt display uses the DPI interface & they have RPI's hdmi connector available for externa...
by tvjon
Thu Jan 24, 2019 1:09 pm
Forum: C/C++
Topic: Error while installing qt 5.12 on raspberry pi 3
Replies: 3
Views: 303

Re: Error while installing qt 5.12 on raspberry pi 3

jahboater, thank you kindly for that link. I'd like to test an app's performance using the fake kms driver, but raspbian with the 4.19 kernel (which I need to even run another application) won't currently boot with that option. It took 12 minutes (running on my raspbian card) to xzcat the compressed...
by tvjon
Wed Jan 23, 2019 12:13 pm
Forum: Troubleshooting
Topic: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit
Replies: 15
Views: 430

Re: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit

... Sorry, I am not familiar with MP4Box, gpac, or what "mux'd" files mean. I am a novice with the Pi still. Just trying to make this choppy video play smoothly after installing the pi video looper. What is hello_video.bin? I also would like to learn shell scripting but right now am not familiar wi...
by tvjon
Tue Jan 22, 2019 6:10 pm
Forum: Advanced users
Topic: Moving Linux kernel to 4.19
Replies: 102
Views: 17815

Re: Moving Linux kernel to 4.19

Could someone else check whether the Fake KMS / vc4-fkms-v3d overlay works for them with 4.19? If so, which OS are you running? 1 Selecting it for me is causing boot to stall around the time of trying to mount drives, but I haven't excluded my Raspbian SD card image from being at fault. Legacy and ...
by tvjon
Tue Jan 22, 2019 4:05 pm
Forum: Troubleshooting
Topic: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit
Replies: 15
Views: 430

Re: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit

...'d ideally like to use files created on ios, so .MOV files. However, I can convert them to standard h264 files too. No audio needed. Yes, iOS is nice for producing high quality videos. MP4Box in the gpac suite is a useful tool to extract the h264 stream from mux'd files. It runs fine on RPi. hel...
by tvjon
Mon Jan 21, 2019 12:49 pm
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 463

Re: DIY Webcam in Finland

... There isn't any energy on the island the whole winter. This means I would need a power source which completely is not relying on energy out of the socket. Is this even possible? (solar, wind...).. Something like: https://en.wikipedia.org/wiki/Radioisotope_thermoelectric_generator would be handy...
by tvjon
Mon Jan 21, 2019 9:47 am
Forum: Graphics, sound and multimedia
Topic: Timidity output device
Replies: 9
Views: 668

Re: Timidity output device

Your DAC looks pretty good. I don't have such, but I've just plugged in a cheap C-media usb audio "card", & now my old midi keyboard is playing through it, so hopefully this will work for your nice DAC. Perhaps you could confirm that, so we can all know what to expect if we buy similar? So, find out...
by tvjon
Fri Jan 18, 2019 8:43 am
Forum: Troubleshooting
Topic: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit
Replies: 15
Views: 430

Re: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit

@tvjon ... VLC player opened and closed a bunch of times but finally it did play it. But when playing it was a little choppy. From the cmd line I used omxplayer with the following code and it played smoothly. That's the kind of performance I'm looking for... VLC has a great deal of code which is pr...
by tvjon
Thu Jan 17, 2019 4:24 pm
Forum: Troubleshooting
Topic: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit
Replies: 15
Views: 430

Re: Original Raspberry Pi B, video playback choppy on Pi_Video_Looper software from Adafruit

Original is perfectly capable. Until recently, it was all I used for Kodi. Try playing /opt/vc/src/hello_pi/hello_video/test.h264 to see if that's choppy. If so, in that same folder is a Makefile for hello_video.bin Type make in a terminal window to build the application, then $ ./hello_video.bin te...
by tvjon
Wed Jan 16, 2019 10:41 am
Forum: Beginners
Topic: how to open .exe file in raspbian
Replies: 4
Views: 244

Re: how to open .exe file in raspbian

hi everyone. does anybody know how to... extract a .exe file on a raspberry pi 3 b+? i am running NOOBS raspbian and i dont know how to open/extract it I recently needed to EXTRACT a soundfont from a .exe file, but there is no wintel kit here. Fortunately the unzip utility extracted the soundfont p...
by tvjon
Wed Jan 16, 2019 9:43 am
Forum: Raspbian
Topic: VLC 3.0 with hardware acceleration
Replies: 78
Views: 10427

Re: VLC 3.0 with hardware acceleration

Good point, not today :)

However, I do have the relevant 15 .deb files if there's a URL you can provide to put them if you like?
by tvjon
Wed Jan 16, 2019 9:03 am
Forum: Raspbian
Topic: VLC 3.0 with hardware acceleration
Replies: 78
Views: 10427

Re: VLC 3.0 with hardware acceleration

Strange, I don't see 3.0.6.
by tvjon
Fri Jan 11, 2019 10:19 pm
Forum: Troubleshooting
Topic: eth0 unable to work at 1000 Mbps
Replies: 10
Views: 323

Re: eth0 unable to work at 1000 Mbps

" I run ethtool to check the interface..." From your pi, what does uname - a report? Here's the output from the RPi I'm responding to your post with. $ sudo ethtool enx00e04c96004e Settings for enx00e04c96004e: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half...

Go to advanced search