You are not logged in.

#26 2008-12-28 02:18:14

Slack
Member
From: Chile
Registered: 2008-10-27
Posts: 52

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Well, then upgrade to the latest xorg and testing/kernel 2.6.28, I have compiled the intel driver 2.5.99 togheter libdrm 2.4.3 and their dependencies (pthread-stubs form AUR and xf86driproto from a src package, the latter was necessary for obtain a better performance, just a bit) and yes, compiz works more "smooth" dragging windows and scrolling websites on firefox (much better than before), but some events like alt+tab or cubedesktop looks poorer (only a bit and, semetimes yes and sometimes not, is strange). Currently, glxinfo shows me ~300fps (and with the old xorg-server 2.4.2 with intel driver 2.4.x I got ~900fps) and tuxracer (my only game that I have for linux) shows some bugs in the "sky" (blinks something)

In general, the look-n-feel in compiz has improved a bit compared to before, but i can't test the video in other games because I don't have one (another than tuxracer) installed on my system (maybe later I will install one like unreal XD)

3lusive what is your xorg.conf? can you post it please? (sorry I've a bad english)


this is my xorg.conf (i've a intel gma 965):

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
#    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dri"
    Load  "dbe"
    Load  "glx"
    Load  "extmod"
    Load  "xtrap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    DisplaySize  336 210 # 96 DPI @ 1280x800 (non 4:3 aspect)
    Identifier   "Monitor0"
    VendorName   "AUO"
    ModelName    "1974"
    HorizSync    30.0 - 130.0
    VertRefresh  50.0 - 100.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
    BusID       "PCI:0:2:0"

    Option "DRI"    "True"
        Option "AccelMethod" "exa"
        Option "MigrationHeuristic" "greedy"
#        Option "ExaNoComposite" "false"
#        Option "ExaOptimizeMigration" "true"



EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1280x800"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection


------------
EDIT: OMG with UXA the performance is AMAZING!!! much better than ever! I recommend it
(but tuxracer issues and ~300fps in glxgears remain)
------------

Last edited by Slack (2008-12-28 03:20:53)


Excuse my poor english

Offline

#27 2008-12-28 10:34:53

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

I am coming around to glxgears not being much of a benchmark. On the current xorg, I get 240fps with with exa but performance is abysmal, simply unusable. Whereas xaa gives me half those fps, but usable performance.

Your uxa comment will probably have me trying this out. thanks.

Offline

#28 2008-12-28 11:03:45

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

hmm, strange. I've compiled the packages you said you did with the git packages from AUR but when compiling the intel driver it says:

checking for DRI... configure: error: Package requirements (xf86driproto glproto) were not met:

No package 'xf86driproto' found

Which I've just pulled in the latest git of.

Last edited by b9anders (2008-12-28 11:04:10)

Offline

#29 2008-12-28 11:24:42

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Compiled it with the repo version of xf86driproto instead.

Can't say I'm feeling any difference here. Maybe I'll try and compile xorg all the way later.

Offline

#30 2008-12-28 15:07:10

Slack
Member
From: Chile
Registered: 2008-10-27
Posts: 52

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Well, I have downgraded again, because the performance is very good and I don't need more (maybe when all those packages are available in the repos officially)

If anyone wants downgrade, this can helps you:
http://bbs.archlinux.org/viewtopic.php?id=60184


Excuse my poor english

Offline

#31 2008-12-28 17:35:17

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

mutlu_inek wrote:
Dheart wrote:

I can't build libgl-git.

Yeah, a commit yesterday broke compilation for me in the same way. I haven't investigated.

It builds with dri2proto from git:

pkgname=dri2proto-git
pkgver=20081228
pkgrel=1
pkgdesc="Dri2Proto"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
replaces=('dri2proto')
provides=('dri2proto=1.99.3.99' 'dri2proto-git')
conflicts=('dri2proto')
groups=('xorg')
source=()
md5sums=()

_gitroot="git://anongit.freedesktop.org/xorg/proto/dri2proto"
_gitname="dri2proto"

build() {

 msg "Connecting to git.freedesktop.org GIT server...."

  if [ -d $startdir/src/$_gitname ] ; then
  cd $_gitname && git pull origin
  msg "The local files are updated."
  else
  git clone $_gitroot
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  cd $startdir/src/$_gitname

  sh autogen.sh --prefix=/usr
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}

Last edited by mutlu_inek (2008-12-28 17:37:21)

Offline

#32 2008-12-28 19:12:41

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

TY Builds fine now smile

EDIT:
Damn building all those packages twice (once for 32 bit chroot) is annoying...

Last edited by Dheart (2008-12-28 19:43:06)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#33 2008-12-28 19:47:01

damjan
Member
Registered: 2006-05-30
Posts: 454

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

What is the least intrusive way to try GEM? I already have 2.6.28 everything else is latest from extra.

Is compiling only libdrm 2.4.3 and xf86-video-intel 2.5+ good enough? Do I need to recompile intel-dri too??

Offline

#34 2008-12-28 20:53:50

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

@ Damjan I think you need all the packages

After I compiled and installed all X fails to start... Last lines of Xorg.0.log:

(II) intel(0): Current clock rate multiplier: 1
(II) intel(0): EDID vendor "SEC", prod id 13144

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4ee026]
1: /usr/bin/X(xf86SigHandler+0x39) [0x4918a9]
2: /lib/libc.so.6 [0x7fc99e71e150]
3: /usr/bin/X(xf86CrtcSetModeTransform+0x220) [0x4ab890]
4: /usr/lib/xorg/modules/drivers//intel_drv.so(i830GetLoadDetectPipe+0x13b) [0x7fc99d52c43b]
5: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7fc99d54876c]
6: /usr/bin/X(xf86ProbeOutputModes+0x1a5) [0x4a8d85]
7: /usr/bin/X(xf86InitialConfiguration+0x165) [0x4a9815]
8: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7fc99d53198b]
9: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7fc99d533307]
10: /usr/bin/X(InitOutput+0xdcb) [0x46ddab]
11: /usr/bin/X(main+0x206) [0x433376]
12: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fc99e70a546]
13: /usr/bin/X [0x4329b9]

