You are not logged in.

#51 2009-03-26 14:52:47

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,470
Website

Re: Intel 945GM, Xorg, Kernel - performance

My guide to getting kms going without breaking you current kernel image:
(could need improving - I still only get Extreme Tux Racer at 6FPS...)

1) Create /etc/mkinitcpio-kms.conf

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="intel_agp drm i915"

# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish.  This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy parsed, so you may safely ignore libraries
BINARIES=""

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in anyway.  This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
#    FILES="/etc/modprobe.conf"
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'modload' may be used in place of 'udev', but is not recommended
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
#    This setup specifies all modules in the MODULES setting above.
#    No raid, lvm2, or encrypted root is needed.
#    HOOKS="base"
#
#    This setup will autodetect all modules for your system and should
#    work as a sane default
#    HOOKS="base udev autodetect pata scsi sata filesystems"
#
#    This is identical to the above, except the old ide subsystem is
#    used for IDE devices instead of the new pata subsystem.
#    HOOKS="base udev autodetect ide scsi sata filesystems"
#
#    This setup will generate a 'full' image which supports most systems.
#    No autodetection is done.
#    HOOKS="base udev pata scsi sata usb filesystems"
#
#    This setup assembles an pata raid array with an encrypted root FS.
#    Note: See 'mkinitcpio -H raid' for more information on raid devices.
#    HOOKS="base udev pata raid encrypt filesystems"
#
#    This setup loads an lvm2 volume group on a usb device.
#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata filesystems"

2) Create /etc/mkinitcpio.d/kernel26-kms.preset

# mkinitcpio preset file for kernel26

########################################
# DO NOT EDIT THIS LINE:
source /etc/mkinitcpio.d/kernel26.kver
########################################
ALL_config="/etc/mkinitcpio.conf"

PRESETS=('default')

default_config="/etc/mkinitcpio-kms.conf"
default_image="/boot/kernel26-kms.img"
#default_options=""

3) Run:

/sbin/mkinitcpio -p kernel26-kms

4) Delete/move /etc/X11/xorg.conf.

5) Boot with grub lines

kernel /vmlinuz26 root=/dev/sda2 i915.modeset=1
initrd /kernel26-kms.img

Enjoy.

Offline

#52 2009-03-26 15:31:23

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: Intel 945GM, Xorg, Kernel - performance

mika91 wrote:

How do you see that KMS works ?

1) Console resolution changes to my display's native resolution when I boot.
2) VT-switching to a console takes literally no time.
3) X uses DRI2+UXA by default.

mika91 wrote:

Do you use HAL or have an xorg.conf ?
Please share it thanks

I use hal, which, if I'm not mistaken, is required for X to start nowadays.
I don't use an xorg.conf.

I am a bit perplexed about the differences in performance we're all seeing. I'm having very good performance for instance, but a bunch of other problems.
Maybe mesa-7.4 (which should be out this week or next) will fix some of these issues.

Offline

#53 2009-03-26 15:37:47

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

Re: Intel 945GM, Xorg, Kernel - performance

OK, it's working now !!!
My mistake was  after adding modules in mkinitcpio.conf...I didn't run /sbin/mkinitcpio.
Thanks !

But no real speed improvements in compositing (Kwin4 cube effect only 33 fps) for me too

Offline

#54 2009-03-27 09:23:38

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: Intel 945GM, Xorg, Kernel - performance

OK, folks. I now see what you mean with performance regressions. I have been mostly using my new laptop with a g45 chipset, but right now I'm on my old laptop which has an 855GM. On this one, I can confirm that performance is severely regressed, and that the depth no longer looks like 24bit (although Xorg.0.log says "(==) Depth 24 pixmap format is 32 bpp").

Offline

#55 2009-03-28 19:10:13

nikki
Member
Registered: 2008-11-10
Posts: 12

Re: Intel 945GM, Xorg, Kernel - performance

Hey!

So, any ideas on what exactly can be done to improve the situation? I write little 3D games as a hobby, and right now I'm stuck on my crappy laptop (I'll get a new computer soon). I could run 3D stuff on it, until I 'pacman -Syu'ed recently. Now, everything's really slow.

