lunedì 24 agosto 2015

Windows 10 on Sony Vaio VGN-Z650N/B Boot Problem Solved

This is quite easy. You just need to turn off the fast boot option.
To do so go to the Power Options --> Choose what Power button does and remove the check from the "Turn on fast startup (recommended)
That's it. After this change I didn't have any boot issues anymore.

sabato 15 agosto 2015

Windows 10 x64 (final) on Sony Vaio VGN-Z 650N/B

It's been about two weeks now that I'm using Windows 10 on my old Vaio VGN-Z650N/B which I bought back in April 2009.
Before starting this post I should say that this Vaio isn't my first choice Notebook anymore as I usually use a MacBook Air 11" mid 2012.
I use my old Vaio for some apps that I don't have on my Mac and for some old games (nothing stressful).
All the things reported in this post have been tried by myself so I'm pretty sure that if you have a notebook like mine all that I'm saying will work for you too.

The main question is: "Does Windows 10 work on this old but wonderful notebook, and can I switch to Windows 10?"
The short answer is: "Yes" or if you want to continue reading this post "Yes, with minor issues"

Before running to you PC and upgrade your Windows 7/8/8.1 copy be careful: don't do a fresh install (unless you have a Windows 10 key). Your old key won't work and won't be upgraded. You'll be stuck with an unactivated copy of Windows 10.
(don't repeat my error)

DO THE UPGRADE FIRST, then if you want a fresh install do a full cleanup of you notebook.

In this way your key will be upgraded to Windows 10 and correctly validated. The fresh cleanup is a new option provided by Windows 10 and works well (it takes another two hours after the upgrade, if the system seems freezed at 99% don't worry: WAIT).
After the cleanup your copy of Windows 10 will  still be validated.

After the fresh restart Windows will look for some drivers and after that the intel card will work correctly at the native resolution of the notebook (1600x900).
The font will be at 125% which I don't like as not all my old apps support this well so I set it at 100% as usual.
This are the things that won't work on start:

  1. The nVidia Graphic card
  2. The SD Card reader and the Memory Stick reader
  3. The Fn+F7 (Monitor output switch)
  4. The Stamina/Speed switch
To make all this things work except the nVidia card (which needs the Andrew08 drivers) I've downloaded the drivers for Windows 7 64 bit provided by Sony and intsalled this drivers:
  • Sony® Shared Library
    • SOASSL-70189398-US.EXE
  • Sony® Firmware Extension Parser Device Driver
    • SODOTH-00228472-1040.EXE
  • Sony® Programmable I/O Control Device Driver
    • SODSPI-70187340-64.EXE 
  • VAIO® Event Service
    • SOAVES-70192615-US.EXE 
  • Setting Utility Series
    • SOASUS-70201315-US.EXE
  • SD Card Driver
    • RIDFMC-70165348-64.EXE
  • Ricoh® Memory Card Reader/Writer Driver
    • RIDMSC-70161059-64.EXE
The next things you should take care of is the nVidia card and as already said you should use the Andrew08 drivers.
To do this you should follow exactly what I've already written for Windows 8/8.1 which works perfectly even for Windows 10.
I didn't find any flickering issues with Windows 10 so I haven't done the steps to configure a custom monitor setup. If you experience any flickering/flashing please try what I did for Windows 8 and tell me if it works.
After the restart there will be a small watermark on the bottom right corner of your screen stating
Test Mode
Windows 10 Pro
Build 10240
the nVidia graphic card should be recognized and working and even the Stamina/Speed switch should work.
The Monitor output (activated by Fn+F7) will work only with the Intel Card (I haven't tried this on Windows 10 yet but this happened with 8 and I think that they will behave the same).

If you followed everything I said now you should have your Vaio working with Windows 10.

Unfortunately there are some issues:
After trying it out in this two weeks and after trying several reboots I've experienced this issues:
  1. Sometimes the system won't boot. You'll be struck at a black screen. Restarting it (by pressing the power switch) will resolve the problem. (To be fair this happened to me even with Windows 8.1) Problem SOLVED - see the latest post in which I explain what to do.
  2. The brightness of the screen (Fn+F5,F6) will work only using the intel card. The nVidia Card won't handle it (even trying to dim the screen using the Windows Power Management settings won't work)
  3. Sometimes the Stamina/Speed switch won't work so (especially if you started the notebook on Stamina). If you want to switch to the nVidia card you'll need to reboot.
This are all minor issues for me as I usually keep my notebook on Stamina and switch to the nVidia only for playing, thus said I am happy and I'm not planning a downgrade.
My hopes are that a better nVidia driver (maybe a new Andrew08 one) will appear solving this issues (which I think are all related to bad management of the card due too old drivers) in the future.
If you find any solution of even if you think thats this are big problems please comment this post.

Thank you for reading,

As I've received several requests here you can find Andrew08 driver. All the credits obviously goes to Andrew08 which modified the original driver to let them work on Windows 8 and 10.

domenica 21 giugno 2015

Windows 10 on Sony Vaio VGN-Z 650N/B

this post is obsolete please refer to my newer one

Hi, first of all thanks for your interest in my blog but most of all thanks for your interest in updating your old VAIO to Windows 10. After all I think this is still a wonderful notebook and even if it's a bit slow it's still useful for many purposes.

In the weekend I've tried Windows 10 on an external USB Drive (not ready to format the internal HDD yet) and I've had this problems:
- the graphic card as you found out don't work (neither the Intel or the nVidia one) (more details follow). Basically I'm stuck at 1024x768 with a standard card driver.
- the brightness key Fn+F5/F6 don't work (maybe because of the problems with the cards)
- Fn+F7 doesn't work (same as above)
- audio and card readers are ok, all the other hardware seems working properly.

In the device manager the graphic cards are reported with an exclamation mark and in the properties I've found this message:

This device cannot find enough free resources that it can use. (Code 12)

If you want to use this device, you will need to disable one of the other devices on this system.

I've googled a bit but didn't find anything which suggested me a solution.
I've looked on the Intel website and it seems that Intel doesn't care to provide an updated driver for such an old CPU but we are still in preview, hopefully they will provide a decent driver in the final version (hopefully yeah...).
Obviously Sony won't provide any driver so I don't think there will be a solution which will make the nVidia card work properly but having the right resolution and brightness working will be nice at least for one of the cards.

If you have any ideas on the error reported feel free to comment this post or write directly at my e-mail.

sabato 15 novembre 2014

Visual Studio Community Edition

Great move from Microsoft!
Finally a full Visual Studio with extensions support for free.
More details here

venerdì 6 dicembre 2013

venerdì 18 ottobre 2013

Windows 8.1 on Sony Vaio VGN-Z650N/B Hybrid Graphic

I bought my Vaio VGN-Z650 notebook on April 2009. It's a Core2Duo@2.53Ghz Notebook with an Hybrid graphic (intel integrated + nVidia 9300M discrete)
Unfortunately this notebook came with Windows Vista Professional preinstalled and when Windows 8 came out I choose to update the OS to get rid of it.
Sony made the drivers for Windows 7 (32/64 bit) and most of them work fine except the video card one.
You can always leave the nVidia card unrecognized and default to the Intel integrated drivers pre installed by Windows but this Notebook is a bit outdated and maybe you want to use it at "full power" to keep it a bit longer.

In this short post I'll show how to set up only the graphic card both on Windows 8 and 8.1 to help you be up and running without wasting time.

For further details and to find the drivers please refer to this thread which solved all my problems.

The Drivers
Please be sure to download the right driver for the system: for the VGN-Z with 9300M card are the one made by Andrew08 (to which we are all grateful) named "26308 2020 101112".
before starting the "Stamina - Speed" switch should be set on Speed.

In order to use this driver you have to disable the unsigned driver enforcement which is by default active in windows 8 and then install the driver:

  1. Press + R to open a Run Window
  2. Enter shutdown.exe /r /o /f /t 00
  3. Click the "OK" button
  4. System will restart to a "Choose an option" screen
  5. Select "Troubleshoot" from "Choose an option" screen
  6. Select "Advanced options" from "Troubleshoot" screen
  7. Select "Windows Startup Settings" from "Advanced options" screen
  8. Click "Restart" button
  9. System will restart to "Advanced Boot Options" screen
  10. Select "Disable Driver Signature Enforcement" (option number 7)
  11. Once the system starts, install the drivers (it may take some time)
  12. Open a Command Prompt as Administrator
  13. In the Command Window type:

bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS

bcdedit -set testsigning ON

  1. Reboot
  2. If all is ok this time when you log in Windows the Speed light near the switch should be on
While working you should note some annoying flashing of the display, to solve this problem:

  1. Open the Nvidia Control Panel Client
    "C:\Program Files\NVIDIA Corporation\Control Panel Client\nvcplui.exe"
  2. Click Customize
  3. Click Create Custom Resolution...
  4. Open Timing
  5. Select CVT
  1. Click Test
  2. Save this configuration, exit the Control Panel Client and reboot
  3. The flickering should be gone

venerdì 13 agosto 2010

Something to think on...

"I'm always delighted by the light touch and stillness of early programming languages. Not much text; a lot gets done. Old programs read like quiet conversations between a well-spoken research worker and a well-studied mechanical colleague, not as a debate with a compiler."

Richard Gabriel

sabato 15 maggio 2010

Ubuntu 10.04 LTS Lucid Lynx Review

On April 24 Ubuntu released its 10.04 release, I was currently using 9.10 (32 bit) and because 10.04 is an LTS and even because I wanted to switch from 32 bit to 64 and from ext3 to ext4 I've decided to do a fresh install on my HP DV3650.
The HP DV3650 has this spec:

  • Intel Core 2 Duo P8600@2.4Ghz
  • 4GB DDR2 Ram
  • 320 Gb HD
  • Nvidia 9300M with 256Mb dedicated Ram
  • 13.3" LED Display
  • Main Ports: 3 USB, 1 HDMI, Ethernet

I also use an external Philips 19" Monitor via HDMI to DVI connector.

Installation process
The graphic install it's almost identical to the on in Karmic Koala expect from the fact tath by default it doesn't show any option after the boot. If you want to change language or keyboard you need to push any key.
I think that in the mind of the developers this choice should give to the install procedure a much cleaner feeling but as I need an italian keyboard and prefer an English OS it doesn't feel good for me (and probably for anyone who prefers an English OS but lives outside the USA).
By the way if you don't change the keyboard before installing Lucid you can select it during the graphical install.

First Boot
Even the boot time feels about the same as Karmic (maybe Lucid Lynx is slightly faster).
I didn't elapse it because I think the correct unit for measuring the total boot time its the human feeling and not seconds. Why should I care if the total boot time its 15 or 16 seconds?
I don't know if it feels faster because of minor improvements, the switch to 64 bit or to ext4 or only for the exicetment of trying the new Ubuntu.
The only things that counts is that it is fast.
The boot up speed it's comparable to the one of my personal MacBook Pro (se previous posts) and much faster of a tipical Windows XP or Vista (at present I didn't try Windows 7 for real work).

User Experience
The user experience it's wonderful. The system feels really responsive wich is much more important that the boot time.
The new dark theme without all that brown it's a lot better even if the icons still are to orange for my taste. As a mac user I did appreciate that they put the window buttons on the left style instead of the right like Windows. Obvously if you don't like this choice you can always change theme.
One thing to note it that when I tried Karmic Koala on day 0 I've had a lot of crashes (where a lot means for me a crash every 2/3 days) for the first moth. I think that the main problem where the nvidia drivers as the crashed significantly decreased when I switched to the nvidia official launchpad repository.
Lucid instead it's been rock solid from the first day even if  (as usual) a lot of updates appeared on the official repositories especially in the first week (after only five days a new kernel was also available).

I'm having a  little experience issue with Nautilus. In the previous version I could configure it to show the location in the address bar instead the bread crumbs path. I didn't find how to do it in this release...
I can edit it with +L but I can't keep the address visible; Nautilus will switch to the bread crumbs by default.

Hardware and Drivers
First I have to say that Ubuntu recognized and configured correctly almost all my hardware. The only thing that still isn't working correctly is the volume slide on the laptop. It did't work well on Karmic and it still doesn't work well on Lucid. Not a big problem for me as I prefer to use shotcut keys anyway.
Before Lucid was released I've heard a lot of the new nvidia nouveau drivers which are the default on Lucid.
They work; they recognized and configured both the 13.3" monitor of the laptop and the 19" external monitor. You can correctly use the laptop monitor and the external one together or just one at a time.
On the other side the nouveau drivers don't support 3D acceleration and they don't let you run all the effects of Compiz too.
The most notable thing is that they are a lot slower than the nvidia closed source conunterpart. If you are a purist (or a fanatic) you can stay with the nouveau but I warmly suggest you to use the closed ones. The system will be faster and more responsive which is more important than an open vs source flame for me.
I strongly believe in open source but I feel that the difference of the two drivers is too evident not to be pragmatic choosing the more convenient way to work.

Obviously even using the closed source drivers I can use both my monitor without problems.
Developing software I prefer to use only the 19" external monitor and switch the desktops instead of turning my head left and right trying to find wath I'm looking for but maybe the double monitor solution could be userful to you.

Speaking of software I've installed some extra repositories (mainly medibuntu) so I could have all the closed source codecs and google-earth (which I love).
I've installed both google-chrome and chromium (the non branded version of chrome) and they work beautifully. By the way: they are a lot faster than firefox!
I've also downloaded virtualbox from I didn't install the ose version (available from repository) because with that version I could not connect USB devices to the virtual machine. I've downloaded the 3.1.6 64 bit release for Karmic as the Lucid version wasn't available till a few days ago. Now you can find the 3.1.8 specifically packaged for Lucid or you can add the virtualbox repository to your synaptic manager.
Skype has been removed from the medibuntu repo so I've downloaded it directly from skype website. It works perfectly and I can use the integrated 1.3mpx webcam installed on my laptop without problems even if the version was designed for ubuntu 8.10.
I've also installed flash plugin. First I've tried the plugin available from the repository but on youtube sometimes I could not click on the player buttons (if you do a search on google you can find other people having the same problem).
looking in the filesystem I found out that the repository installed the flash 10.1 32 bit version and firefox was using this plugin through the 32 to 64 bit wrapper.
The solution for me was to download the 64 bit native plugin directly from adobe. Uninstall the plugin from the repository and update the symbolic links.
Here are detailed all the (simple) operations needed and you can even find a script which does all the work for you.

The end
In this short review I've used Karmic (9.10) as a meter to evaluate how good Lucid Lynx is. I should say that I'm an Ubuntu user from the beginning and its almost 3 years now that I'm using it intensively. I've tried Ubuntu on a lot of notebooks and even on some "servers" (actually desktops used as servers) and virtual machines. After all
I've to say that after a series of release in descendant quality this it the best release Ubuntu ever had!
Rock solid, fast, an almost perfect hardware detection and a lot of software all up to date immediately available. I don't know what else I should ask for.

sabato 13 febbraio 2010

Why I should or shouldn't buy a Mac - part 2

The Big Day Has Come
On August, 27 a friend of mine during a trip in California brought for me a wonderful Mac Book Pro Unibody 13.3" 2.53GHz, 4GB Ram, 250GB HD.
I've never used a Mac before so I was very curious to see if a Mac and his operating system could do the job for me.

Bringing the Mac on the road
The first thing I've done was switching for only 8€ to Snow Leopard (which came out on the 28th so my Mac came with Leopard on it) and obviously before buying it I knew it could be used to develop in java (which is my main activity); Snow Leopard comes with the jdk 1.6.x. 64 bit on it, you don't need to download or configure anything.
I've paid only 8€ because I brought the Mac just before Snow Leopard came out. You could buy your upgrade directly on apple's site just inserting the serial of the Mac and the place where you brought it. The DVD arrived via Mail just a week after even if I made my order on the 28th of August and there was a note that due to a lot of orders there might be a slight delay. Microsoft has done the same thing with Windows 7 saying that the upgrade came free but all of my friend who brought a PC with the "free" Windows 7 upgrade option included had to pay an extra 25-30€ to receive the upgrade. at home.
That doesn't sound a lot free to me. So Apple wins for me on this side.

User Experience
Using a Mac is absolutely fantastic! The backlight keyboard is truly amazing and when you open an application it pops up really fast... much faster than Windows and Linux too.
The Unibody enclosure is a piece of art but the glass on the display it's a bit too glossy. For fairness I have to say that the one on the 13.3" HP DV 3650 in my office it's even worse.
My wife has a truly amazing Sony Vaio VGN-Z650N/B and the display of the Vaio if a lot better than the one on the Mac.
You can view images or pdf using Preview. With Preview even a complex pdf can be open in just second, you don't need adobe reader 9 like on Windows.
Mail and Contacts even if really simple applications are perfectly synchronized with my iPhone and finding. I didn't configure anything and when you use Mail and see all of your contacts the same way you see them on your iPhone you have the feeling that that's the way it should be done.
The overall feeling of the system is really polished and spotlight is always there to find out whatever you need (in just a second).
OSX seems really focused on your documents and your work not in managing your PC because you are stupid and you could damage it.
I think Microsoft did a really good job with Windows 7; when you use it you immediately have the feeling that is much faster then Vista and much clean and organized than XP but it remains slower then OSX and the search options (even if improved) it's far behind spotlight.
The only thing I was a bit perplexed is that OSX doesn't have the "cut" option in finder (which is the OSX explorer for the file system).
Maybe Steve Jobs doesn't like the "cut" function but to me it's absence sounds really stupid. CUT is useful!
After all finder is a really good file browser but using Linux Ubuntu for work I have to say that Nautilus beats them all! Nautilus lets you browse you file system, sftp, samba, nfs connected file systems using tabs inside the same Nautilus window and in my opinion this is the same revolution you had when switching from Internet Explorer 6 to Firefox!

Applications availability
I am not used to buy applications. I usually search (and find) an application that fits my needs in the open source and freeware market.
This on Windows and obviously Linux. I don't need a lot of applications but some of them are a bit tricky.
On mac I failed to find all of this application. Obviously I installed mac ports to get DIA and easytag but when it came to add subtitles to a TV series in a format usable on my PS3 I had to use aviaddsubx via wine because the only application I found on mac that did the same thing wasn't free.
So I had on Mac the same problems I have on Linux.
In terms of availability of software Windows beats them all. This is a very important point. If you absolutely need and application that is not available on Mac think of it.
Obviously you can use Windows in a virtual machine (virtual box is free and it is a good product even if not as fast as Parallels or Fusion) but if you find yourself using the virtual machine 8 hours a day maybe OSX isn't just right for you.. and don't forget that you need an extra Windows license too!

Last thing I wan't to say as a software engineer is that Mac has a BSD kernel which means a truly UNIX system under the hood and when you open the terminal you have a lot of power under your finger not like the dumb MS-DOS windows. This Is a thing you don't get on Windows but not all of you maybe interessed.

This is a tricky point. As I sad applications on Mac open really fast, but speaking of java development I've done the build of a big application I work on on a Mac (not mine) and on Windows Vista (with no antivirus) and Linux Ubuntu (on the same PC). The build process creates, compiles an moves a lot of files ( 5K to 10K i think) and it took 138 seconds on Windows 40 on the Mac and only 20 on Linux!
Ok: Mac behaves 3 times better than Windows but Linux does 7 times better!
Perhaps on 3D tests Windows is the winner as the graphic drivers are really optimized on Windows, maybe on Mac on just a little on Linux - sometimes it's a good result just if they don't crash ;) -.
Maybe in a future post I'll report this experience.

