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 1NZrcF-0003In-Qg for garchives@archives.gentoo.org; Tue, 26 Jan 2010 20:02:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B1A8E0998 for ; Tue, 26 Jan 2010 20:02:22 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by pigeon.gentoo.org (Postfix) with ESMTP id 297BDE091E for ; Tue, 26 Jan 2010 18:37:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NZqII-0003Fr-El for gentoo-amd64@lists.gentoo.org; Tue, 26 Jan 2010 19:37:42 +0100 Received: from athedsl-394200.home.otenet.gr ([79.131.91.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jan 2010 19:37:42 +0100 Received: from realnc by athedsl-394200.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jan 2010 19:37:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-amd64] Re: video driver / system state question Date: Tue, 26 Jan 2010 20:37:21 +0200 Organization: Lucas Barks Message-ID: References: <5bdc1c8b1001251520x3aae67b6ld7ba028d365eb757@mail.gmail.com> <5bdc1c8b1001251713s19e6e142o774a35bcf48a4d1e@mail.gmail.com> <201001261059.46541.peter@humphrey.ukfsn.org> <5bdc1c8b1001260930o2ba17a9ap43bd968f115a1ada@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-394200.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 In-Reply-To: <5bdc1c8b1001260930o2ba17a9ap43bd968f115a1ada@mail.gmail.com> Sender: news X-Archives-Salt: 542292f3-12e9-4655-86a5-a2fa102ec597 X-Archives-Hash: 03f3f09b1649fdbcfa924755b808f90c On 01/26/2010 07:30 PM, Mark Knecht wrote: > On Tue, Jan 26, 2010 at 2:59 AM, Peter Humphrey > wrote: >> On Tuesday 26 January 2010 01:13:59 Mark Knecht wrote: >> >>> mtrr: type mismatch for c0000000,10000000 old: write-back new: >>> write-combining [drm] MTRR allocation failed. Graphics performance may >>> suffer. >> >> This rings a bell. Your kernel line in grub.conf has something like >> "video=inteldrmfb:mtrr:3,ywrap", no? The 3 is causing the error above, or >> you may have a 4. Google should be able to find you the docs on this. The >> options are write-combining and write-back; if one doesn't work the other >> should. >> >> -- >> Rgds >> Peter. >> >> > > Hi all, > OK - it's working and gentoo-amd64 is the first email recipient > from my new i5-661 running Gentoo Linux and XFCE4. THANKS TO EVERYONE! > > I'll need to document what I did to get it going as well as archive > files so as to protect myself from some sort of infant mortality or > operator error. None the less at least it's up and usable. > > This seems to be one of those cases where I cannot recognize > exactly who had the final answer as there were a lot of things I did > last night to get the machine going, both based on information from > this thread as well as a thread at intel-gfx. Clearly I'm still > learning/confused about the exact technology here so I want to iron > that out over the next few days. > > The main points, subject to me getting schooled on what's really > happening here: > > 1) The new i5-661 processor and i915 running X are ONLY supported > using KMS so there seem to be two ways to do this: > a) Build the kernel with AGP, DRM and KMS into the kernel, or > b) Build the kernel with AGP, DRM and KMS modular and then use > i915.modeset=1 on the boot command line > > I am using b) at this time. > > 2) Use drm.debug=0x06 to get lots of nice messages from DRM about > what's going on. > > 3) Configure the kernel to support frame buffers but turn off > everything except these 4, and possibly only the first and last ones: > (grep for "FB" and "FRAMEBUFFER") > > CONFIG_FB=y > CONFIG_FB_CFB_FILLRECT=m > CONFIG_FB_CFB_COPYAREA=m > CONFIG_FB_CFB_IMAGEBLIT=m > CONFIG_FRAMEBUFFER_CONSOLE=y > > The CFB entries are probably not necessary but I haven't figured out > where they are in the kernel yet to turn them off. They do load > modules so they might be required. > > 4) In make.conf use these lines among others: > > CFLAGS="-O2 -march=native -pipe" > USE="hal dts mmx sse sse2 ssse3 sse4 -gnome -kde" > INPUT_DEVICES="evdev" > VIDEO_CARDS="intel fbdev" > > to set up for X and get a normal text boot which I think is taking > place in the frame buffer. > > 5) As root run > > Xorg -configure > Xorg -config /root/xorg.conf.new > > If things go right I'm to the point where Drake was correct. X is up > but the screen is blank. Copy xorg.conf.new to /etc/X/xorg.conf > > X -retro does work. Thanks Drake! > > 6) emerge xfce4-meta and then as user put "exec startxfce4" in > .xinitrc, and then startx > > Assuming I haven't made any omissions or stupid mistakes that gets > me into xfce4. I don't know if I'm running X over a frame buffer or > using a more native VGA. Enable compositing ("effects") in XFCE. If it works, you're on native.