Blogs

A year of Haiku talks

Blog post by mmu_man on Tue, 2011-09-27 20:05

As I'm returning from DC-2011 in the train I noticed that I didn't blog for quite some time, and never told you about things I've seen and done at various places this year. Let's fix this mistake ASAP.

Ohio LinuxFest 2011: Another Fun Adventure

Blog post by jprostko on Thu, 2011-09-22 01:52

Mike and Darkwyrm at the tableMike and Darkwyrm at the table

The weekend of September 9th, 2011 marked my third year in attendance at the Ohio LinuxFest (OLF). My friend, Amir, and I arrived in Columbus right around 8 PM that Friday night, and after getting our belongings put away at the Drury hotel, we decided to check out the "20th birthday of the Linux kernel" celebration at the Hyatt hotel. We didn't really know all that many people there, but minutes after arriving, we got chatted up by some people, and I was naturally asked about Haiku right away due to me wearing a Haiku shirt. There were a couple more conversations like this with some other people we met, which was great, as I got to show those individuals Haiku in action the very next day. I also got to talk to some people I knew from Pittsburgh, like klaatu, as well as my friend Vance from our Linux Users' Group, WPLUG. Seeing as I still didn't have my Haiku demonstration machines set up the way I wanted them, Amir and I decided to head back to the hotel shortly later around 9 PM. On the way out, I saw Beth Lynn Eicher (Director of OLF and former Chair of WPULG) wearing her red fedora and I made sure to say hello, not only because she has always been supportive of Haiku and its presence at OLF, but because she has been a good friend over the years.

Back at the hotel I worked on getting the demo machines ready. Initially my plan was to run Haiku natively on my Lenovo Thinkpad X61 and then run Haiku in VirtualBox via Linux Mint 11 on my Lenovo Thinkpad X120e in order to show off the Guest Additions that were done as part of Google Summer of Code 2011 by Mike Smith. I did get that running just fine, except Haiku was running on it quite slowly in virtualization, given that the X120e isn't exactly a powerhouse machine. I decided to scrap showing the VirtualBox Guest Additions on the X120e, and instead just ran Haiku off of a nano USB drive that I had imaged earlier that day. I set up both Haiku machines to basically have the same setup, where we could show off multimedia performance and Haiku-specific strengths. Assuming I have both machines around next year, I'll likely try a different configuration, where I'll run Haiku natively from the X120e and run it virtualized on the X61.

Showing a video and web pageShowing a video and webpage

After being satisfied that the Haiku machines were ready, I finally ended up getting to sleep around 3:15 AM. My alarm went off a couple of hours later, and after getting my shower, I headed off to the Columbus Convention Center. I got the Haiku table set up relatively quickly and awaited attendees to stop by to visit the table. Before things were too far along, a gentleman who was doing security at the event stopped by and told me how he used Haiku on his older machine, and that he loved it. That was great to hear, and I figured it was always good to be on good terms with one of the individuals running security. Rob Ball (Sponsorship Chair) of OLF stopped by early on as well, and made sure that we had electricity and all of our other needs addressed. Right after he left, Beth Lynn Eicher stopped by and we talked a bit, which was cool as I didn't get to talk to her much the night before.

Batisseur: The End?

Blog post by jrabbit on Thu, 2011-09-08 17:11

GSOC 2011 is over and I’ve had some time to cool off from last minute stress. A few awesome tools for haikuporter will be coming soon. I’m going to work on rounding off those tools. The builddrone project somewhat works but is not of a very high quality. The queen needs love with respect to databases and or data structure. I may revisit it later, but I’d love for someone with relevant experience to implement something better. Jenkins reporting and distributed uploading may make it into haikuporter along with gpg signing (According to GPG availability, last time I checked gpg doesn’t work on Haiku.). There are a few interesting peices of code I may cut off into packages for others to easily depend on (Bitbucket and Github commit post parsing anyone?)

This whole process was a real experience for me on working with long term projects that will come in handy with a college program focusing heavily on student-designed work. My Haiku related work isn’t over and I’m still excited to make packaging fun and easy. One project in the back of my head is an interface layer for PyPI packages, Rubygems and CPAN, to be used by package managers so they don’t duplicate work. Basically what that amounts to is processing their packages into a portable format.

Camlistore and Go on Haiku will be very interesting to see. I may be able to help with Google Code In this fall also. My schedule seems to be flexible enough to allow it. The Python BeAPI interface will be amazing to work with.

VBox Guest Additions: A slightly late final progress report

Blog post by scgtrp on Mon, 2011-09-05 18:33

As everyone has probably gathered from the first sentence of most of the other posts, GSoC 2011 is now over. I accomplished some of the goals I had for the last quarter, but was unable to get GCC2 support to work. The compiler is different enough to not work with the same options, and even after adding a GCC2 tool definition to kBuild I found that it was too old to compile some of the VirtualBox code. Various workarounds I tried for this proved unhelpful, so the additions will currently only compile and run on a GCC4 or GCC4 hybrid Haiku.

On a more positive note, there is now an (unaccelerated) video driver for VirtualBox which supports screen resizing. 2D acceleration would be possible, but would require changes to app_server (reporting changed areas of the screen to accelerants) that would not have fit in my timeline. I do plan to implement this eventually.