I tried a few things, including the '5 step' thing you gave in a previous post (I had to keep my xorg.conf though, I was having input issues, if you think that'll change anything, then do tell me), but nothing helped much. It did, though, make the fonts look pretty weird. hmm

Last edited by nikki (2009-03-28 19:11:08)

Offline

#56 2009-03-28 20:39:48

Sharpeee
Member
From: Denmark
Registered: 2008-10-19
Posts: 59

Re: Intel 945GM, Xorg, Kernel - performance

Nikki:
I can recommend reading this thread: http://bbs.archlinux.org/viewtopic.php?id=66057
I'm currently running an old version of 'xorg-server' and 'xf86-video-intel', and everything is running great! When something new comes out, I update and give it a try, but if it doesn't work, I just downgrade again!

Offline

#57 2009-03-29 04:25:36

smartboyathome
Member
From: $HOME
Registered: 2007-12-23
Posts: 334
Website

Re: Intel 945GM, Xorg, Kernel - performance

I just tried it, and I get way better 3D performance than with the old driver. I can actually play Wolfenstein: Enemy Territory without much lag from my computer! big_smile Works great! smile

Last edited by smartboyathome (2009-03-29 04:26:29)

Offline

#58 2009-03-29 09:12:44

nikki
Member
Registered: 2008-11-10
Posts: 12

Re: Intel 945GM, Xorg, Kernel - performance

Sharpeee wrote:

Nikki:
I can recommend reading this thread: http://bbs.archlinux.org/viewtopic.php?id=66057
I'm currently running an old version of 'xorg-server' and 'xf86-video-intel', and everything is running great! When something new comes out, I update and give it a try, but if it doesn't work, I just downgrade again!

Cool, it works! smile

One problemt though: The resolution is screwed. I have a 1280x800 monitor, and I get 1024x768. I'll try to fix that.

Offline

#59 2009-03-29 10:47:36

Sharpeee
Member
From: Denmark
Registered: 2008-10-19
Posts: 59

Re: Intel 945GM, Xorg, Kernel - performance

nikki wrote:
Sharpeee wrote:

Nikki:
I can recommend reading this thread: http://bbs.archlinux.org/viewtopic.php?id=66057
I'm currently running an old version of 'xorg-server' and 'xf86-video-intel', and everything is running great! When something new comes out, I update and give it a try, but if it doesn't work, I just downgrade again!

Cool, it works! smile

One problemt though: The resolution is screwed. I have a 1280x800 monitor, and I get 1024x768. I'll try to fix that.

That sounds weird! I don't have any problems at all! Here is my 'xorg.conf' if that can help:

Section "ServerLayout"
    Identifier           "X.org Configured"
    Screen        "Default Screen"
    InputDevice    "Configured Mouse"
    InputDevice    "Generic Keyboard"
    InputDevice    "SynapticsTouchpad"
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        "extmod"
    Load        "record"
    Load        "xtrap"
    Load        "dri"
    Load        "dbe"
    Load        "glx"
    Load        "freetype"
    Load        "synaptics"
EndSection

Section "InputDevice"
    Identifier        "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbLayout"    "dk"
EndSection

Section "InputDevice"
    Identifier        "Configured Mouse"
    Driver        "evdev"
    Option        "SendCoreEvents"    "true"
EndSection

Section "InputDevice"
    Identifier        "SynapticsTouchpad"
    Driver        "synaptics"
    Option        "Device"        "/dev/psaux"
    Option        "SendCoreEvents"    "true"
    Option        "SHMConfig"        "true"
    Option        "Protocol"        "auto-dev"
    Option        "LeftEdge"        "1700"
    Option        "RightEdge"        "5300"
    Option        "TopEdge"        "1700"
    Option        "BottomEdge"        "4200"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Device"
    Identifier        "Configured Video Device"
    Driver        "intel"
    VendorName    "Intel Corporation"
    BoardName    "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    BusID         "PCI:0:2:0"
    Option        "DRI"            "true"
    Option        "NoDDC"            "true"
    Option        "NoAccel"        "false"
    Option        "EnablePageFlip"    "true"
    Option        "RenderAccel"        "true"
    Option        "AccelMethod"        "EXA"
    Option        "MigrationHeuristic"    "greedy"
    Option        "ExaNoComposite"    "false"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    DefaultDepth    24
    SubSection "Display"
        Depth        24
        Modes        "1280x768"
    EndSubSection
EndSection

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

Offline

#60 2009-03-29 11:00:53

rostoQ
Member
Registered: 2008-06-25
Posts: 40

Re: Intel 945GM, Xorg, Kernel - performance

A little hint for those who have no luck enableing KMS:
Try to disable the vga=*** argument from the kernel boot line in menu.list before adding i915.modeset=1
Thanks to Allan for sharing your solution!

PS: i have ~6fps in etracer as well hmm

Last edited by rostoQ (2009-03-29 11:05:34)

Offline

#61 2009-03-29 12:11:58

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Intel 945GM, Xorg, Kernel - performance

nikki wrote:
Sharpeee wrote:

Nikki:
I can recommend reading this thread: http://bbs.archlinux.org/viewtopic.php?id=66057
I'm currently running an old version of 'xorg-server' and 'xf86-video-intel', and everything is running great! When something new comes out, I update and give it a try, but if it doesn't work, I just downgrade again!

Cool, it works! smile

One problemt though: The resolution is screwed. I have a 1280x800 monitor, and I get 1024x768. I'll try to fix that.

i had this issue too. check your logs, you'll see the output the server is defaulting to then disable it. that should do it.

Offline

#62 2009-03-29 18:32:21

nikki
Member
Registered: 2008-11-10
Posts: 12

Re: Intel 945GM, Xorg, Kernel - performance

Fixed the resolution problem by using 'intel' drivers instead of the 'i810' ones.

Offline

#63 2009-03-30 17:20:21

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

Re: Intel 945GM, Xorg, Kernel - performance

I tried this today. It seemed to work, but I'm really getting bad performance when dragging and/or resizing windows. You can watch the window redraw itself very slowly. Without kms, but with UXA, I don't have this problem

Offline

#64 2009-04-01 23:09:25

_oggy
Member
Registered: 2008-09-29
Posts: 26

Re: Intel 945GM, Xorg, Kernel - performance

Tried out the new packages today, very disappointing for me. 945GM/GMS/GME, 943/940GML here. Moving from Xorg 1.4 to the latest testing packages (Xorg + mesa 7.3 + Intel RC1 drivers + 2.6.29) glxgears goes down from ~1200 to ~150, urbanterror goes from barely tollerable to completely unplayable, kwin is slooow.

Couldn't get KMS to work. Tried with a vanilla kernel but then all I'd get would be a blank screen as it kicks to the KMS at udev. Very weird, dmesg seemed to show that everything was fine (switched to 1280x800) and the system would continue to respond - I could start X and it would work fine, but  trying to switch back to the consoles would result in the black screen again.

Also, I've experienced more kernel panics in two hours of running this setup than in the last two years, on all my machines combined. Not impressed.

Offline

#65 2009-04-01 23:30:15

benob
Member
Registered: 2008-11-11
Posts: 187

Re: Intel 945GM, Xorg, Kernel - performance

I have an X3100 965GM
I tried Allan's way and added enable_mtrr_cleanup and nopat on the kernel command line.
kernel /vmlinuz26 root=/dev/sda2 ro quiet enable_mtrr_cleanup nopat
as explained in http://bbs.archlinux.org/viewtopic.php?id=68709
Also note that I've removed xorg.conf and let the server detect everything.

And it works great (kms, 2d, 3d, suspend and everything).
Thanks guys, good work.

Offline

#66 2009-04-06 12:57:35

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

Re: Intel 945GM, Xorg, Kernel - performance

Soon in a repo nearby :
http://www.archlinux.org/pipermail/arch … 11069.html

Hope this solves all the problems we have on 945GM (performance, but not only !)

Last edited by john_schaf (2009-04-06 12:58:01)

Offline

#67 2009-04-06 16:40:52

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: Intel 945GM, Xorg, Kernel - performance

I have an improved performance of my 965GM with xorg and intel drivers from testing. Only waking up after suspend doesn't work.

Offline

#68 2009-04-06 21:37:26

mienensuchkind
Member
Registered: 2007-01-21
Posts: 61

Re: Intel 945GM, Xorg, Kernel - performance

john_schaf wrote:

Soon in a repo nearby :
http://www.archlinux.org/pipermail/arch … 11069.html

Hope this solves all the problems we have on 945GM (performance, but not only !)

This didn't improve anything at all. Replaced the regular intel driver with this legacey, and the performance in etracer is even worse. Here my lspci | grep Graphics:

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

Further, KMS (which runs fine with the non-legacy-driver) doesn't work properly anymore (flickering before X and stripes when switching to VTs).

Offline

#69 2009-04-06 21:47:05

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

Re: Intel 945GM, Xorg, Kernel - performance

mienensuchkind wrote:

This didn't improve anything at all. Replaced the regular intel driver with this legacey, and the performance in etracer is even worse. Here my lspci | grep Graphics:

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

I have the exact same graphics card. It works very well for me, but I only use Kwin's desktop effects. I don't run any games. You could have a look at my posting in the "xorg-server 1.6.0 in testing" thread, maybe its a configuration issue: http://bbs.archlinux.org/viewtopic.php? … 32#p530232

Edit: KMS requires GEM+DRI2. The legacy driver does not provide for either.

Edit2: I ran a quick opengl test of QGears2's "fancy gears": xf86-video-intel-2.6.99.902-1 achieved 18.8 fps, while xf86-video-intel-legacy-2.3.2-1 achieved 42.26. This is still not great, but for me, it can at least make the compositing experience on the desktop good enough to upgrade from xorg-server 1.4.

Last edited by mutlu_inek (2009-04-06 23:43:14)

Offline

#70 2009-04-07 12:21:16

mienensuchkind
Member
Registered: 2007-01-21
Posts: 61

Re: Intel 945GM, Xorg, Kernel - performance

mutlu_inek wrote:
mienensuchkind wrote:

This didn't improve anything at all. Replaced the regular intel driver with this legacey, and the performance in etracer is even worse. Here my lspci | grep Graphics:

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

I have the exact same graphics card. It works very well for me, but I only use Kwin's desktop effects. I don't run any games. You could have a look at my posting in the "xorg-server 1.6.0 in testing" thread, maybe its a configuration issue: http://bbs.archlinux.org/viewtopic.php? … 32#p530232

Edit: KMS requires GEM+DRI2. The legacy driver does not provide for either.

Edit2: I ran a quick opengl test of QGears2's "fancy gears": xf86-video-intel-2.6.99.902-1 achieved 18.8 fps, while xf86-video-intel-legacy-2.3.2-1 achieved 42.26. This is still not great, but for me, it can at least make the compositing experience on the desktop good enough to upgrade from xorg-server 1.4.

Thank you for your reply. Last time i tried without xorg.conf, i will try yours and disable kms completly. But since i don't need composite effects and performance for gaming, i'll stick with whatever driver drains less energy (if a noticable difference occurs)

Last edited by mienensuchkind (2009-04-07 12:21:54)

Offline

#71 2009-04-12 10:55:21

Shapeshifter
Member
Registered: 2008-03-11
Posts: 231

Re: Intel 945GM, Xorg, Kernel - performance

So, how does this work out for people? I have kms working great, dri2 also shows effect (e.g. I can run glxgears/google earth inside compiz-fusion without any artifacts or other problems), which is awesome, but it also has some really bad mysterious side effects:

1) Massive loss of performance. Compiz-Fusion benchmark dropped from a pleasant 50fps to around 9fps
2) Many apps have become completely transparent, massive problems there! (See the screenshot below)
3) I lost sub-pixel font smoothing

