If you're into photography a bit, you probably know the term register distance. It's the distance between the flange of the lens and the sensory plane of the camera body. It's one important factor in lens design and every camera system has its own, a parameter carefully chosen because it has a huge impact on the overall design of all future cameras a maker is creating.
It also defines how easy it is to use lenses of a different system on your own camera. If your camera has a larger register distance than the lens you want to use, it's not doable with just a distance piece, you need some lens in between, which makes it expensive.
Now, the µ4/3rds system, by lack of the mirror box, has about the shortest register distance of any modern digital camera system, which means it's particularly easy to adapt any lens ever made. Just recently a friend, owning a large collection of Canon FD lenses, has bought an adapter to try some pieces of his collection on my camera and by that I got the chance to try some of them myself - and I found it's really a lot of fun.
I'm especially addicted to some of the fast 50mm because they easily offer apertures around f/1.8 and larger, making them very attractive for portrait photography and still motives, the shallow depth of field offering choices in composition impossible with the set of native lenses available for µ4/3rds today. Another interesting choice is long focal length lenses, the photo above was shot using a 500mm reflex lens, quite a compact design and effectively a 1000mm now due to the cameras crop factor.
This experience has considerably changed my plans for future native lenses to buy. Originally I planned to get the 14-140 as a walk-around lens, but it seems it's not going to be as good as the Pana/Leica 14-150 for 4/3rds yet almost as expensive. I'm afraid Panasonic invested too much into making a video lens and sacrificed optical quality, at least the MTF charts suggest that. So, with my newly discovered love for fast primes I'll rather have the 20mm f/1.7 which is supposed to be out late this year.
In the mean time I'll satiate my lust for experiments with vintage glass bought cheap off flea markets or ebay. Having to operate the camera manually is not really a burden and I find the results with the 50mm f/1.4 quite pleasing, and sharper than what I can achieve with the 14-45mm kit lens.
Of course the crop factor has its downsides. It's impossible to find a decent wide angle lens, I tried a Russian made 16mm fish eye and it's not coming out really wide just heavily distorted. I also tried a 24mm f/1.4 "L" for an effective 48mm, and while it works quite well the make is just not fitting the purpose: too bulky, too heavy, all in all not a good fit. I don't want to carry that pound of glass and only use a small fraction of it :-) So that limits the choice to around 50mm, or really long telephoto equipment, I think that's a good variety already.
12.3.09
26.2.09
I hate food abuse!
Recently I became witness to a severe case of food mistreatment. I let my colleagues drag me into one of Darmstadt's fast food "shops", I dare not say "restaurant", Subways. Large international fast food franchise, you'll know them, there's likely one in your town as well. Stood in line, ordered some bread with chicken, salad, sauce. Watched the three stooges behind the counter prepare my meal and swore to never, ever return to that place. The way these people treated the food was unbearable to watch. I have never before seen such disrespect towards edibles, and consequently towards me as the customer buying them.
Of course it didn't taste good. Cold despite valiant efforts with a microwave oven, tasteless, boring, the bread dry like carpet dust and just as disgusting to eat.
Now, maybe the one I visited was just the one bad example, but for me that's the end of the story for good. I'm not opposed to fast food in principle, but there are just too few good ones to make it worth the effort searching. Subways? No Way!
Of course it didn't taste good. Cold despite valiant efforts with a microwave oven, tasteless, boring, the bread dry like carpet dust and just as disgusting to eat.
Now, maybe the one I visited was just the one bad example, but for me that's the end of the story for good. I'm not opposed to fast food in principle, but there are just too few good ones to make it worth the effort searching. Subways? No Way!
14.2.09
Sony Vaio Z21 News: Switching off Nvidia card seems possible under Linux!
Good news, I think. We've been able to switch off the Nvidia graphics adapter after booting Linux, which means it's possible now to boot directly into Linux and have X11 working with DRI and compositing enabled without the trip through booting into XP first.
It's quite a crude method, though. The hack with acpi_evaluate_object() I mentioned in my previous post worked, I just call the "_DSM" ACPI method of the built in Intel chipset graphics card and instruct it to call the "_OFF" ACPI method of the Nvidia card. I've also found out how to switch the Speed and Stamina LEDs so that you have some visual feedback of what's happening. You cannot see any difference in lcpci, which means that the card is still registered to the bus, apparently it's just powered down. I have no idea currently how to detach it entirely from the bus to reproduce exactly the configuration after having booted XP, maybe through PCI hotplugging? That being said, I have also no idea yet if the card is really powered down entirely.
My wife Eva has uploaded our experimental sony-laptop.c, grab it here. I don't make any guarantees about not damaging your precious toy if you dare trying it.
We're quite pleased with the current status however. It means that Eva can now shut down the laptop without having to make the stupid WinXP detour before using Linux again.
Her detailed log of installing openSUSE 11.1 on the Z21 can be found here.
It's quite a crude method, though. The hack with acpi_evaluate_object() I mentioned in my previous post worked, I just call the "_DSM" ACPI method of the built in Intel chipset graphics card and instruct it to call the "_OFF" ACPI method of the Nvidia card. I've also found out how to switch the Speed and Stamina LEDs so that you have some visual feedback of what's happening. You cannot see any difference in lcpci, which means that the card is still registered to the bus, apparently it's just powered down. I have no idea currently how to detach it entirely from the bus to reproduce exactly the configuration after having booted XP, maybe through PCI hotplugging? That being said, I have also no idea yet if the card is really powered down entirely.
My wife Eva has uploaded our experimental sony-laptop.c, grab it here. I don't make any guarantees about not damaging your precious toy if you dare trying it.
We're quite pleased with the current status however. It means that Eva can now shut down the laptop without having to make the stupid WinXP detour before using Linux again.
Her detailed log of installing openSUSE 11.1 on the Z21 can be found here.
13.2.09
WMI is a dead end
Just as a quick update, we've tried yesterday to get access to the device specific methods of the both graphics cards through the WMI interface wrapper, but it failed. Some methods of the WMI wrapper work, but there's a stupid bug in the DSDT program that prevents executing the really interesting stuff. For the technically interested ones, this is the head of the 'WMMX' method in device WMI1:
Further down we find this:
This code block just splits Arg2 of method WMMX into sub arguments and calls the '_DSM' method of the built in graphics adapter. But there we find:
So, the code in WMMX copies the first 128 bit of Arg2 into MUID, which in '_DSM' is compared to the byte array above. But wait, isn't FUNC also created by copying a DWORD from the start of Arg2? Hmmm. So, obviously the start of Arg2 cannot contain the function signature ('_DSM') and a MUID starting with 0xa0, 0xa0, 0x95 ... Consequently, every access to this method fails and just returns 0x80000002 to the caller. This part of the ACPI DSDT is just broken.
Now, obviously this is not the path Vista is using, unless they are replacing the original DSDT with something that works (and I cannot believe that). Maybe through a BIOS update? Does anybody know about graphics card related problems with Vista that are solved through a BIOS update? Or can some kind soul provide a DSDT dump while the system runs Vista?
Anyway, I'll continue my quest over the weekend, weather will not be good anyway. I think it should be possible to access the _DSM method of the chipset graphic card directly using its path, via acpi_evaluate_object(). We're going to try that next, stay tuned.
Method (WMMX, 3, NotSerialized)
{
CreateDWordField (Arg2, Zero, FUNC)
...
Further down we find this:
If (LEqual (FUNC, 0x4D53445F))
{
CreateField (Arg2, Zero, 0x80, MUID)
CreateDWordField (Arg2, 0x10, REVI)
CreateDWordField (Arg2, 0x14, SFNC)
CreateDWordField (Arg2, 0x18, PARM)
If (LEqual (Arg1, 0x10))
{
Return (^^OVGA._DSM (MUID, REVI, SFNC, PARM))
}
This code block just splits Arg2 of method WMMX into sub arguments and calls the '_DSM' method of the built in graphics adapter. But there we find:
If (LNotEqual (Arg0, Buffer (0x10)
{
/* 0000 */ 0xA0, 0xA0, 0x95, 0x9D, 0x60, 0x00, 0x48, 0x4D,
/* 0008 */ 0xB3, 0x4D, 0x7E, 0x5F, 0xEA, 0x12, 0x9F, 0xD4
}))
{
Store (0x80000002, RBUF)
Return (Local0)
}
So, the code in WMMX copies the first 128 bit of Arg2 into MUID, which in '_DSM' is compared to the byte array above. But wait, isn't FUNC also created by copying a DWORD from the start of Arg2? Hmmm. So, obviously the start of Arg2 cannot contain the function signature ('_DSM') and a MUID starting with 0xa0, 0xa0, 0x95 ... Consequently, every access to this method fails and just returns 0x80000002 to the caller. This part of the ACPI DSDT is just broken.
Now, obviously this is not the path Vista is using, unless they are replacing the original DSDT with something that works (and I cannot believe that). Maybe through a BIOS update? Does anybody know about graphics card related problems with Vista that are solved through a BIOS update? Or can some kind soul provide a DSDT dump while the system runs Vista?
Anyway, I'll continue my quest over the weekend, weather will not be good anyway. I think it should be possible to access the _DSM method of the chipset graphic card directly using its path, via acpi_evaluate_object(). We're going to try that next, stay tuned.
11.2.09
Sony Vaio Z21 News
I'm making small progress with the graphics card problem. I've looked into the DSDT source code again and I think the key to switching the graphics adapters is a device called "WMI1", which has the PNP id "pnp0c14". I discovered that already a few days ago but when I tried talking to the device I could just not make the acpi driver register to it. Yesterday I was searching around in the acpi kernel drivers and I found a driver module "wmi.ko" which registers a driver to the very same PNP id. However, this driver doesn't do much on the Z21 but hogging the device. It's registering an event notifier and tries to find an embedded controller area, which is not present on the Z21 and so it does nothing useful. I think there's a DMI match missing, it should not register drivers blocking access to certain devices when it's unable to do anything useful with them.
(Update: After some more research I found that "WMI" reads as "Windows Management Instrumentation". wmi.ko is a wrapper driver allowing access to the WMI functions through ACPI. Now Sony seems to use, or rather abuse, the WMI interface to do other device specific functions as well.)
Walking the namespace of the "WMI1" device reveals that there is just one method, "WMMX", which basically acts as a wrapper to access the functions of both built in graphics adapters, "OVGA", the Intel GM45, and "DGPU", the Nvidia, and also methods of their respective output devices, "LCD", "CRT" and "DVI". I took a deep dive into the DSDT listing again and identified a couple of interesting things to try next. It's all very fascinating ...
(Update: After some more research I found that "WMI" reads as "Windows Management Instrumentation". wmi.ko is a wrapper driver allowing access to the WMI functions through ACPI. Now Sony seems to use, or rather abuse, the WMI interface to do other device specific functions as well.)
Walking the namespace of the "WMI1" device reveals that there is just one method, "WMMX", which basically acts as a wrapper to access the functions of both built in graphics adapters, "OVGA", the Intel GM45, and "DGPU", the Nvidia, and also methods of their respective output devices, "LCD", "CRT" and "DVI". I took a deep dive into the DSDT listing again and identified a couple of interesting things to try next. It's all very fascinating ...
Subscribe to:
Posts (Atom)