Go to advanced search

by MattSwarbrick
Mon Aug 19, 2013 2:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Checking battery connected with ds1307
Replies: 0
Views: 378

Checking battery connected with ds1307

Hi there, I've connected up my rtc and everything works following the instructions here: http://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time My question really is how can I test that the battery is properly connected? I've checked the datasheet and the protocols are all f...
by MattSwarbrick
Tue Jan 15, 2013 4:36 pm
Forum: Networking and servers
Topic: netgear n150 adapter with ad-hoc and infrastructure mode
Replies: 2
Views: 1598

Re: netgear n150 adapter with ad-hoc and infrastructure mode

best I can do now is this: [email protected] ~ $ iwconfig lo no wireless extensions. wlan1 IEEE 802.11bgn ESSID:"RPi" Mode:Ad-Hoc Frequency:2.412 GHz Cell: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off wlan0 IEEE 802.11bgn ESSID:"**********" Mode:Ma...
by MattSwarbrick
Tue Jan 15, 2013 2:36 pm
Forum: Networking and servers
Topic: netgear n150 adapter with ad-hoc and infrastructure mode
Replies: 2
Views: 1598

Re: netgear n150 adapter with ad-hoc and infrastructure mode

So i think it is possible with iw, if you dont have iw get it by: sudo apt-get install iw Then you can use iw to add a new interface by: sudo iw phy phy0 interface add wlan1 type adhoc Where phy0 is the physical device. Note: to delete an interface use: sudo iw dev wlan1 del where wlan1 is the devic...
by MattSwarbrick
Tue Jan 15, 2013 1:13 pm
Forum: Networking and servers
Topic: netgear n150 adapter with ad-hoc and infrastructure mode
Replies: 2
Views: 1598

netgear n150 adapter with ad-hoc and infrastructure mode

I'm using netgear n150 on wheezy and can connect to wireless networks no problem, by using wpa_cli and having sudo dhclient -1 wlan0 in /etc/rc.local to obtain ip from router. This works fine and am having no problems. However I would also like to set up the pi as ad hoc so I can talk directly with ...
by MattSwarbrick
Wed Jan 02, 2013 10:50 am
Forum: Graphics, sound and multimedia
Topic: QtMultimedia, OpenMAX and GStreamer - will it ever work?
Replies: 19
Views: 14685

Re: QtMultimedia, OpenMAX and GStreamer - will it ever work?

I have had the same results, I believe the cpu precentages m[]sko refers to is without rendering... The only place where I've seen video running from Qt is from luc4 on his blog: http://thebugfreeblog.blogspot.co.uk/2012/12/custom-qml-component-for-rendering.html I've had video playing from Qt,using...
by MattSwarbrick
Fri Nov 23, 2012 1:42 pm
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

OK, so I've tried building the arm hard float patch for mono a couple times. I've had to tweak the source code so that it doesn't use armv7 instructions to build, but has been a bit experimental and not really sure if I've done it right. My steps are as follows (this is with no previous version of m...
by MattSwarbrick
Fri Nov 23, 2012 1:20 pm
Forum: Other programming languages
Topic: First Step With Raspberry And C#
Replies: 4
Views: 3858

Re: First Step With Raspberry And C#

There is the hard float patch found here: https://github.com/directhex/mono-1/tree/armhf-port To clone the source and get the amhf port code do the following: git clone git://github.com/directhex/mono-1.git cd mono-1 git checkout remotes/origin/armhf-port This is talked about in the raspberry pi for...
by MattSwarbrick
Wed Nov 21, 2012 5:20 pm
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

yes please do!

Did you cross compile to get your usr.tar.gz.. Not sure why/how this would work on an arm device if not!
by MattSwarbrick
Mon Nov 19, 2012 10:56 am
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

sounds interesting! shame its not for the pi, but the insight is useful, I'm going to take a look at your steps and apply it to the pi, i guess the results will be similar. Did you have an existing installation of mono prior to building?
by MattSwarbrick
Fri Nov 16, 2012 5:28 pm
Forum: Graphics programming
Topic: Poor graphics / Banding issues
Replies: 9
Views: 7297

Re: Poor graphics / Banding issues

Also experiencing this, using --transparent with qmlscene does make it smoother, I don't know why either!
I've set the depth to 24 in config.txt but seems to have no effect.... Has anyone had any progress with this?
by MattSwarbrick
Fri Nov 16, 2012 12:19 pm
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

I've seen this too, the code needs to be tweaked before compilation. I'm no expert in this at all, but first it needs to build using armv6 instructions not armv7, this can be done from the source or using: export CFLAGS=-march=armv6k Then I believe that it assumes armhf == armv7 in various places an...
by MattSwarbrick
Fri Nov 09, 2012 5:55 pm
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

Did not work: mini-arm.h:17:2: error: #error "hardfp-abi not yet supported." make[3]: *** [genmdesc-genmdesc.o] Error 1 make[3]: Leaving directory `/home/pi/mono-3.0.1/mono/mini' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/pi/mono-3.0.1/mono' make[1]: *** [all-recursive] E...
by MattSwarbrick
Fri Nov 09, 2012 4:37 pm
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

Ok yeah because dmb is an instruction for armv7 not armv6 which the pi runs right? I'm kinda hoping that this release might include the patch... unlikely but at least i'll be half way there
by MattSwarbrick
Fri Nov 09, 2012 3:35 pm
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

Ok so, got building up to a point and then I received the following: /tmp/cceJq7Zc.s: Assembler messages: /tmp/cceJq7Zc.s:307: Error: selected processor does not support ARM mode `dmb' /tmp/cceJq7Zc.s:316: Error: selected processor does not support ARM mode `dmb' /tmp/cceJq7Zc.s:329: Error: selected...
by MattSwarbrick
Fri Nov 09, 2012 11:53 am
Forum: Raspbian
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 82320

Re: Raspbian vs Wheezy (beta) Mono support

Has anyone tried compiling mono 3.0 from source. I heard there was a patch that enabled hf support... seems interesting, going to give building a try today. Does anyone know how to use the patch? I'm going to download mono 3.0 source from here: http://download.mono-project.com/sources/mono/mono-3.0....
by MattSwarbrick
Fri Nov 09, 2012 11:48 am
Forum: Graphics, sound and multimedia
Topic: gstreamer openmax
Replies: 263
Views: 130071

Re: gstreamer openmax

Hey there, It's been a while since I've been looking at rendering video using gpu on the pi with gstreamer, has anyone seen any progress with this? Think I might take a look at it again, any suggestions? My previous attempt was able to get videos playing but with cpu usage at about 70% for 480p. I h...
by MattSwarbrick
Tue Oct 30, 2012 11:54 am
Forum: General discussion
Topic: CPU load vs. Turbo mode
Replies: 30
Views: 7505

Re: CPU load vs. Turbo mode

Ok, well it seems to work if you put this: echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold into the rc.local script which runs on startup. You can edit the rc.local script with the following command: sudo nano /etc/rc.local Then add the above command into the file, above where it pri...
by MattSwarbrick
Tue Oct 30, 2012 11:25 am
Forum: General discussion
Topic: CPU load vs. Turbo mode
Replies: 30
Views: 7505

Re: CPU load vs. Turbo mode

That sounds good, was wondering whether the turbo was actually kicking in... Where did you place your script to run on start up? can you just add commands in rc.local?
by MattSwarbrick
Fri Oct 12, 2012 11:21 am
Forum: Graphics, sound and multimedia
Topic: gst-omx hardware rendering
Replies: 14
Views: 7851

Re: gst-omx hardware rendering

Ah that sounds really interesting, I'll look into using that pipeline of: openmax -> gstreamer -> opengl, quite keen to get cpu usage right down, don't really want to use the cpu at all, since the gpu should handle everything Not having massive luck with the gl plugin for gstreamer, but am making so...
by MattSwarbrick
Thu Oct 11, 2012 4:39 pm
Forum: Graphics, sound and multimedia
Topic: gst-omx hardware rendering
Replies: 14
Views: 7851

gst-omx hardware rendering

So now most of us are decoding video files via the gpu and rendering the video via the CPU, on a 128 split, this uses about 95% cpu usage. So I thought I'd start a thread about exploring the possibility of rendering the video back using the gpu. I found the gst-plugins-gl gstreamer plugin and have b...
by MattSwarbrick
Wed Oct 10, 2012 3:40 pm
Forum: Graphics, sound and multimedia
Topic: gst-omx issue or recent change to openmax issue?
Replies: 15
Views: 9258

Re: gst-omx issue or recent change to openmax issue?

So reverting back to a previous firmware version I am now able to play a big buck bunny 480p mov file. Its very slow about half of the full speed, and it uses around 95% cpu, is this not using the GPU? Running the same video in omxplayer which definately uses the GPU runs at the right speed, and use...
by MattSwarbrick
Wed Oct 10, 2012 1:59 pm
Forum: Advanced users
Topic: Updated GPU firmware
Replies: 308
Views: 202135

Re: Updated GPU firmware

yep that fixes it now getting:

Code: Select all

Downloading specific firmware revision (this will take a few minutes)
by MattSwarbrick
Wed Oct 10, 2012 1:49 pm
Forum: Advanced users
Topic: Updated GPU firmware
Replies: 308
Views: 202135

Re: Updated GPU firmware

This still doesn't seem to work, I'm not sure whether its working but always displays "Your firmware is already up to date" Because if I try: [email protected] ~ $ sudo rpi-update 128 9fa8696eef5ab1e89552d46a76710c7045483ef0 Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS Performing self-u...
by MattSwarbrick
Wed Oct 10, 2012 11:33 am
Forum: Advanced users
Topic: Updated GPU firmware
Replies: 308
Views: 202135

Re: Updated GPU firmware

Still not working for me [email protected] ~ $ sudo rpi-update 128 d6b57e4dad12353f291dae03ecfaf852d2d9fcce Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS Performing self-update Using ARM/GPU memory split of 128MB/128MB Updating firmware (this will take a few minutes) Your firmware is alr...
by MattSwarbrick
Mon Oct 08, 2012 2:30 pm
Forum: Graphics, sound and multimedia
Topic: gstreamer openmax
Replies: 263
Views: 130071

Re: gstreamer openmax

I followed your instructions step by step and am using the "big_buck_bunny_480p_surround-fix.avi" file but seems to hang on prerolling, did you find that before? How did you get around that to be able to play some video output? Thanks for your help btw, seem to be a bit closer, but still feel far aw...

Go to advanced search