I used Allans guide for setting up my kernel image and I use the kernel line like this:

kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/b838b9a5-f57e-4761-8ddf-11d1d88f3aa8 ro usbcore.autosuspend=1 i915.modeset=1 enable_mtrr_cleanup nopat

I can't completely remove xorg.conf because I need it for synaptics and such, and I also need to manually set my native resolution, because while kms manages to autoset the framebuffer resolution to my 1440x900, it switches back to 1280x768 when X starts. Here's the relevant sections:

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "CMO"
    ModelName    "1418"
EndSection

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

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth     24
        Modes "1440x900"
        Virtual 1440 1924
    EndSubSection
EndSection

For various differing options in xorg.conf, X remains black, this one I posted works, but with the said side effects. Here's the screeshot:
kmsfail1.png
It's supposed to be grey, not transparent...
This is with the current repo xorg, and it doesn't matter if I use the repo intel drivers or intel-newest from aur, they're exactly the same.

edit:
I just switched to the legacy drivers and of course I lost kms and dri2, but I can report that the performance of the legacy drivers + current xorg and kernel equal a massive performance gain compared to the previous xorg. I now have constat 100fps in compiz-fusion opposed to previous 50fps. To wrap it up, under normal working conditions in compiz fusion I have (all with the GMA945 chipset of course):

