LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-21-2010, 04:37 AM   #1
Alex_Dc
Member
 
Registered: Oct 2009
Posts: 104

Rep: Reputation: 22
Question Kernel Mode Setting sets wrong resolution on console/Intel GL40/several kernels


Ok, so this is one of the last three problems I have to solve before I can finally and completely ditch Windows.

Basically, what it says in the thread title. About 50% of the time, the system boots and sets the console resolution to something strange, and the console renders in a small box in the top-left hand corner of my screen. This causes problems not only with the display of the console, but with the display of X as well.

I have an Intel GL40 chipset on this laptop, with an integrated GMA4500 GPU. I am using the latest stable Intel video drivers (2.10.0-1), and have tried using the git drivers. In addition, the problem has been occuring since December, when I install Arch linux on this machine, I have just now had the time to address it. So basically, the issue has persisted with all driver versions since mid-December to the latest releases.

In addition, I have tried using several kernels, including:

2.6.32.8 vanilla
2.6.33 vanilla
2.6.32-Arch
2.6.31-sources (I think; the Gentoo kernel)
2.6.32.8 custom kernel
2.6.33 custom kernel

But the problem persists with each.

I wish I could give you relevant diagnostic information for this issue, but if I had any idea where to start...

I will gladly post any information necessary. I was going to post a copy of everything.log for a successful and unsuccesful boot, but unfortunately they put me over the posing limit by about 100,000 characters each.

edit: I guess, on second thought, that my Intel video driver really wouldn't have anything to do with my console, now would they?


Last edited by Alex_Dc; 02-21-2010 at 04:42 AM. Reason: own stupidity
 
Old 02-21-2010, 08:53 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Have you tried disabling KMS ?

when booting, select to modify the kernel arguments and add
nomodeset=1
to the end of the arguments, then resume booting.
This will only affect the current session.
 
Old 02-21-2010, 09:32 AM   #3
Alex_Dc
Member
 
Registered: Oct 2009
Posts: 104

Original Poster
Rep: Reputation: 22
Does exactly what it is supposed to do. But getting rid of KMS isn't really my goal, I just want the correct display resolution. If there are no other options I will resort to downgrading to the previous Intel drivers and ditching KMS, but like I said, that's not exactly what I looking to do.
 
Old 02-21-2010, 10:04 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
The point is that if you can prove that it's the KMS that's the issue, now you have a place to work from.
There are various KMS settings that can be applied in the same way as nomodeset.
For example the GMA4500 is described as a "cost reduced version" of the GMA4500X.
So it's not likely to have the same capabilities of the GMA4500X.

have you read this
http://bbs.archlinux.org/viewtopic.php?id=90914
or this in the same thread
http://bbs.archlinux.org/viewtopic.p...707689#p707689
 
Old 02-21-2010, 10:48 AM   #5
Alex_Dc
Member
 
Registered: Oct 2009
Posts: 104

Original Poster
Rep: Reputation: 22
Read through both already. From the filed bug report, the first link doesn't appear to be related to my issue, while the proposed solutions in the second haven't worked. I have also tried appending the line "video=1280x800" as per a suggestion from a mailing list I am unable to dig up at this point.

edit: Is there some kind of manaual on KMS somewhere, or some kind of list of the available options? I can't seem to find ANY information on this at all.

Last edited by Alex_Dc; 02-21-2010 at 10:49 AM.
 
Old 02-21-2010, 11:07 AM   #6
Alex_Dc
Member
 
Registered: Oct 2009
Posts: 104

Original Poster
Rep: Reputation: 22
There have been some bug reports filed suggesting that this is a problem with the external display connector (TV out, as suggested in one of those links you posted). As I do not use an external display at all, I removed all support from the kernel, recompiled, then again appended the line video=1280x800. Four consecutive reboots have yielded success. If I do not encounter any problems by tomorrow, I will mark this thread as solved.

P.S. Either way, if you know where I can find the information requested in my last post, I would still be interested in it. I would like to actually know WHY this occured, and whether I should file a bug report or not.
 
Old 02-21-2010, 11:18 AM   #7
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
glad to hear you've made progress. I would append your bug to the one you got your solution from, if the bug is still open.

I've been looking for KMS parameters for months and I can't find any either, apart from the odd post discussing one type of chip or driver.

I have nvidia on fedora and the nouveau driver doesn't work properly, so x crashes. So I've had to disable nouveau using rdblacklist=nouveau

But to get it to boot properly in the first place I used the nomodeset=0 option, just to get in to the system.

Last edited by smoker; 02-21-2010 at 11:19 AM.
 
Old 02-21-2010, 12:25 PM   #8
Alex_Dc
Member
 
Registered: Oct 2009
Posts: 104

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by smoker View Post
glad to hear you've made progress. I would append your bug to the one you got your solution from, if the bug is still open.

I've been looking for KMS parameters for months and I can't find any either, apart from the odd post discussing one type of chip or driver.

I have nvidia on fedora and the nouveau driver doesn't work properly, so x crashes. So I've had to disable nouveau using rdblacklist=nouveau

But to get it to boot properly in the first place I used the nomodeset=0 option, just to get in to the system.
Ooh, nasty. I've read the horror stories that come with nouveau. But at least you're not alone, we Intel users have whole mess of our own problems.

This Linux thing is great and all, but it can be a real nasty mess unless you build/buy a system specifically designed for *nix. Overall, though, I would say that it wouldn't be so bad if documentation didn't S U C K. (That is, when you can actually find it.)


Edit: I don't know if you're using the nouveau drivers for open-source reasons or whatever, but we have a pretty good wiki article on installing and configuring the proprietary drivers: http://wiki.archlinux.org/index.php/Nvidia

Last edited by Alex_Dc; 02-21-2010 at 12:34 PM.
 
Old 02-21-2010, 01:06 PM   #9
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
No I'm not a zealot. I got the rpm from rpmfusion to import their repo and yum installed a livna nvidia rpm. Works perfectly.
 
Old 02-21-2010, 01:38 PM   #10
Alex_Dc
Member
 
Registered: Oct 2009
Posts: 104

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by smoker View Post
No I'm not a zealot. I got the rpm from rpmfusion to import their repo and yum installed a livna nvidia rpm. Works perfectly.
Good to hear.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu fixes Karmic kernel-mode-setting graphics bug for Intel chips (and rende LXer Syndicated Linux News 0 11-26-2009 03:00 PM
wrong display resolution using intel chipset zxLinux Linux - Laptop and Netbook 1 03-13-2009 09:43 AM
LXer: Intel, NVIDIA Kernel Mode-Setting In Fedora 11 LXer Syndicated Linux News 0 03-01-2009 08:10 AM
intel 810 console resolution cannot be set chy1013m1 Linux - Hardware 1 06-22-2005 02:47 AM
Console resolution intel i810 card goldie1 Debian 4 06-27-2004 10:47 PM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration