Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Ubuntu Forum Archives > Karmic Koala Testing and Discussion (CLOSED)
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Karmic Koala Testing and Discussion (CLOSED)
Ubuntu Karmic Koala is in development, use only for testing purposes!!!

This forum is for the discussion of Ubuntu Karmic Koala. Karmic is in development and will be out in October 2009. Please note: Ubuntu Developers do not usually read the forums, to report a problem found in Karmic please report the bug in Launchpad.


 
 
Thread Tools Display Modes
Old August 30th, 2009   #1
Marko Helenius
First Cup of Ubuntu
 
Join Date: Aug 2009
Beans: 2
Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Hi,

I've been using Karmic in my Poulsbo laptop with decent resolution and performance for a while now. Since there are lot of discussions ongoing where fellow forumers are looking for the same solution, I decided to publish my notes about it. Hopefully someone will find it useful, no guarantee..

Start by downloading lucazades psb-kernel-* packages http://swiss.ubuntuforums.org/showpo...7&postcount=13

Following code samples are stripped from my install-poulsbo.sh, almost everything requires sudo:

Code:
# 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

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

# Keys for PPAs
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 99C0198F

apt-get update
apt-get install  dkms fakeroot

apt-get install libdrm-poulsbo1
apt-get install poulsbo-driver-2d poulsbo-driver-3d psb-firmware

# Install downloaded psb-kernel-* packages
dpkg -i psb-kernel-*

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

update-initramfs -u
Create xorg.conf with following content:

Code:
Section "Device"
        Identifier      "GMA500"
        Option "AccelMethod" "EXA"
#        Option "DRI" "off"
        Option "MigrationHeuristic" "greedy"
        Option "IgnoreACPI" "yes"
        Driver "psb"
EndSection

Section "DRI"
    Mode    0666
EndSection
And reboot..

I think the key elements are:
* Alberto's libdrm-poulsbo1 which doesn't collide with Karmic's librdm2
* Blacklisting i915 and updating initramfs, so i915 and wrong drm.ko are *not* loaded

Since I actually didn't do anything myself, I thank Lucazade, Albertomilone and Ubuntu-mobile for enabling this. I'll try to keep this short instruction up-to-date, so please let me know how it goes.


__________________________________________________ _____________________
Edit: added DRI Mode Section

Last edited by Marko Helenius; September 2nd, 2009 at 04:06 AM..
Marko Helenius is offline  
Old August 30th, 2009   #2
jbernardo
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 300
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Thanks! I'll try updating to karmic straight away, will tell you how it goes.
jbernardo is offline  
Old August 30th, 2009   #3
lucazade
Just Give Me the Beans!
 
lucazade's Avatar
 
Join Date: Feb 2007
Location: Rome, Italy
Beans: 81
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Great mate!
lucazade is online now  
Old August 30th, 2009   #4
jbernardo
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 300
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

It's working, at least the same as it is working in Jaunty - no working compositing, no 3d acceleration. But at least 2D now works. Thanks!
jbernardo is offline  
Old September 2nd, 2009   #5
Marko Helenius
First Cup of Ubuntu
 
Join Date: Aug 2009
Beans: 2
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Quote:
Originally Posted by jbernardo View Post
It's working, at least the same as it is working in Jaunty - no working compositing, no 3d acceleration. But at least 2D now works. Thanks!
Nice to know!

Friend of mine reported that DRI Section was required for 3D operations in Dell laptop, added to xorg.conf example.
Marko Helenius is offline  
Old September 2nd, 2009   #6
jbernardo
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 300
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Quote:
Originally Posted by Marko Helenius View Post
Nice to know!

Friend of mine reported that DRI Section was required for 3D operations in Dell laptop, added to xorg.conf example.
With DRI on or off? I'll try now the "Section DRI" setting, to see if it changes anything.
jbernardo is offline  
Old September 3rd, 2009   #7
MartinuxP
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 7
Question Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Hi, i've used your scripts and they runs, It says direct rendering: yes (glxinfo) but the computer is very slow, scrolling in the browser makes it flicks.
Is that right?

Sorry for my poor english!
MartinuxP is offline  
Old September 3rd, 2009   #8
jbernardo
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 300
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Quote:
Originally Posted by MartinuxP View Post
Hi, i've used your scripts and they runs, It says direct rendering: yes (glxinfo) but the computer is very slow, scrolling in the browser makes it flicks.
Is that right?

Sorry for my poor english!
Try glblur (from xscreensavers-gl), here when I run it with "/usr/lib/xscreensaver/glblur -fps -window" I get about 16 fps, the same under jaunty. For comparison, my AA1, which has a GMA945, gives 25fps...
jbernardo is offline  
Old September 3rd, 2009   #9
Starks
Dark Roasted Ubuntu
 
Starks's Avatar
 
Join Date: Mar 2007
Beans: 1,049
Ubuntu
Send a message via AIM to Starks
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Somebody should add this guide to the Ubuntu wiki. If not, I will.

Is the DRI section in the xorg.conf needed for 3D or Compiz?

Last edited by Starks; September 3rd, 2009 at 10:49 PM..
Starks is offline  
Old September 4th, 2009   #10
jbernardo
Way Too Much Ubuntu
 
Join Date: Jun 2006
Beans: 300
Re: Get GMA500 (Poulsbo) working in Karmic with Jaunty backports..

Quote:
Originally Posted by Starks View Post
Somebody should add this guide to the Ubuntu wiki. If not, I will.

Is the DRI section in the xorg.conf needed for 3D or Compiz?
It should be in the release notes, as a temporary work around for GMA500 support in Karmic, until there is a fully working driver.

As for the DRI section, I didn't test compiz, but on my Asus 1101HA it didn't change anything. The same fps with glblur, and still can't enable kwin effects.
jbernardo is offline  
 

Bookmarks

Tags
gma 500, gma500 psb poulsbo karmic, karmic

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:31 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry