FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-22-2009, 03:15 PM
Sven Joachim
 
Default i915 kms, init runlevel 2 switches virtual console

On 2009-11-22 16:30 +0100, Martin Kraus wrote:

> Hi. I'm using debian testing with vanilla kernel 2.6.32-rc8. I've staticaly
> compiled i915 with kms enabled and it acctually works.

Why not build it as a module and load it from initramfs? That is what I do.

> The only thing that
> annoyes me is that after init runs runlevel 2, it automatically switches to vt
> 4 (I have only 4 vt running from init) a continues boot messages there. I'm
> not sure what does that, I'm suspecting console-setup of doing that.

I also have console-setup installed, and it does not do that here.
Might be an issue with GDM (which I do not use).

> Also, kernel switches the required video mode a bit later then vesafb did. Is
> there a way to set this on the kernel command line? I've read that it is
> recommended to get rid of the vga=<mode>. I've tried setting this via video=
> parameter, but I guess inteldrmfb doesn't support modedb.

If you build it as module, the initramfs scripts translate the video=
parameter into something the module understands. Thus, video=i915 is
sufficient if you enable KMS by default (CONFIG_DRM_I915_KMS=y).

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-23-2009, 05:47 PM
Martin Kraus
 
Default i915 kms, init runlevel 2 switches virtual console

On Sun, Nov 22, 2009 at 05:15:22PM +0100, Sven Joachim wrote:
> > Hi. I'm using debian testing with vanilla kernel 2.6.32-rc8. I've staticaly
> > compiled i915 with kms enabled and it acctually works.
>
> Why not build it as a module and load it from initramfs? That is what I do.

that doesn't matter. it works and I get fb sooner in the boot process.

> I also have console-setup installed, and it does not do that here.
> Might be an issue with GDM (which I do not use).

I'm not using gdm. the switch comes right at the start of runlevel 2, as a
matter of fact, the message about runlevel change is the first that appears
a the last virtual console.

> > Also, kernel switches the required video mode a bit later then vesafb did. Is
> > there a way to set this on the kernel command line? I've read that it is
> > recommended to get rid of the vga=<mode>. I've tried setting this via video=
> > parameter, but I guess inteldrmfb doesn't support modedb.
>
> If you build it as module, the initramfs scripts translate the video=
> parameter into something the module understands. Thus, video=i915 is
> sufficient if you enable KMS by default (CONFIG_DRM_I915_KMS=y).

there is no difference between static compile vs. module. the driver detects
display (probably) and sets the recommended resolution automaticaly and that
is what it does. the only difference from vesafb is that vesafb changes it
right at the start of kernel boot process while i915 does it after some time
in the boot process.
but I guess that vesafb uses the standard and can be set sooner and i915 needs
some kernel stuff initialized before it can grab and set the mode.

All I'd like to know is what and why switches virtual terminals at boot.

mk


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 11:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org