And The Winner Is...
That's all for now (it's late and I'm getting tired). After all of this months the question is: has Mac and OSX been a good choice for me or I should have stayed with Windows (Linux in my case)?
I think that the overall result is YES!
The system works perfectly out of the box, it's very stable and fast. A responsive system it's very important to me and a the fact that doesn't get slower after using it like windows and it's registry hell it's a plus.
The superb integration of all the applications preinstalled (Mail, Preview, iTunes, iPhoto etc..) can manage all of your documents in a wonderful way.
The integration with my iPhone is a plus.
If you wan't a fast system that works out of the box, you don't play games and you are not afraid to learn something new you should evaluate a Mac carefully.
Mac cost's more than PC but with the PC you'll need an antivirus which will slow down your PC for all of it's life, at some point you probably want to format everything because the system it is getting to slow or because a virus damaged it. In short words your PC has a greater chance to need some extra maintenance and will always result slower.
If you use a lot your computer all of this means time and stress.. this for me means valuable money.
The only thing I have to repeat is: carefully evaluate the software available on mac, what you really need what you will get and what you can afford (if you wan't to buy some software).

The third choice is Linux but in this case you should carefully choose your system hardware and probably you'll need to have the patience to configure something and look on the internet for some help to make it work properly.
I don't think that this post is the right place to discuss this kind of issues as the majority of the users aren't able to do this.

domenica 4 gennaio 2009

Why I should or shouldn't by a Mac Book

This Christmas a friend of mine received from Santa Claus or his wife, actually I'm not sure of this, a 2.0GHZ Unibody Mac Book.
As I'm really curious to try it out this fact gave me the idea for this post: point out all the reasons I have to buy a Mac Book or not and shift from my Ubuntu box (an Asus f3jr) to a shiny OSX.
You can read this post even if you are a WIndows user as most of the points I've found are still valid.
In this article I'll only examine the Mac Book and Mac Book Pro as the new Macs are being presented only now and I'm not really interested in buying one of them either as I need a laptop.
So lets go ahead.

The Pros
  1. Wonderful design and manufacturing. If you're reading this post you know what I mean. In a word a Mac it's really cool!
  2. Weight. The aluminium body makes them weight less than the pc counterparts
  3. backlit keyboard (starting from the 2.4ghz Mac Book) it's a real pro for me and you can't actually find a PC with this feature
  4. Possibility to order it with a US International keyboard: if you are a programmer you'll understand the utility to have "{} ~" easily available.
  5. led-backlit display: thinner, less power consumption and weight are three good reason to have this display on a notebook
  6. DDR3: I don't understand why they haven't mounted it yet on the PCs.
  7. Hardware support out of the box: you haven't to tweak with kernel drivers or strange setup procedures as on linux (to be honest starting from ubuntu 7.04 this it's almost true even on my PC)
  8. Mac OSX: actually a *BSD kernel (which means UNIX) with a wonderful interface and usability (I haven't played a lot with it but as a linux user
  9. In a few month Snow Leopard will be out and for the firts time in OSX history it will be a truly 64 bit OS
  10. Support for all the software I need to carry out my jobs.
The Cons
  1. It cost too much for what it offers: you can buy a much powerfull pc for a lot less money (1000€ compared to 1500€ of the 2.4 Mac Book or 1300€ compared to the over 2000€ of the Pro series) Obviously they're not the same thing but a 50% extra sounds to me to much either.
  2. Many problems with the nvidia chipset (you can find a good article on appleinsider)
  3. The glass display it's really a to glary for my taste.
  4. I need to expand to 4gb of RAM for an extra 140€: as the Mac Books come out of the box only with 2gb while all the good PCs now have 4gbs on board. For what I do I often use virtual machines and they use a lot of ram. My asus has 2gb of ram and I bought it two years ago!
  5. If I buy OSX Leopard (10.5.x) now I'll need to spend an extra 100€ in a few month if I want to switch to Snow Leopard (10.6.x).
  6. Why do I actually need a 64 bit OS if I don't have more than 4gb of ram?
  7. Oracle DB It's not supported and I some times work on it.
  8. Sun doesn't release an official jvm and java compiler you have to rely on the OSX one (which to be honest it's certified and I don't know at present of any inconvenience with it)
  9. You can't play games: I have a small Vista partition (my notebook obviously came with it preinstalled) on my laptop from which I can play all the games I buy. On OSX there are only a few games and they cost much more than the PC ones which you can buy at the newstand for less than 8€ (with a magazine included). You can install Vista on your Mac with bootcamp or in a virtual box but you need an extra license already present on a PC.

Final Verdict
The final verdict to me is that there isn't a final verdict: it's up to you to choose which of this points are the most important.