You are not logged in.

#1 2011-05-23 18:41:36

slughappy1
Member
Registered: 2009-03-20
Posts: 75

Two quick questions about KMS and powering off the computer

I have an Intel GM965 x3100 video card in my laptop and just wanted to make sure the i915 was the correct module to load. I added the MODULES="i915" to /etc/mkinitcpio.conf and then executed the code 'mkinitcpio -p kernel26' and it worked and boots up just fine. I wanted to have the bootup process be in my native resolution though, so I tried changing my grub entry to be "kernel /boot/vmlinuz26 root=/dev/sda6 ro" to "kernel /boot/vmlinuz26 root=/dev/sda6 ro i915.modset=1". When I try booting up with that, all I get is a blank screen and it goes nowhere.

When I power off my laptop it always goes to the TTY1 for 5-10 seconds and then shuts down. I was just curious why it does that.

Offline

#2 2011-05-23 18:47:23

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Two quick questions about KMS and powering off the computer

For early kms you need to put the i915 module in the modules array of /etc/mkinitcpio.conf (and possibly also the intel_agp module). This is necessary because these modules have to be loaded before the root device is ready.

Last edited by Ramses de Norre (2011-05-23 18:47:39)

Offline

#3 2011-05-23 18:49:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Two quick questions about KMS and powering off the computer

First of all, it's modeset, not modset - you have a typo there.
'i915.modeset=1' shouldn't be necessary.. Try https://wiki.archlinux.org/index.php/KMS#Forcing_modes 'video=' instead.

Offline

#4 2011-05-23 20:23:53

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: Two quick questions about KMS and powering off the computer

Ramses de Norre wrote:

and possibly also the intel_agp module

I think its intel-agp not intel_agp

# ls -a /lib/modules/2.6.38-ARCH/kernel/drivers/char/agp/
.   agpgart.ko.gz  amd64-agp.ko.gz   ati-agp.ko.gz       intel-agp.ko.gz  nvidia-agp.ko.gz  sworks-agp.ko.gz
..  ali-agp.ko.gz  amd-k7-agp.ko.gz  efficeon-agp.ko.gz  intel-gtt.ko.gz  sis-agp.ko.gz     via-agp.ko.gz


Proud Arch Linux user since 2007.

Offline

#5 2011-05-23 20:29:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Two quick questions about KMS and powering off the computer

twilight0 wrote:
Ramses de Norre wrote:

and possibly also the intel_agp module

I think its intel-agp not intel_agp

Module names may be different from filenames. The wiki still says intel_agp.

Offline

#6 2011-11-12 08:38:06

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Re: Two quick questions about KMS and powering off the computer

Booting my laptop with 3.1.0-4 my screen goes black!
I dont have/use any display manager, only startx!

The boot process is ok.
If i type (blind) my user credentials, then i can write (blind) startx
and my screen loads the window manager without a problem.

If you can plz help.



Below are my info


[ebal@mylaptop ~]€ uname -a
Linux mylaptop 3.1.0-4-ARCH #1 SMP PREEMPT Mon Nov 7 23:21:44 CET 2011 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux

[ebal@mylaptop ~]€ sudo dmesg | grep agpgart
[    4.631455] Linux agpgart interface v0.103
[    5.163590] agpgart-intel 0000:00:00.0: Intel 945GM Chipset
[    5.163873] agpgart-intel 0000:00:00.0: detected gtt size: 262144K total, 262144K mappable
[    5.164898] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
[    5.166323] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xc0000000


# /boot/grub/menu

title  Arch Linux v3
root   (hd0,5)
kernel /boot/vmlinuz-linux root=/dev/sda6 ro
initrd /boot/initramfs-linux.img


[ebal@mylaptop ~]€ lsmod | grep 915
i915                  625140  2
drm_kms_helper         22237  1 i915
drm                   149266  3 i915,drm_kms_helper
i2c_algo_bit            4455  1 i915
intel_agp               8720  1 i915
intel_gtt              11449  3 i915,intel_agp
i2c_core               16816  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
video                   9716  1 i915
button                  3614  1 i915


[ebal@mylaptop ~]€ grep -v -E '#|^$' /etc/mkinitcpio.conf
MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect pata scsi sata uresume filesystems usbinput"
COMPRESSION="xz"


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

Board footer

Powered by FluxBB