Fatal server error:
Caught signal 11.  Server aborting

I tried running with and without xorg.conf.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#35 2008-12-28 22:18:35

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Slack wrote:

Well, I have downgraded again, because the performance is very good and I don't need more (maybe when all those packages are available in the repos officially)

Likewise. Its nice to know now that when I do upgrade, it will be a smooth one as everything worked perfectly once I made a new xorg.conf (which happily works just as well with the downgraded packages), which wasn't the case the first time I tried the new xorg server, but unless someone puts up a repo with the relevant packages for trying out gem, I think I'll wait until it hits the official repositories.

BTW, does anyone know when the new xorg server is out?

Offline

#36 2008-12-29 09:55:41

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

mutlu_inek wrote:

For those who'd like some PKGBUILDs in order of compilation and install, these are what I used and it works quite well. smile

i can't build libx11. The line makedepends is missing a few chars so i guessed the last dep is xorg-util-macros, but even then i get:

==> ERROR: xorg.sh was not found in the build directory and is not a URL.

Last edited by karabaja4 (2008-12-29 09:56:59)

Offline

#37 2008-12-29 10:22:13

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Get it from the official svn entry for libx11: http://repos.archlinux.org/viewvc.cgi/l … ra-x86_64/


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#38 2008-12-29 13:20:48

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Dheart wrote:

After I compiled and installed all X fails to start... Last lines of Xorg.0.log:

(II) intel(0): Current clock rate multiplier: 1
(II) intel(0): EDID vendor "SEC", prod id 13144

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4ee026]
1: /usr/bin/X(xf86SigHandler+0x39) [0x4918a9]
2: /lib/libc.so.6 [0x7fc99e71e150]
3: /usr/bin/X(xf86CrtcSetModeTransform+0x220) [0x4ab890]
4: /usr/lib/xorg/modules/drivers//intel_drv.so(i830GetLoadDetectPipe+0x13b) [0x7fc99d52c43b]
5: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7fc99d54876c]
6: /usr/bin/X(xf86ProbeOutputModes+0x1a5) [0x4a8d85]
7: /usr/bin/X(xf86InitialConfiguration+0x165) [0x4a9815]
8: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7fc99d53198b]
9: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7fc99d533307]
10: /usr/bin/X(InitOutput+0xdcb) [0x46ddab]
11: /usr/bin/X(main+0x206) [0x433376]
12: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fc99e70a546]
13: /usr/bin/X [0x4329b9]

Fatal server error:
Caught signal 11.  Server aborting

I tried running with and without xorg.conf.

same error... after 2 hours spent on building the packages.. ugh.. sad

....

Last edited by karabaja4 (2008-12-29 19:20:59)

Offline

#39 2008-12-29 18:37:59

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

karabaja4 wrote:

i can't build libx11. The line makedepends is missing a few chars so i guessed the last dep is xorg-util-macros, but even then i get:

==> ERROR: xorg.sh was not found in the build directory and is not a URL.

Silly me... copy & paste mistake. It should be "[...] 'xorg-util-macros')". I'll correct my previous post. As xorg.sh I used the one from the package in [extra]. Here it is:

export XDG_DATA_HOME=$HOME/.local/share
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache

if [ -z $XDG_DATA_DIRS ]; then
        export XDG_DATA_DIRS=/usr/share:/usr/local/share
else
        export XDG_DATA_DIRS=/usr/share:/usr/local/share:$XDG_DATA_DIRS
fi

if [ -z $XDG_CONFIG_DIRS ]; then
        export XDG_CONFIG_DIRS=/etc/xdg
else
        export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS
fi

Offline

#40 2008-12-29 19:48:41

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

And the packages? In what row should I build them?


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#41 2008-12-29 20:12:49

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

I did it in the order I gave the pkgbuilds in my first post:

libpthread-stubs
libdrm
libxcb
libx11
dri2proto-git
xf86driproto-git

libgl-git
mesa-git
intel-dri-git