Also, a few people requested the ability to remove VBoxTray from the right-click menu on the replicant, so this is now possible.

While I do plan to continue working with Haiku, I currently am taking a break due to classes having just started.

What Will Happen....

Blog post by Barrett on Sun, 2011-09-04 02:23

You probably know that i have not passed the GSoC final evaluation. Although i am a bit discouraged (it's natural i think), as said from the begin, it's not my intention to abandon my project. Money wasn't my first motivation to work, and it will not be in any case.

It's just a short post to tell you what is the state of my code, and about which i'm working on.

At the end of gsoc, contacts kit's base classes are working fine, People were refactored to use my contact API, so i'm writing here my goals for the next period (deadline is presumably before january) :

* Move attribute indexing from People to the PeopleTranslator.
* Adjust file changes monitoring in People.
* Add a PeopleFilePanel class to export contacts into formats different than Person format.
* Fix all TODO and my late mentor's suggestions

* Create BContactList and BContactFieldList classes to make basic operations on collections of objects...like merging of contacts.
* Finalize BContactGroup by using the mentioned classes.
* Create the BContactRoster class, and make working the BAddressBook class (that will wrap /boot/home/people).
* Integrate Mail with BAddressBook.

Sorry for few details, my first need was to notice you that i'm already working on the project.

Below some screenshots about my latest gsoc work :

http://imageshack.us/f/856/screenshot2kz.png/
http://imageshack.us/photo/my-images/853/screenshot2km.png/

Haiku Down Under 2011 Report

Blog post by Sikosis on Sat, 2011-08-27 09:05

Haiku Down Under 2011It was a rather overcast day in Brisbane, Australia: Home of the Fourth Annual Haiku Down Under Virtual Conference for Haiku Users and Developers. It was virtual, in the respect, that the event was streamed live over the Internet once again using the uStream service.

We accept (and regret) that this service requires Flash, but at present, we still haven't found any other services that are capable of delivering the same features. One of these days, we hope to use a Haiku friendly service.

This year, HDU 2011 (#hdu2011) was hosted from one of the ITEE boardrooms at The University of Queensland where I, Phil Greenway (Sikosis) was joined once again by Mark Patterson (BeMark) and newcomer Daniel Devine.

UVC Driver: Final Report GSoC 2011

Blog post by gabriel.hartmann on Wed, 2011-08-24 21:53

The Google Summer of Code for 2011 is over now for me. The final state of the UVC driver project while very far from perfect is at least at a point where incremental improvement can be made. Literally the day (maybe 2 days, depending which timezone you're in) before the "firm pencils down" date I finally managed to get data all the way from the camera to the screen. The decoding of that information is totally wrong at this point, but coloured pixels show up on the screen and they appear to react when things move in front of the camera. Success?!

Beyond the relatively simple task of writing a colour decoder that actually matches the format of the data being provided by the camera, there remains a whole lot of work to be done. The work comes in three major categories: the application layer, the driver layer, and the USB layer.

By the application layer, I mean the interface between the driver and applications. The two major webcam applications for Haiku Cortex and Codycam both primarily request and accept frames at 320x240 resolution. Allowances have been made in the driver for this behaviour. The current code should allow other resolution requests to be negotiated successfully, but without application testing, it's likely that resolution negotiation will have some bugs. Also this tendency on the part of applications ignores camera preferences for default resolutions.

At the driver layer the UVC driver does not even attempt to support all the features of the specification yet. In particular no attempt has even been made to deal with compressed video frames. The MJPEG frames that uvc cameras normally provide haven't yet been touched. The specification also allows for other proprietary formats. Again this is unexplored. Finally, the driver to camera resolution negotiation is not particularly robust and assumes to some degree that applications are going to request reasonable resolutions (from the camera's perpsective). This portion needs to be looked at again. This will be a time consuming process because camera stalls in negotiation lead to unrecoverable crashing of the media_addon_server. A camera stall occurs on the slightest provocation. Learn to love rebooting.

At the USB layer, ehci isochronous transfers tend to crash Haiku into KDL. There are probably a series of reasons for this, but at least one known issue is that ehci doesn't deal well with a large number of queued transfer requests. For this reason, there is currently artificial waiting time ( snooze(for a for a little while) ) in the generic CamDevice so that the queue doesn't get to backed up. Of course this makes a decent frame rate impossible. At least the more or less random pixels now displayed don't appear to have a very quick frame rate. Even with the artificial delay you only have about 20 seconds of video frames (if you're lucky) before crashing into KDL. Again, learn to love rebooting. There is a newer version of ehci available which deals with this issue, but I couldn't get it to play nice with my system.

In short, to use a transportation metaphor, a trail through the jungle has been beaten from camera to display. Technically one can get from point A to point B. However if you want to do this easily, quickly, and reliably you're going to need a super-highway. Expansion and improvement of the route is needed at all levels.

I had a great time with this, my first GSoC and learned a lot about USB which was something I didn't really know a lot about before. I'd like to thank my mentors Jerome and Philippe for their time and patience.

Syndicate content