You are not logged in.

#76 2009-04-14 12:39:23

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Intel 945GM, Xorg, Kernel - performance

glxgears performance drops a lot when using DRI2

Offline

#77 2009-04-14 16:23:32

vinvin
Member
Registered: 2009-03-12
Posts: 24

Re: Intel 945GM, Xorg, Kernel - performance

Anybody knows what this error means?
[drm:i915_gem_detect_bit_6_swizzle] *ERROR* Couldn't read from MCHBAR.  Disabling tiling.

Maybe it is related to the big performance loss?

By the ways, enabling KMS in [non-testing] makes returns from suspend to ram display a black screen.

Last edited by vinvin (2009-04-14 16:27:49)

Offline

#78 2009-04-14 16:42:37

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Intel 945GM, Xorg, Kernel - performance

Zariel wrote:

glxgears performance drops a lot when using DRI2

My does also but everything I have done so far has ran really smooth much smoother then without kms enabled.

I am getting about 18 - 22 average fps in etracer.

I am happy so far big_smile

Last edited by cu3edweb (2009-04-14 16:46:26)

Offline

#79 2009-04-15 17:17:38

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

Re: Intel 945GM, Xorg, Kernel - performance

This commit might make KMS more usable for those with GMA945:
http://cgit.freedesktop.org/xorg/driver … 651ce6afe2

I will try to rebuild the stack from git on the weekend.

Edit: FYI, this commit to the drm-intel branch of the kernel is supposed to speed things up for us quite a bit, too: http://git.kernel.org/?p=linux/kernel/g … cbb5de859c

Last edited by mutlu_inek (2009-04-15 17:21:24)

Offline

#80 2009-04-15 18:10:35

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

Re: Intel 945GM, Xorg, Kernel - performance

mutlu_inek wrote:

This commit might make KMS more usable for those with GMA945:
http://cgit.freedesktop.org/xorg/driver … 651ce6afe2

I will try to rebuild the stack from git on the weekend.

Edit: FYI, this commit to the drm-intel branch of the kernel is supposed to speed things up for us quite a bit, too: http://git.kernel.org/?p=linux/kernel/g … cbb5de859c

anything on the memory leak? which seems quite more urgent than performance wink just asking...

Offline

#81 2009-04-15 18:48:34

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Intel 945GM, Xorg, Kernel - performance

You fellows are extremely happy: you've been worrying about performance. Look at where I got stuck: here

Last edited by Llama (2009-04-15 18:50:21)

Offline

#82 2009-04-15 19:06:31

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Intel 945GM, Xorg, Kernel - performance

eldragon wrote:
mutlu_inek wrote:

This commit might make KMS more usable for those with GMA945:
http://cgit.freedesktop.org/xorg/driver … 651ce6afe2

I will try to rebuild the stack from git on the weekend.

Edit: FYI, this commit to the drm-intel branch of the kernel is supposed to speed things up for us quite a bit, too: http://git.kernel.org/?p=linux/kernel/g … cbb5de859c

anything on the memory leak? which seems quite more urgent than performance wink just asking...

