From owner-freebsd-x11@FreeBSD.ORG Thu Mar 20 05:16:54 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 917661065674 for ; Thu, 20 Mar 2008 05:16:54 +0000 (UTC) (envelope-from pstern@jago.65north.com) Received: from jago.65north.com (209-193-47-81-cdsl-rb1.fai.acsalaska.net [209.193.47.81]) by mx1.freebsd.org (Postfix) with ESMTP id 040BF8FC13 for ; Thu, 20 Mar 2008 05:16:53 +0000 (UTC) (envelope-from pstern@jago.65north.com) Received: from jago.65north.com (localhost.65north.com [127.0.0.1]) by jago.65north.com (8.13.3/8.13.3) with ESMTP id m2K4iYO8015613 for ; Wed, 19 Mar 2008 20:44:34 -0800 (AKDT) (envelope-from pstern@jago.65north.com) Received: from localhost (pstern@localhost) by jago.65north.com (8.13.3/8.13.3/Submit) with ESMTP id m2K4iXGd015610 for ; Wed, 19 Mar 2008 20:44:34 -0800 (AKDT) (envelope-from pstern@jago.65north.com) Date: Wed, 19 Mar 2008 20:44:33 -0800 (AKDT) From: peter stern To: freebsd-x11@freebsd.org Message-ID: <20080319201202.B15562@jago.65north.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: recovering from the 6.3 xorg mess X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 05:16:54 -0000 I am bringing this topic over from the freebsd-stable list where I started the thread. I am hoping to learn more about what went wrong in my case and what if anything can be done to fix it. A little background. I have been using FreeBSD since 2.2. present hardware is an Intel brand D865 motherboard, Matrox G550 AGP video card, only using the vga port. Viewsonic PT810 monitor This hardware ran X without problems under FreeBSD 6.0, 6.1 and 6.2. It runs X fine under OpenBSD 4.3 and Slackware 12.0 1. Clean install of 6.3 using the X-developer distribution. 2. cvsup the stable branch 3. make and install buildkernel using GENERIC 4. make and install world 5. configure X using xorgconfig 6. quick inspection of resulting xorg.conf looks fine 7. startx, with no customized .xinitrc, x won't even start up 8. tracked problem down to no installed input-keyboard, input-mouse or video-mga devices. Only found a very minimal set of devices in the base install. 9. installed missing devices from pkg 10. x starts up but video is hosed, scan rates all wrong no matter what gets put in the xorg.conf. modelines don't work. can't change modes from keyboard. lines precessing through display, unuseable desktop 11. another freebsd user suggested using xandr. Desktop scan problem can be controlled to an extent by xandr but it doesn't report all the true refresh rates and won't accept manually entered rates. Looks like the mga device doesn't support many higher resolution screens with refresh rates above 60hz. I guess, so much for CRT monitors capable of higher refresh rates. 12. took hard drive to computer with nvidia GForce 2 MX400. pointed xorg.conf to the nv device and x started normally. resolutions can be changed from keyboard. 13. problem would seem to be partly in the mga device. 14 found these disturbing entries in Xorg.0.log (--) MGA(0): BIOS at 0xF7000000 Requesting insufficient memory window!: start: 0xf6800000 end: 0xf77fffff size 0x2000000 (EE) Cannot find empty range to map base to (WW) MGA(0): Video BIOS info block not detected! My first question is why weren't the input-keyboard and input-mouse devices loaded in the default install? Just how badly broken has the video-mga device gotten in FreeBSD. I have heard from a 6.3 user who cannot change resolutions from the keyboard and he is using an ati device. drm0: port 0xa000-0xa0ff mem 0xe0000000-0xe7ffffff,0xfd800000-0xfd80ffff irq 16 at device 0.0 on pci1 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized radeon 1.25.0 20060524 So what is going on with xorg in FreeBSD 6.3? Is there anything I can do to fix the problems. Thanks, peter