You are not logged in.

#51 2009-09-07 09:54:50

lavataucher
Member
Registered: 2009-08-27
Posts: 4

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar wrote:

during that time I suggest you use uvesafb unless you want to experiment on this driver.

Do i get some performance benefits if i switch to uvesafb?

Offline

#52 2009-09-07 11:33:19

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

lavataucher wrote:

Do i get some performance benefits if i switch to uvesafb?

No if you experience no issue with poulsbo driver, you'll have no benefit from uvesafb.

I only changed to it because I have stability issues with the poulsbo driver.
It is probably linked to the fact I have 2GB ram (according to other comments).

I hope intel will release an updated driver that fixes the libdrm issues as well as the stability.
If only they could open source this driver, it would ensure it keeps being updated...

Offline

#53 2009-09-07 17:47:11

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

The thing that really bothers me about all of this is that Intel could release the 2D driver today. They have it, they wrote it, they could get it pushed through freedesktop.org fairly quickly. It would be great to have full 3D and hardware acceleration, but I don't get that with uvesafb anyway.

Offline

#54 2009-09-07 19:08:55

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I'm slowly working on x11 psb driver. I'm glad to report that i have at least one significant progress - now i can turn backlight as dark as in windows. I'll post PKGBUILD's as soon as arrive home (now i'm writing exactly from sony vaio p smile )
Also i'll share some experience - now psb working quite fine for me after small tuning

Last edited by xanf (2009-09-07 19:10:13)

Offline

#55 2009-09-08 06:25:26

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

xanf wrote:

I'm slowly working on x11 psb driver. I'm glad to report that i have at least one significant progress - now i can turn backlight as dark as in windows. I'll post PKGBUILD's as soon as arrive home (now i'm writing exactly from sony vaio p smile )
Also i'll share some experience - now psb working quite fine for me after small tuning

Regarding the brightness are you refering to /sys/class/backlight/psblvds/brightness ? using this I can tune the brightness as needed.

I can't wait to have your tuning to try on my side as well.
But I have little hope since I am almost sure my issue is linked to the 2GB ram...

I look forward hearing from you.

Offline

#56 2009-09-08 08:06:09

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar wrote:
xanf wrote:

I'm slowly working on x11 psb driver. I'm glad to report that i have at least one significant progress - now i can turn backlight as dark as in windows. I'll post PKGBUILD's as soon as arrive home (now i'm writing exactly from sony vaio p smile )
Also i'll share some experience - now psb working quite fine for me after small tuning

Regarding the brightness are you refering to /sys/class/backlight/psblvds/brightness ? using this I can tune the brightness as needed.

I can't wait to have your tuning to try on my side as well.
But I have little hope since I am almost sure my issue is linked to the 2GB ram...

I look forward hearing from you.

I'm running 2GB too smile
in next 12 hours - on my long way to home from another town.
For brightness - just check - brightness level 0 is the same as brightness level 20?

Offline

#57 2009-09-08 08:24:45

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

xanf wrote:

For brightness - just check - brightness level 0 is the same as brightness level 20?

I must admit I have difficulties to see differences between brightness levels, I only see it when changing from 0 to 50 or 40 to 80.
Maybe there is an issue with that if that's what you mean.

Does your X server run properly for an hour ? with firefox running ? with composite enabled ?

Offline

#58 2009-09-08 08:51:47

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar wrote:
xanf wrote:

For brightness - just check - brightness level 0 is the same as brightness level 20?

I must admit I have difficulties to see differences between brightness levels, I only see it when changing from 0 to 50 or 40 to 80.
Maybe there is an issue with that if that's what you mean.

Does your X server run properly for an hour ? with firefox running ? with composite enabled ?

I'm running composite (xcompmgr, since i'm not using kde/gnome and don't like compiz) with opera and firefox for all day smile
I had a weird trouble - firefox from repos was crashing with SIGBUS immediately on start, but bin32-firefox from AUR works like a charm

Offline

#59 2009-09-10 07:01:36

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

xanf wrote:

I'll post PKGBUILD's as soon as arrive home

Any news ? I would be happy to test your builds wink

Offline

#60 2009-09-11 19:37:00

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Try this packages:
http://xanf.org.ua/ol/arch/psb-kernel-m … pkg.tar.gz
http://xanf.org.ua/ol/arch/xorg-x11-drv … pkg.tar.gz

You need to append parameter mem=2016MB to your kernel boot line in menu.lst (if you use grub)
For example my boot line looks like:

kernel /vmlinuz26 root=/dev/disk/by-uuid/30d0888f-5349-4162-b2e3-b44fbcafb25e ro mem=2016MB resume=/dev/sda5

and my xorg.conf (relevant part) looks like:

Section "Device"
    #Option     "ShadowFB"
    Option     "IgnoreACPI" "true"
    Option "AccelMethod" "EXA" 
    Option "MigrationHeuristic" "greedy"
    Identifier  "Card0"
    Driver      "psb"
    VendorName  "Intel Corporation"
    BoardName   "System Controller Hub (SCH Poulsbo) Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

If you want to have a top 2D perfomance but with no 3D - uncomment ShadowFB line.

Offline

#61 2009-09-14 07:40:30

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

xanf wrote:

Try this packages:
http://xanf.org.ua/ol/arch/psb-kernel-m … pkg.tar.gz
http://xanf.org.ua/ol/arch/xorg-x11-drv … pkg.tar.gz

You need to append parameter mem=2016MB to your kernel boot line in menu.lst (if you use grub)
For example my boot line looks like:

kernel /vmlinuz26 root=/dev/disk/by-uuid/30d0888f-5349-4162-b2e3-b44fbcafb25e ro mem=2016MB resume=/dev/sda5

and my xorg.conf (relevant part) looks like:

Section "Device"
    #Option     "ShadowFB"
    Option     "IgnoreACPI" "true"
    Option "AccelMethod" "EXA" 
    Option "MigrationHeuristic" "greedy"
    Identifier  "Card0"
    Driver      "psb"
    VendorName  "Intel Corporation"
    BoardName   "System Controller Hub (SCH Poulsbo) Graphics Controller"
    BusID       "PCI:0:2:0"
EndSection

If you want to have a top 2D perfomance but with no 3D - uncomment ShadowFB line.

I'll try that tonight.
Would you mind posting the sources for your packages ?

Offline

#62 2009-09-14 17:55:51

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar wrote:

I'll try that tonight.
Would you mind posting the sources for your packages ?

Yep. Just want to fine tune it, for example to make drm.so from psb-kernel load earlier than normal drm.so without any magic.

Offline

#63 2009-09-15 07:44:20

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I just tried with xanf xorg.conf settings still using my own PKGBUILD and it works better. Scrolling now smooth in firefox.
I have also updated all my packages to the latest versions, so maybe the enhancement is linked to that as well.
I tried setting mem=2016M, but it did not change anything so I reverted to the default.

So for me now the drivers looks ok, at least I have smooth 2D and 3D is working (200fps with glxgears).

The libdrm.so conflist still exists, my package replaces the existing libdrm, so it requires some gymnastic as you need to reinstall it after each system update... That's annoying but I haven't found a way to fix it properly since the binary intel driver uses it. Porting the intel libdrm poulsbo patch to the latest libdrm could be an option, but I have no time to play with that. Maybe xanf will have more luck wink

Enjoy your poulsbo wink

Offline

#64 2009-09-15 08:00:36

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar, just interested - what is the system you are running?
My best result is ~50fps with glxgears on my sony vaio p

Offline

#65 2009-09-15 11:19:42

ixar
Member
Registered: 2009-06-04
Posts: 25

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

xanf wrote:

ixar, just interested - what is the system you are running?
My best result is ~50fps with glxgears on my sony vaio p

I have an Acer Aspire 751h with a 1366x768 screen resolution which may explain the fps difference.

In the past I had a lot of variation in the glxgears fps results, now that I update Arch and added your options in xorg.conf,
it is stable even after a few hours. So that's perfect for me, I'll keep this driver as is smile

Offline

#66 2009-09-15 11:46:36

frenchy
Member
From: France
Registered: 2008-10-14
Posts: 10

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Nice men, I'll try to install Arch on my eeepc 1101 as soon as possible!

Offline

#67 2009-09-15 17:50:10

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar wrote:

In the past I had a lot of variation in the glxgears fps results, now that I update Arch and added your options in xorg.conf,
it is stable even after a few hours. So that's perfect for me, I'll keep this driver as is smile

I'm happy to hear that smile

Offline

#68 2009-09-16 19:15:41

xanf
Member
Registered: 2009-09-07
Posts: 8

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hi, ixar
I suggest you to merge this patch in your xserver-xorg-video-psb package.
This fix allows to set backlight as dark as in windows, which sometimes in useful when working on battery:

---  xserver-xorg-video-psb-0.31.0_old/src/psb_lvds.c    2009-04-17 21:22:25.000000000 +0300
+++  xserver-xorg-video-psb-0.31.0/src/psb_lvds.c    2009-09-11 22:07:43.388599592 +0300
@@ -249,8 +249,8 @@
     psbLVDSI2CSetBacklight(pLVDS, newbacklight);
     } else if (pDevice->blc_data.type == BLC_PWM_TYPE) {
     /* Provent LVDS going to total black */
-    if (level < 20) {
-        level = 20;
+    if (level < 1) {
+        level = 1;
     }
 
     max_pwm_blc = psbLVDSGetPWMMaxBacklight(pLVDS);

Offline

#69 2009-09-24 10:13:49

NorthDragon
Member
Registered: 2009-08-12
Posts: 11

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Hi, xanf. For me this links are broken. Can you provide another link to packages or send it to NorthDragon_at_gmail.com

Offline

#70 2009-09-26 05:04:52

sollaa
Member
Registered: 2009-06-17
Posts: 4

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I tried to use the pacman -Sy "driver name" command from the first page, but I'm getting circular dependencies. 

warning: removing 'libdrm' from target list because it conflicts with 'libdrm-psb'
error: failed to prepare transaction (could not satisfy dependencies)
:: libgl: requires libdrm>=2.4.13

Offline

#71 2009-09-28 16:18:03

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

I am having the same issue. I attempt to manually remove the conflicting packages, however this requires ditching the entire Xorg server -- which requires the ordinary libdrm.

Offline

#72 2009-09-28 16:39:05

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

You can remove stuff without removing all of the dependency chain with the 'd' switch in pacman. Just keep in mind that you did it if things don't work out the way that you expect them to.

Offline

#73 2009-09-28 20:59:24

Botanicus
Member
Registered: 2006-11-06
Posts: 5

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

ixar wrote:

I have also encountered performance issues so I am a bit disappointed by this driver.
I'll keep the packages in case futur intel updates improves the performance and compatibility,
during that time I suggest you use uvesafb unless you want to experiment on this driver.

I thought uvesafb is just for ttys, not for Xserver (http://wiki.archlinux.org/index.php/Uvesafb) So uvesafb has some binding to X, does it? Or I just can use whatever X-driver I want? I'm a bit confused.

Offline

#74 2009-09-28 21:04:31

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

Botanicus wrote:
ixar wrote:

I have also encountered performance issues so I am a bit disappointed by this driver.
I'll keep the packages in case futur intel updates improves the performance and compatibility,
during that time I suggest you use uvesafb unless you want to experiment on this driver.

I thought uvesafb is just for ttys, not for Xserver (http://wiki.archlinux.org/index.php/Uvesafb) So uvesafb has some binding to X, does it? Or I just can use whatever X-driver I want? I'm a bit confused.

You can use the fbdev driver to run in the X server with uvesafb. Re-read the wiki article for more information.

Offline

#75 2009-10-04 15:53:20

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

Re: Poulsbo aka Intel GMA500 drivers PKGBUILD

skottish wrote:

You can remove stuff without removing all of the dependency chain with the 'd' switch in pacman. Just keep in mind that you did it if things don't work out the way that you expect them to.

Tried that, but since the psb driver uses things like xpsb-glx, which uses libdrm-psb, which in turn doesn't play with its standard libdrm counterpart, which xorg-server won't run without...yeah, it's quite the debacle. hmm

This all works in Ubuntu with the appropriate PPA repo installed -- but even then it takes some tweakage to approach the 2d performance of the plain xf86-video-fbdev driver. (Enlightenment E16's startup is a suprisingly effective visual comparison for measuring this, at least on Ubuntu Jaunty, on this chipset.)

I'm going to attempt the uvesafb + fbdev solution next.

It might be a good idea to update the Acer Aspire One page with at least a note that the 751h model uses the Poulsbo drivers, and doesn't work with the standard intel driver. If there are no objections to that, once the current trouble with installing the psb driver is figured out thoroughly (and I've gotten some sleep big_smile) I'd be willing to take a crack at it. cool

Offline

Board footer

Powered by FluxBB