xorg-server-1.5.3 + xf86-video-intel-2.4.3 --> ~50fps
xorg-server-1.6.0 + xf86-video-intel-2.6.3 --> ~9fps + kms + dri2 features + texture bugs
xorg-server-1.6.0 + xf86-video-intel-newest-2.6.99.902 --> ~9fps + kms + dri2 features + texture bugs (same as repo drivers)
xorg-server-1.6.0 + xf86-video-intel-legacy-2.3.2 --> 100fps

I'll stick to legacy for now but regularly check out how the newer drivers do, as I really love having kms and dri2. Especially dri2 is a huge step for a compiz-fusion user as it makes using 3d apps possible inside of it.


So Question:
Is there anyone with a GMA945 and working kms/dri2 who still has decent performance?

Last edited by Shapeshifter (2009-04-12 15:58:20)

Offline

#72 2009-04-13 11:59:43

Cheesebaron
Member
From: Denmark
Registered: 2008-10-31
Posts: 65
Website

Re: Intel 945GM, Xorg, Kernel - performance

Anybody else having troubles rotating the screen with UXA and KMS enabled? My screen just turns off sad

I would really like to get this to work, since I'm running this on my Tablet pc.

Offline

#73 2009-04-13 13:51:15

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

Re: Intel 945GM, Xorg, Kernel - performance

