HardwareSupportComponentsVideoCardsPoulsbo

Differences between revisions 2 and 131 (spanning 129 versions)
Revision 2 as of 2009-09-08 03:28:22
Size: 3105
Editor: 147
Comment: Karmic
Revision 131 as of 2010-10-09 17:19:50
Size: 6950
Editor: s55917430
Comment:
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 This page details support for the Intel GMA500 "Poulsbo" video hardware in various Ubuntu releases. The table below shows the current status of the driver.
Line 5: Line 5:
Following code samples are stripped from my install-poulsbo.sh, almost everything requires sudo: || ||'''2D graphics'''||'''3D graphics'''||'''Normal Video Playback (Xv)'''||'''Hardware Video Acceleration'''<<FootNote(Refers to Hardware-Accelerated playback using vaapi, that is, libva library http://en.wikipedia.org/wiki/Intel_GMA#GMA_500_on_Linux)>>||
||Maverick (10.10)||<#00FF00>Excellent||<#FFFF00>Good||<#FF0000>Broken||<#00FF00>Excellent||
||Lucid (10.04)||<#00FF00>Excellent||<#FFFF00>Good||<#FF0000>Broken||<#00FF00>Excellent||
||Karmic (9.10)||<#00FF00>Excellent||<#00FF00>Excellent||<#00FF00>Excellent||<#00FF00>Excellent||
||Jaunty (9.04)||||||||<#CC3333>No longer supported and/or recommended||
||Intrepid (8.10)||||||||<#CC3333>No longer supported and/or recommended||
||Hardy (8.04)||||||||<#CCCC00>Partial support with pre-installed version||
Line 7: Line 13:
'''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
Line 12: Line 14:
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
<<BR>>
== Drivers installation ==
Line 16: Line 17:
'''Keys for PPAs'''
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 99C0198F
Drivers are available in the Gma500 PPA repository for Maverick, Lucid, Karmic, Jaunty and Intrepid. With the note that Jaunty and Intrepid versions are no longer supported and guaranteed to work.
Line 20: Line 19:
apt-get update
apt-get install dkms fakeroot
Open a terminal and type:
{{{
sudo add-apt-repository ppa:gma500/ppa && sudo aptitude update && sudo aptitude install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config
}}}
reboot for the changes to take effect.
Line 23: Line 25:
apt-get install libdrm-poulsbo1
apt-get install poulsbo-driver-2d poulsbo-driver-3d psb-firmware
<<BR>>
This PPA repository also ships mplayer, gnome-mplayer and vlc (currently vlc has still some issues and does not always work) with enabled vaapi backend. These are only available for Maverick and can be installed with the package manager of your choice.
Line 26: Line 28:
'''Install downloaded psb-kernel-* packages'''
dpkg -i psb-kernel-*
Remember to perform after a version upgrade the commands in the terminal again to update to the gma500 packages matching your Ubuntu version.
Line 29: Line 30:
echo "blacklist i915" >> /etc/modprobe.d/blacklist.conf An unofficial Lucid iso image with gma500 support and mplayer-vaapi is available for downloading over bittorrent.
[[http://linuxtracker.org/download.php?id=f0b262a10d2a4401a4641cb01aef44c8fbccd051&f=ubuntu-10.04-desktop-i386-psb1.torrent|torrent link]]
Line 31: Line 33:
update-initramfs -u <<BR>>
You can also choose from alternative drivers than the PSB drivers, all having different advantages and disadvantages over the others. These drivers are: fbdev, iegd and emgd. No wiki pages concerning thes drivers are available. In general the PSB drivers are best supported at this moment in performance, compatibility and features.
Line 33: Line 36:
Create xorg.conf with following content:
Line 35: Line 37:
Section "Device"
        Identifier "GMA500"
        Option "AccelMethod" "EXA"
# Option "DRI" "off"
        Option "MigrationHeuristic" "greedy"
        Option "IgnoreACPI" "yes"
        Driver "psb"
EndSection
<<BR>>
== Known issues and tweaks ==
Line 44: Line 40:
Section "DRI"
    Mode 0666
EndSection
==== Feedback ====
When applying any tweaks from below we kindly request you to provide feedback concerning the results from the chosen tweaks on your laptop. Please fill out this form (link will be published tomorrow) to send your findings to the gma500 team.
Line 48: Line 43:
'''Additional info''' ==== Suspend ====
Temporary workaround (Lucid and Karmic):
Line 50: Line 46:
Also you can get Compiz working by setting {{{
sudo mv /usr/lib/pm-utils/sleep.d/99video /usr/lib/pm-utils/99video
}}}
Line 52: Line 50:
Option "DRI" "on" <<BR>>
or use the following workaround (Lucid and Karmic):
Line 54: Line 53:
in xorg.conf and whitelisting psb in /usr/bin/compiz by adding "psb" to the WHITELIST line. {{{
sudo apt-get purge vbetool && sudo apt-get install uswsusp
}}}
Line 56: Line 57:
== Poulsbo (GMA500) Support in Intrepid (8.10) and Jaunty (9.04) == and suspend using:
{{{
sudo s2ram --force
}}}
Line 58: Line 62:
The drivers for the Poulsbo chipset are shipped in the ubuntu-mobile PPA. to make this permanent:
{{{
sudo gedit /etc/pm/config.d/00sleep_module
}}}
and set:
Line 60: Line 68:
=== Add the ubuntu-mobile PPA === {{{
SLEEP_MODULE="uswsusp"
}}}
Line 62: Line 72:
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
{{{
sudo gedit /etc/pm/config/defaults
}}}
and add:
Line 65: Line 77:
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]]. {{{
S2RAM_OPTS="--force"
QUIRK_NONE="true"
}}}
Line 67: Line 82:
=== Which kernel are you running? ===
Line 69: Line 83:
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'''. <<BR>>
==== Brightness hotkeys ====
Temporary workaround (Maverick, Lucid and Karmic):
{{{
sudo gedit /etc/default/grub
}}}
add the following parameters to grub configuation:
Line 71: Line 91:
=== Install packages === {{{
GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"
}}}
Line 73: Line 95:
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. {{{
sudo update-grub
}}}
Line 75: Line 99:
=== Common problems ===
Line 77: Line 100:
==== X doesn't start ==== <<BR>>
==== Compiz ====
Temporary workaround (Maverick and Lucid):

{{{
sudo gedit /etc/X11/xorg.conf
}}}
and add the following option:
{{{
Option "ExaNoComposite" "true"
}}}

* install this updated poulsbo-config package: http://dl.dropbox.com/u/1338581/poulsbo/poulsbo-config_0.1.2%7E1004um3_all.deb

* install compiz


<<BR>>
==== Flash plugin replacement for Firefox ====
Temporary workaround (Maverick and Lucid):

* install gnome-mplayer and gecko-mediaplayer

* tune gnome-mplayer settings like the following screenshots:

http://lukaszklich.pl/wp-content/uploads/2010/05/vaapi_output.png

http://lukaszklich.pl/wp-content/uploads/2010/05/vaapi_va.png

(This should already be automatically done by the gnome-mplayer package from the gma500 repository)

* install this firefox addons:
http://flvideoreplacer-extension.blogspot.com/

<<BR>>
== Tweaks that are deprecated ==

==== Kernel mode setting ====
KMS can be activated if you are using Lucid. On Maverick this tweak can give serious problems. It prevents the system from correctly shutting down which can result in data loss.
If you still want to enable KMS, paste the following command:

{{{
echo "psb
drm_psb" | sudo tee -a /etc/initramfs-tools/modules && sudo update-initramfs -u
}}}
In Maverick you would also have to remove "no_fb=1" from /etc/modprobe.d/poulsbo.conf


<<BR>>
<<Anchor(hardy)>>
== Hardy (8.04) ==

The Poulsbo hardware is not supported in the community version of Ubuntu. However, it is reputed to "just work" on Hardy version shipped by a netbook manufacturer.

For example, the support for GMA 500 hardware by Dell Ubuntu Hardy 8.04 is provided by the following repository
{{{
deb http://dell-mini.archive.canonical.com/updates hardy-dell-mini public}}}

== Contribution ==

The Ubuntu community is a great example of free software community in action, and is arguable one of the greatest examples of free software community in the world. To make Ubuntu better, You would like to take a look on new project [[https://launchpad.net/gma500|Intel GMA500 'Poulsbo']] and provide any help.

== Common problems ==

=== X doesn't start ===
Line 81: Line 168:
==== Other problems? ==== === 3D Graphics (OpenGL) does not work after suspend and resume ===

This is a known bug with psb kernel driver. Due to partial close nature of the driver, because Intel has not released an open source driver, the bug fix is currently no available. There are reports<<FootNote(http://www.phoronix.com/scan.php?page=news_item&px=NzY2Mg)>> that a new driver will be available shortly.

=== Additional Reading ===

Why GMA 500 hardware doesn't work out of the box? Read [[http://www.linuxjournal.com/content/how-kick-your-friends-face-gma500| "How To Kick Your Friends in the Face: GMA500" by Shawn Powers]] and the Intel "apology" [[http://www.linux.com/news/hardware/desktops/166625-blaming-intel-for-how-the-world-is|"Blaming Intel for how the world is" by Henry Kingman]]

=== Other problems? ===

This page details support for the Intel GMA500 "Poulsbo" video hardware in various Ubuntu releases. The table below shows the current status of the driver.

2D graphics

3D graphics

Normal Video Playback (Xv)

Hardware Video Acceleration1

Maverick (10.10)

Excellent

Good

Broken

Excellent

Lucid (10.04)

Excellent

Good

Broken

Excellent

Karmic (9.10)

Excellent

Excellent

Excellent

Excellent

Jaunty (9.04)

No longer supported and/or recommended

Intrepid (8.10)

No longer supported and/or recommended

Hardy (8.04)

Partial support with pre-installed version


Drivers installation

Drivers are available in the Gma500 PPA repository for Maverick, Lucid, Karmic, Jaunty and Intrepid. With the note that Jaunty and Intrepid versions are no longer supported and guaranteed to work.

Open a terminal and type:

sudo add-apt-repository ppa:gma500/ppa && sudo aptitude update && sudo aptitude install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config

reboot for the changes to take effect.


This PPA repository also ships mplayer, gnome-mplayer and vlc (currently vlc has still some issues and does not always work) with enabled vaapi backend. These are only available for Maverick and can be installed with the package manager of your choice.

Remember to perform after a version upgrade the commands in the terminal again to update to the gma500 packages matching your Ubuntu version.

An unofficial Lucid iso image with gma500 support and mplayer-vaapi is available for downloading over bittorrent. torrent link


You can also choose from alternative drivers than the PSB drivers, all having different advantages and disadvantages over the others. These drivers are: fbdev, iegd and emgd. No wiki pages concerning thes drivers are available. In general the PSB drivers are best supported at this moment in performance, compatibility and features.


Known issues and tweaks

Feedback

When applying any tweaks from below we kindly request you to provide feedback concerning the results from the chosen tweaks on your laptop. Please fill out this form (link will be published tomorrow) to send your findings to the gma500 team.

Suspend

Temporary workaround (Lucid and Karmic):

sudo mv /usr/lib/pm-utils/sleep.d/99video /usr/lib/pm-utils/99video


or use the following workaround (Lucid and Karmic):

sudo apt-get purge vbetool && sudo apt-get install uswsusp

and suspend using:

sudo s2ram --force

to make this permanent:

sudo gedit /etc/pm/config.d/00sleep_module

and set:

SLEEP_MODULE="uswsusp"

sudo gedit /etc/pm/config/defaults

and add:

S2RAM_OPTS="--force"
QUIRK_NONE="true"


Brightness hotkeys

Temporary workaround (Maverick, Lucid and Karmic):

sudo gedit /etc/default/grub

add the following parameters to grub configuation:

GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"

sudo update-grub


Compiz

Temporary workaround (Maverick and Lucid):

sudo gedit /etc/X11/xorg.conf

and add the following option:

Option "ExaNoComposite" "true"

* install this updated poulsbo-config package: http://dl.dropbox.com/u/1338581/poulsbo/poulsbo-config_0.1.2%7E1004um3_all.deb

* install compiz


Flash plugin replacement for Firefox

Temporary workaround (Maverick and Lucid):

* install gnome-mplayer and gecko-mediaplayer

* tune gnome-mplayer settings like the following screenshots:

http://lukaszklich.pl/wp-content/uploads/2010/05/vaapi_output.png

http://lukaszklich.pl/wp-content/uploads/2010/05/vaapi_va.png

(This should already be automatically done by the gnome-mplayer package from the gma500 repository)

* install this firefox addons: http://flvideoreplacer-extension.blogspot.com/


Tweaks that are deprecated

Kernel mode setting

KMS can be activated if you are using Lucid. On Maverick this tweak can give serious problems. It prevents the system from correctly shutting down which can result in data loss. If you still want to enable KMS, paste the following command:

echo "psb
drm_psb" | sudo tee -a /etc/initramfs-tools/modules && sudo update-initramfs -u

In Maverick you would also have to remove "no_fb=1" from /etc/modprobe.d/poulsbo.conf


Hardy (8.04)

The Poulsbo hardware is not supported in the community version of Ubuntu. However, it is reputed to "just work" on Hardy version shipped by a netbook manufacturer.

For example, the support for GMA 500 hardware by Dell Ubuntu Hardy 8.04 is provided by the following repository

deb http://dell-mini.archive.canonical.com/updates hardy-dell-mini public

Contribution

The Ubuntu community is a great example of free software community in action, and is arguable one of the greatest examples of free software community in the world. To make Ubuntu better, You would like to take a look on new project Intel GMA500 'Poulsbo' and provide any help.

Common problems

X doesn't start

Double check that the psb kernel module can be loaded into the running kernel by running modprobe psb.

3D Graphics (OpenGL) does not work after suspend and resume

This is a known bug with psb kernel driver. Due to partial close nature of the driver, because Intel has not released an open source driver, the bug fix is currently no available. There are reports2 that a new driver will be available shortly.

Additional Reading

Why GMA 500 hardware doesn't work out of the box? Read "How To Kick Your Friends in the Face: GMA500" by Shawn Powers and the Intel "apology" "Blaming Intel for how the world is" by Henry Kingman

Other problems?

If you're still having problems, please mail ubuntu-mobile@lists.ubuntu.com, and do not submit bug reports.

  1. Refers to Hardware-Accelerated playback using vaapi, that is, libva library http://en.wikipedia.org/wiki/Intel_GMA#GMA_500_on_Linux (1)

  2. http://www.phoronix.com/scan.php?page=news_item&px=NzY2Mg (2)

HardwareSupportComponentsVideoCardsPoulsbo (last edited 2013-11-11 16:58:16 by 157)