You are not logged in.
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 Thanks again for your binary
Last edited by maevius (2010-10-28 09:10:18)
Offline
maevius, you don't need xorg-server-dev, you need xorg-server-devel (it already included in dependencies for xorg-x11-drv-psb)
Offline
maevius, you don't need xorg-server-dev, you need xorg-server-devel (it already included in dependencies for xorg-x11-drv-psb)
Yeah I figured that out when I installed it from extra
Offline
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
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
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
But why cannot I get accelaration ? Are there any problem in my Xorg.0.log ?
Offline
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
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
Last edited by maevius (2010-10-29 12:01:58)
Offline
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
Thanks a lot man you're a saver. I'll update the wiki as well
You may want to change your makepkg.conf in order to build .xz files instead of .gz
See at the end of /etc/makepkg.conf
BUILDSCRIPT="PKGBUILD"
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.xz'
Offline
Thanks, changed extensions) and thanks for updating the wiki)
Offline
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
good news
i've updated libva-freeworld, now it uses ubuntu sources/patches and fixes, and we can use it with mplayer-vaapi included in community
Offline
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
on my eeepc 1201HA suspend to ram working, but sometimes after resuming all hangs or segfaults xorg.
Offline
Thanks again partizan
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
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
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
with compiz enabled 150-180, without 190-200
Offline
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
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
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
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
"drmOpenDevice: open result is -1", seems like you not in group 'video', right?
Last edited by partizan (2010-11-05 07:40:40)
Offline