You are not logged in.

#326 2010-10-28 09:01:48

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

partizan wrote:

are you building this package with xorg-1.9?
you can try my binary package http://dl.dropbox.com/u/2162921/package … pkg.tar.gz

So after upgrading to xorg-1.9 I still had errors building the new driver. Using your precompiled binary worked. I don't know what's wrong with my machine, it even couldn't compile xorg-server-dev from AUR... Is it maybe because I use a custom kernel??? Anyways, I saw you commited today new versions of libdrm-poulsbo, xpsb-glx and xorg-x11-drv-psb smile Thanks again for your binary wink

Last edited by maevius (2010-10-28 09:10:18)

Offline

#327 2010-10-28 09:30:04

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

maevius, you don't need xorg-server-dev, you need xorg-server-devel (it already included in dependencies for xorg-x11-drv-psb) wink

Offline

#328 2010-10-28 10:24:14

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

partizan wrote:

maevius, you don't need xorg-server-dev, you need xorg-server-devel (it already included in dependencies for xorg-x11-drv-psb) wink

Yeah I figured that out when I installed it from extra big_smile

Offline

#329 2010-10-29 02:50:54

seeking
Member
Registered: 2009-08-25
Posts: 22

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I noticed that the new version of libdrm-poulsbo does not conflict with libdrm any more. However, it put the file of version information libdrm-poulsbo.pc into the directory /usr/lib/, while I think maybe it should be put in /usr/lib/pkgconfig. When I tried to yaourt the newest xorg-x11-drv-psb, it does work and says I have no libdrm-poulsbo in the $PKG_CONFIG_PATH. I copied the file libdrm-poulsbo.pc from /usr/lib/ and it works.

X works well. glxgears gives about 90 fps. I did not install compiz, but xcompmgr does not work. Can anyone play HD video?

grep EE /var/log/Xorg.0.log gives the following results:

[   126.678] Current Operating System: Linux Arch 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 07:17:20 UTC 2010 i686
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   127.083] (II) Loading extension MIT-SCREEN-SAVER
[   127.315] (EE) PSB(0): the stolenBase is:0x3f800000
[   127.316] (EE) PSB(0): screnIndex is:0;fbPhys is:0x3f800000; fbsize is:0x007bf000
[   128.164] (EE) PSB(0): First SDVO output reported failure to sync or input is not trainded!!!
[   128.860] (EE) PSB(0): has_fbdev is true
[   132.688] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[   132.696] (EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"
[   133.056] (EE) SynPS/2 Synaptics TouchPad no synaptics event device found
[   133.091] (EE) Query no Synaptics: 6003C8
[   133.092] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[   133.130] (EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"
[   176.987] (EE) PSB(0): has_fbdev is true
[   178.008] (EE) PSB(0): First SDVO output reported failure to sync or input is not trainded!!!

grep Accel /var/log/Xorg.0.log gives the following results:

[   127.392] (II) PSB(0): VESA VBE OEM: Intel(r)Poulsbo Graphics Chip Accelerated VGA BIOS
[   128.749] (WW) PSB(0): Option "AccelMethod" is not used
[   132.381] (**) touchpad: AccelFactor is now 0.035

Last edited by seeking (2010-10-29 02:57:50)

Offline

#330 2010-10-29 06:45:55

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Seems like i forgot to move libdrm-poulsbo.pc in right place) fixed and updated.

For playing HD video, in theory we just need to install mplayer-vaapi (library for video acceleration already included in xpsb-drv), but in practice, that library compiled with old libva. So, we need to install libva-freeworld from fedora(available in AUR) after that our mplayer-vaapi can't find libva.so.1, recompiling from sources fixes it. and now we can try to play video. Unfortunately i can't play HD with this, but other video plays good.

Offline

#331 2010-10-29 07:16:24

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

wow, i just forgot to add -va vaapi, now HD video plays without stuttering, but with no sound O.o and some video artifacts.

edit: without sound, because of mplayer try to use oss by default. with alsa sound works good.

Last edited by partizan (2010-10-29 07:25:32)

Offline

#332 2010-10-29 10:30:20

seeking
Member
Registered: 2009-08-25
Posts: 22

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

But why cannot I get accelaration ? Are there any problem in my Xorg.0.log ?

Offline

#333 2010-10-29 11:07:49

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

seeking wrote:

But why cannot I get accelaration ? Are there any problem in my Xorg.0.log ?

show output of
mplayer -vo vaapi -va vaapi videofile.avi

Offline

#334 2010-10-29 11:59:31

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

partizan wrote:

For playing HD video, in theory we just need to install mplayer-vaapi (library for video acceleration already included in xpsb-drv), but in practice, that library compiled with old libva. So, we need to install libva-freeworld from fedora(available in AUR) after that our mplayer-vaapi can't find libva.so.1, recompiling from sources fixes it. and now we can try to play video. Unfortunately i can't play HD with this, but other video plays good.

So in order to have hardware accelaration, we must first install libva-freeworld and then build xorg-x11-drv-psb? Could you please provide all the binaries of the driver? Also please post your xorg.conf, I've been having tearing while I move windows and can't figure out what's wrong. Thanks wink

Last edited by maevius (2010-10-29 12:01:58)

Offline

#335 2010-10-29 12:58:22

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

In order to have video acceleration, we must
1. install xorg-x11-drv-psb
2. install libva-freeworld
3. rebuild mplayer-vaapi

my xorg.conf: http://pastebin.com/5iV9jRYu

all the binaries of the driver?
http://dl.dropbox.com/u/2162921/package … pkg.tar.gz
http://dl.dropbox.com/u/2162921/package … pkg.tar.gz
http://dl.dropbox.com/u/2162921/package … pkg.tar.gz

Offline

#336 2010-10-29 15:37:18

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Thanks a lot man you're a saver. I'll update the wiki as well smile
You may want to change your makepkg.conf in order to build .xz files instead of .gz wink
See at the end of /etc/makepkg.conf

BUILDSCRIPT="PKGBUILD"
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.xz'

Offline

#337 2010-10-29 16:04:00

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Thanks, changed extensions) and thanks for updating the wiki)

