You are not logged in.

#376 2011-04-11 21:59:16

kookaburra
Member
Registered: 2011-04-07
Posts: 6

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I've got some errors when I want to rebuild the "psb-kmod" package ...

==> Lancement de build()...
patching file drm_agpsupport.c
patching file drm_edid.c
patching file drm_memory.c
patching file drm_vm.c
patching file Makefile.kernel
patching file drm_edid.c
patching file drm_os_linux.h
patching file drm_sysfs.c
patching file ati_pcigart.c
patching file drm_agpsupport.c
patching file drm_auth.c
patching file drm_bo.c
patching file drm_bo_lock.c
patching file drm_bo_move.c
patching file drm_bufs.c
patching file drm_context.c
patching file drm_crtc.c
patching file drm_crtc.h
patching file drm_dma.c
patching file drm_drawable.c
patching file drm_drv.c
patching file drm_edid.c
Hunk #10 succeeded at 321 (offset 2 lines).
Hunk #11 succeeded at 348 (offset 2 lines).
Hunk #12 succeeded at 393 (offset 2 lines).
Hunk #13 succeeded at 460 (offset 2 lines).
Hunk #14 succeeded at 471 (offset 2 lines).
Hunk #15 succeeded at 490 (offset 2 lines).
Hunk #16 succeeded at 501 (offset 2 lines).
Hunk #17 succeeded at 518 (offset 2 lines).
patching file drm_edid.h
patching file drm_fb.c
patching file drm_fence.c
patching file drm_fops.c
Hunk #5 succeeded at 313 (offset 1 line).
Hunk #6 succeeded at 332 (offset 1 line).
Hunk #7 succeeded at 346 (offset 1 line).
Hunk #8 succeeded at 373 (offset 1 line).
Hunk #9 succeeded at 387 (offset 1 line).
Hunk #10 succeeded at 395 (offset 1 line).
Hunk #11 succeeded at 423 (offset 1 line).
Hunk #12 succeeded at 449 (offset 1 line).
Hunk #13 succeeded at 466 (offset 1 line).
Hunk #14 succeeded at 487 (offset 1 line).
Hunk #15 succeeded at 513 (offset 1 line).
Hunk #16 succeeded at 524 (offset 1 line).
patching file drm.h
patching file drm_hashtab.c
patching file drm_ioc32.c
patching file drm_ioctl.c
patching file drm_irq.c
patching file drm_lock.c
patching file drm_memory.c
patching file drm_memory_debug.c
patching file drm_memory_debug.h
patching file drm_mm.c
patching file drm_modes.c
patching file drm_object.c
patching file drm_objects.h
patching file drm_pci.c
patching file drmP.h
patching file drm_proc.c
patching file drm_regman.c
patching file drm_scatter.c
patching file drm_sman.c
patching file drm_sman.h
patching file drm_stub.c
patching file drm_ttm.c
patching file drm_vm.c
patching file i915_buffer.c
patching file i915_dma.c
patching file i915_drv.c
patching file i915_fence.c
patching file i915_init.c
patching file i915_ioc32.c
patching file i915_irq.c
patching file i915_mem.c
patching file intel_crt.c
patching file intel_display.c
patching file intel_drv.h
patching file intel_fb.c
patching file intel_lvds.c
patching file intel_modes.c
patching file intel_sdvo.c
patching file psb_buffer.c
patching file psb_drv.c
patching file psb_drv.h
patching file psb_fb.c
patching file psb_fence.c
patching file psb_gtt.c
patching file psb_irq.c
patching file psb_mmu.c
patching file psb_msvdx.c
patching file psb_msvdxinit.c
patching file psb_regman.c
patching file psb_reset.c
patching file psb_scene.c
patching file psb_schedule.c
patching file psb_sgx.c
patching file psb_xhw.c
patching file intel_lvds.c
patching file psb_drv.c
patching file psb_drv.c
patching file psb_drv.c
Hunk #1 succeeded at 342 (offset 3 lines).
patching file psb_reset.c
patching file psb_schedule.c
patching file psb_sgx.c
patching file psb_xhw.c
patching file psb_drv.c
patching file drmP.h
patching file drm_drv.c
patching file i915_drv.c
patching file i915_ioc32.c
patching file psb_drv.c
Hunk #1 succeeded at 989 (offset 4 lines).
make -C /lib/modules/2.6.38-ARCH/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.38-ARCH »
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_auth.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_bufs.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_context.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_dma.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_drawable.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_drv.o
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_drv.c: In function ‘drm_core_init’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_drv.c:477:2: attention : #warning Init pat
In file included from /usr/src/linux-2.6.38-ARCH/arch/x86/include/asm/uaccess.h:571:0,
                 from include/linux/uaccess.h:5,
                 from include/linux/highmem.h:7,
                 from include/linux/pagemap.h:10,
                 from /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drmP.h:56,
                 from /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_drv.c:48:
