From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N3Nbx-000265-ER for garchives@archives.gentoo.org; Thu, 29 Oct 2009 05:31:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2F3DE075B; Thu, 29 Oct 2009 05:31:47 +0000 (UTC) Received: from defout.telus.net (defout.telus.net [199.185.220.240]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E08CE075B for ; Thu, 29 Oct 2009 05:31:47 +0000 (UTC) Received: from edtnaa11.telusplanet.net ([173.183.160.198]) by priv-edtnes28.telusplanet.net (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20091029053147.QNKP760.priv-edtnes28.telusplanet.net@edtnaa11.telusplanet.net> for ; Wed, 28 Oct 2009 23:31:47 -0600 Received: from gamer.phs.net (d173-183-160-198.abhsia.telus.net [173.183.160.198]) by edtnaa11.telusplanet.net (BorderWare Security Platform) with ESMTP id AD37B3E2F051249D for ; Wed, 28 Oct 2009 23:31:46 -0600 (MDT) Message-ID: <4AE928C2.3030204@makovey.net> Date: Wed, 28 Oct 2009 23:31:46 -0600 From: Dmitry Makovey User-Agent: Thunderbird 2.0.0.23 (X11/20091006) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] KDE4+i945+kernel+external display = ? Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Archives-Salt: bad6a8da-8a00-42f3-a1c6-8e64c807e99a X-Archives-Hash: 5f51ba62dc656836eb69a5e3871ee072 Hi everybody, I've got an interesting issue today which I half-resolved, but am still wondering whether I missed something important or did something that'll bite me in the end. So here's short story: I've been running older kernel (2.6.22-gentoo-r9) and KDE3 on my laptop(x86,i945) for quite some time. Now with recent unmasking of KDE4 I went with the flow and "upgraded" my KDE3 to KDE4 (yep, I know it's still there, slotted etc., but that's not the point). So, after "upgrade" I've noticed how painfully slow my KDE4 was. Now, I've been running KDE4 on my home machine (amd64,nVidia) for quite some time now (ever since 4.2.0) and never noticed such things (mind you - it's running another rather dated kernel: 2.6.25-gentoo-r6), so I started digging. Xorg gave me no real reason for worries other than some complaints about DRI and the fact that "compatible" DRI would be part of kernel-2.6.28+, but I have not enabled any of the "effects" yet! Well, so I upgraded kernel, and... my X wouldn't start at all. Actually it did start but my externally plugged LCD monitor won't show anything. Lid on my Dell x420 laptop stays closed since I had trouble getting my 1920x1200 resolution on external LCD to cooperate with 1280x800 on internal one. SysRq saved me trouble of hitting reset too many times. A bit of digging on google brought me to this xorg.conf (probably suboptimal as I was adding options and never retracting them looking for the "right" combination): Section "Device" Identifier "Intel Corporation Mobile Integrated Graphics Controller" Driver "intel" BusID "PCI:0:2:0" Option "AccelMethod" "xaa" Option "monitor-LVDS" "LVDS" EndSection Section "Device" Identifier "Intel Corporation Mobile Integrated Graphics Controller 2" Driver "intel" BusID "PCI:0:2:1" Option "AccelMethod" "xaa" Option "monitor-LVDS" "LVDS" EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "Monitor" Identifier "LVDS" Option "Ignore" "True" EndSection Section "Module" Load "dri" EndSection Section "ServerFlags" Option "AIGLX" EndSection Section "DRI" Group "video" Mode 0660 EndSection Section "Screen" Identifier "Default" Option "XaaNoOffscreenPixmaps" "true" DefaultDepth 24 Subsection "Display" Depth 16 Modes "1920x1200" EndSubsection Subsection "Display" Depth 24 Modes "1920x1200" EndSubsection Subsection "Display" Depth 32 Modes "1920x1200" EndSubsection EndSection Some of it are hints from KDE folk, some came from other resources. Not only that but I had recompiled my kernel quite a few times with pretty much every possible options related to intel graphics on i945 chipsets until I hit the "right" one. So it's kind of working. BUT - now every time I end KDE session instead of going back to KDM I'm being dropped to VT7, closer examination shows that KDM is running, but I can't get to it on any of the VTs. So I kill it and start again. And KDE4 itself leaves quite a few artifacts on screen (not entirely sure if it's related to a few effects I have enabled for usability's sake). KDE4 on my home machine haven't had any of those issues for quite some time now (it's got different issues though ;) ). Another annoyance is that with older kernel vesa framebuffer worked perfectly fine (... video=vesafb:ywrap,mttr,1280x800-24@72 ...) and I was able to have full-screen framebuffered text console with 1280x800 resolution on external LCD. Now I get some "viewport"-like console where content is stuck in the upper-left corner (I assume it's resolution is 1280x800) but it didn't scale to full screen. So my real question is: are there any specific guides I should've followed instead of playing "hit-n-miss"? Did I miss something along the way that produces KDM issues? Do I really have to have an xorg.conf only to disable certain things? How do I deal with my framebuffer so that my console looks bit more sane and utilizes all given real estate of 26" monitor and not a mere 50% or so. Sorry for bundling all those into one mail, but it kind of popped up altogether so I felt bad about separating it :-D