Offline

#338 2010-10-30 11:54:38

hsan
Member
Registered: 2010-10-30
Posts: 4
Website

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Thank you for the work you've done on getting these drivers to Arch! Just installed them on my netbook, works like a charm!

Offline

#339 2010-10-31 14:12:22

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

good news wink
i've updated libva-freeworld, now it uses ubuntu sources/patches and fixes, and we can use it with mplayer-vaapi included in community smile

Offline

#340 2010-10-31 14:23:57

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I've got the xorg-x11-drv-psb driver working, and I'm very thankful for that.

But has anyone got suspend-to-ram / standby working?  This is the only reason I still primarily use Windows (I use a pocketable UMPC which has the GMA500, so instant-on is essential).

When I type:

<code>sudo pm-suspend</code>

the screen shuts off, the power LED remains constant (it's supposed to intermittently blink on and off when in standby), and pressing the power button has no effect (I have to force it to shutdown by holding the button in for 5 seconds or so).

Offline

#341 2010-10-31 14:36:45

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

on my eeepc 1201HA suspend to ram working, but sometimes after resuming all hangs or segfaults xorg.

Offline

#342 2010-10-31 15:40:18

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Thanks again partizan smile
I'm still having problems, tearing when I move windows and evrything mplayer plays flickers. I have installed libva-freeworld, rebuilt mplayer-vaapi and now I have to run
mplayer -vo vaapi -va vaapi for every file, even for the simplest avi. Hibernation works for me. I use this script.

Last edited by maevius (2010-10-31 15:43:02)

Offline

#343 2010-10-31 16:49:23

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

for mplayer you can add to ~/.mplayer/config
vo=vaapi
va=vaapi

also, do you use compiz? when i plays video with compiz and move/resize window, i have flickering too.

Offline

#344 2010-10-31 17:02:14

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Nope, I have only openbox installed. I don't know what's causing this.
Setting

Option "ShadowFB" "true"

to xorg.conf reduces the window tearing.

Question: How many frames do you get while running glxgears?

Last edited by maevius (2010-10-31 17:35:35)

Offline

#345 2010-11-02 18:28:38

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

with compiz enabled 150-180, without 190-200

Offline

#346 2010-11-03 18:36:31

seeking
Member
Registered: 2009-08-25
Posts: 22

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I reinstalled the whole Arch system and yaourt the psb driver. But I can only get the glxgear points about 90 fps. The xcompmgr does not work and the mplayer can only work in X11 mode even when playing the simplest avi videos (not HD). I installed mplayer-vaapi from binary package. I don't know how to get its PKGBUILD so I did not complie it.

My laptop is Acer 751h. Anyway, thanks a lot, at least the basic functions of X works well.

grep EE /var/log/Xorg.0.log:

[   447.653] Current Operating System: Linux Arch 2.6.35-ARCH #1 SMP PREEMPT Sat Oct 30 19:57:05 UTC 2010 i686
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   447.670] (II) Loading extension MIT-SCREEN-SAVER
[   447.739] (EE) PSB(0): the stolenBase is:0x3f800000
[   447.739] (EE) PSB(0): screnIndex is:0;fbPhys is:0x3f800000; fbsize is:0x007bf000
[   448.347] (EE) PSB(0): First SDVO output reported failure to sync or input is not trainded!!!
[   448.775] (EE) PSB(0): has_fbdev is true
[   451.560] (EE) SynPS/2 Synaptics TouchPad no synaptics event device found
[   451.595] (EE) Query no Synaptics: 6003C8
[   451.595] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[   451.633] (EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"

'mplayer -vo vaapi -va vaapi HDvideo' only sounds, with no video.

Offline

#347 2010-11-03 19:59:12

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

now, you don't need to compile mplayer, libva-freeworld is compiled in compatibility mode.
show your xorg.conf, check if you're in group 'video' (if you have Group 'video' in xorg.conf dri section)

also, my Xorg.0.log looks very similar

Offline

#348 2010-11-04 05:52:54

seeking
Member
Registered: 2009-08-25
Posts: 22

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Wow! It is really good after I add user to video group! glxgears gives about >220 fps.

'mplayer -vo vaapi -va vaapi HDvideo' works well, but OSD is wrong at fullscreen mode and at the maximized window, while works ok when the mplayer window is normal.

The xv mode of mplayer does not work.

Some video files do not perform well with '-vo vaapi -va vaapi' while well with '-vo vaapi'.

xcompmgr could give shadow to windows but cannot makde the Terminal transparent which I really like. [:(]

Offline

#349 2010-11-04 23:57:38

cswetenham
Member
Registered: 2010-10-22
Posts: 7

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I tried removing the packages from AUR and then reinstalling the latest versions. I still get the error "drmOpenDevice: open result is -1". I am using /etc/X11/xorg.conf.d/ with several 10-something.conf files rather than a single xorg.conf since that was recommended on the wiki. I have tried removing my 10-monitors.conf file, and this just defaults to vesa; I have tried using the one partizan posted to pastebin, and I get the same error still. Is there anything else I could try?

Offline

#350 2010-11-05 07:39:48

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

"drmOpenDevice: open result is -1", seems like you not in group 'video', right?

Last edited by partizan (2010-11-05 07:40:40)

Offline

Board footer

Powered by FluxBB