In function ‘copy_from_user’,
    inlined from ‘psb_drm_unlocked_ioctl’ at /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_drv.c:651:21:
/usr/src/linux-2.6.38-ARCH/arch/x86/include/asm/uaccess_32.h:212:26: attention : call to ‘copy_from_user_overflow’ declared with attribute warning: copy_from_user() buffer size is not provably correct
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_fops.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_ioctl.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_irq.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_lock.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_memory.o
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_memory.c: In function ‘agp_remap’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_memory.c:266:16: attention : assignment from incompatible pointer type
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_proc.o
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_proc.c: In function ‘drm__vma_info’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_proc.c:595:2: attention : format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_stub.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_vm.o
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_vm.c: In function ‘drm_io_prot’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_vm.c:54:2: attention : #warning using pat
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_sysfs.o
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_sysfs.c:68:8: attention : initialization from incompatible pointer type
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_sysfs.c: In function ‘drm_sysfs_device_add’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_sysfs.c:160:9: attention : unused variable ‘j’
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_sysfs.c:160:6: attention : unused variable ‘i’
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_pci.o
  CC [M]  /tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_agpsupport.o
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_agpsupport.c: In function ‘drm_agp_populate’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_agpsupport.c:527:33: attention : assignment makes pointer from integer without a cast
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_agpsupport.c: In function ‘psb_drm_agp_flush_chipset’:
/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_agpsupport.c:647:2: erreur: implicit declaration of function ‘agp_flush_chipset’
make[2]: *** [/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source/drm_agpsupport.o] Erreur 1
make[1]: *** [_module_/tmp/yaourt-tmp-dimi/aur-psb-kmod/src/psb-kernel-source] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.38-ARCH »
make: *** [modules] Erreur 2
==> ERREUR: Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire psb-kmod.

This new kernel have broken something ... We have to wait for an patch for it !


Edit : when the kernel was update from linux-2.6.36-ARCH to linux-2.6.37-ARCH, it is also broken ... See the commentaries in AUR : http://aur.archlinux.org/packages.php?ID=31992

Comment by: Jonhoo on Tue, 08 Feb 2011 13:29:27 +0000
Seems as though it no longer compiles with the latest kernel?
I get the following output:
...
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c:120:2: warning: #warning Init pat
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c: In function 'psb_driver_unload'
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c:403:2: warning: #warning Init pat
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c: In function 'psb_driver_load'
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c:687:2: warning: #warning Init pat
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c: In function 'psb_resume'
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c:806:2: warning: #warning Init pat
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c: At top level:
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c:992:4: error: unknown field 'ioctl' specified in initializer
/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.c:992:4: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source/psb_drv.o] Error 1
make[1]: *** [_module_/tmp/yaourt-tmp-jon/aur-psb-kmod/src/psb-kernel-source] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37-ARCH'
make: *** [modules] Error 2    

