You are not logged in.

#1 2009-06-27 10:20:57

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

2.6.31 git snapshot boosts performance of intel 965GM

I've just compiled the latest kernel development snapshot from git and the performace boost is incredible. Not that is a relevant benchmark but glxgears jumped from 420fps to 1000fps and framerate in urbanterror is almost doubled !!!

Arch vostro 2.6.31-rc1-TEST-00114-g4075ea8-dirty #1 SMP PREEMPT Sat Jun 27 11:13:32 CEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz GenuineIntel GNU/Linux

They had a nasty bug in detecting modes on LVDS in 2.6.31-rc1 when KMS is enabled but that is now fixed.

I dont even have the latest packages installed (xf86-vdeo-intel 2.7.1 and mesa 7.4.2)...

It looks like by the time xf86-video-intel 2.8 and 2.6.31 kernel reach final stage we will finally have better performance on our integrated intel gpu's...

Last edited by combuster (2009-06-27 10:31:36)

Offline

#2 2009-06-27 10:36:31

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Actually, I've found kernel-2.6.30 + latest [extra] packages to be awesome. With the former newly installed, I'm getting the performance I used to get from my 945GM(1400fps glxgears, 2100fps with tweaks; better UrT framerates than under XP, etc.). Oddly enough, this wasn't the case with my own, custom-compiled kernel(maybe Arch has unique kernel patches/config), but yeah.

Offline

#3 2009-06-27 10:41:59

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

With my custom 2.6.30 I get 420-450fps with glxgears and urt is stuttering with 15-30fps range, I haven't tried out 2.6.30-ARCH because I was messing with the uts.h in kernel and changed uname output from Linux to Arch so I had to change hal fdi policies for my keyboard and touchpad to work... smile

Anyway Jesse, Eric, Keith and the rest of the crew were working hard these days obviously:

http://git.kernel.org/?p=linux/kernel/g … 5ea53bfaa1

Just look at the changes in i915 source...

Hm, I was comparing .config from various sources:

2.6.30-ARCH

#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=m
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m
CONFIG_DRM=m
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m
# CONFIG_DRM_I915_KMS is not set
CONFIG_DRM_MGA=m
CONFIG_DRM_SIS=m
CONFIG_DRM_VIA=m
CONFIG_DRM_SAVAGE=m
CONFIG_VGASTATE=m
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=m
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_SVGALIB=m
# CONFIG_FB_MACMODES is not set
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

2.6.30-CUSTOM

#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=m
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=m
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

2.6.31-TEST

#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=m
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

big_smile

Last edited by combuster (2009-06-27 10:55:13)

Offline

#4 2009-06-27 13:39:46

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: 2.6.31 git snapshot boosts performance of intel 965GM

it would be easier to read if you simply post diff wink
there is also big improvement in general IO so this may have some impact too.

There is small catch for nVidia users though:
since 2.6.30-git17 nvidia driver will fail to install so if one wants to try anything past 2.6.30-git16 one needs to patch nvidia driver (until nvidia updates the official one)

Offline

#5 2009-06-27 15:58:29

TjPhysicist
Member
From: Waterloo, Canada
Registered: 2008-04-12
Posts: 126
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

hmm .31-git kinda fails horribly for me, i have no idea why, it throws a bunch of panic->printk->die;s and then gets stuck at changing resolutions.


-Tj
Now reborn as Tjh_ (to keep it similar to my username in other places)

Offline

#6 2009-06-27 16:29:48

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Have you downloaded from curent linus tree using git or just downloaded patch directly from www.kernel.org main page?

I've synced with "git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git" and then compiled it...

http://bugzilla.kernel.org/show_bug.cgi?id=13593

Is this the bug that's been buggin' you?

Offline

#7 2009-06-27 19:51:37

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

You may want to just try the kernel-2.6.30 in [core] tongue

Offline

#8 2009-06-28 04:40:08

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Ronin-Sage wrote:

You may want to just try the kernel-2.6.30 in [core] tongue

fantastic...
but kernel 2.6.30 has a lot of problems (not that 31-rc1 with all goodies is better in fact it is less stable)

hmm .31-git kinda fails horribly for me, i have no idea why, it throws a bunch of panic->printk->die;s and then gets stuck at changing resolutions.

this is an issue since .30-git11 (more or less, you need to check when fs and IO changes were introduced)

