**** BEGIN LOGGING AT Thu Jan 30 02:59:57 2020 Jan 30 03:01:39 use a TV for your monitor, the BBB can do 720p or 1080i I think but the latter is 24fps. Jan 30 03:01:54 it can definitely not do 1080i Jan 30 03:02:01 or indeed any interlaced mode Jan 30 03:02:35 it might be able to do 1080p(fucking slow) if your tv/monitor can cope with that Jan 30 03:02:57 Hmm. I was going to do some listen and feedback source but I gave up years ago. Maybe it is b/c there was not a big following on the source. Jan 30 03:03:54 The damn amazon people sold me a USB3.0 hub w/out the proper adapter. I got stuck w/out the machinery to conform. Jan 30 03:04:14 I am going to read it again. Who knows? I might be able to use it. Jan 30 03:05:36 I found the old book. Neat-o. Jan 30 03:05:51 man, digital stuff is so neat. Jan 30 03:06:12 No 500 pages of filth sitting on my shelf any longer. Jan 30 03:07:15 has anyone used guvcview before? Jan 30 03:14:38 set_ nope i haven't used it for controlling web cams even. :D Jan 30 03:15:04 Oh. Okay. Jan 30 03:15:11 GenTooMan: What do you use? Jan 30 03:15:43 I am going to the edge man! Jan 30 03:16:00 I disable all camera's on computers. set_ you are over the hedge Jan 30 03:16:40 I am a hedge fund manager in my make-believe life. Jan 30 03:17:14 "Yes, he will clip that hedge for $10.00." Jan 30 03:18:08 I saw those people making music from their BBBs. Jan 30 03:18:14 It was interesting. Jan 30 03:18:25 I bowl of electronics making noise. Jan 30 03:19:02 I think they were actually using the Pocket and Bela. Jan 30 03:19:17 not hard just hook up to an HDMI display and fire up timidity and grab a few megabytes worth of midi files. You can play for years without repeating the same song. Jan 30 03:19:39 Hmm. Timidity? Jan 30 03:19:41 What is that? Jan 30 03:20:15 I will go and look. Jan 30 03:20:38 https://en.wikipedia.org/wiki/TiMidity%2B%2B Jan 30 03:21:14 Yep. I found it there and on Sourceforge. Jan 30 03:22:52 anyhow debian I believe has the module in it. so you can play on your BBB which if the output for alsa is set up will playing it on a 720p TV Jan 30 03:24:31 you can play at the console or using a GUI based version. works pretty much the same. Jan 30 03:24:52 I have the old coke comercial jingle somewhere. makes a great ring tone. Jan 30 03:24:58 Ha. Jan 30 03:25:28 I am going to try and find colors on my BBB w/ a webcam. Jan 30 03:25:35 Edge, man. Edge. Jan 30 03:28:03 hmmm I had some tools for using the old Xbox 360 3d camera makes for great picture taking. You know 3d image and what not. Jan 30 03:29:56 Oh. Jan 30 03:30:19 I am online now w/ a cam just being handy. I am only showing the screen w/ the my hands typing. Jan 30 03:30:32 It is slow but it works w/ the AI. Jan 30 03:30:40 I think it is the source actually and not the AI> Jan 30 03:30:57 It seems it takes a while to adjust to movement. Jan 30 03:32:28 I have under 2.0 fps right now. Yikes. Jan 30 03:40:07 first is it connected via USB1.1 2 or 3? if 1 it will be slow 2 should be faster, depends mostly on the application however. Jan 30 03:48:08 Okay. Jan 30 03:48:23 I have usb 2.0 plugged directly into the AI. Jan 30 03:53:18 Right should be more than fast enough what resolution is the camera? You can speed it up by reducing the resolution. Jan 30 03:54:05 If it's grabbing a whole 8K frame each time that is a lot of pixels. USB on linux can be somewhat sluggish. Jan 30 04:03:09 Oh. Jan 30 04:03:20 I have no clue. I should get a manual for this thing. Jan 30 04:03:32 It has not sign of anything on it. Jan 30 04:04:28 did you fire it up from the cli or did you attach to the USB camera and turn it on to get video? Jan 30 04:12:08 Oh. I added the camera to the USB port on the AI. Jan 30 04:12:27 I then used a USB Hub for the fan to cool things down. Jan 30 04:12:40 Then, I just ran guvcview. Jan 30 04:13:13 It turned on and bam. But...I did have to start a VNC Viewer session. Jan 30 04:13:36 So, I could use VNC Viewer w/ tightvncserver to get a screen. Jan 30 04:13:54 That's why it's so slow Jan 30 04:14:17 it has to render data on one system and transfer it across the network to view it. Jan 30 04:15:17 So the VNC is actually what's slowing things down a bit. A different way would be to set up an xserver on your PC and then attach the output of the display to your PC. That is likely to be faster. Jan 30 04:16:00 You can do that in windows. However that might be a bit much for you to test out at the moment. At least you can see it working. Jan 30 04:16:01 BBB is a poor choice for any sort of video processing. also, the musb driver sucks and ruins performance Jan 30 04:17:19 zmatt I guess assuming things worked correctly was probably the wrong idea huh? Oh well. my body says I'm dead tired. Jan 30 04:17:26 good night people. Jan 30 04:17:29 Okay. No issue. Jan 30 04:17:32 Later. Jan 30 04:18:30 tomorrow I wire an SPI device into my BBB so maybe it will do something interesting. Blinking a light is kind of dull LOL. Jan 30 04:19:01 Yea boy! LEDs. Jan 30 04:23:25 GenTooMan: PRU or gpio :p Jan 30 04:23:28 vanilla* Jan 30 04:43:39 import video <<< This is why my cv2 app is not working thus far. Can anyone find this video import or is it a mystery? Jan 30 04:49:26 python? Jan 30 04:50:34 Yes. Jan 30 04:50:54 Python. I am supposed to import video but I cannot find where video is located yet. Jan 30 04:53:14 Do not worry. I am quitting for today. Sorry for starting something. Jan 30 07:12:27 Anyone knows, why BeagleBoard ai CPU governor is powersave after startup? I must always manually change it to "ondemand" to get speeds up to 1500MHz. And after upgrading kernel (sudo tools/update_kernel.sh) it is locked down to 400MHz and cannot be changed at all anymore (kernel upgrading is not recommended?). Jan 30 07:15:44 yeah I think jason has fiddled with some things in the DT to try to get thermal issues under control, although I'm not very convinced of the appropriateness of his approach. regardless, even on the newer kernel it should be able to go faster if it's cool enough Jan 30 07:17:36 I should really find a moment to do some more testing on the two leads I found (cortex-a15 subsystem power management doesn't seem to be working properly, and the TIDL firmware seems to leave all four EVEs continuously running even while not in use) Jan 30 07:18:49 also /etc/rc.local is not used anymore in debian? I must run it manually Jan 30 07:19:08 maybe somewhere is better place for it... Jan 30 07:19:18 hmm? it should still be run I think by a backwards-compatibility service Jan 30 07:20:10 in general it's better to make your own systemd service, which also gives you more control over when it's run and in what kind of environment: https://pastebin.com/KXVdTNrL Jan 30 07:27:32 into /etc/init/ ? Jan 30 07:27:53 if only the example I just linked to had step by step instructions Jan 30 07:27:56 oh wait, it does Jan 30 07:28:03 :P Jan 30 07:48:37 put it to /etc/systemd/system/astartup.service (/etc/systemd/user/ folder is not usable). systemctl list-unit-files '*.service' | grep astartup : astartup.service enabled but not working at system startup. Running manual systemctl start astartup.service is ok Jan 30 07:49:30 something is overwriting it later maybe Jan 30 07:49:51 maybe put sleep 15 or something to it Jan 30 07:51:30 es0thz: define "not working" Jan 30 07:51:57 it is very uncommon to want to place anything in /etc/systemd/user/ (and this is not a location I mentioned anywhere in my examples) Jan 30 07:52:04 yes, with sleep 15 it is working Jan 30 07:52:18 i tried to set cpu governor to ondemand Jan 30 07:52:37 eh, why are you making a service for that? there is already one Jan 30 07:52:53 another one will set it to powersave Jan 30 07:53:07 whatever i will say in configuration Jan 30 07:53:10 so change its config Jan 30 07:53:22 it's probably in /etc/default/ or something Jan 30 07:53:28 not there Jan 30 07:54:21 hold on lemme boot up my BBAI Jan 30 07:54:36 the only file with word "powersave" in /etc/ folder is in file /etc/init.d/cpufrequtils Jan 30 07:54:59 and changing it there will not change it Jan 30 07:55:56 stuff in /etc/init.d/ is obsolete and doesn't get used Jan 30 07:56:27 some new configuration files outside /etc/ now? Jan 30 07:59:08 oh actually it does use /etc/init.d/cpufrequtils apparently, since it has no native systemd service... so like I assumed, /etc/default/cpufrequtils is the correct place to configure this Jan 30 08:04:39 hmm Jan 30 08:05:08 maybe initramfs needs to be updated after changing this Jan 30 08:05:29 huh Jan 30 08:05:30 cat /etc/default/cpufrequtils : four lines: ENABLE="true" GOVERNOR="ondemand" MAX_SPEED="0" MIN_SPEED="0" Jan 30 08:05:34 Jan 30 08:02:09 bbai cpufrequtils[605]: CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...CPU1...done. Jan 30 08:05:44 so something *is* overwriting this Jan 30 08:07:12 Jan 30 08:04:11 beaglebone sh[4261]: BeagleBone-AI: cpufreq-set -g powersave Jan 30 08:08:06 Jan 30 08:04:09 beaglebone cpufrequtils[4478]: CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...CPU1...done. Jan 30 08:08:17 2 seconds later overwritten Jan 30 08:09:09 my own service is doing nothing at the moment, so there is something else Jan 30 08:11:40 /opt/scripts/boot/bbai.sh Jan 30 08:11:54 I hate these hideous scripts Jan 30 08:13:41 so presumably that's indirectly invoked by generic-board-startup.service Jan 30 08:17:35 #usb_iproduct="BeagleBoneAI" Jan 30 08:17:46 usb_iproduct="BeagleBone" Jan 30 08:18:13 correct product commented out :) Jan 30 08:18:46 well BeagleBone kinda refers to the whole family Jan 30 08:19:21 they probably considered using BeagleBoneAI for the product string but decided to use plain BeagleBone for compatibility or uniformity, would be my guess Jan 30 08:19:35 now its time to start another product to find out what is there after kernel upgrade (why it is locked down to 400MHz then) Jan 30 08:19:50 that should be temperature-dependent Jan 30 08:19:51 another memory card Jan 30 08:20:23 upgraded kernel, let it cooled down and still is 400 Jan 30 08:20:42 how are you cooling it? Jan 30 08:20:45 before upgrade there is minimum 1000 Jan 30 08:20:57 just let it stay offline Jan 30 08:21:14 and there is extra big radiator Jan 30 08:22:25 https://pastebin.com/Cj1hQuUr here's a script that will show the actual temperatures Jan 30 08:23:43 uptime=80.78 idle=99.13 cpu=59.800 gpu=59.800 core=59.800 dspeve=58.500 iva=59.400 loadavg=(1.87 0.89 0.33) Jan 30 08:24:12 needs more cooling Jan 30 08:24:18 yeah I feel like it shouldn't throttle at those temperatures Jan 30 08:24:36 or less heat production Jan 30 08:26:14 after editing /opt/scripts/boot/bbai.sh it will stay in my selected governor now Jan 30 08:26:26 without my own service Jan 30 08:26:52 yeah but editing that is a bad idea and would be overwritten if you install updates Jan 30 08:27:03 but tbh it doesn't belong there, like at all Jan 30 08:29:08 I've mailed rcn about this Jan 30 09:06:59 Jan 30 09:03:03 beaglebone cpufrequtils[1933]: CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...CPU1...done. Jan 30 09:06:59 Jan 30 09:03:03 beaglebone systemd[1]: Started LSB: set CPUFreq kernel parameters. Jan 30 09:07:31 current policy: frequency should be within 400 MHz and 400 MHz. Jan 30 09:07:32 The governor "ondemand" may decide which speed to use Jan 30 09:08:25 please don't paste multiline output in chat, use a paste service like pastebin.com instead (although I'm not sure why you're sharing these lines in the first place) Jan 30 09:08:49 this is after kernel upgrade 400MHz lock now Jan 30 09:09:05 yes you've said this quite a few times already Jan 30 09:09:29 I don't know what thermal policy jkridner configured in that kernel, it sounds like it's not a great one Jan 30 09:10:03 (especially since 400 MHz isn't actually an OPP that exists afaik) Jan 30 09:10:11 so it is known bug and kernel upgrades should avoided Jan 30 09:10:20 jkridner: ping Jan 30 11:38:30 yeah, the other TI folks pick on me about that 400MHz..... Jan 30 11:39:09 Slower clocks still equal lower heat/power, though not nearly as much as lowering the voltage. Jan 30 11:39:47 still overheating even after adding the low frequency? Jan 30 11:40:08 :-( Jan 30 11:40:29 I've got to catch a flight, but I'll be looking later to find out if this is the case for sure. Jan 30 11:42:22 so, if I disable the various firmware files and some services and use my little hack to tweak prcm of the cortex-a15 subsystem, my BBAI idles at 53 degC (kernel 4.14.108-ti-r113, cpu freq 1 GHz) Jan 30 11:42:35 I just changed the governor to performance to see what impact that has Jan 30 11:45:26 jkridner: but, I'm pretty sure the complaint here wasn't about overheating, it was about being stuck at 400 MHz despite adequate cooling Jan 30 11:48:21 with performance governor (1.5 GHz) my bbai seems to be idling at 54.2 degC Jan 30 11:49:37 so I'd say the cortex-a15 prcm and the TIDL firmware are the primary causes of the overheating problems Jan 30 12:18:33 ffmpeg building in progress, temp is 78 degrees. not very bad with passive cooling (all cpu @1500MHz speed and 100%) Jan 30 12:49:32 Hi... Jan 30 12:50:25 Does BBB support hardware time-stamping Jan 30 13:14:10 Ravi12 for ...? there are a number of different things in the BBB that may have HW time-stamping Jan 30 13:51:54 Hi , yes need to basically implement PTP 1588 protocol... Jan 30 15:10:36 I suggest searching for it on google there are more than just a few hits regarding the BBB Jan 30 16:00:39 it does Jan 30 16:16:58 it does? Jan 30 16:18:19 ravi12 disappeared but what does? I've seen several articles on what ravi was asking about Jan 30 16:34:35 Hi, Can we implement PTP 1588 protocol with hardware time stamping in BBB Jan 30 16:42:02 yes you should search google for BBB PTP 1588 http://www.creative-technologies.de/wp-content/uploads/2018/05/Master_Project__PTP_1588.pdf <-- masters thesis using it Jan 30 16:51:18 also https://groups.google.com/forum/#!topic/beagleboard/VbBUI-09u5U Jan 30 20:12:42 GenTooMan: yeah the AM335x supports 5ns-resolution hardware timestamping of PTP packets Jan 30 20:12:49 we have a working implementation Jan 30 20:13:20 (after some kernel patches to make it work sanely) Jan 30 20:22:04 I should try to get some of our patches upstream some time Jan 30 20:30:31 thought so I got something right at least :D Jan 30 22:56:56 thought there were balls needed that wasn't brought out? Jan 30 23:00:21 ds2: ??? Jan 30 23:00:52 zmatt: for the time stamping stuff Jan 30 23:01:18 what balls are you imagining you'd need for the ethernet MAC to be able to timestamp incoming and outgoing packets? Jan 30 23:02:17 it's just a timer that gets sampled when the packet transmit/receive starts on (R)(G)MII, and the timestamp is then tossed into a FIFO along with some information identifying the packet Jan 30 23:02:35 it was from a discussion early on Jan 30 23:02:59 maybe it was for a superset functionality Jan 30 23:03:42 I really can't imagine what Jan 30 23:10:42 the only balls on the AM335x even vaguely related to CPTS (the ethernet timestamping), apart from the (R(G))MII interface, are the timer4-7 pins, since these timers can be cross-timestamped with CPTS, but all four of those are available on P8 on the BBB Jan 31 01:03:59 x4äåååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååå Jan 31 01:04:04 arrrg. sorry Jan 31 01:12:19 interesting input... :D Jan 31 01:19:01 Is that English for no-go? Jan 31 01:19:55 ds2: I have not made it to your talk just yet. I am still on the first fellow's talk. Jan 31 02:01:03 Did anyone figure out how to, in python, import video? Jan 31 02:01:51 I am not sure I understand this task. I tried to install w/ apt and pip, i.e. video, libvideo-dev, libvideo. None work. Jan 31 02:02:36 Oh. Jan 31 02:03:23 I have a video.py.gz file in my examples dir. and I guess I need to make something out of it. Heh, it is a executable file or something like it. Jan 31 02:03:30 Off to read. Jan 31 02:10:46 It done work'th and work'th well, it does! Jan 31 02:11:07 Sorry ... I'll be sure to mess it up some. Jan 31 02:11:15 Wha? Jan 31 02:11:36 It is slow but it works for straight, stopped edges. Jan 31 02:12:19 GenTooMan: I think it is b/c of what you were saying yesterday about tunneling it to vncserver. Jan 31 02:13:22 I should connect it to the old keyboard and mouse w/ the display for better res. Jan 31 02:22:43 there are lots of ways to consume time on the device. You are using an BBAI or BBB? Jan 31 02:22:59 Xlib: extension "XinputExtension" missing on display "1:0." Jan 31 02:23:02 BBAI. Jan 31 02:23:37 GenTooMan: What do you think that means? Jan 31 02:24:46 I was performing some guassian distributions. Jan 31 02:24:59 it means you can't read any input on 1:0 0:0 should be the one native to the unit and 1:0 would be an added one. Jan 31 02:25:41 Hmm. I do not understand. So, me adding the...please hold. Jan 31 02:26:54 Well, whatever I did yesterday is gone now. I was learning how to perform a vncserver install on PuTTY while attempting to connect to the AI. Jan 31 02:27:19 It works as is, i.e. w/ or w/out the 1:0 or 0:0 scale. Jan 31 02:28:16 Ok .. anyhow X input refers to keyboards the mouse and other input devices. Jan 31 02:28:46 Hmm. Everything was working. I do not understand why I get errors when things work. Maybe it is a ploy to create disorder? Jan 31 02:28:54 Ha. Jan 31 02:31:20 No face detection... Jan 31 02:31:21 yet. Jan 31 02:31:24 just watch out for PSRGs poping out of woodwork Jan 31 02:31:32 PSRGs? Jan 31 02:31:37 What is that? Jan 31 02:31:47 Psuedo Random Number Generators. :D Jan 31 02:31:52 Oh. Okay. Jan 31 02:32:17 Yea. That would suck. Too many Generations of numerical values could cause me some trouble. Jan 31 02:32:25 esp. in python. Jan 31 02:33:07 Well they aren't random but a sequence of non repeating values. Real RNG's are a beast of their own. Jan 31 02:33:51 Hmm. I am very unfamiliar w/ what you are describing to me (mostly always). I think you know stuff I have no ideas about for now. Jan 31 02:34:01 is that odd? Jan 31 02:34:42 I just made a connection in scatter plots w/ the datasets I choose. Neat. Jan 31 02:34:53 cv2 is nice. Jan 31 02:35:21 I cannot wait to learn what ds2 was discussing. That whole CNN models and training. That is going to be neat. Jan 31 02:36:06 hmm I must have missed something. Jan 31 02:36:09 20 years of cv2 so far. Hopefully, Buster will bring some python3-cv3/4 to the table. Jan 31 02:36:29 Oh. Jan 31 02:37:10 GenTooMan: ds2 and I, well ds2 was schooling me on the subject, were discussing tidl and other matrix related methodologies. Jan 31 02:38:13 For example, I wanted to try to sell the idea of training to hunters. So, they could sit and relax at their camp while the tech. did its work. Then, when something would cross the camera that was like a deer, they could get their hunt "on." Jan 31 02:38:16 ahh https://training.ti.com/texas-instruments-deep-learning-tidl-overview <-- that? Jan 31 02:38:26 That and more. Jan 31 02:38:57 You know, "Instead of dealing w/ just bears eating their feed. Jan 31 02:39:48 It was going to be my first gig. But ds2 thought, "Training is needed." This is something I know little on. Jan 31 02:41:00 Ahh... So you wanted to use a BBB-AI to understand AI use in recognition of things and or events Jan 31 02:41:12 Right! Jan 31 02:41:38 I am going to find a way to get a book on this subject, i.e. a nice book on AI. Jan 31 02:42:21 something related to C/C++ and python. Hopefully, tidl "people" will continue the quest and not give in to "wondering eyes." Jan 31 02:43:21 I mean this by that idea. Some people, since this started, changed the names of DL, NN, and AI/Machine Learning. Jan 31 02:46:11 You'll see that. LOL It reminds me of someone trying to explain this "new" idea and I said "gee that sounds like ..." which it was basically. Just like kids make up new words humans waste others times making up things. Sort of like "cloud computing" was nothing new and IoT was just a marketing term for something I had been doing for longer than the term existed. Jan 31 02:46:56 Yep. Same entity. Jan 31 02:47:33 The problem with obfuscation in language is quite debilitating for proper communication. Yet humans engage in it excessively. :D Jan 31 02:48:10 Right. Like when I make jokes w/ the quotation marks, i.e. Every person was workin' Jan 31 02:48:28 Or...work'th <<< Middle age. Jan 31 02:48:50 each didst work <- ME Jan 31 02:49:01 That solely is a break down in comm. This happens like you were saying even in electronics. Jan 31 02:50:40 Some people get religious about it ... that is really ugly. Their conversation then becomes irrational. Jan 31 02:51:34 I mean...I know I get real irrational at times. But, you could be stuck w/ people that are hateful and mean. Jan 31 02:51:39 I am referring to technical things of course. Jan 31 02:51:43 Right. Jan 31 02:52:34 GenTooMan: Not all my source works and I will or will not get to the bottom of it. Jan 31 02:53:04 I think I can do a lot w/ the AI board. More space, more "power," and more processing capabilities. Jan 31 02:53:20 I still am confused about the M4, though. Jan 31 02:53:59 Has anyone you know of made any headway on this chip? I mean, has anyone you know of made some small contribution to the M4 on the AI? Jan 31 02:54:42 <<< I have always needed a "foot in the door" w/ source. I am not self-sufficient yet. Jan 31 02:55:17 I saw someone published a bunch of pru source on the Cloud9 IDE sections. Jan 31 02:55:40 here: /var/lib/cloud9/.../ Jan 31 02:56:05 I am sure more than just a few are messing with it. I suggest you test out the device learn IO on it. The AI is just stuff adapted to the platform not necessarily because of the platform. Jan 31 02:56:59 Yep. I get that idea. I still would like to be able to provide the old w/ the new. I have this darn book. It is about the m4. Jan 31 02:57:12 It is just not about the m4 on the BBAI. Blah. Jan 31 02:57:51 GenTooMan: I am still trying to apply source to knowledge instead of relying on people to make libraries. Jan 31 02:58:25 hmm I suggest playing with the IO and seeing if you can read from devices you played with on the BBB Jan 31 03:00:00 Okay. I know the pin usage will be different but I can try. Jan 31 03:00:18 I saw @zmatt's listing of AI pin usage. Jan 31 03:00:33 pinmuxing or whatever it is really called! Jan 31 03:00:37 Well you have to interface it into something right? **** ENDING LOGGING AT Fri Jan 31 03:00:42 2020