Comment by: partizan on Tue, 08 Feb 2011 13:50:12 +0000
i've added patch. now it builds fine. test it please and tell me if it works :)    

Comment by: Jonhoo on Tue, 08 Feb 2011 14:21:18 +0000
Works great, thanks!

Last edited by kookaburra (2011-04-11 22:05:40)

Offline

#377 2011-04-15 06:12:47

dergachev
Member
Registered: 2009-10-19
Posts: 10

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Having the same compiling problems now.

Offline

#378 2011-04-15 07:02:12

kookaburra
Member
Registered: 2011-04-07
Posts: 6

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

http://aur.archlinux.org/packages.php?ID=31992

The maintainer of the package psb-kmod said :

Commenté par: partizan sur Tue, 12 Apr 2011 04:42:04 +0000

    yes, we need smile but i can't test it right now, maybe after week or two. someone can modify PKGBUILD, test it and post here link to pastebin.

Commenté par: markelos sur Mon, 11 Apr 2011 22:29:40 +0000

    Partizan, maybe we need a patch for .38?

Just have to be patient ;-)

Offline

#379 2011-04-27 09:00:49

monotiz
Member
Registered: 2007-10-20
Posts: 134

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hi,
somebody can help me to install the psb-gfx?
http://ubuntuforums.org/showpost.php?p= … count=3599

after "make install" what I have to do?

Thanks.

Offline

#380 2011-05-01 19:25:10

partizan
Member
From: Ukraine
Registered: 2010-09-23
Posts: 28

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

monotiz wrote:

Hi,
somebody can help me to install the psb-gfx?
http://ubuntuforums.org/showpost.php?p= … count=3599

after "make install" what I have to do?

Thanks.

after "make install" you need to add psb_gfx to MODULES in mkinitcpio.conf and rebuild initrd image with mkinitcpio -p your-kernel-name

also, you can install psb-gfx-bzr from aur (and repeat magick with mkinitcio)

Offline

#381 2011-05-01 21:30:49

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Just letting you know, guys from ubuntu registered an irc channel for gma500 smile
#gma500 on freenode
http://ubuntuforums.org/showpost.php?p= … count=3819

Offline

#382 2011-05-02 14:53:47

monotiz
Member
Registered: 2007-10-20
Posts: 134

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

partizan wrote:
monotiz wrote:

Hi,
somebody can help me to install the psb-gfx?
http://ubuntuforums.org/showpost.php?p= … count=3599

after "make install" what I have to do?

Thanks.

after "make install" you need to add psb_gfx to MODULES in mkinitcpio.conf and rebuild initrd image with mkinitcpio -p your-kernel-name

also, you can install psb-gfx-bzr from aur (and repeat magick with mkinitcio)

Many thanks.
I've installed the psb-gfx-brz package. Now I've the KMS but youtube and video playback still unusable.

Offline

#383 2011-05-14 16:24:46

partizan
Member
From: Ukraine
Registered: 2010-09-23
Posts: 28

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

monotiz wrote:

Many thanks.
I've installed the psb-gfx-brz package. Now I've the KMS but youtube and video playback still unusable.

try to use mplayer -vo gl, for me videos plays good (except for HD)

Offline

#384 2011-05-15 16:13:03

kingguru
Member
From: Copenhagen, Denmark
Registered: 2011-01-19
Posts: 16
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hi all,

I currently do not have a working X installation on my fit-pc2 with the Poulsbo chipset because of the changes in the kernel interface kookaburra has already mentioned.

Just wondering, does anyone actually have a working Arch installation with this chipset using kernel 2.6.38 and if so, how have you managed that? I think I have tried pretty much all the instructions I've been able to find.

Should I just be patient and wait for the package maintainer to update the package or, even better, for Alan Cox to write a proper kernel driver :-)

Thanks.

Offline

#385 2011-05-15 20:45:02

sergeykish
Member
Registered: 2010-07-18
Posts: 14

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hello,

