HardwareSupportComponentsVideoCardsPoulsbo
|
Size: 3105
Comment: Karmic
|
Size: 5802
Comment: fixed syntax
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| == Poulsbo (GMA500) Support in Karmic (9.10) == | ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents>>|| |
| Line 3: | Line 3: |
| Start by downloading lucazades psb-kernel-* packages http://swiss.ubuntuforums.org/showpo...7&postcount=13 | = Driver overview = This page details support for the Intel GMA500 "Poulsbo" video hardware with Ubuntu 12.04 and higher. |
| Line 5: | Line 6: |
| Following code samples are stripped from my install-poulsbo.sh, almost everything requires sudo: | Unfortunately the support for this hardware is extremely limited on Linux. There are several drivers, but all lacking certain basic features, future and current maintenance or support for things like suspend. |
| Line 7: | Line 8: |
| '''Adding required PPAs''' echo 'deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main' >> /etc/apt/sources.list echo 'deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main' >> /etc/apt/sources.list echo "" >> /etc/apt/sources.list |
Currently Ubuntu supports the gma500_gfx driver |
| Line 12: | Line 10: |
| echo 'deb http://ppa.launchpad.net/albertomilone/poulsbo-graphics/ubuntu jaunty main ' >> /etc/apt/sources.list echo 'deb-src http://ppa.launchpad.net/albertomilone/poulsbo-graphics/ubuntu jaunty main' >> /etc/apt/sources.list echo "" >> /etc/apt/sources.list |
For older drivers see [[https://wiki.ubuntu.com/PoulsboObsoleteDrivers|GMA500 Obsolete Drivers]] |
| Line 16: | Line 12: |
| '''Keys for PPAs''' apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 99C0198F |
|
| Line 20: | Line 13: |
| apt-get update apt-get install dkms fakeroot |
= GMA500_GFX driver = |
| Line 23: | Line 15: |
| apt-get install libdrm-poulsbo1 apt-get install poulsbo-driver-2d poulsbo-driver-3d psb-firmware |
With kernel 2.6.39, a new '''psb_gfx''' module appeared in the kernel source developed by [[http://en.wikipedia.org/wiki/Alan_Cox|Alan Cox]] to support Poulsbo hardware. |
| Line 26: | Line 17: |
| '''Install downloaded psb-kernel-* packages''' dpkg -i psb-kernel-* |
As of kernel 3.3.rc1 the driver has left staging and been renamed gma500_gfx and is thus the default, supported driver for Ubuntu 12.04 and higher. |
| Line 29: | Line 19: |
| echo "blacklist i915" >> /etc/modprobe.d/blacklist.conf | '''''Starting with kernel 3.3.4 , the gma500_gfx driver works without adding any boot options.''''' |
| Line 31: | Line 21: |
| update-initramfs -u | The gma500_gfx does not (yet) support 3d graphics and it is unclear if it will in the future. |
| Line 33: | Line 23: |
| Create xorg.conf with following content: | = Ubuntu 12.04 = |
| Line 35: | Line 25: |
| Section "Device" Identifier "GMA500" Option "AccelMethod" "EXA" # Option "DRI" "off" Option "MigrationHeuristic" "greedy" Option "IgnoreACPI" "yes" Driver "psb" EndSection |
== Live (Desktop) CD == |
| Line 44: | Line 27: |
| Section "DRI" Mode 0666 EndSection |
The problem with 12.04 is that the default kernel included on the desktop CD (all variants) is 3.3.2. This kernel works, but requires some custom boot parameters. Without these parameters you will either get a black screen or distortion. |
| Line 48: | Line 29: |
| '''Additional info''' | 1. Switch to a console - Ctrl-Alt-F1 |
| Line 50: | Line 31: |
| Also you can get Compiz working by setting | 2. Restart X with 'sudo service lightdm restart' |
| Line 52: | Line 33: |
| Option "DRI" "on" | That should bring you back to a functional graphical desktop, so that you can proceed testing or installing. |
| Line 54: | Line 35: |
| in xorg.conf and whitelisting psb in /usr/bin/compiz by adding "psb" to the WHITELIST line. | == Post installation == |
| Line 56: | Line 37: |
| == Poulsbo (GMA500) Support in Intrepid (8.10) and Jaunty (9.04) == | With the default 3.3.2 kernel, you need to add some options to the grub boot options or you will get a black screen. |
| Line 58: | Line 39: |
| The drivers for the Poulsbo chipset are shipped in the ubuntu-mobile PPA. | '''''Starting with kernel 3.3.4 , the gma500_gfx driver works without adding any boot options.''''' |
| Line 60: | Line 41: |
| === Add the ubuntu-mobile PPA === | There are several potential solutions for this '''console=tty1''', '''disable splash''', or '''915 Resolution''' |
| Line 62: | Line 43: |
| Edit a file called /etc/apt/sources.list/psb.list, and add the following line to it: deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu ''YOUR RELEASE HERE'' main |
=== Option 1 - console=tty1 === |
| Line 65: | Line 45: |
| You may also wish to add the key to the keyring by following the instructions [[https://launchpad.net/+help/soyuz/ppa-sources-list.html|here]]. | Perhaps the easiest method is to use "console=tty1" as a boot option. |
| Line 67: | Line 47: |
| === Which kernel are you running? === | {{{ gksudo gedit /etc/default/grub }}} |
| Line 69: | Line 51: |
| If you are using a kernel that you have compiled yourself, or are not using the latest kernel provided by either Intrepid or Jaunty, install the '''psb-kernel-source''' package (and make sure the headers for your kernel are available!) and then remove '''psb-modules'''. | Find the following line: '''GRUB_CMDLINE_LINUX_DEAULT="quiet splash" ''' |
| Line 71: | Line 53: |
| === Install packages === | Add console=tty1 in between the quotes, the end result looking as follows |
| Line 73: | Line 55: |
| Install poulsbo-driver-2d if you only require 2D, and poulsbo-driver-3d if you also require 3D acceleration to work. Make sure your user is a member of the video group before using 3D. | '''Generic options''' |
| Line 75: | Line 57: |
| === Common problems === | GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty1 acpi_backlight=vendor acpi_osi=Linux mem=896mb" |
| Line 77: | Line 59: |
| ==== X doesn't start ==== | Acer AO751h |
| Line 79: | Line 61: |
| Double check that the psb kernel module can be loaded into the running kernel by running '''modprobe psb'''. | GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1 acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes mem=1920mb"" |
| Line 81: | Line 63: |
| ==== Other problems? ==== | save and exit, then update grub with |
| Line 83: | Line 65: |
| If you're still having problems, please mail ubuntu-mobile@lists.ubuntu.com, and do not submit bug reports. | sudo update-grub === Option 2 - Disable splash === Some people find they need to disable the splash. Essentially the same as above, just remove '''splash''' from the GRUB_CMDLINE_DEFAULT options. === Option 3 - 915 Resolution === Using any editor, create a file '''/etc/grub.d/01_915resolution''' , add in lines {{{ echo insmod 915resolution echo 915resolution 58 1366 768 32 }}} Make the file executable {{{ sudo chmod a+x /etc/grub.d/01_915resolution }}} Next, edit '''/etc/default/grub''', assign value 1366x768x32 to variables GRUB_GFXMODE and GRUB_GFXPAYLOAD_LINUX (be sure to change “1366×768″ to your desired resolution): {{{ GRUB_GFXPAYLOAD_LINUX=1366x768x32 }}} Then update grub. {{{ sudo update-grub }}} '''''NOTE: some gma500 users may have to switch to tty1 and back to tty7 even after the above modification to have a correct desktop.''''' = Problem solving = Most of the problems and workarounds listed are BIOS and Vendor specific. If your hardware is not listed, you may need to experiment. == Fix suspend == Open a terminal and use the following commands: gksu gedit /etc/pm/config.d/gma500 Add in the following code and save the file: ADD_PARAMETERS='--quirk-vbemode-restore' Note: originally, this fix was "ADD_PARAMETERS='-quirk-vbemode-restore'" with only one dash before ''quirk'' but the fix did not work for some users. Using two dashes was found to work for them (which makes sense as single dash is often used for one character options and two for longer ones). However, on a Dell Mini 12, the double dash caused the fix not to work. Going back to a single did allow it to resume from suspend. So, if the double does not work for you, try it with just one. Reference: [[http://blog.bodhizazen.net/linux/ubuntu-12-04-gma500-poulsbo-boot-options/|bodhi.zazen's blog : gma500 boot options]] == Memory allocation optimization == You can often improve performance by limiting the amount of RAM used by the system so that there will be more available for the videocard: {{{ sudo gedit /etc/default/grub }}} Add the following parameters to grub configuation if you have for example 1GB RAM: {{{ GRUB_CMDLINE_LINUX="mem=896mb" }}} or if you have 2GB RAM: {{{ GRUB_CMDLINE_LINUX="mem=1920mb" }}} Update GRUB: {{{ sudo update-grub }}} == Brightness hotkeys == Problems with brightness keys are most often vendor and bios dependent. === Acer === {{{ sudo gedit /etc/default/grub }}} Add the following parameters to grub configuration: {{{ GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor" }}} Update Grub: {{{ sudo update-grub }}} After adding the parameters to grub, functional keys such as wireless and volume also work. = Ubuntu 11.10 = The default 3.0.x kernel does not work. The linux-libre 3.3.x kernel is working. You can obtain it from [[http://jxself.org/linux-libre/|This repository]] After adding the repository, {{{sudo apt-get update && sudo apt-get install linux-image-3.3.2-gnu-686 }}} ---- CategoryHardware |
Driver overview
This page details support for the Intel GMA500 "Poulsbo" video hardware with Ubuntu 12.04 and higher.
Unfortunately the support for this hardware is extremely limited on Linux. There are several drivers, but all lacking certain basic features, future and current maintenance or support for things like suspend.
Currently Ubuntu supports the gma500_gfx driver
For older drivers see GMA500 Obsolete Drivers
GMA500_GFX driver
With kernel 2.6.39, a new psb_gfx module appeared in the kernel source developed by Alan Cox to support Poulsbo hardware.
As of kernel 3.3.rc1 the driver has left staging and been renamed gma500_gfx and is thus the default, supported driver for Ubuntu 12.04 and higher.
Starting with kernel 3.3.4 , the gma500_gfx driver works without adding any boot options.
The gma500_gfx does not (yet) support 3d graphics and it is unclear if it will in the future.
Ubuntu 12.04
Live (Desktop) CD
The problem with 12.04 is that the default kernel included on the desktop CD (all variants) is 3.3.2. This kernel works, but requires some custom boot parameters. Without these parameters you will either get a black screen or distortion.
- Switch to a console - Ctrl-Alt-F1
- Restart X with 'sudo service lightdm restart'
That should bring you back to a functional graphical desktop, so that you can proceed testing or installing.
Post installation
With the default 3.3.2 kernel, you need to add some options to the grub boot options or you will get a black screen.
Starting with kernel 3.3.4 , the gma500_gfx driver works without adding any boot options.
There are several potential solutions for this console=tty1, disable splash, or 915 Resolution
Option 1 - console=tty1
Perhaps the easiest method is to use "console=tty1" as a boot option.
gksudo gedit /etc/default/grub
Find the following line: GRUB_CMDLINE_LINUX_DEAULT="quiet splash"
Add console=tty1 in between the quotes, the end result looking as follows
Generic options
- GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty1 acpi_backlight=vendor acpi_osi=Linux mem=896mb"
Acer AO751h
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1 acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes mem=1920mb""
save and exit, then update grub with
- sudo update-grub
Option 2 - Disable splash
Some people find they need to disable the splash.
Essentially the same as above, just remove splash from the GRUB_CMDLINE_DEFAULT options.
Option 3 - 915 Resolution
Using any editor, create a file /etc/grub.d/01_915resolution , add in lines
echo insmod 915resolution echo 915resolution 58 1366 768 32
Make the file executable
sudo chmod a+x /etc/grub.d/01_915resolution
Next, edit /etc/default/grub, assign value 1366x768x32 to variables GRUB_GFXMODE and GRUB_GFXPAYLOAD_LINUX (be sure to change “1366×768″ to your desired resolution):
GRUB_GFXPAYLOAD_LINUX=1366x768x32
Then update grub.
sudo update-grub
NOTE: some gma500 users may have to switch to tty1 and back to tty7 even after the above modification to have a correct desktop.
Problem solving
Most of the problems and workarounds listed are BIOS and Vendor specific. If your hardware is not listed, you may need to experiment.
Fix suspend
Open a terminal and use the following commands:
- gksu gedit /etc/pm/config.d/gma500
Add in the following code and save the file:
- ADD_PARAMETERS='--quirk-vbemode-restore'
Note: originally, this fix was "ADD_PARAMETERS='-quirk-vbemode-restore'" with only one dash before quirk but the fix did not work for some users. Using two dashes was found to work for them (which makes sense as single dash is often used for one character options and two for longer ones). However, on a Dell Mini 12, the double dash caused the fix not to work. Going back to a single did allow it to resume from suspend. So, if the double does not work for you, try it with just one.
Reference: bodhi.zazen's blog : gma500 boot options
Memory allocation optimization
You can often improve performance by limiting the amount of RAM used by the system so that there will be more available for the videocard:
sudo gedit /etc/default/grub
Add the following parameters to grub configuation if you have for example 1GB RAM:
GRUB_CMDLINE_LINUX="mem=896mb"
or if you have 2GB RAM:
GRUB_CMDLINE_LINUX="mem=1920mb"
Update GRUB:
sudo update-grub
Brightness hotkeys
Problems with brightness keys are most often vendor and bios dependent.
Acer
sudo gedit /etc/default/grub
Add the following parameters to grub configuration:
GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"
Update Grub:
sudo update-grub
After adding the parameters to grub, functional keys such as wireless and volume also work.
Ubuntu 11.10
The default 3.0.x kernel does not work.
The linux-libre 3.3.x kernel is working. You can obtain it from This repository
After adding the repository,
sudo apt-get update && sudo apt-get install linux-image-3.3.2-gnu-686
HardwareSupportComponentsVideoCardsPoulsbo (last edited 2013-11-11 16:58:16 by 157)