The memory leak has been marked as fixed ( http://bugs.freedesktop.org/show_bug.cgi?id=20704 ). It was a xorg bug which seems to be solved on 1.6.1 (just updated on [extra]).


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#83 2009-04-15 19:30:19

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

Re: Intel 945GM, Xorg, Kernel - performance

Damnshock wrote:
eldragon wrote:
mutlu_inek wrote:

This commit might make KMS more usable for those with GMA945:
http://cgit.freedesktop.org/xorg/driver … 651ce6afe2

I will try to rebuild the stack from git on the weekend.

Edit: FYI, this commit to the drm-intel branch of the kernel is supposed to speed things up for us quite a bit, too: http://git.kernel.org/?p=linux/kernel/g … cbb5de859c

anything on the memory leak? which seems quite more urgent than performance wink just asking...

The memory leak has been marked as fixed ( http://bugs.freedesktop.org/show_bug.cgi?id=20704 ). It was a xorg bug which seems to be solved on 1.6.1 (just updated on [extra]).

ohh thanks, i just booted into KMS after updating xorg to see if it was fixed....now i see xorg sits tight at 50ish megs big_smile

now the last bug that annoys me....the transparency bug big_smile

Offline

#84 2009-04-16 02:02:16

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Intel 945GM, Xorg, Kernel - performance

Anyone already tried the new intel-2.7.0 release?

Last edited by GogglesGuy (2009-04-16 02:02:56)

Offline

#85 2009-04-16 03:10:32

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

Re: Intel 945GM, Xorg, Kernel - performance

GogglesGuy wrote:

Anyone already tried the new intel-2.7.0 release?

just built it.... had a couple of xorg restarts out of the blue while loading, yet now everything works fine.........feels faster. transparency bug still there though (KMS + UXA)

EDIT:

Mythtv freezes everything when run on fullscreen.

some font glitches are gone

performance on par with previous version (2.6.99something)

Last edited by eldragon (2009-04-16 03:26:24)

Offline

#86 2009-04-16 09:26:13

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Intel 945GM, Xorg, Kernel - performance

GogglesGuy wrote:

Anyone already tried the new intel-2.7.0 release?

Running the RC3 here, no KMS nought. Maybe this weekend I'll find time to give it a try. Anyway, performance is acceptable with this release (still *not* good)


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#87 2009-04-16 10:45:17

dcrabs
Member
From: Sweden
Registered: 2008-10-03
Posts: 149

Re: Intel 945GM, Xorg, Kernel - performance

xorg-server-1.6.1 really fixed the memory leak. Finally KDE4 is enjoyable again. The memory of X is still increasing over time but very slowly. I will keep it running for a  couple of hours and see if anything happens.

Offline

#88 2009-04-16 10:54:51

jacob_
Member
Registered: 2009-04-15
Posts: 12

Re: Intel 945GM, Xorg, Kernel - performance

I'm running 2.7.0 right now. I needed to disable tiling to avoid corruption.

I've just come from 2.6.3 and performance may have improved a bit. I was having issues with youtube (X -> 100% CPU), and that may have improved a bit - not really sure yet, or how related that is to xorg-server.

Offline

#89 2009-04-16 13:28:33

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

Re: Intel 945GM, Xorg, Kernel - performance

well, random lockups with 2.7 and KMS

im back to EXA, which boosts performance....feels nice.

Offline

#90 2009-04-16 21:12:09

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

Re: Intel 945GM, Xorg, Kernel - performance

Well xf86-video-intel 2.7.0 didn't improve any 3D performance on my i915. UXA with KMS works, but 3D is awful - 1-2fps at etracer. xf86-video-intel-legacy is a bit better (at least menus work smoothly) but game still unplayable.

and game was playable before on about 30fps in some combination of xorg-server and drivers (don't remember which).

Offline

#91 2009-04-16 22:17:12

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Intel 945GM, Xorg, Kernel - performance

jacob_ wrote:

I'm running 2.7.0 right now. I needed to disable tiling to avoid corruption.

I've just come from 2.6.3 and performance may have improved a bit. I was having issues with youtube (X -> 100% CPU), and that may have improved a bit - not really sure yet, or how related that is to xorg-server.

Same thing here. Disabled tiling otherwise screen contained garbage. (on a GM965 )
On a positive note, don't see any video tearing anymore!!

Last edited by GogglesGuy (2009-04-16 22:19:58)

Offline

#92 2009-04-16 23:26:11

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Intel 945GM, Xorg, Kernel - performance

GogglesGuy wrote:

Anyone already tried the new intel-2.7.0 release?

I tried it today, installing the xf86-video-intel-2.7.0 package from testing and activating KMS (the 'late' activation). No problems playing videos, but the menus are slightly garbled and the performance is worser than that obtained with xf86-video-intel-legacy.
the output of lspci|grep VGA is

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

Here are some benchmarks:
xf86-video-intel-2.7.0 + KMS
glxgears ~320 FPS, gtkperf -a ~26 seconds, assaultcube 8-9 FPS, torcs 7-8 FPS, tremulous ~8 FPS.
xf86-video-intel-legacy-2.3.2 (no console framebuffer, i.e. no vga= option in grub menu)
glxgears ~780 FPS, gtkperf -a ~13 seconds, assaultcube ~45 FPS, torcs 7-8 FPS, tremulous garbled, unplayable.
Notes: assaultcube is custom compiled, torcs and tremulous come from the community repos. Torcs window lacks the decoration with intel-legacy, tremulous show garbled characters and mouse pointer, I'm even unable to start a game.
So I'll stick with the intel-legacy driver for now, but I'll try the new intel driver in testing when it'll be updated.

EDIT: I forgot to mention that tried xf86-video-intel-2.7.0 + KMS with and without the nopat option in grub, I didn't notice any difference.

Last edited by gborzi (2009-04-16 23:57:27)


Giuseppe Borzi' - Registered Linux user #34028

Offline

#93 2009-04-17 00:30:04

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

Re: Intel 945GM, Xorg, Kernel - performance

gborzi wrote:
GogglesGuy wrote:

Anyone already tried the new intel-2.7.0 release?

I tried it today, installing the xf86-video-intel-2.7.0 package from testing and activating KMS (the 'late' activation). No problems playing videos, but the menus are slightly garbled and the performance is worser than that obtained with xf86-video-intel-legacy.
the output of lspci|grep VGA is

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

Here are some benchmarks:
xf86-video-intel-2.7.0 + KMS
glxgears ~320 FPS, gtkperf -a ~26 seconds, assaultcube 8-9 FPS, torcs 7-8 FPS, tremulous ~8 FPS.
xf86-video-intel-legacy-2.3.2 (no console framebuffer, i.e. no vga= option in grub menu)
glxgears ~780 FPS, gtkperf -a ~13 seconds, assaultcube ~45 FPS, torcs 7-8 FPS, tremulous garbled, unplayable.
Notes: assaultcube is custom compiled, torcs and tremulous come from the community repos. Torcs window lacks the decoration with intel-legacy, tremulous show garbled characters and mouse pointer, I'm even unable to start a game.
So I'll stick with the intel-legacy driver for now, but I'll try the new intel driver in testing when it'll be updated.

EDIT: I forgot to mention that tried xf86-video-intel-2.7.0 + KMS with and without the nopat option in grub, I didn't notice any difference.

ive got the exact same chip, my 3d performance is slightly better on glxgears (900fps), cube (i asume assaultcube = cube) 50fps, rest i wouldnt know
chromium at about 50fps, etracer at about 20fps, urban terror (800x600, about 2Xfps)
compiz works better too (slightly)

Offline

#94 2009-04-17 07:15:41

jacob_
Member
Registered: 2009-04-15
Posts: 12

Re: Intel 945GM, Xorg, Kernel - performance

I'm getting some random freezes for the first time since 2.5.x, but the kernel modesetting is working great on dual monitor (GM45).

The other issue (that's yesterdays log):
$ zcat messages.1.gz | grep -c "freeing invalid memtype"
117672

I assume this is what I'm waiting for:
http://marc.info/?l=linux-kernel&m=123923026401648&w=2

Offline

#95 2009-04-17 09:11:10

vinvin
Member
Registered: 2009-03-12
Posts: 24

Re: Intel 945GM, Xorg, Kernel - performance

gborzi wrote:

I tried it today, installing the xf86-video-intel-2.7.0 package from testing

I would like to try it too, but i can't find it in testing. pacman -Sl testing doesn't displays any X related package.
How did you guys get this driver working in arch?
Thanks

Offline

#96 2009-04-17 09:58:42

john_schaf
Member
From: France
Registered: 2007-02-24
Posts: 104

Re: Intel 945GM, Xorg, Kernel - performance

http://www.archlinux.org/packages/?q=xf86-video-intel
Wait for your mirror to sync, but at the moment there is only a x86_64 version.

Last edited by john_schaf (2009-04-17 09:59:22)

Offline

#97 2009-04-17 10:01:58

vinvin
Member
Registered: 2009-03-12
Posts: 24

Re: Intel 945GM, Xorg, Kernel - performance

Ah yes ok sorry. Now I know where to look at least. I'm with i686. Thanks

Offline

#98 2009-04-17 11:47:57

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Intel 945GM, Xorg, Kernel - performance

eldragon wrote:

ive got the exact same chip, my 3d performance is slightly better on glxgears (900fps), cube (i asume assaultcube = cube) 50fps, rest i wouldnt know
chromium at about 50fps, etracer at about 20fps, urban terror (800x600, about 2Xfps)
compiz works better too (slightly)

Do you use XAA acceleration or the default EXA, like I do?


Giuseppe Borzi' - Registered Linux user #34028

Offline

#99 2009-04-17 12:28:15

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

Re: Intel 945GM, Xorg, Kernel - performance

gborzi wrote:
eldragon wrote:

ive got the exact same chip, my 3d performance is slightly better on glxgears (900fps), cube (i asume assaultcube = cube) 50fps, rest i wouldnt know
chromium at about 50fps, etracer at about 20fps, urban terror (800x600, about 2Xfps)
compiz works better too (slightly)

Do you use XAA acceleration or the default EXA, like I do?

im using EXA, but UXA+KMS drops similar results (except for glxgears which drops to 400fps, who cares...)  my device section here:

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
    Option         "AccelMethod"    "EXA"
        Option      "MigrationHeuristic" "greedy"
    Option      "DRI"                    "True"
EndSection

im not sure if the DRI option is needed. and im not using kms+uxa cause of the random lockups and transparency bug.

Offline

#100 2009-04-17 14:12:09

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Intel 945GM, Xorg, Kernel - performance

I don't think DRI is really needed, I tried using the "bare" ubuntu xorg.conf and got similar results.

Section "Device"
      Identifier      "Configured Video Device"
      Driver      "intel"
EndSection

Take a look at /var/log/Xorg.0.log to see which option is really used.


Giuseppe Borzi' - Registered Linux user #34028

Offline

Board footer

Powered by FluxBB