I've downgraded back to kernel26 2.6.35.8-1 and psb-kmod 4.41.1-3

$ pacman -Qs kernel26
local/kernel26 2.6.35.8-1 (base)
    The Linux Kernel and modules
local/kernel26-headers 2.6.35.8-1
    Header files and scripts for building modules for kernel26
$ pacman -Qs poulsbo
local/libdrm-poulsbo 2.3.4-1
    DRM(Direct Rendering Manager) runtime library for Poulsbo
local/psb-firmware 0.30-1
    Binary firmware for the Poulsbo (psb) 3D X11 driver
local/psb-kmod 4.41.1-3
    Kernel module for Poulsbo(GMA500) graphics chipsets
local/xorg-x11-drv-psb-bzr 5-2 (poulsbo)
    Poulsbo driver
local/xpsb-glx 0.18-3
    X11 drivers for Poulsbo (psb) 3D acceleration

Offline

#386 2011-05-15 21:33:56

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

kingguru wrote:

Hi all,

I currently do not have a working X installation on my fit-pc2 with the Poulsbo chipset because of the changes in the kernel interface kookaburra has already mentioned.

Just wondering, does anyone actually have a working Arch installation with this chipset using kernel 2.6.38 and if so, how have you managed that? I think I have tried pretty much all the instructions I've been able to find.

Should I just be patient and wait for the package maintainer to update the package or, even better, for Alan Cox to write a proper kernel driver :-)

Thanks.

