Since nobody answered, the only way to find out was to test the "LTS Hardware Enablement Stack" and see if it works or breaks ...
I installed Raring's stack (kernal + Xorg) with the following command:
sudo apt-get install linux-generic-lts-raring xserver-xorg-lts-raring
And reboot ...
The system booted fine and almost everything worked, even some-things that didn't work before, such as brightness controls. But one major problem showed up: with every other boot, Xorg consumed a lot of CPU capacity (about %25), and the system was super slow and laggy! I don't know what was the cause, but it was either a bug in Xorg or a bug in the kernel module for Intel GMA-500 graphics.
So I thought to try Saucy's stack in hope of solving the problem, since it has a newer version of the Linux kernel. The thing is that the kernel-package of Saucy is available but not its X-stack. According to this link, it is not a good idea to use a kernel with a different X-stack but in my situation I had no other choice, so I gave it a try ... I installed Saucy's kernel with the following command, and Raring's X-stack remained:
sudo apt-get install linux-generic-lts-saucy
And reboot ...
Everything worked fine!
:) Now all the problems of my Xubuntu-12.04 installation on the Sony VAIO P with Intel GMA-500 graphics are solved without the need for any tweaking:
- The screen works fine with the standard resolution and adequate performance;
- External VGA port works and secondary monitors are handled fine;
- Brightness controls work;
- Suspend/Resume works;
Now I'm a happy Xubuntu user on my Sony VAIO P which is way more faster and responsive than the standard Windows-7 which came pre-installed on it!
Of course there is one limitation: the graphics performance on Linux is much lower than the performance on Windows. For example, I almost can't watch any kind of video format on Xubuntu, while all video files with resolutions below HD (720p) play fine in Windows ... Although this is a problem I can live with, it would be really great to sea this fixed in Ubuntu-14.04 LTS.
Finally, my general recommendation is that if practical, do a fresh installation of the latest version of Xubuntu (which currently is 13.10 Saucy). When the next LTS version is released (14.04 Trusty) perform an upgrade or again do a fresh installation. But if your situation is like mine and you can't afford a fresh installation right now, installing Suacy's kernel with Raring's X-stack can fix a lot of problems.
Since the release of the 14.04 Trusty, the most recent LTS release, it is recommended to use its HES:
sudo apt-get install linux-generic-lts-trusty
Generally speaking it is done by installing packages like -lts-, e.g. linux-generic-lts-utopic for Ubuntu 14.04.
With kernels it is quite easy. But with graphical stack it is not that straight forwared because of dependencies, especially on 64-bit systems. Commands given in that article are not quite correct in many cases and can remove a lot from you system.
It is reversable. But it is better if you specify which version do you run and which kernel/graphics you want to upgrade. Then it will be possible to give you a more specific guide.
-Updates pocket is a part of Ubuntu repositories. You do not need to do anything to install from there, becuse this part is enabled by default.
For Ubuntu 14.04 kernel from Ubuntu 14.10 is available (3.16). It can be installed by running
sudo apt-get install linux-generic-lts-utopic
Very soon kernel from 15.04 (3.19) will be available. It is in proposed repository, and will get to main sime time next week, I guess. It can be installed by
sudo apt-get install linux-generic-lts-vivid
dpkgsupports installing packages for other non-native architectures using a system called multiarch. It was introduced in Ubuntu 11.04, so any later release should have it.
You can use
dpkg --print-foreign-architecturescommand to find the added foreign architectures on multiarch e.g.:
To find the native architecture, use
Alternately, you can also read the file
/var/lib/dpkg/archto get a list of added architectures (first one is native, although you can remove it):