You are not logged in.

#1 2010-02-11 16:18:12

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

intel kms resolution problem in tty [solved]

Hello guys,

I had always added vga=773 to kernel line to have a acceptable resolution on startup and in tty. This was a relict of my time without KMS. For testing purposes I deleted it and tried without it but the system fills then just only about one fourth of my native 1280x800 screen size on my notebook, arranged in the top left corner.

I added vga=773 back to kernel line but it doesn't work anymore. KMS is definitely working because the font itself is pin sharp and not as fuzzy as without it.

Any ideas?

My kernel line

kernel /vmlinuz26 cryptdevice=/dev/sda2:main root=/dev/mapper/main-root ro vga=773 acpi_backlight=vendor

And finally my graphic card

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

Regards

Last edited by orschiro (2010-02-13 10:53:50)

Offline

#2 2010-02-11 16:52:23

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: intel kms resolution problem in tty [solved]

You could always use 'nomodeset' on the kernel line - that's what I'm doing and it works fine!!

Offline

#3 2010-02-11 18:37:36

riooo
Member
Registered: 2010-02-11
Posts: 6

Re: intel kms resolution problem in tty [solved]

I have the same problem. How can I use "nomodeset"?? Thanks for answer

Offline

#4 2010-02-11 18:44:06

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: intel kms resolution problem in tty [solved]

title archlinux (i686)
   root (hd0,2)
   kernel /boot/vmlinuz26 ro root=/dev/sda3 nomodeset vga=773
   initrd /boot/kernel26.img

Obviously (I hope) - in this case I do not have a seperate /boot-partition, and my root-filesystem is on /dev/sda3 - ymmv

Last edited by perbh (2010-02-11 18:45:53)

Offline

#5 2010-02-11 18:51:51

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: intel kms resolution problem in tty [solved]

Do you have a second display attached to the machine, which has a lower resolution? If yes, the console will only be filled as much as fits onto that second display.

Offline

#6 2010-02-11 19:00:12

riooo
Member
Registered: 2010-02-11
Posts: 6

Re: intel kms resolution problem in tty [solved]

Great. It works. I solved one, I got other. Now it looks good. No switching. But there is another problem. I can't start gdm. Problem is in X. In log I see:

(EE) intel(0): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.

Thanks

Offline

#7 2010-02-11 19:22:06

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: intel kms resolution problem in tty [solved]

http://www.archlinux.org/news/484/
They removed UMS from the intel driver I guess this is probably somewhat related to this problem.
I've updated, however, not rebooted yet. I was waiting for any first problems to show up^^
We'll see...

Offline

#8 2010-02-11 19:54:18

riooo
Member
Registered: 2010-02-11
Posts: 6

Re: intel kms resolution problem in tty [solved]

I try it. I hope it will work. Thanks

Edit:
I updated and I have xf86-video-intel 2.10.1.
When I start system, its booting. Then -> blank screen and switch resolution. Have small font, output oriented in the left side. Then normaly start GDM and I login into system. Works good. The only problem is switching resolution while booting.

When I edited menu.lst for Grub and set nomodeset then there is no switching while booting, but I can't start GDM. Here is the problem which I posted above.
Thanks for any response.

Last edited by riooo (2010-02-11 20:09:25)

Offline

#9 2010-02-11 20:10:22

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: intel kms resolution problem in tty [solved]

Hello guys,

nomodeset in kernel line solved it. smile

And X is still starting via xinitrc with correct resolution. I hope it fix your problems too.

Best regards

Offline

#10 2010-02-11 20:25:45

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: intel kms resolution problem in tty [solved]

Don't disable KMS, it is a requirement now. The right thing to do if your resolution is wrongly detected is to append the "video" option to your kernel. Example of this:

video=LVDS-1:1280x800

Our wiki says that if vga is appended the KMS will break, which is not really true, what happens is that vesafb is loaded but is overrided as soon as KMS kicks in. Still the right thing do to is to setup KMS to start as early as you want it, there are a few methods on the wiki. Then setup your resolution correctly as mentioned, if it's not autodetected properly.


You need to install an RTFM interface.

Offline

#11 2010-02-11 20:54:59

riooo
Member
Registered: 2010-02-11
Posts: 6

Re: intel kms resolution problem in tty [solved]

orschiro wrote:

Hello guys,

nomodeset in kernel line solved it. smile

And X is still starting via xinitrc with correct resolution. I hope it fix your problems too.

Best regards

Can you write here how you did it??
(What have you in xinitrc and in menu.lst)
Thanks

Offline

#12 2010-02-12 22:22:44

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: intel kms resolution problem in tty [solved]

anrxc wrote:

Don't disable KMS, it is a requirement now. The right thing to do if your resolution is wrongly detected is to append the "video" option to your kernel. Example of this:

video=LVDS-1:1280x800

Our wiki says that if vga is appended the KMS will break, which is not really true, what happens is that vesafb is loaded but is overrided as soon as KMS kicks in. Still the right thing do to is to setup KMS to start as early as you want it, there are a few methods on the wiki. Then setup your resolution correctly as mentioned, if it's not autodetected properly.

Well I have to correct myself. The resolution is detected correctly but obviously he isn't loading LVDS. I get the following output during startup:

[drm] TV-21: set mode 848x480 28
[drm] LVDS-8: set mode 1280x800 29

So it seems he is loading TV (which TV? I haven't plugged in any external monitor or device) instead of LVDS. How can I change that?

Last edited by orschiro (2010-02-12 22:23:05)

Offline

#13 2010-02-13 00:08:28

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: intel kms resolution problem in tty [solved]

You can turn off the TV.

video=TV-0:off

I think that's the syntax. Maybe it's TV-1, or TV-21 as the start-up message shows. And if you don't actually have a TV connected, it's false load detection. The nouveau driver had that problem too. You should report that as a bug.

Offline

#14 2010-02-13 07:45:54

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: intel kms resolution problem in tty [solved]

Hello Gusar,

I'll report it as a bug. Sorry that I'm asking but where do I have to put in "video=TV-0:off"?

Offline

#15 2010-02-13 09:59:37

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: intel kms resolution problem in tty [solved]

orschiro wrote:

Sorry that I'm asking but where do I have to put in "video=TV-0:off"?

On the kernel command line in grub, where you previously had vga=773.

Offline

#16 2010-02-13 10:18:28

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: intel kms resolution problem in tty [solved]

Well I tried it, once with TV-0, once with TV-21 but it doesn't help anyway. Any other ideas? sad

Offline

#17 2010-02-13 10:53:19

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: intel kms resolution problem in tty [solved]

Allright I solved it.

I have to load i915.modeset=1 after acpi_backlight=vendor and not the other way round.

Here is my kernel line

kernel [...] ro acpi_backlight=vendor i915.modeset=1

Thank you guys.

Last edited by orschiro (2010-02-13 10:53:35)

Offline

Board footer

Powered by FluxBB