EIther downgrade to .37 and install the current driver in aur or compile .39rc and install psb-gfx-bzr (https://aur.archlinux.org/packages.php?ID=48634).
We have to make some wiki changes. I'll look into it tomorrow.

Offline

#387 2011-05-16 17:58:15

kingguru
Member
From: Copenhagen, Denmark
Registered: 2011-01-19
Posts: 16
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Thanks to both of you for your quick and helpful replies.

I'll try maevius suggestion and experiment with the rc kernel and the psb-gfx-daily driver and see how that works out. I'm not really using the box for anything useful at the moment, since it's connected to my TV and not really that useful without a working X driver, so I'm willing to make experiments. Let me know if there's anything I can do to help.

Good idea to make the wiki changes, thanks for that.

Offline

#388 2011-05-23 01:38:52

triumphguy
Member
From: Alabama, USA
Registered: 2010-12-26
Posts: 31

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Any idea when the 39 Kernel will be released to stable repositories?

Offline

#389 2011-05-25 01:56:23

KaNe23
Member
Registered: 2011-05-25
Posts: 1

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hi, i tried the .39 kernel from the testing reposetory and the psb_gfx driver. So far it looks fine and the module loads.
The only problem is, that the standart vesa poulsbo EDID or whatever, only has some 4:3 resolutions and force a 1024x... resolution.
I tried everything, i cant override this default resolution.

"IgnoreEDID" and "UseEDID" "false" all this stuff don't work... how can i force a widescreen resolution?

Thanks, KaNe23.

Last edited by KaNe23 (2011-05-25 01:58:02)

Offline

#390 2011-05-26 09:53:35

infestator
Member
From: Russia, SPb
Registered: 2008-03-22
Posts: 12

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

hi Guys!

I have succeeded in installing Intel EMGD on 2.6.38 kernel (current stable) and X downgraded to 1.9. But i have not achieved any acceleration. Can anybody help me with this?
as far as I understand, it is required to configure VAAPI libraries somehow, but I can't find out how. I have read that EMGD drivers should provide 2D/3D and hardware 720p HD video decoding.

thanks!

Offline

#391 2011-05-27 10:27:19

infestator
Member
From: Russia, SPb
Registered: 2008-03-22
Posts: 12

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

hi!

I have a small progress: my 2D/3D works well, I have not tested VAAPI yet. Acceleration did not worked because there was no EMGD DRI library in X modules.
There are following issues:
1. gnome-shell crashes when I try to move mouse into left/right upper conner or click on any applet
2. Chromium-BSU crashed when I tried to switch resolution in windowed mode
3. (minor one) i could not get native resolution on text console.
4. If I modprobe/insmod emgd kernel module with init=1 parameter it blanks my screen and I can't see anything until GDM starts or 'rmmod emgd'. After GDM starts the first console contains artifacts.
I have modified module source slightly for 2.6.38 kernel, but I think that it should not lead to not properly working kernel module (pt.4). I have modified just one line which was regarding some error check. The function in 2.6.38 don't return error code but in earlier version does. I have commented error check and removed assignment to void value.

Last edited by infestator (2011-05-27 10:27:39)

Offline

#392 2011-05-27 10:52:32

kingguru
Member
From: Copenhagen, Denmark
Registered: 2011-01-19
Posts: 16
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hi again,

Just an update on my progress. I've tried to install the 2.6.39 kernel from testing, as well as compiling the kernel26-mainline from AUR. Both without success. The kernel boots fine, but a few seconds after starting init, the screen simply goes blank. I suspect that it is related to the new kernel GMA500 module, but it's hard for me to investigate any further since I cannot make contact to the machine. For some, perhaps unrelated reason, the network doesn't start up either.

I can of course boot the box from a live USB stick and try to trace the problems that way, but I don't really have a clue as to where to look.

I've tried blacklisting the module in rc.conf, but that doesn't make any difference.

Hope it's not too off-topic, but does anyone have any ideas on where to go from here? I would of course like to report something back to the kernel developers, if I could find anything useful. I wouldn't expect the problem I'm experiencing to magically disappear once 2.6.39 goes out of testing.

Thanks.

Offline

#393 2011-05-28 14:18:24

infestator
Member
From: Russia, SPb
Registered: 2008-03-22
Posts: 12

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I have installed e17 for now. Tried compositing window manager with opengl engine. It says that my system does not support it. Can't understand why.
I have tested 720p video acceleration with mplayer. Works ok, plays perfectly! Flash video starts to lack on 360p (fullscreen), and 480p windowed; no acceleration here.
warzone2100 and gnome3 fails when any opengl activity occurs. chromium-bsu works well; i think it has software renderer fallback, because it does not support native resolution (1024x600).
sometimes there is bug with resolution in login manager (gdm/elsa): it shows lower resolution (not 1024x600) however there is off-screen area. It seems like display thinks that it is 1024x300 and shows only 300 first lines of screen, but videocard also renders another 1024x300 pixels below that display area.

Offline

#394 2011-05-29 10:46:59

infestator
Member
From: Russia, SPb
Registered: 2008-03-22
Posts: 12

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Sorry Guys, I was wrong regarding acceleration of HD video. But it plays ok. Mplayer with vaapi compiled in does not show anything sad
So for now I've achieved 2D acceleration only

Offline

#395 2011-05-31 08:11:44

infestator
Member
From: Russia, SPb
Registered: 2008-03-22
Posts: 12

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

hi All,
the progress for now:
* 2D acceleration works great
* 3D acceleration works partially: Chromium-BSU, Xmoto, OpenArena run well, Gnome-shell fails
* Hardware video decoding 720p/1080p works great with CPU load about 20-40% depending on video
I have used the latest EMGD driver from Launchpad GMA500 project. (X downgraded to 1.9.0-1)

Offline

#396 2011-05-31 08:16:28

monotiz
Member
Registered: 2007-10-20
Posts: 134

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

infestator wrote:

hi All,
the progress for now:
* 2D acceleration works great
* 3D acceleration works partially: Chromium-BSU, Xmoto, OpenArena run well, Gnome-shell fails
* Hardware video decoding 720p/1080p works great with CPU load about 20-40% depending on video
I have used the latest EMGD driver from Launchpad GMA500 project. (X downgraded to 1.9.0-1)

Nice work! Can you tell us how to install the EMGD driver ASAP? Thank you.

Offline

#397 2011-05-31 09:28:20

infestator
Member
From: Russia, SPb
Registered: 2008-03-22
Posts: 12

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

The following packages are required from Launchpad GMA500 project

I have performed the following steps:

  1. extract & 'make && make install' kernel module (nothing was required to perform, you may need to install kernel headers if they are not installed already)

  2. extract xorg-emgd somewhere. Put file with the following rules:

        xorg-emgd.tar.gz/lib/* --> /usr/lib
        xorg-emgd.tar.gz/lib/dri/emgd_video_drv.so --> /usr/lib/dri
        xorg-emgd.tar.gz/lib/dri/emgd_dri.so --> /usr/lib/xorg/modules/dri
        xorg-emgd.tar.gz/lib/drivers/emgd_drv.so --> /usr/lib/xorg/modules/drivers
        xorg-emgd.tar.gz/etc/powervr.ini --> /etc # not sure this is required :)
        xorg-emgd.tar.gz/man/emgd4.gz --> /usr/share/man/man4
  3. extract 'emgd-xorg-conf*.tar.gz' somewhere and find emgd-xorg-conf.py script there. Replace first line with '#!/usr/bin/python2', then 'chmod +x <it>' and execute. it will generate xorg.conf for your netbook. I am not sure all netbooks are supported, but for my T91MT it generated working xorg.conf. You may need to edit xorg.conf depending on your needs (e.g. if you're using /etc/X11/xorg.conf.d config, you may want to split generated file)

Some notes:

  • Gnome shell causes segfaults, I was not able to launch Warzone2000 because it misses a resource, OpenArena runs great at maximum graphics level.

  • To enable VAAPI you will just need to '# pacman -S mplayer-vaapi' from community repo and then '$ mplayer -vo vaapi hdvideo_file.mkv'. I've tested on 'Big Buck Bunny' and noticed some artifacts appearing during playback; not disturbing. 720p also plays well with VAAPI.

  • If you're using gnome, you may need to enable fallback mode in 'gnome-control-center->system info'. If you wish transparent gnome terminal, you can set compositing window managed property to true in metacity properties from gconf-editor.

That's all :) good luck!

Maybe I will have time on this week to make PKGBUILD to contribute packages to AUR.

Offline

#398 2011-06-01 14:05:10

Hailstorm
Member
Registered: 2009-08-26
Posts: 11

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I installed the 2.6.39 kernel from testing, psb-gfx-bzr from aur and followed the instructions during install (including the step that refers to the wiki). The modules load perfectly and I have native resolution but the screen starts flickering a few seconds after booting up. It doesn't matter if i start X or not, the same thing happens anyway. Also, xrandr --verbose seems to only return the resolution correctly, the rest of the values are 0s. Anyone else experiencing this issue?
(I have an 1101HA)

Last edited by Hailstorm (2011-06-01 14:06:42)

Offline

#399 2011-06-04 08:40:09

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 134
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

You sure have progressed guys! I am stuck with .37 and haven't tried anything new yet.

@infestator, if you provide a PKGBUILD it would be awesome!

@Hailstorm, I have the same netbook, but as I said I haven't tried neither psb-gfx/.39 nor the emgd driver yet...

Offline

#400 2011-06-05 20:12:07

synorgy
Member
From: $HOME
Registered: 2005-07-11
Posts: 272
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I also have the 1101HAB - Installed 2.6.39 from testing and psb-gfx-bzr from AUR and everything's working well again.

Hailstorm - Anything in Xorg's log file? Also check the refresh rate and color depth of the screen - I don't think that's what the problem is, but you might catch a break big_smile


"Unix is basically a simple operating system, but you have to be a genius to understand the simplicity." (Dennis Ritchie)

Offline

Board footer

Powered by FluxBB