Resolution problem with possible kernel connection [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Re: Resolution problem with possible kernel connection

Postby Fitzcarraldo » Wed Mar 30, 2011 23:01

With KMS, should you still have that vga=791 in the kernel boot line? I read somewhere that it should not be used (although that related just to the consoles/VTs if I recall correctly). Have just read the following Arch Linux Forums post; perhaps it is of help, although I'm not sure if he is just talking about the console: intel kms resolution problem in tty [solved] - Post #10.

orschiro 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.

I suppose in your case you would need to have: video=LVDS1:1440x900
(I'm assuming "LVDS1" as xrandr returned that, in your case.)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Resolution problem with possible kernel connection

Postby joost » Wed Mar 30, 2011 23:07

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


He does use KMS. besides there is no need to modeset because it is enabled by default.
The only thing you can do is disable it, and then it will not work.

Do not confuse things with using the opensource radeon kernel module. In that case you want to indeedly remove those lines as I wrote here: http://joostruis.wordpress.com/2011/01/ ... -catalyst/
joost
Sagely Hen
 
Posts: 2571
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Resolution problem with possible kernel connection

Postby dunsurfin » Thu Mar 31, 2011 7:25

Fitzcarraldo wrote:I suppose in your case you would need to have: video=LVDS1:1440x900
(I'm assuming "LVDS1" as xrandr returned that, in your case.)


I note that the refresh rate isn't added there. The addition I made after the "Kernel Mode Setting" article was video=LVDS1:[email protected] and that didn't work.
Can someone confirm that I'm doing this correctly as I add the relevant instruction at the end of the appropriate kernel line in grub.conf and before the line that starts "initrd"?
I shall try the instruction without the refresh this evening.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Resolution problem with possible kernel connection

Postby dunsurfin » Thu Mar 31, 2011 15:46

Adding video=LVDS1:1440x900 made no difference I'm afraid.
What surprises me is that when I boot into the 2.6.38 kernel I appear to get the correct resolution until about 70% into the boot. The screen then goes to 1024 just before the login screen. When I shut down or restart the correct resolution appears to come back (but not if I logout). By "appears to" I mean that the splash screen becomes very clear and detailed and fills up the monitor.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Resolution problem with possible kernel connection

Postby Fitzcarraldo » Thu Mar 31, 2011 16:11

Looks like a bug report to the Intel driver writers is your only remaining option. Until then, if you are not bothered about the eye candy, you could try using the VESA driver (xf86-video-vesa) instead of the Intel driver. You would need to install it and edit xorg.conf to have Driver "vesa" instead of Driver "intel". Perhaps that will give you the 1440x900 resolution.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Resolution problem with possible kernel connection

Postby dunsurfin » Thu Mar 31, 2011 16:30

In the meantime I shall just continue to use the 2.6.35 kernel. I have just noticed that my video-intel driver is 2.14.901 (installed via entropy on 14-3-11) and it has been removed from portage. I may try using portage to go to an earlier version and see if that makes any difference. However, the problem first came up with kernel 2.6.36 which was before the 2.14.901 driver was released into entropy.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Resolution problem with possible kernel connection

Postby Fitzcarraldo » Thu Mar 31, 2011 16:39

Code: Select all
$ eix xf86-video-intel
* x11-drivers/xf86-video-intel
     Available versions:  2.8.1 2.9.1 (~)2.10.0-r1 (~)2.11.0 2.13.0 2.14.0 2.14.901[1] {debug dri}
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org driver for Intel cards

[1] "sabayon" /var/lib/layman/sabayon

Yes, now that you mention it, xf86-video-intel-2.14.0 via Portage would be an interesting experiment.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Resolution problem with possible kernel connection

Postby dunsurfin » Thu Mar 31, 2011 18:56

Sadly that made no difference either. I need to get my facts together for that bug report.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Resolution problem with possible kernel connection

Postby ReemZ » Mon Apr 04, 2011 0:53

Have you managed to solve it yet? One of the suggestions Fitz made in my thread was this:
Fitzcarraldo wrote:I'm not on a Linux machine just at the moment, and can't open the tarball you posted in your bug report, so can't have a look at your xorg.conf. Try adding the following line in the Section "Monitor" in your xorg.conf:

Code: Select all
Option "Preferred Mode" "1600x900"

You might wanna try the same (obviously with the correct resolution for your machine though) as it did (and still does) work for me.
Handtekening? Zeg...ik ga niet op m'n monitor schrijven!
ReemZ
Old Dear Hen
 
Posts: 701
Joined: Mon Oct 27, 2008 10:50
Location: Here! No, here! Over heeeeeeere!

Re: Resolution problem with possible kernel connection

Postby Fitzcarraldo » Mon Apr 04, 2011 5:52

It's doubtful that would work for dunsurfin, ReemZ, because his machine does not even detect the mode 1440x900:

dunsurfin wrote:and with 2.6.38 I get:

Code: Select all
[email protected] ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
    LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 367mm x 23000mm
       1024x768       60.0*
       800x600        60.3     56.2
       640x480        59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 disconnected (normal left inverted right x axis y axis)
    DP1 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

PreviousNext

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 2 guests