Last (for me) trustworthy kernel is 2.6.29.5, anything after that is quite experimental but worth checking out.

Have you downloaded from curent linus tree using git or just downloaded patch directly from www.kernel.org main page?

I have rc1 (rc1 patch from www.kernel.org) and rc1-zen1 (git synced from zen.org site)

Offline

#9 2009-06-29 08:51:19

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

I've just noticed that if u compile i915 driver directly into kernel and not as a module and if u enable KMS then the bootup screen is in it's native resolution again (and not on half of the screen) and it makes boot much more readable from the start...

Offline

#10 2009-06-29 13:12:53

kriz
Member
Registered: 2009-06-29
Posts: 96

Re: 2.6.31 git snapshot boosts performance of intel 965GM

is it possible to patch the 2.6.30 kernel with the intel-drm changes made in 2.6.31-rc1?


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#11 2009-06-29 14:24:54

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Yep, copy the patch to /usr/src and from the linux-2.6.30 directory execute:

"patch -p1 <../patch-2.6.31" or whatever the patch name is...

You could sync with git:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

from the /usr/src directory...

Just to report also that with the new snapshot of xf86-video-intel 2.7.99.901 (2009-06-10) some bugs are resolved:

Video tearing while playing divx...
Unable to maximize in fullscreen applications that have resolution lower than native one...

glxgears droped from 950 to 850 and some fps drop in urban terror (around 5-10 fps lower) but nevertheless those bug fixes mentioned above worth it...

Only trouble I get from the latest kernel snapshot is that snd-hda-intel has the wrong output somewhere, but options snd-hda-intel model=dell fixes the problem for me even though there are some strange printk's in dmesg related to alsa...

And vbox_build_module does not compile netflt module correctly (vboxdrv compiles ok)...

Offline

#12 2009-06-29 14:45:57

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Yep, copy the patch to /usr/src and from the linux-2.6.30 directory execute:

"patch -p1 <../patch-2.6.31" or whatever the patch name is...

1) no need to copy git/patch to /usr/src
simply provide patch to the file
2) if you want to check if your patch apply properly to kernel soursec simply run
patch -p1 --dry-run < /path_to_patch/natchname.patch

you can run this as a normal user, it will check if patch will apply properly without actually installing patch.
you can also use -N switch if patch patches where the differences have already been applied to the file

Offline

#13 2009-06-29 16:41:31

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Just out of simplicity I've stated that it should be copied to /usr/src since the path is ../

Ofcourse it could be anywhere on the filesystem just as long the propper path is typed...

Offline

#14 2009-06-30 11:46:19

kriz
Member
Registered: 2009-06-29
Posts: 96

Re: 2.6.31 git snapshot boosts performance of intel 965GM

k, ty, good to know
do you guys have an idea what lines should be added to a PKGBUILD for kernel 2.6.30 to include/patch the intel graphics stuff in 2.6.31-git


„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]

Offline

#15 2009-06-30 20:56:10

quadomatic
Member
Registered: 2009-06-22
Posts: 46

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Will installing kernel26-git from AUR get me the 2.6.31 kernel? Or do I have to checkout the source from the git repository manually?

Also, does anyone know if there is a broadcom-wl driver that supports 2.6.31?

Offline

#16 2009-07-01 20:08:11

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: 2.6.31 git snapshot boosts performance of intel 965GM

quadomatic wrote:

Will installing kernel26-git from AUR get me the 2.6.31 kernel? Or do I have to checkout the source from the git repository manually?

Also, does anyone know if there is a broadcom-wl driver that supports 2.6.31?

+1 on the broadcom driver

Offline

#17 2009-07-02 11:56:46

engored
Member
Registered: 2008-10-19
Posts: 4

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Well, I'd noticed this topic and have built kernel26-git from AUR, but unfortunately there are no boosts, gains, or anything. I have intel G43, I guess that's the reason. Glxgears are at 740 fps max, UT2004 gives 3 (three) avg fps at default settings and 7 avg fps at the lowest.

I'm sad.

Offline

#18 2009-07-02 14:02:09

huntxu
Member
Registered: 2008-12-07
Posts: 12

Re: 2.6.31 git snapshot boosts performance of intel 965GM

[hunt@psycho ~]$ O_< uname -a
Linux psycho 2.6.31-hunt #1 PREEMPT Fri Jun 26 10:26:50 CST 2009 i686 Intel(R) Celeron(R) CPU 1.70GHz GenuineIntel GNU/Linux

slight improvement on 845G.

Offline

#19 2009-07-02 14:54:37

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

965GM, intel agp and video drivers built into kernel, kms enabled as default and with the updated xf86-video-intel from git I have glxgears up and running @850 (on 2.6.7-1 950fps). Urban terror runs @ average of 30-40fps quite playable... With 2.6.30 I had 450fps from glxgears and barely 25fps average in urt... I havent installed from aur, rather downloaded and compiled it myself....

Arch vostro 2.6.31-rc1-git6-TEST #1 SMP PREEMPT Tue Jun 30 08:48:41 CEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz GenuineIntel GNU/Linux

Offline

#20 2009-07-02 19:47:57

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: 2.6.31 git snapshot boosts performance of intel 965GM

el mariachi wrote:
quadomatic wrote:

Will installing kernel26-git from AUR get me the 2.6.31 kernel? Or do I have to checkout the source from the git repository manually?

Also, does anyone know if there is a broadcom-wl driver that supports 2.6.31?

+1 on the broadcom driver

Definitely need that one...


.:[My Blog] || [My GitHub]:.

Offline

#21 2009-07-02 21:12:48

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: 2.6.31 git snapshot boosts performance of intel 965GM

im having problems building it with the abs PKGBUILD... can anyone hint?

$  diff PKGBUILD /var/abs/core/kernel26/PKGBUILD 
4,5c4,5
< #pkgname=kernel26                # Build stock -ARCH kernel
< pkgname=kernel26-custom       # Build kernel with a different name
---
> pkgname=kernel26                # Build stock -ARCH kernel
> # pkgname=kernel26-custom       # Build kernel with a different name
8,9c8,9
< pkgver=2.6.31
< pkgrel=1
---
> pkgver=${_basekernel}
> pkgrel=5
28,29c28
<         http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.31-rc1.bz2
<     http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.31-rc1-git9.bz2
---
>         ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
36,37c35
<          ''
<      ''
---
>          '0f3771767f168c3af934f3774ca6ec50'
48,49c46
<   patch -Np1 -i ${srcdir}/patch-2.6.31-rc1 || return 1
<   patch -Np1 -i ${srcdir}/patch-2.6.31-rc1-git9 || return 1
---
>   patch -Np1 -i ${srcdir}/${_patchname} || return 1

ive tried building rc1-git9 and rc1 both fail sad

Offline

#22 2009-07-07 17:43:08

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: 2.6.31 git snapshot boosts performance of intel 965GM

managed to build it. there is a module i dont need that fails. removed it from my config and everything is dandy.

i must say it doubled the performance here on GMA945 with glxgears. (around 700 from 350)

neverball is playable again
torcs isnt as choppy

lets see stability wink

fails to comeback from suspend, kernel panics...

EDIT: rc2-git4 fixes suspend
*marks as default kernel*

Last edited by eldragon (2009-07-09 18:50:08)

Offline

#23 2009-07-17 07:31:34

mika91
Member
Registered: 2007-10-25
Posts: 19

Re: 2.6.31 git snapshot boosts performance of intel 965GM

Hi,

Just a simple question.
Where to find 2.6.31 kernel ?
Seems to be unavailable in AUR, so need to download from kernel.org ?

Are you using tyhe same .config as 2.6.30-ARCH kernel ?


Thanks

Last edited by mika91 (2009-07-17 07:56:09)

Offline

#24 2009-07-17 09:13:02

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: 2.6.31 git snapshot boosts performance of intel 965GM

mika91 wrote:

Hi,

Just a simple question.
Where to find 2.6.31 kernel ?
Seems to be unavailable in AUR, so need to download from kernel.org ?

Are you using tyhe same .config as 2.6.30-ARCH kernel ?


Thanks

aur/kernel26-git

I use the vanilla config, you can use your arch config if you like, just edit the PKGBUILD smile


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#25 2009-07-17 10:25:41

mika91
Member
Registered: 2007-10-25
Posts: 19

Re: 2.6.31 git snapshot boosts performance of intel 965GM

kernel26-git was uploaded last time the 11 june.
and logs says 2.6.30 !

Offline

Board footer

Powered by FluxBB