You are not logged in.
Pages: 1
Using an Intel 945GM, I have enabled KMS according to the Wiki (method 1), where there is suggested to change modprobe.conf and update mkinitcpio.conf (and of course, rebuilding it).
I use the latest xf86-video-intel and kernel26 packages from [testing]. Also, I don't have an xorg.conf.
Now, when I start my computer, starting X works impressively fast. However, I don't think KMS is activated. My VT does not appear to be in 1024*768 (my native resolution). Also, I cannot go between X and TTY (reverting to X after changing to TTY results in a black X, which I then have to restart).
In #linux on freenode somebody suggested to me to check for KMS the following way:
$ sudo cat /sys/module/i915/parameters/modeset
-1
Apparently, KMS is deactivated. I am now trying to figure out, why.
In kernel.log I receive the info that i915 is activated:
Jun 24 23:25:24 scimitar kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
However, I also get an error:
Jun 24 22:34:14 scimitar kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Any suggestions what I could try?
Here is the exact information of my chipset:
$ sudo lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
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)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
EDIT: The solution can be found in post #9.
Last edited by Stalafin (2009-06-25 15:18:44)
Offline
what about the kernel boot parameters...? how are you booting the kernel?
Offline
On xf86-video-intel 2.7.99.901-1, kernel 2.6.30-custom (with intel fb option loaded, did you enable this option at compilation time?)
[dubsteppz@myhost ~]$ sudo cat /sys/module/i915/parameters/modeset
1
relevant kernel.log
Jun 25 01:01:41 myhost kernel: agpgart-intel 0000:00:00.0: Intel 965GM Chipset
Jun 25 01:01:41 myhost kernel: [drm] Initialized drm 1.1.0 20060810
Jun 25 01:01:41 myhost kernel: allocated 1280x800 fb: 0x007df000, bo f712f9c0
Jun 25 01:01:41 myhost kernel: Console: switching to colour frame buffer device 160x50
Jun 25 01:01:41 myhost kernel: [drm] LVDS-8: set mode 1280x800 15
Jun 25 01:01:41 myhost kernel: fb0: inteldrmfb frame buffer device
Jun 25 01:01:41 myhost kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Yes, what about boot parameters? No boot parameters here. Just followed mentioned wiki page (method 1 also), and it worked. no problem.
box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle
Offline
After the modprobe update, I had to change my mkinitcpio.conf to
MODULES="intel_agp drm i915"
BINARIES=""
FILES="/etc/modprobe.d/modprobe.conf"
HOOKS="base udev autodetect sata keymap filesystems"
The thing to note is the location of the modprobe.conf file, that changed for me (obviously so, with the update)
and then my /etc/modprobe.d/modprobe.conf contains.
options i915 modeset=1
then just run
mkinitcpio -p kernel26
It should work fine after that.
Last edited by makimaki (2009-06-25 08:45:45)
====* -- Joke
O
\|/ --- Me
/ \ Whooooosh
Offline
Hm, I use the default kernel from [testing], I didn't compile anything. I thought it would be activated by default?
Everything else is according to makimaki's config....
I checked kernel.log for all DRM entries; all I am getting is:
Jun 25 09:11:31 scimitar kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jun 25 09:11:47 scimitar kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
does not look good, does it?
Offline
KMS is not activated by default. You will have to do it yourself.
Offline
KMS is not activated by default. You will have to do it yourself.
What sort of redundant answer is that? Did you read anything I wrote? I am aware, that I have to "activate" it. That is why I am refering to the Wiki and writing the steps I took to activate it.
I was just not aware that I have to recompile the kernel in any way, because the Wiki does not mention it (and so far, I did not read about all people using KMS compiling new kernels all the time).
Offline
Gentlemen, if you use testing, please use the subforum for it .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
instead of using modprobe.conf, edit /boot/grub/menu.lst, in the kernel line, after ro, add i915.modeset=1
remember NOT to have a vga=XXX entry there.
Last edited by eldragon (2009-06-25 12:21:31)
Offline
Gentlemen, if you use testing, please use the subforum for it .
Stalafin uses the testing kernel, but I use the current core kernel. I have had a problem with the backlight since I turned on KMS in 2.6.28
====* -- Joke
O
\|/ --- Me
/ \ Whooooosh
Offline
Nepherte wrote:KMS is not activated by default. You will have to do it yourself.
What sort of redundant answer is that? Did you read anything I wrote? I am aware, that I have to "activate" it. That is why I am refering to the Wiki and writing the steps I took to activate it.
I was just not aware that I have to recompile the kernel in any way, because the Wiki does not mention it (and so far, I did not read about all people using KMS compiling new kernels all the time).
My apologies, I was just answering your redundant question "I didn't compile anything. I thought it would be activated by default?" If you follow makimaki's steps (including mkinitcpio), you should be fine. If that's not the case, then there might be a problem with the package you use use from testing, which happens from time to time especially with kernel and intel driver packages as they are in constant heavy development..it's called testing for a reason.
Offline
instead of using modprobe.conf, edit /boot/grub/menu.lst, in the kernel line, after ro, add i915.modeset=1
remember NOT to have a vga=XXX entry there.
Brilliant! That solved it! Interesting to know - how did you come up with that? Where did you get this information from? Maybe we should update the Wiki?
My respective output from kernel.log now looks like this:
Jun 25 17:05:56 scimitar kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Jun 25 17:06:29 scimitar kernel: [drm] Initialized drm 1.1.0 20060810
Jun 25 17:06:29 scimitar kernel: [drm] LVDS-8: set mode 1024x768 13
Jun 25 17:06:29 scimitar kernel: fb0: inteldrmfb frame buffer device
Jun 25 17:06:29 scimitar kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Jun 25 17:07:50 scimitar kernel: [drm:drm_wait_vblank] *ERROR* failed to acquire vblank counter, -22
As one can see, KMS seems to be set; however, i still get those weird vblank errors.
Offline
well, i thought that info was in the wiki....thats how i always started kms. taken from the forums. maybe its not in the wiki since its a temp solution until kms is enabled by default.
the errors concerning vblank are from a known bug, check https://bugs.freedesktop.org/show_bug.cgi?id=22166
its safe to ignore those for now.
Last edited by eldragon (2009-06-25 15:30:53)
Offline
I'm trying to get KMS in my Arch x86_64 / Kernel 2.6.31 / xf86-video-intel 2.9.1 driver / Intel GMA X3100 (GM965) graphics card.
In dmesg output occurs this error:
[drm: i915_driver_load] *ERROR* Failed to map registers
Someone knows what means this error?
I think that solving this problem I can load the KMS normally!!!
PS: I'm a brazilian user, so excuse my bad english.
Offline
Pages: 1