You are not logged in.

#201 2010-03-16 11:55:46

ypnos
Member
Registered: 2007-12-30
Posts: 58

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

If you search for ArchLinux' default .config, it is here:
http://repos.archlinux.org/wsvn/package … &rev=58629

The revision of the file is important so you get the right kernel version. 58629 as in the link above is 2.6.31.6

Offline

#202 2010-03-16 22:45:08

chris.griffith
Member
Registered: 2009-10-24
Posts: 24

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

@pie86

I was under the impression that it is not necessary to build a kernel just to build the IEGD kernel module (reference http://www.nanoant.com/linux/compiling- … stribution).

Your older posts mention that you used ubuntu patches specifically for fitpc 2.6.12 so I am trying to find out how you got from that point to where you are now on 2.6.31 with archlinux.  Maybe you can fill in the gap.

It sounds like your experience with these drivers is much better than mine now that you got them working.  I am curious as to the other aspects of your system.  What version of xserver are you running?  Where did you get the arch packages? What desktop env. are you running?  Did you notice any problem with the pointer on the screen jumping to lower right corner at random?

As far as your earlier question about IEGD tos, I think it is freely redistributable so long as the blobs are not modified and the license is not removed.

did you get the kernel config you needed?


There are 10 kinds of people in this world.
Those who can read binary, and those who can't.

Offline

#203 2010-03-17 13:43:01

pie86
Member
Registered: 2009-09-06
Posts: 69

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

chris.griffith wrote:

@pie86

I was under the impression that it is not necessary to build a kernel just to build the IEGD kernel module (reference http://www.nanoant.com/linux/compiling- … stribution).

Yes, I think so too but I never verified it. I went throught module compilation with 2.6.32 kernel only and it produced an unusable module that behaved in a strange way (see here: http://community.edc.intel.com/t5/Softw … td-p/2362).

I should compile the same module with 2.6.31 kernel and verify if it works but I'm quite busy at the moment.

chris.griffith wrote:

Your older posts mention that you used ubuntu patches specifically for fitpc 2.6.12 so I am trying to find out how you got from that point to where you are now on 2.6.31 with archlinux.  Maybe you can fill in the gap.

Yes, I started from fitpc patch included with ubuntu kernel image package on the fitpc repository. This file is a 25Mb file and, as pointed out by ypnos some time ago, it is quite unusable. So I splitted the big diff file into single patches per kernel file and putted them in the relative path.
(For example, I have iegd patch files under /gpu/drm/iegd and rt3090 (wireless driver) under /staging and so on).

Some of those patches aplays perfectly to vanilla kernel: iegd is one of those. I compared some of the files contained in IEGD_10_3_Linux.tgz with those created by the patch and seems identical but I did it just for few.


chris.griffith wrote:

It sounds like your experience with these drivers is much better than mine now that you got them working.  I am curious as to the other aspects of your system.  What version of xserver are you running?  Where did you get the arch packages? What desktop env. are you running?  Did you notice any problem with the pointer on the screen jumping to lower right corner at random?

X is from here: http://kdemod.iskrembilen.com/xorg-old/i686/ (xorg-server-1.6.3.901-1-i686.pkg.tar.gz, xf86-input-evdev-2.2.5-1-i686.pkg.tar.gz,  xf86-input-keyboard-1.3.2-2-i686.pkg.tar.gz, xf86-input-mouse-1.4.0-2-i686.pkg.tar.gz)
xorg.conf is from ubuntu deb on fitpc page.

I'm running OpenBox 1024x768 (but other resolutions works fine). I didn't notice the pointer problem but consider I'm using it for watching movies only. I tested the system for a couple of hours running programs like firefox and gedit and so on and then I started X just for wathing about 20 hours of videos without any problem.

chris.griffith wrote:

did you get the kernel config you needed?

Yes, as soon as I can I'll complete my PKGBUILD. Btw thanks ypnos!

Offline

#204 2010-03-19 13:26:25

chris.griffith
Member
Registered: 2009-10-24
Posts: 24

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

FYI, Intel released version 10.3.1 of IEGD yesterday.  The kernel/xserver requirements have not changed. Bummer!!!

pie86: I have used the IEGD drivers on Arch with 2.6.32 kernel and xserver 1.6.3.901, I tried to compile my own kernel 2.6.31 but had trouble getting it to boot(I suspect it had to due with mkinitcpio version conflict), and I also tried Ubuntu Netbook Remix 9.10 which uses 2.6.31 and xserver 1.6.4, and still had issues.  So I am really curious to find out what the difference would be with your build.  Maybe I can give it a go this weekend.


There are 10 kinds of people in this world.
Those who can read binary, and those who can't.

Offline

#205 2010-03-24 11:12:36

mulenmar
Member
Registered: 2009-06-18
Posts: 34
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hmm, it seems that the IEGD drivers may have a downside, even when working properly:

http://community.edc.intel.com/t5/Softw … o/m-p/2366

Offline

#206 2010-03-25 01:01:38

mulenmar
Member
Registered: 2009-06-18
Posts: 34
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Ok, I used pie86's PKGBUILD (linked to in post #200) to compile a IEGD-patched 2.6.31 kernel. It worked fine, and I can "sudo modprobe iegd_mod" just fine. Now how do I get the X server to use it? If I specify

Driver    "iegd"

in xorg.conf, it complains that the Xorg module is not found. I can't seem to find where to get the Xorg part of this to get things working (an xf86-video-iegd or xorg-video-iegd package), can anyone assist with this?

Also, when I modprobe the iegd_mod module, I still can't control the screen brightness like I can with the old psb driver -- the /sys/class/backlight/psblvds/ stuff isn't created. sad

EDIT: Looking through the FitPC archives (like I probably should have done in the first place, even though I'm using an AO751h), the only xserver-xorg-video package I see is for the psb driver. Are we supposed to use the same X server component we did with the old psb driver?

Last edited by mulenmar (2010-03-25 01:19:53)

Offline

#207 2010-03-25 10:49:32

ypnos
Member
Registered: 2007-12-30
Posts: 58

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

No in the fitpc archive there is definitely iegd xorg driver, not psb. xserver-xorg-video-poulsbo_10.2.orig.tar.gz contains the IEGD files.

Offline

#208 2010-03-25 17:10:55

chris.griffith
Member
Registered: 2009-10-24
Posts: 24

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

FYI, the pkgbuild provided by pie86, which is pretty good only builds the kernel module

besides that, there are several binary files (a few of those being the xorg xserver driverss).  I am not aware of any packages for those in Arch, yet.  If you have the IEGD_10_3_linux.tgz from intel, you can just figure out how/where to copy those files over from an install.sh script.

I am working (very very very slowly) on an arch package that may do this for us.  please don't wait, but if I have something to offer, I will make it available.


There are 10 kinds of people in this world.
Those who can read binary, and those who can't.

Offline

#209 2010-03-30 10:04:04

mulenmar
Member
Registered: 2009-06-18
Posts: 34
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

chris.griffith wrote:

FYI, the pkgbuild provided by pie86, which is pretty good only builds the kernel module

If I remember right, I was running under 2.6.32-ARCH kernel when I tested the PKGBUILD, so it built the entire 2.6.31-ARCH kernel.

chris.griffith wrote:

besides that, there are several binary files (a few of those being the xorg xserver drivers).  I am not aware of any packages for those in Arch, yet.  If you have the IEGD_10_3_linux.tgz from intel, you can just figure out how/where to copy those files over from an install.sh script.

Yeah, I'm thinking I'll just wait on the packages for now -- I've got real-life stuff and my blog to worry about, along with trying to figure out what version of Ubuntu is best for this netbook. (Like I said in that post you commented on, Arch is just too cutting edge for it.)

chris.griffith wrote:

I am working (very very very slowly) on an arch package that may do this for us.  please don't wait, but if I have something to offer, I will make it available.

Please, take your time on it -- I'd much rather have a working (if impossible to use with suspend/hibernate) driver than a clumsy hack. big_smile I'll be happy to test things once you've got them built.

By the way, does anyone still have the xf86-video-fbdev package from Xorg 1.6? The kdemod repos only have xf86-video-vesa, which for some reason is much slower, and I can't find Xorg 1.6 PKGBUILDS anywhere else. Sure, -fbdev on this US15W chipset is no faster than my old ATI Radeon Mobility M3 with the proper drivers, but it's STILL better than -vesa! neutral

Offline

#210 2010-04-03 00:15:14

descendent87
Member
From: Wales
Registered: 2009-07-23
Posts: 105
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Don't know if it's any help to anyone but Mandriva 2010.1 will apparently have out the box support for GMA500 so somehow they have got it working with the latest kernel and xorg. Would love to have this card working fully on arch so I could make a nice minimal install

Offline

#211 2010-04-03 08:51:58

ypnos
Member
Registered: 2007-12-30
Posts: 58

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Looks to me as if they are patching old PSB driver, not IEGD driver. No option for me as old PSB driver has its own set of problems, e.g. with higher resolutions.

Offline

#212 2010-04-05 19:57:36

ypnos
Member
Registered: 2007-12-30
Posts: 58

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Just wanted to report my experience with pie86's PKGBUILD on the Fit-PC2. Installing the kernel went fine, however I had to correct a typo in a mkinitcpio file. Then, I installed the Xorg packages from kdemod guys and took Xorg config from Fit-PC2 Ubuntu repository. The binary files I took were also from that repository. I had to make sure that HAL is running for the X server not to lock up at start.

Xorg starts up with the correct resolution (1920x1200) of my monitor without issues (old psb driver had severe issues) and xrandr works as well. 2D acceleration performance is terrible, although better than with vesa driver. I had the same experience with Ubuntu 9.10. With Mandriva One, psb driver, 2D performance was much, much better. I did not do any intense OpenGL testing, however, direct rendering works and glxgears reports about 300-400 fps, while with the software renderer I had about 120 fps.

To test the video decoding (VA-API capabilities of Poulsbo), I installed mplayer-vaapi and libva-sds from AUR. (The latter package just went out of date, will try new version soon.)
I then tried four h.264 videos. Two 1080p videos played fine with a CPU usage of about 8 - 12 % at most on both cores. One of which is Watchmen, a really well mastered BluRay and the most demanding video I had so far. Only at one occasion in the video there were small visual artifacts (tearing) present. In the other video, which I didn't go through in full, I didn't encounter artifacts.
My experience was clouded, however, by the two 720p videos I put on. It didn't seem as if they were too heavy to decode, but there occured massive tearing in most of the frames.

I tried several things that did not help on the tearing issue:
* Using -vo vaapi:gl does not work and somewhat crashes the video system.
* Embodying a large cache does not change the situation.
* As I encountered several mplayer threads running, I made sure there is only a single decoder thread to no avail.
* Disabling audio changes nothing as well.
Please give any hints on where to further investigate this, if you have any. It's not clear to me yet whether this can be resolved with software but I strongly guess so.

Note: All videos play perfectly fine with VDPAU on my other machine.

I had to copy some binary files to dual locations but it was easy to find out where they were missed. I had to put a symlink in /usr/lib for the libva to be found by binary va backend.


As you see I had a mixed experience but it is the best experience I had so far regarding the GMA 500. All other Linuxes I tried had one or several showstoppers and none got me so far as to watch a full length 1080p film without any flaws (ignoring the single tearing event). Even under Windows 7, I never got to that point. (although other aspects of the graphics work much, much better, there)
I think we made big progress and there is still hope to get a flawless GMA 500 Linux and FullHD experience with Arch Linux in the future. The proof-of-concept is there.

Last edited by ypnos (2010-04-05 19:59:17)

Offline

#213 2010-04-11 10:53:55

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Starting to get tired of being stuck at kernel 2.6.30 sad

anyone having luck with uvesafb and newer kernels?

this is what dmesg report with kernels newer then 2.6.30:

uvesafb: Intel Corporation, Intel(r)Poulsbo Graphics Controller, Hardware Version 0.0, OEM: Intel(r)Poulsbo Graphics Chip Accelerated VGA BIOS, VBE v3.0
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 61 Hz, hf = 38 kHz, clk = 45 MHz
uvesafb: scrolling: redraw
uvesafb: cannot reserve video memory at 0x3f800000
uvesafb: probe of uvesafb.0 failed with error -5

this is how it looks like with a working kernel (2.6.30):

uvesafb: Intel Corporation, Intel(r)Poulsbo Graphics Controller, Hardware Version 0.0, OEM: Intel(r)Poulsbo Graphics Chip Accelerated VGA BIOS, VBE v3.0
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 61 Hz, hf = 38 kHz, clk = 45 MHz
uvesafb: scrolling: redraw
uvesafb: framebuffer at 0x3f800000, mapped to 0xf8180000, using 4800k, total 7872k
fb0: VESA VGA frame buffer device

anyone having a solution for this?

Offline

#214 2010-04-11 20:10:23

ypnos
Member
Registered: 2007-12-30
Posts: 58

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Well, I don't know what your problem is, but I can report that on my machine uvesafb also works with latest kernel, in 1600x1200. Doesn't help you much I guess...

Offline

#215 2010-04-13 04:32:52

mulenmar
Member
Registered: 2009-06-18
Posts: 34
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

whacath wrote:
uvesafb: Intel Corporation, Intel(r)Poulsbo Graphics Controller, Hardware Version 0.0, OEM: Intel(r)Poulsbo Graphics Chip Accelerated VGA BIOS, VBE v3.0
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 61 Hz, hf = 38 kHz, clk = 45 MHz
uvesafb: scrolling: redraw
uvesafb: cannot reserve video memory at 0x3f800000
uvesafb: probe of uvesafb.0 failed with error -5

Are you sure the VESA framebuffer isn't being used? Make sure there's no "vga=" in the GRUB kernel line, I've gotten  "uvesafb: cannot reserve video memory at . . ." messages before because of that. hmm

Offline

#216 2010-04-15 16:12:28

6Fman
Member
Registered: 2010-04-15
Posts: 3

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Whacath: I got the same issue before with 2.6.32

uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 64 Hz, hf = 41 kHz, clk = 51 MHz
uvesafb: scrolling: redraw
uvesafb: cannot reserve video memory at 0x3fc00000
uvesafb: probe of uvesafb.0 failed with error -5

By searching dmesg upperward or using grep 0x3fc00000, i found

system 00:01: iomem range 0x3fc00000-0x3fffffff could not be reserved

What I have done was manually reserved the above memory block by putting kernel parameter
memmap=0x400000$0x3fc00000
in /boot/grub/menu.lst
where the value 0x400000 comes from 0x3fffffff - 0x3fc00000 +1
Hope can help you smile

Last edited by 6Fman (2010-04-15 16:34:30)

Offline

#217 2010-04-15 18:55:51

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

6Fman wrote:

Whacath: I got the same issue before with 2.6.32

uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 64 Hz, hf = 41 kHz, clk = 51 MHz
uvesafb: scrolling: redraw
uvesafb: cannot reserve video memory at 0x3fc00000
uvesafb: probe of uvesafb.0 failed with error -5

By searching dmesg upperward or using grep 0x3fc00000, i found

system 00:01: iomem range 0x3fc00000-0x3fffffff could not be reserved

What I have done was manually reserved the above memory block by putting kernel parameter
memmap=0x400000$0x3fc00000
in /boot/grub/menu.lst
where the value 0x400000 comes from 0x3fffffff - 0x3fc00000 +1
Hope can help you smile

IT WORKS! THANK YOU! I LOVE YOU! yikes:D:lol:

First I tried your values but those didnt work on my system so I tried change the values a couple of times until I typed in:

memmap=0x3fc00000$0x3f800000

Now it works like a charm:

uvesafb: Intel Corporation, Intel(r)Poulsbo Graphics Controller, Hardware Version 0.0, OEM: Intel(r)Poulsbo Graphics Chip Accelerated VGA BIOS, VBE v3.0
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 61 Hz, hf = 38 kHz, clk = 45 MHz
uvesafb: scrolling: redraw
uvesafb: framebuffer at 0x3f800000, mapped to 0xf8180000, using 4800k, total 7872k
fb0: VESA VGA frame buffer device

But i notice a error (actually a fatal error tongue ) in the boot messages. It seams to be an eeepc-acpi module unable to load but acpi and everything seams to work just fine. So i think it is unrelated to my changes. Maybe this has something to do with the new kernel. But now everything works so that doesnt mather! smile

PS. i have no idea what i just did to make it work since i have no knowledge of hexnumbers and stuff like that.

Offline

#218 2010-04-16 02:44:04

woah
Member
Registered: 2008-09-16
Posts: 10

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Since its initial announcement, has anyone heard any additional information regarding that GMA500 driver based on Gallium3D?

Offline

#219 2010-04-16 12:27:33

6Fman
Member
Registered: 2010-04-15
Posts: 3

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

RE: whacath
Nice to hear it works for you wink
No idea about the fatal error you mentioned,
however, the line memmap=0x3fc00000$0x3f800000 may reserve excessive memory,
may have some bad consequence
can you post the output of

cat /var/log/dmesg.log|grep 0x3f800000

?

Last edited by 6Fman (2010-04-16 12:28:13)

Offline

#220 2010-04-16 13:31:11

chris.griffith
Member
Registered: 2009-10-24
Posts: 24

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Just an update for anyone following.

I used pie86's PKGBUILD to create custom 2.6.31 kernel with IEGD 10.3.1 kernel module.  Then I proceeded to copy all the binary blobs to the correct places as outlined in install script and user documentation found on intel site.  So now I have Arch installed on AO751h with all packages up to date except kernel, xserver, and xf86-input*.  Then I installed the (along with the dependencies) mplayer-vaapi and libva-sds from AUR (in doing so I had to remove the libva that comes with IEGD).  Now I have a stable Arch system that has excellent 2d and 3d capabilities.  I can switch to virtual terminals and back.  The only thing I can't do is suspend/hibernate.


There are 10 kinds of people in this world.
Those who can read binary, and those who can't.

Offline

#221 2010-04-17 02:53:27

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,931

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Is anyone compiling a repo of all the packages necessary to do this?

Offline

#222 2010-04-17 05:19:57

whacath
Member
Registered: 2009-05-26
Posts: 283

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

6Fman wrote:

RE: whacath
Nice to hear it works for you wink
No idea about the fatal error you mentioned,
however, the line memmap=0x3fc00000$0x3f800000 may reserve excessive memory,
may have some bad consequence
can you post the output of

cat /var/log/dmesg.log|grep 0x3f800000

?

Kernel command line: root=/dev/disk/by-uuid/93ef48ac-0cef-4e8b-845f-78ba20965ca2 ro memmap=0x3fc00000$0x3f800000
pci_root PNP0A08:00: host bridge window [mem 0x3f800000-0xdfffffff] (ignored)
system 00:01: [mem 0x3f800000-0x3fffffff] has been reserved
uvesafb: framebuffer at 0x3f800000, mapped to 0xf8180000, using 4800k, total 7872k

hm, i am not sure what this means. tongue

Offline

#223 2010-04-17 07:06:52

6Fman
Member
Registered: 2010-04-15
Posts: 3

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Whacath,
try memmap=0x800000$0x3f800000 tongue

Last edited by 6Fman (2010-04-17 07:07:37)

Offline

#224 2010-04-18 18:30:12

ypnos
Member
Registered: 2007-12-30
Posts: 58

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Just wanted to note that fit-pc2 people updated their repo to 10.3.1:
http://fit-pc2.com/download/ubuntu/dists/karmic/source/

Maybe we want to distill newer patch again? Or is flawless usage of stock 10.3.1 possible already? Could you elaborate on this a little bit more chris.griffith? Would be very helpful to me!

Offline

#225 2010-04-18 23:10:05

pie86
Member
Registered: 2009-09-06
Posts: 69

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

@ypnos: I downloaded the new patch and distilled the iegd driver...it seems to me that nothing has changed from the old patch:

[pie@xps 10_3_1_fitpc]$ diff -r linux-2.6.31.orig/drivers/gpu/drm/iegd/ ../10_3_fitpc/linux-2.6.31.orig/drivers/gpu/drm/iegd/
[pie@xps 10_3_1_fitpc]$

sad

Offline

Board footer

Powered by FluxBB