|
Fly posted:Does it matter on those results whether you pay for the license for hardware decoding? The Pi has hardware decoding for h264 and mpeg4 enabled from the start. If you're trying to play mpeg2 or VC1 files you need the license, if not then having it won't make any difference one way or the other.
|
# ? Jun 25, 2013 23:29 |
|
|
# ? May 10, 2024 12:50 |
|
You could adjust the niceness of the process with nice -n -20. Anything below 0 increases the priority where higher numbers decreases it. So a process with a nice value of -20 will be given higher priority than a process with a nice value of 19. There may also be a way to tell the scheduler that you want that to be run as a realtime task but I'm not 100% sure of how to do that. Note that messing with the niceness may have other adverse effects. Like SSH taking forever to connect.
|
# ? Jun 26, 2013 03:06 |
|
I don't know anything about nice, but most of the writeups I found were for lowering the priority of cron jobs, and when i tried to "sudo nice" to a negative number, my jobs didn't run. I just noticed that the actual warning is "/usr/bin/rec WARN alsa: over-run" so the error is coming from the audio input part of the command. I tried to up the buffer in Sox to 64k, but still getting over-runs. Any chance that the bottleneck is actually SD card?
|
# ? Jun 26, 2013 04:40 |
|
eddiewalker posted:I don't know anything about nice, but most of the writeups I found were for lowering the priority of cron jobs, and when i tried to "sudo nice" to a negative number, my jobs didn't run. Essentially no. Sox converts to WAV internally, and the CPU on the pi just isn't up to realtime encoding. You can check you iowait in top to see if it's an sdcard issue, but you'd be better served with an odroid or something else with more oomph (beaglebone, whatever)
|
# ? Jun 26, 2013 04:46 |
|
evol262 posted:Essentially no. Sox converts to WAV internally, and the CPU on the pi just isn't up to realtime encoding. You can check you iowait in top to see if it's an sdcard issue, but you'd be better served with an odroid or something else with more oomph (beaglebone, whatever) I ran "apt-get update" for the first time in half a year, and something in that got Sox under 50% cpu. Unfortunately I'm still getting those overruns. Googling tells me that the error is the result of the piped output command not taking data from arecord fast enough. Adding more buffer to Sox after the pipe didn't seem to help. Maybe if I add buffer to arecord *before* the pipe it will. I'm stubbornly trying to get the RPi to work rather than buying something more powerful because I'm tired of having two sitting on the shelf. Unfortunately, it's plugged in at work and I can only play with it when I'm on the network there.
|
# ? Jun 26, 2013 05:59 |
|
Pretty sure the pi is just not powerful enough for your needs. I'm having a similar issue. FTP is very processor intensive - I have two security cameras that record on motion detection to the pi's FTP server, and just holding the two connections open and idle (not uploading anything) it uses 50% of the cpu. If I do anything else on the pi while the cameras are recording, it fucks up the ftp session.
|
# ? Jun 28, 2013 16:44 |
|
So how good is Retropie? Is it worth bothering with as a means to actually play old games, or is it just a neat little project at this point?
|
# ? Jun 28, 2013 17:05 |
|
Zack_Gochuck posted:So how good is Retropie? Is it worth bothering with as a means to actually play old games, or is it just a neat little project at this point? I would say it depends. It's nice having a dedicated box hooked up to the tv, but if you can easily connect your computer to the tv/mirror your computer, there is likely not much of a point.
|
# ? Jun 29, 2013 00:03 |
|
El Estrago Bonito posted:So how well does this actually run XBMC? Because one of my friends who is less of a tech guy says that it does XBMC and moderate web surfing totally fine with no problems and my other friend who is more of an obsessive claims that it's unwatchable handling anything in HD and has far too much lag. Plays 1080p movies fine for me. 3D content too. I imagine running it over wifi instead of ethernet might cause buffering issues but with mine wired in I've had absolutely zro issues beyond stupid poo poo I've misconfigured myself.
|
# ? Jun 30, 2013 13:00 |
|
Since I got an Edimax adapter I can stream 1080p over wifi without any problems. Plus most of the lag in the menus disappeared when I replaced the class 4 sd card with a class 10 one.
|
# ? Jun 30, 2013 13:11 |
|
I'm finding I am really into web stuff more with the pi than the hdmi/gpio things. Are there any sub $100 low power, low noise computers that can run a LAMP stack with preferably a real sata port for a proper hard drive? I'd like it to handle things like tiny tiny reader, sabnzb, quassel iirc, bit torrent, and being a file server. It seems like disk io and processing are limiting factors for the response times. Of the above, I tried quassel, and sometimes there was 3-4 second latency. Really, a monitor port would even be optional. I'd want to run it headless. A built in Wi-Fi or Ethernet port would be nice, but I can get dongles.
|
# ? Jun 30, 2013 15:34 |
|
TVarmy posted:I'm finding I am really into web stuff more with the pi than the hdmi/gpio things. Are there any sub $100 low power, low noise computers that can run a LAMP stack with preferably a real sata port for a proper hard drive? Some of the embedded x86 development boards include sata and the like, but they tend to be a bit more expensive than what you're looking for. You might want to consider a mini-itx form factor motherboard with a built-in CPU to run as a server. It won't break any speed records but they often run without a heatsink fan (or with a small one) and are basically a standard x86 or x86-64 pc. The only issue is that while they're low power, they usually still take standard pc power and will need a (small) case and power supply. I bought an epia 933mhz board that was used on ebay for around $50 which included a 512MB stick of ram. I got a $40 case with psu for it and it's been serving as my router with m0n0wall loaded on a compact flash card. It's actually overkill for that use but it gets hundreds of days of uptime and I don't have to reset it like most boxed routers. For new models here are some examples: http://www.amazon.com/Gigabyte-Inte...ywords=mini+itx http://www.amazon.com/Asus-Celeron-Mini-ITX-Motherboard-C8HM70-I/dp/B00APL76WO/ref=sr_1_64?ie=UTF8&qid=1372627251&sr=8-64&keywords=mini+itx http://www.amazon.com/Intel-D2500CC...ywords=mini+itx
|
# ? Jun 30, 2013 22:28 |
|
There are also a few Mini-ITX motherboards by Intel that take external 19v power bricks, such as the DH61AG and the DQ77KB. Both don't come with procs or memory, and are already out of your price range... and irritatingly, they don't come with the freaking power brick. I've always wanted an excuse to pair one of those with the InWin K1, one of the few cases designed for the Thin Mini-ITX thing. A shame that nobody else wants to pick that form factor up... You may also consider one of the NUCs. The DCCP847DYE just needs memory and an mSATA SSD...
|
# ? Jun 30, 2013 23:00 |
|
Or you can buy an N270 netbook that already has memory and a hard drive and a display and a keyboard for like $75.
|
# ? Jun 30, 2013 23:26 |
|
I set up my Pi as an OpenElec-based XBMC system, and it's pretty great. The only issue is that my Apex 19 inch TV (I have a small room, and the price and size was right) doesn't seem to have CEC working. I'm not sure if it's the cable or the TV, but I'm debating buying a remote. I guess I could buy another cable and keep the receipt just in case the TV's CEC works. So far I've tried a Wii Remote with an addon from the Open-Elec forums (it worked well enough, but it ruined the stability), and an old Remote Wonder that came with a circa 2004 All-In-Wonder Radeon card (works for basic navigation, but not all the buttons are mapped right, and the keys would be labeled wrong (it has function keys labeled A-F rather than sensible HTPC stuff). It looks like I can fix it with some ssh configuration, but the labels are kind of a deal breaker. I'm hoping I spend under $25, which looks doable. If the remote also supports TV functionality, that'd be nice. I'm using the TV mostly as a monitor, but if I get the urge to buy an antenna, that'd be nice, as would being able to turn off the TV without getting up. Edit:vvvv Thanks for the app recommendation. I tried xbmc's remote, but found it kind of lacking. I like how Yatse lets you navigate menus on the phone screen to a degree, so I don't have to look between two displays so much. Is there a good way to manually fix scraper data from the computer? I could ssh/ftp in and rename files, I guess, but if I could possibly find the non found items in a web interface, that'd be more convenient. TVarmy fucked around with this message at 10:35 on Jul 8, 2013 |
# ? Jul 8, 2013 00:50 |
|
TVarmy posted:I set up my Pi as an OpenElec-based XBMC system, and it's pretty great. There are remotes for 25 bucks that work well, you also could your cellphone with the Yatse program to control it.
|
# ? Jul 8, 2013 02:36 |
|
YouTuber posted:There are remotes for 25 bucks that work well, you also could your cellphone with the Yatse program to control it. Definitely go with Yatse if you have a decent smart phone. I have three XBMC boxes in my home, one using an Acer Revo and two RPis, and it works great. You can store a copy of the library on the phone so you can browse and play from there without even looking at the TV until the movie starts. Controls are easy to use and understand. It's much better than the official app.
|
# ? Jul 8, 2013 16:49 |
|
Although I use an app to control my XBMC the best thing about about CEC is it's ability to turn on the TV when I play something and turn it off when the screensaver starts. I've not touched my TV remote in months! Wish there was a button to turn off the TV manually though, sometimes I don't want to wait for the screensaver and it's a pain having to switch to the samsung app to turn it off. Meh, first world problems..
|
# ? Jul 8, 2013 18:39 |
|
The OP is kind of lacking with information on what does/doesn't work with the RPi, but does the 360 controller and chatpad work with something like OpenELEC or Raspbmc? It would be my dream minimalist setup
|
# ? Jul 9, 2013 11:07 |
|
kloa posted:The OP is kind of lacking with information on what does/doesn't work with the RPi, but does the 360 controller and chatpad work with something like OpenELEC or Raspbmc? It would be my dream minimalist setup I plugged my USB 360 controller in and all it did was flash the green lights in the center of the pad. I'm not sure if this is a problem stemming from lack of power or if it just does not have the drivers built into the kernel. So as of right now it does not work.
|
# ? Jul 12, 2013 00:39 |
|
kloa posted:The OP is kind of lacking with information on what does/doesn't work with the RPi, but does the 360 controller and chatpad work with something like OpenELEC or Raspbmc? It would be my dream minimalist setup http://elinux.org/RPi_VerifiedPeripherals
|
# ? Jul 12, 2013 10:41 |
|
That's using Archlinux for the Xbox Controller. Not OpenELEC or RaspBMC which are custom built directly on top of the Linux Kernel. Even then reading the notes it appears to be a semi-hack to get it functional.
|
# ? Jul 13, 2013 19:10 |
|
YouTuber posted:That's using Archlinux for the Xbox Controller. Not OpenELEC or RaspBMC which are custom built directly on top of the Linux Kernel. Even then reading the notes it appears to be a semi-hack to get it functional. What the hell? No. RaspBMC is based on Debian. OpenELEC isn't based on a distro, but it's not "built directly on top of the Linux kernel" either. The entire GNU userland is still there. Support for 360 controllers is built into the kernel anyway, so choice is distro is irrelevant as long as they built it. What are you running on your Pi?
|
# ? Jul 13, 2013 20:05 |
|
YouTuber posted:I plugged my USB 360 controller in and all it did was flash the green lights in the center of the pad. I'm not sure if this is a problem stemming from lack of power or if it just does not have the drivers built into the kernel. So as of right now it does not work. Even though you said USB 360 controller I have to ask, is this a wired only USB 360 controller or are you using the play and charge kit? Everyone excepts the play and charge to supply data and hilariously it does not it only charges and will sync the wireless connection to an xbox.
|
# ? Jul 17, 2013 06:14 |
|
My setup is the current: A Beaglebone Black connected to an Airport Express, it has the Usenet stuff, ftp, etc. Then a RPi with Xbian, for which I bought this and plugged it in the RPi, got it working but somehow if I try to stream video from the Beaglebone it stops to buffer like each 2 seconds unless I plug the RPi into another Airport Express in which case the video streaming is fine. Am I doing something wrong with the dongle or something? PS: The RPi is like 4 meters away from the Beaglebone Black.
|
# ? Jul 18, 2013 20:18 |
|
Billa posted:My setup is the current: As I recall, the USB ports are running at low enough power that wifi dongles aren't stable. Pretty sure I've read that a powered USB hub will level that out.
|
# ? Jul 18, 2013 20:23 |
|
G-Prime posted:As I recall, the USB ports are running at low enough power that wifi dongles aren't stable. Pretty sure I've read that a powered USB hub will level that out. I will try that tomorrow, thanks!
|
# ? Jul 18, 2013 20:47 |
|
Billa posted:My setup is the current: I'm not going to be much help for your question but I have one of my own for you: have you tried running any emulators on the BB? Do the extra CPU cycles help out at all?
|
# ? Jul 20, 2013 17:08 |
|
Horn posted:I'm not going to be much help for your question but I have one of my own for you: have you tried running any emulators on the BB? Do the extra CPU cycles help out at all? Nah, no luck even with a 2A switch, If I try to stream something using wireless in the RPi it will buffer each 2 seconds, so I don't know what to do because if I hook the Rpi to the airport express it will stream just fine. Also What do you mean by emulators?
|
# ? Jul 22, 2013 15:24 |
|
evol262 posted:Support for 360 controllers is built into the kernel anyway, so choice is distro is irrelevant as long as they built it. What are you running on your Pi? It's the USB corded variant. I'm just chalking it off as a low power issue. The thing lit up in the center and would just blink. No functionality or response from OpenElec.
|
# ? Jul 23, 2013 20:08 |
|
If I were to get myself a new SD card, would I be able just copy everything off my current one onto the new one and have my pi function the same but with more space?
|
# ? Jul 25, 2013 00:31 |
|
If you're using Raspbian, you can use whatever tool you originally made your SD card from an img file with to make a copy of your card, then write that new image to a new card. Then boot the new card and run "sudo raspi-config" and expand to fill the card in that tool. eddiewalker fucked around with this message at 00:39 on Jul 25, 2013 |
# ? Jul 25, 2013 00:34 |
|
Took me forever to get the sd card to work. Turned out I needed to write the image in 1M blocks instead of 4M with dd. Managed to make a quick time-lapse video over night for about 7 hours with the camera module. Saved 2,500+ 75% quality jpgs at 720p. Skip to ~3:25 for the sunrise. https://www.youtube.com/watch?v=xE87TCCGL40 Next up I think I'll set this up out in hilly forested area for time lapse of fog rolling in and then brain storm up something to do with the GPIO.
|
# ? Aug 4, 2013 01:39 |
|
Ordered all the parts needed to make my 20mm ammo can into my Pi's home. Soon it will be an all in one steel box. There's still extra space though. Lots of extra.
|
# ? Aug 5, 2013 16:17 |
|
Is there a way to get OpenElec to possibly cache more or something? I find the frequency at which it buffers unbearable for youtube and streaming add-ons on my 22 megabit connection. When I stream on a PC, this doesn't happen. Also, I find I can't fast-forward files. Is that just a limitation of the Pi?
|
# ? Aug 5, 2013 16:20 |
|
TVarmy posted:Is there a way to get OpenElec to possibly cache more or something? I find the frequency at which it buffers unbearable for youtube and streaming add-ons on my 22 megabit connection. When I stream on a PC, this doesn't happen. Yeah you can add a few lines to your advancedsettings.xml file (does not exist by default you need to create it) and set the amount of ram to devote to buffering. Not sure what it is by default but mine is set to 5MB as suggested by rbej on the xbmc forums. Hopefully it isn't against the rules to link to pastebin. http://pastebin.com/UzfLNsv4 Just copy and paste that file and the size of cache you want and place it in ~/.xbmc/userdata/ (by default this folder is shared over smb/cifs). Not sure how high you can set the cache just play around until you get the right value.
|
# ? Aug 5, 2013 18:16 |
|
TVarmy posted:I find I can't fast-forward files. Is that just a limitation of the Pi? Ensure you set max res of youtube plugin to 720p, even with a solid internet connection and 950mhz overclock the pi just takes too long to start 1080p playback.
|
# ? Aug 6, 2013 00:02 |
|
Has development on the Pi reached the point that browsing the web is an ok experience? I saw that video of Wayland making the whole OS' visual effects be smoother but I don't know how that translates over to rendering webpages and perhaps even flash?
|
# ? Aug 6, 2013 03:43 |
|
I've got a pi recording from a USB audio interface with Rec piped into Sox to trim out silence, then save the results as an mp3 in real-time. At the top of each hour, Cron stops that process, then restarts recording in a new timestamped file. I've finally got the mp3 quality to a point that its acceptable for my purposes without overtaxing the Pi and getting underruns. Everything was working greatfor a few weeks, but now I'm finding that Rec just stops working, sometimes just 10 minutes into an hour and sits there without any movement. (Rec is running in Screen so I can log in and set levels or check for buffer problems.) When the cron job comes around, it kills the previous hour's process and starts another, but the new instance of Rec doesn't do anything. It just sits there showing zero seconds recorded. Rebooting fixes it, for a while a least. I'm using a 2 amp charger, Sandisk SD card, and the pi is in a cool spot, cased with fair ventilation. No overclock. Any ideas? eddiewalker fucked around with this message at 03:11 on Aug 11, 2013 |
# ? Aug 11, 2013 03:04 |
|
|
# ? May 10, 2024 12:50 |
|
Dug out my raspi to play with the latest weston tech demos. All I can say is wow.
|
# ? Aug 13, 2013 00:29 |