Date: Mon, 26 Sep 2005 22:21:49 +0100 From: dgmm <freebsd01@dgmm.net> To: freebsd-questions@freebsd.org Subject: Re: X.org/i845 refuses to set an resolution ex. default Message-ID: <200509262221.50122.freebsd01@dgmm.net> In-Reply-To: <200509261948.57168.mirya@matrix.ua> References: <200509261948.57168.mirya@matrix.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509262221.50122.freebsd01>