HardwareSupportComponentsVideoCardsPoulsbo

Differences between revisions 58 and 59
Revision 58 as of 2010-06-03 22:38:37
Size: 8968
Editor: 220-244-92-178
Comment: PPA is ready for Karmic as new method
Revision 59 as of 2010-06-03 22:43:49
Size: 5234
Editor: 220-244-92-178
Comment: old method is non-friendly and dirty .. so PPA is only way to be positive for user (feel free to argue and revert)
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
== Karmic (9.10) - New Method == == Karmic (9.10) ==
Line 56: Line 56:

== Karmic (9.10) - Old Method ==

Run the following commands as root:

{{{
#
# Add PPAs
#

echo 'deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main' >> /etc/apt/sources.list.d/ubuntu-mobile.list

echo 'deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main' >> /etc/apt/sources.list.d/ubuntu-mobile.list

echo 'deb http://ppa.launchpad.net/albertomilone/poulsbo-graphics/ubuntu jaunty main ' >> /etc/apt/sources.list.d/poulsbo-graphics-alberto-milone.list

echo 'deb-src http://ppa.launchpad.net/albertomilone/poulsbo-graphics/ubuntu jaunty main' >> /etc/apt/sources.list.d/poulsbo-graphics-alberto-milone.list


#
# Add keys for PPAs
#

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6699F3D9

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 99C0198F


#
# Install new packages
#
# Note: installing psb-kernel-source may take a while.
#

apt-get update

apt-get install dkms \
                fakeroot \
                libdrm-poulsbo1 \
                poulsbo-driver-2d \
                poulsbo-driver-3d \
                psb-firmware \
                psb-kernel-source \
                psb-kernel-headers \
                psb-modules

echo "blacklist i915" >> /etc/modprobe.d/blacklist.conf

update-initramfs -u

}}}


'''Create xorg.conf with following content and whitelist psb in /usr/bin/compiz by adding "psb" to the WHITELIST line.'''
{{{
Section "Device"
        Identifier "GMA500"
        Option "AccelMethod" "EXA"
        Option "DRI" "on"
        Option "MigrationHeuristic" "greedy"
        Option "IgnoreACPI" "yes"
        Driver "psb"
EndSection

Section "DRI"
    Mode 0666
EndSection
}}}

Now reboot, and your video should work correctly.

If it does not work (for example, if it fails while DKMS is trying to build your psb module), try downloading lucazades psb-kernel-*.deb packages from http://swiss.ubuntuforums.org/showpost.php?p=7773647&postcount=13 and then open a terminal window, navigate to the directory where you downloaded the files (typically /home/username/Downloads) and execute the following:
{{{
 sudo dpkg -i psb-kernel-*
}}}

If it fails again, try adding in:
{{{
 sudo apt-get purge psb-kernel-source
}}}

Then re-run:

{{{
 sudo dpkg -i psb-kernel-*
}}}

Please note, none of these tactics will work on a '''Vaio P, running Ubuntu Netbook Remix 9.10'''. If you're running a fresh install of UNR 9.10, good luck getting it to function with Ubuntu.

'''Hardware accelerated video.'''
Psb driver supports hardware acceleration using [[http://en.wikipedia.org/wiki/Video_Acceleration_API|Video Acceleration API (VA API)]]. The script on the top of the page provides a media player with hardware acceleration (mplayer-vaapi) as a package. Alternatively, the following instructions will let you build your own mplayer with VAAPI video acceleration:
http://linux-tipps.blogspot.com/2009/12/vaapi-accelerated-hd-video-on-msi-wind.html

'''Kernel parameters (in grub).'''

If you have a Vaio-P or if you are experiencing extremely slow performance (less than 14 fps running ''"/usr/bin/xscreensaver/glblur -fps -window"'') add ''"mem=2000mb"'' to '''/etc/default/grub''', at the end of GRUB_CMDLINE_LINUX_DEFAULT, if using grub2, or at the end of the ''"# defoptions="'' line in '''/boot/grub/menu.lst'''. For both grub versions run '''update-grub''' after editing those files.
This reserves memory for the video driver and should improve your 3D performance.

'''Attention''': For machines with only 1GB ram, the entry should be ''"mem=980mb"''

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

Hardware Video Acceleration1

Lucid (10.04)

Excellent

Broken

Broken

Karmic (9.10)

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

Lucid (10.04)

There are preliminary testing on how to install an appropriate driver, you can follow the discussion at http://ubuntuforums.org/showthread.php?t=1229345.

As reported on http://code.google.com/p/gma500/wiki/PPARepository, for the 2D support, you can proceed with following steps:

Open a terminal and type:

sudo add-apt-repository ppa:gma500/ppa && sudo apt-get update

this command will add 'GMA500 PPA' repository and update database

sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config

after your system will be installed with all needed packages, you must restart your netbook.

Warning /!\ Use following notes for your models:

  • 3D still broken (shadowFB enabled, compiz will be removed)
  • On Asus and Sony Vaio add the following workarounds:

    sudo nano /etc/default/grub

    find correct line and update to below

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem=2000mb acpi_osi=Linux"

    Then update your grub config

    sudo update-grub
  • On Acer 751h to fix battery status add to session startup:

    cat /proc/acpi/battery/BAT1/info

Karmic (9.10)

Open a terminal and type:

sudo add-apt-repository ppa:gma500/ppa && sudo apt-get update

this command will add 'GMA500 PPA' repository and update database

sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config

after your system will be installed with all needed packages, you must restart your netbook.

Intrepid (8.10) and Jaunty (9.04)

The drivers for the Poulsbo chipset are shipped in the ubuntu-mobile PPA.

Add the ubuntu-mobile PPA

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

You may also wish to add the key to the keyring by following the instructions here.

Which kernel are you running?

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.

Install packages

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.

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 "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)