From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 21:31:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34E216A41F for ; Mon, 26 Sep 2005 21:31:45 +0000 (GMT) (envelope-from freebsd01@dgmm.net) Received: from lon-mail-4.gradwell.net (lon-mail-4.gradwell.net [193.111.201.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61DC243D67 for ; Mon, 26 Sep 2005 21:31:43 +0000 (GMT) (envelope-from freebsd01@dgmm.net) Received: from 82-39-75-228.cable.ubr02.jarr.blueyonder.co.uk ([82.39.75.228] helo=webmaker@asgard.uk) by lon-mail-4.gradwell.net with esmtp (Gradwell gwh-smtpd 1.186) id 43386678.ca19.629 for freebsd-questions@freebsd.org; Mon, 26 Sep 2005 22:22:00 +0100 (envelope-sender ) From: dgmm To: freebsd-questions@freebsd.org Date: Mon, 26 Sep 2005 22:21:49 +0100 User-Agent: KMail/1.7.2 References: <200509261948.57168.mirya@matrix.ua> In-Reply-To: <200509261948.57168.mirya@matrix.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509262221.50122.freebsd01@dgmm.net> Subject: Re: X.org/i845 refuses to set an resolution ex. default X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 21:31:46 -0000 I think the Intel chipset incorrectly reports the amount of video ram to the system IIRC (It's a while ago now and I no longer use that chipset) you need agp_load="yes" in /boot/loader.conf or compiled into the kernel and add in a line: VideoRam 65536 to the device section for the video card/chipset. I also seem to recall googling on this very topic and reading about patches for the i810 driver. Try a google on i810 memory or maybe i810 resolution HTH Dave On Monday 26 September 2005 17:48, Kyryll A Mirnenko aka Mirya wrote: > Got a problem while setting up a new freebsd box. Got similar configuration > in linux box running nearby w/o problems. Here it is (an extract, full > attached): > > Section "Module" > Load "dbe" > Load "type1" > Load "speedo" > Load "freetype" > Load "glx" > Load "dri" > EndSection > > Section "Extensions" > Option "Composite" "Enable" > EndSection > > Section "Device" > Identifier "Primary Card" > VendorName "Unknown" > BoardName "Intel 845" > Driver "i810" > EndSection > > Section "Screen" > Identifier "Primary Screen" > Device "Primary Card" > Monitor "Primary Monitor" > DefaultDepth 16 > > Subsection "Display" > Depth 8 > Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x576" > "720x480" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" > "320x200" > ViewPort 0 0 > Virtual 0 0 > EndSubsection > Subsection "Display" > Depth 16 > Modes "1280x1024" "1152x864" "1024x768" "800x600" "720x576" > "720x480" "640x480" "640x400" "512x384" "480x300" "400x300" "320x240" > "320x200" > ViewPort 0 0 > Virtual 0 0 > EndSubsection > Subsection "Display" > Depth 24 > Modes "1024x768" "800x600" "720x576" "720x480" "640x480" > "640x400" "512x384" "480x300" "400x300" "320x240" "320x200" > ViewPort 0 0 > Virtual 0 0 > EndSubsection > EndSection > > And here comes the X.org log (extract): > [ ... some more useful modes ... ] > Mode: 58 (1280x1024) > ModeAttributes: 0x9a > WinAAttributes: 0x7 > WinBAttributes: 0x0 > WinGranularity: 64 > WinSize: 64 > WinASegment: 0xa000 > WinBSegment: 0x0 > WinFuncPtr: 0xc0005b77 > BytesPerScanline: 5120 > XResolution: 1280 > YResolution: 1024 > XCharSize: 8 > YCharSize: 16 > NumberOfPlanes: 1 > BitsPerPixel: 32 > NumberOfBanks: 1 > MemoryModel: 6 > BankSize: 0 > NumberOfImages: 0 > RedMaskSize: 8 > RedFieldPosition: 16 > GreenMaskSize: 8 > GreenFieldPosition: 8 > BlueMaskSize: 8 > BlueFieldPosition: 0 > RsvdMaskSize: 8 > RsvdFieldPosition: 24 > DirectColorModeInfo: 0 > PhysBasePtr: 0xf0000000 > LinBytesPerScanLine: 5120 > BnkNumberOfImagePages: 0 > LinNumberOfImagePages: 0 > LinRedMaskSize: 8 > LinRedFieldPosition: 16 > LinGreenMaskSize: 8 > LinGreenFieldPosition: 8 > LinBlueMaskSize: 8 > LinBlueFieldPosition: 0 > LinRsvdMaskSize: 8 > LinRsvdFieldPosition: 24 > MaxPixelClock: 230000000 > Mode: 5a (1600x1200) > ModeAttributes: 0x9a > WinAAttributes: 0x7 > WinBAttributes: 0x0 > WinGranularity: 64 > WinSize: 64 > WinASegment: 0xa000 > WinBSegment: 0x0 > WinFuncPtr: 0xc0005b77 > BytesPerScanline: 6400 > XResolution: 1600 > YResolution: 1200 > XCharSize: 8 > YCharSize: 16 > NumberOfPlanes: 1 > BitsPerPixel: 32 > NumberOfBanks: 1 > MemoryModel: 6 > BankSize: 0 > NumberOfImages: 0 > RedMaskSize: 8 > RedFieldPosition: 16 > GreenMaskSize: 8 > GreenFieldPosition: 8 > BlueMaskSize: 8 > BlueFieldPosition: 0 > RsvdMaskSize: 8 > RsvdFieldPosition: 24 > DirectColorModeInfo: 0 > PhysBasePtr: 0xf0000000 > LinBytesPerScanLine: 6400 > BnkNumberOfImagePages: 0 > LinNumberOfImagePages: 0 > LinRedMaskSize: 8 > LinRedFieldPosition: 16 > LinGreenMaskSize: 8 > LinGreenFieldPosition: 8 > LinBlueMaskSize: 8 > LinBlueFieldPosition: 0 > LinRsvdMaskSize: 8 > LinRsvdFieldPosition: 24 > MaxPixelClock: 230000000 > Mode: 5c (1920x1440) > ModeAttributes: 0x9a > WinAAttributes: 0x7 > WinBAttributes: 0x0 > WinGranularity: 64 > WinSize: 64 > WinASegment: 0xa000 > WinBSegment: 0x0 > WinFuncPtr: 0xc0005b77 > BytesPerScanline: 7680 > XResolution: 1920 > YResolution: 1440 > XCharSize: 8 > YCharSize: 16 > NumberOfPlanes: 1 > BitsPerPixel: 32 > NumberOfBanks: 1 > MemoryModel: 6 > BankSize: 0 > NumberOfImages: 0 > RedMaskSize: 8 > RedFieldPosition: 16 > GreenMaskSize: 8 > GreenFieldPosition: 8 > BlueMaskSize: 8 > BlueFieldPosition: 0 > RsvdMaskSize: 8 > RsvdFieldPosition: 24 > DirectColorModeInfo: 0 > PhysBasePtr: 0xf0000000 > LinBytesPerScanLine: 7680 > BnkNumberOfImagePages: 0 > LinNumberOfImagePages: 0 > LinRedMaskSize: 8 > LinRedFieldPosition: 16 > LinGreenMaskSize: 8 > LinGreenFieldPosition: 8 > LinBlueMaskSize: 8 > LinBlueFieldPosition: 0 > LinRsvdMaskSize: 8 > LinRsvdFieldPosition: 24 > MaxPixelClock: 230000000 > (II) I810(0): Primary Monitor: Using hsync range of 30.00-85.00 kHz > (II) I810(0): Primary Monitor: Using vrefresh range of 50.00-160.00 Hz > (II) I810(0): Not using mode "1024x768" (no mode of this name) > (II) I810(0): Not using mode "800x600" (no mode of this name) > (II) I810(0): Not using mode "720x576" (no mode of this name) > (II) I810(0): Not using mode "720x480" (no mode of this name) > (II) I810(0): Not using mode "640x400" (no mode of this name) > (II) I810(0): Not using mode "512x384" (no mode of this name) > (II) I810(0): Not using mode "480x300" (no mode of this name) > (II) I810(0): Not using mode "400x300" (no mode of this name) > (II) I810(0): Not using mode "320x240" (no mode of this name) > (II) I810(0): Not using mode "320x200" (no mode of this name) > (II) I810(0): 6076 kBytes additional video memory is required to > enable tiling mode for DRI. > (II) I810(0): 2304 kBytes additional video memory is required to enable > DRI. (II) I810(0): Disabling DRI. > (--) I810(0): Virtual size is 640x480 (pitch 640) > (**) I810(0): *Built-in mode "640x480" > (II) I810(0): Attempting to use 85Hz refresh for mode "640x480" (41) > (**) I810(0): Display dimensions: (310, 230) mm > > As u see though it finds all the modes it refuses to use either but default > 640x480. The system is 6.0BETA5. dmesg output is attached, ask for details > if needed -- Dave