I also report a loss of performance with a EeePC 915GM chip, and packages versions moved to extra.
No errors in the Xorg log file. Xterm is getting slow to display, tuxracer is very laggy. I could play fine without KMS.

edit: it finally seems it is not KMS related, but more something like http://bbs.archlinux.org/viewtopic.php?id=69695
I also have performance drop without KMS. Sorry.

Last edited by vinvin (2009-04-14 16:22:54)

Offline

#74 2009-04-14 01:03:48

samwise
Member
From: Sydney, Australia
Registered: 2008-07-26
Posts: 53
Website

Re: Intel 945GM, Xorg, Kernel - performance

With the new intel driver, I got KMS working, and although there was a 2D performance improvement 3D performance was horrible. Compositing was unuseable, ~4 fps in tux racer, supertuxkart was unplayable.

I installed the intel-legacy driver and now I get ~16 fps in tux racer and supertuxkart is again playable, and I can use compositing. Good work patching it to work with the new Xorg!

Man, I think my laptop must be getting old if I have to install 'legacy' drivers to get it to work smile


"He was perfect except for the fact that he was an engineer"

Offline

#75 2009-04-14 04:51:25

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

Re: Intel 945GM, Xorg, Kernel - performance

Allan wrote:

My guide to getting kms going without breaking you current kernel image:
(could need improving - I still only get Extreme Tux Racer at 6FPS...)

1) Create /etc/mkinitcpio-kms.conf

# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="intel_agp drm i915"

# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish.  This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy parsed, so you may safely ignore libraries
BINARIES=""

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in anyway.  This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
#    FILES="/etc/modprobe.conf"
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'modload' may be used in place of 'udev', but is not recommended
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
#    This setup specifies all modules in the MODULES setting above.
#    No raid, lvm2, or encrypted root is needed.
#    HOOKS="base"
#
#    This setup will autodetect all modules for your system and should
#    work as a sane default
#    HOOKS="base udev autodetect pata scsi sata filesystems"
#
#    This is identical to the above, except the old ide subsystem is
#    used for IDE devices instead of the new pata subsystem.
#    HOOKS="base udev autodetect ide scsi sata filesystems"
#
#    This setup will generate a 'full' image which supports most systems.
#    No autodetection is done.
#    HOOKS="base udev pata scsi sata usb filesystems"
#
#    This setup assembles an pata raid array with an encrypted root FS.
#    Note: See 'mkinitcpio -H raid' for more information on raid devices.
#    HOOKS="base udev pata raid encrypt filesystems"
#
#    This setup loads an lvm2 volume group on a usb device.
#    HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata filesystems"

2) Create /etc/mkinitcpio.d/kernel26-kms.preset

# mkinitcpio preset file for kernel26

########################################
# DO NOT EDIT THIS LINE:
source /etc/mkinitcpio.d/kernel26.kver
########################################
ALL_config="/etc/mkinitcpio.conf"

PRESETS=('default')

default_config="/etc/mkinitcpio-kms.conf"
default_image="/boot/kernel26-kms.img"
#default_options=""

3) Run:

/sbin/mkinitcpio -p kernel26-kms

4) Delete/move /etc/X11/xorg.conf.

5) Boot with grub lines

kernel /vmlinuz26 root=/dev/sda2 i915.modeset=1
initrd /kernel26-kms.img

Enjoy.

i dont know why, since this shouldnt be relevant, but since i followed your howto, ive been having lots of problems (even with no KMS and EXA).

before, i used to have about 600fps under glxgears, i could play etracer at about 15fps, chromium at 50fps, and compiz worked... now im having this odd behaviour where compiz gives a white screen, mytthtv segfaults on me, glxgears tops 150fps. i dont know what went wrong, ive undone the kernel changes @ grub's menu.lst, and restored xorg.conf, i downgraded kernel, intel drivers, and all relevant pacakges concerningn the display adapter, and yet, it yields the same results..

ive even replaced the intel graphics with the ones from aur (latest build), and the legacy package, both give the same results...i dont know what went wrong, im actually at a loss here....any help would be much appreciated.


ps. KMS + UXA works great, except for the memory leak, and mythtv hangs when playing content.

Offline

Board footer

Powered by FluxBB