inputproto
pixman
randrproto
xorg-server
xf86-video-intel
xf86-input-evdev

Last edited by mutlu_inek (2008-12-29 20:16:26)

Offline

#42 2008-12-29 20:32:22

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Hmm... I've got conflictign files between dri2proto-git and xf86driproto-git, also between libgl-git and mesa-git... It seams to be one and the same file so I deleted them manually... Is that normal?


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#43 2008-12-29 20:34:11

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Dheart wrote:

Hmm... I've got conflictign files between dri2proto-git and xf86driproto-git, also between libgl-git and mesa-git... It seams to be one and the same file so I deleted them manually... Is that normal?

same case with me, i deleted the conflicted files manually.

does anyone have at least a clue on what this error could mean?

Fatal server error:
Caught signal 11.  Server aborting

Offline

#44 2008-12-29 20:45:37

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

I'm currently trying a recompile in the order shown above... Will post the results in a while.

EDIT:
FFS... My connection to git.freedesktop.org colapsed...
Just a minute ago I was getting 1 MB/sec and now it's arroudn 10-20 kb/sec... It'll take me forever to pull the needed files for intel-dri-git.

EDIT 2:
It's been an hour and half since I started pulling... 63%...

EDIT 3:
Same result... anyone can point me at what I am doing wrong?

Last edited by Dheart (2008-12-29 22:56:51)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#45 2008-12-30 11:28:44

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

@Dheart - well I got it working (I think).

I just skipped the new version of xorg-server. It seems it is broken for me somehow. Anyway, here's what I have installed:

libpthread-stubs
libdrm
libxcb
libx11
dri2proto-git
xf86driproto-git

libgl-git
mesa-git
intel-dri-git

pixman
xf86-video-intel
(remove the xorg 1.5.99.3 dependencies from xf86-video-intel PKGBUILD)

xorg-server  (old from repos)
xf86-input-evdev (old from repos, the new one brakes my keyboard and touchpad. They seem to be the same version anyway.)

I am not sure if UXA works on my older xorg? Since I'm using Openbox I have no way of checking this by running compiz. I have added Option "AccelMethod" "UXA" to my xorg.conf but I didn't notice any noticable improvement from XAA in 2D (except in glxgears, i get ~1000fps more now cool). I haven't got any 3D apps at the moment. Any ideas?

P.S. - I don't know why pacman -Syu wants to "update" (downgrade) my xf86-video-intel. It seems it doesn't recognise the new version.

----------

Last edited by karabaja4 (2008-12-30 17:33:56)

Offline

#46 2008-12-30 14:24:19

baze
Member
Registered: 2005-10-30
Posts: 393

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

karabaja4 wrote:

P.S. - I don't know why pacman -Syu wants to "update" (downgrade) my xf86-video-intel. It seems it doesn't recognise the new version.

there was the intel driver 2.5.0 in testing for a short time, but a downgrade to 2.4.x was forced. no idea why it was pulled back, but i think you're running into that forced downgrade.

Offline

#47 2008-12-30 15:55:05

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Amazing... Perfomance with Tux Racer has improved two - three times... Compiling the packages in chroot to test Frozen Throne.
When the new X server is out and the driver intel 2.6 is realeased there will be a lot of UXA fixes and performance improvements.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#48 2008-12-30 16:18:35

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 684

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

karabaja4 wrote:

xorg-server  (old from repos)
xf86-input-evdev (old from repos, the new one brakes my keyboard and touchpad. They seem to be the same version anyway.)

It is the same version, but it must be compiled with the correct xorg-server installed, otherwise you will not have keyboard or mouse after X starts.

karabaja4 wrote:

I am not sure if UXA works on my older xorg? Since I'm using Openbox I have no way of checking this by running compiz. I have added Option "AccelMethod" "UXA" to my xorg.conf but I didn't notice any noticable improvement from XAA in 2D (except in glxgears, i get ~1000fps more now cool). I haven't got any 3D apps at the moment. Any ideas?

Have a look at the Xorg.0.log. It tells you which acceleration method is used. In my opinion, XAA is still considerable faster in old xorg-servers. UXA needs to do some more catching up. But it looks like it is getting there. smile

baze wrote:
karabaja4 wrote:

P.S. - I don't know why pacman -Syu wants to "update" (downgrade) my xf86-video-intel. It seems it doesn't recognise the new version.

there was the intel driver 2.5.0 in testing for a short time, but a downgrade to 2.4.x was forced. no idea why it was pulled back, but i think you're running into that forced downgrade.

Yeah, it need to be added to /etc/pacman.conf's "IgnorePkg=..." line. Same for libdrm.

Offline

#49 2008-12-30 17:10:21

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

Performance in Frozen Throne is better also... Mmm nice upgrade!


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#50 2008-12-30 17:31:26

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,001
Website

Re: Intel i965 on 2.6.28 kernel --- results with xf86-video-intel 2.5.99.

mutlu_inek wrote:

/*alot of useful stuff*/

thank you very much smile

Offline

Board footer

Powered by FluxBB