HardwareSupportComponentsVideoCardsPoulsbo
1339
Comment: Add initial content
|
7328
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Poulsbo (GMA500) Support in 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 [[https://launchpad.net/+help/soyuz/ppa-sources-list.html|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. === Common problems === ==== X doesn't start ==== Double check that the psb kernel module can be loaded into the running kernel by running '''modprobe psb'''. ==== Other problems? ==== If you're still having problems, please mail ubuntu-mobile@lists.ubuntu.com, and do not submit bug reports. |
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents>>|| = 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 lack certain basic features, such as future and current maintenance or support for suspend and hardware acceleration. Currently, the best supported driver for Ubuntu is '''gma500_gfx'''. For obsolete and unsupported drivers see [[https://wiki.ubuntu.com/PoulsboObsoleteDrivers|GMA500 Obsolete Drivers]] = GMA500_GFX driver = 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. 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. {{{#!wiki comment/dotted '''''Starting with kernel 3.3.4 , the gma500_gfx driver works without adding any boot options.''''' The above statement doesn't hold true, at least according to this: http://rafalcieslak.wordpress.com/2012/09/28/adventures-with-asus-netbook-1225c-gma500-drivers-and-unity-on-12-1012-04-1 ...commented out untill someone varyfies otherwise }}} The gma500_gfx does not (yet) support 3d graphics and it is unclear if it will in the future. == Live (Desktop) CD 12.04 == The default Ubuntu 12.04 kernel works, but requires a custom boot option. Without that option, you will either get a black screen or distortions, such as top half of the screen only. 1. Switch to a console - Ctrl-Alt-F1 2. 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 == === Ubuntu 12.10 + === No workarounds should be required. === Ubuntu 12.04 === With the default settings, Ubuntu 12.04 boots to either a black screen or or top half screen. There are several potential solutions: '''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_DEFAULT="quiet splash" ''' Add console=tty1 in between the quotes, the end result looking as follows GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1" 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 ==== First, you need to know what your desired resolution is. Common netbook resolutions are 1366x768, 1024x600 and 1024x576. The examples below will feature 1366x768, but be sure to change it to the actual resolution of your screen. 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: {{{ GRUB_GFXPAYLOAD_LINUX=1366x768x32 }}} Then update grub. {{{ sudo update-grub }}} '''''NOTE: some gma500 users may have to switch to a different tty and then back to tty7 even after performing the above modification to have a correct desktop. To do this press Ctrl-Alt-F6 then press Ctrl-Alt-F7.''''' ==== Option 4 - Update kernel ==== The final option is to use the 12.10 kernel in 12.04. A higher kernel is available in backports. Alternatively, you can try the mainline kernel: http://packages.qa.dev.stgraber.org/qatracker/milestones/223/builds/16265/downloads The problem with the mainline kernel is that it does not have all the Ubuntu patches (such as Apparmor) and is not supported (it is provided "as is" for testing only). = 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 == If suspend does not work for you, there are various quirk options you can try. See the manpage for pm-suspend for a list of them all. One that has been reported to help is quirk-vbemode-restore, which saves and restores the current VESA mode. To test it, open a terminal and use the following commands sudo pm-suspend --quirk-vbemode-restore That should suspend your system. If you are able to resume, you'll want to configure UBuntu to use this option every time you suspend. To do this oOpen 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' == 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" }}} For the Acer AO751h, try blacklisting acer_wmi. GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes"" Update Grub: {{{ sudo update-grub }}} After adding the parameters to grub, functional keys such as wireless and volume also work. === Dell Mini 10 (1010) === Brightness keys don't work, even with the 'acpi_vacklight=vendor' added. To change screen brightness, run echo X | sudo tee /sys/class/acpi_video0/brightness where X is a number in the range of 0 to 7, for example echo 3 | sudo tee /sys/class/acpi_video0/brightness Once a comfortable brightness level is found (let's say it's 3), add the follwing to /etc/rc.local. echo 3 > /sys/class/backlight/acpi_video0/brightness = 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 }}} = References = * [[http://blog.bodhizazen.net/linux/ubuntu-12-04-gma500-poulsbo-boot-options/|bodhi.zazen's blog : gma500 boot options]] * [[http://ubuntuforums.org/showthread.php?t=1984236|GMA500 (Poulsbo) gma500_gfx support thread on ubuntuforums]] ---- 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 lack certain basic features, such as future and current maintenance or support for suspend and hardware acceleration.
Currently, the best supported driver for Ubuntu is gma500_gfx.
For obsolete and unsupported 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.
The gma500_gfx does not (yet) support 3d graphics and it is unclear if it will in the future.
Live (Desktop) CD 12.04
The default Ubuntu 12.04 kernel works, but requires a custom boot option. Without that option, you will either get a black screen or distortions, such as top half of the screen only.
- 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
Ubuntu 12.10 +
No workarounds should be required.
Ubuntu 12.04
With the default settings, Ubuntu 12.04 boots to either a black screen or or top half screen.
There are several potential solutions: 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_DEFAULT="quiet splash"
Add console=tty1 in between the quotes, the end result looking as follows
- GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1"
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
First, you need to know what your desired resolution is. Common netbook resolutions are 1366x768, 1024x600 and 1024x576. The examples below will feature 1366x768, but be sure to change it to the actual resolution of your screen.
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:
GRUB_GFXPAYLOAD_LINUX=1366x768x32
Then update grub.
sudo update-grub
NOTE: some gma500 users may have to switch to a different tty and then back to tty7 even after performing the above modification to have a correct desktop. To do this press Ctrl-Alt-F6 then press Ctrl-Alt-F7.
Option 4 - Update kernel
The final option is to use the 12.10 kernel in 12.04. A higher kernel is available in backports.
Alternatively, you can try the mainline kernel:
http://packages.qa.dev.stgraber.org/qatracker/milestones/223/builds/16265/downloads
The problem with the mainline kernel is that it does not have all the Ubuntu patches (such as Apparmor) and is not supported (it is provided "as is" for testing only).
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
If suspend does not work for you, there are various quirk options you can try. See the manpage for pm-suspend for a list of them all. One that has been reported to help is quirk-vbemode-restore, which saves and restores the current VESA mode.
To test it, open a terminal and use the following commands
- sudo pm-suspend --quirk-vbemode-restore
That should suspend your system. If you are able to resume, you'll want to configure UBuntu to use this option every time you suspend. To do this oOpen 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'
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"
For the Acer AO751h, try blacklisting acer_wmi.
- GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes""
Update Grub:
sudo update-grub
After adding the parameters to grub, functional keys such as wireless and volume also work.
Dell Mini 10 (1010)
Brightness keys don't work, even with the 'acpi_vacklight=vendor' added.
To change screen brightness, run
- echo X | sudo tee /sys/class/acpi_video0/brightness
where X is a number in the range of 0 to 7, for example
- echo 3 | sudo tee /sys/class/acpi_video0/brightness
Once a comfortable brightness level is found (let's say it's 3), add the follwing to /etc/rc.local.
echo 3 > /sys/class/backlight/acpi_video0/brightness
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
References
HardwareSupportComponentsVideoCardsPoulsbo (last edited 2013-11-11 16:58:16 by 157)