From owner-freebsd-questions Wed Oct 31 11:23:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-249.oz.net [216.39.168.249]) by hub.freebsd.org (Postfix) with ESMTP id EA7D337B407 for ; Wed, 31 Oct 2001 11:23:35 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.11.3/8.11.0) id f9VJND219399; Wed, 31 Oct 2001 11:23:13 -0800 (PST) (envelope-from kline) Date: Wed, 31 Oct 2001 11:23:12 -0800 From: Gary Kline To: Stijn Hoop Cc: Mats Dufberg , denorris@bellsouth.net, freebsd-questions@FreeBSD.ORG Subject: Re: Can X work with Intel i815 under FBSD 4.4? Message-ID: <20011031112312.B19177@tao.thought.org> References: <20011029110031.B11496@tao.thought.org> <20011031160809.J64830@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20011031160809.J64830@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Wed, Oct 31, 2001 at 04:08:09PM +0100 X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 31, 2001 at 04:08:09PM +0100, Stijn Hoop wrote: > [redirected to -questions, that's where this belongs] > > On Wed, Oct 31, 2001 at 02:53:44PM +0100, Mats Dufberg wrote: > > On Mon, 29 Oct 2001, Gary Kline wrote: > > > Of course, you can adjust the amount of VideoRam and tune > > > other optional settings as you want. I've got 256MB of > > > SDRAM but am only using 16384K as a first cut. > > > > According the documentation, the card has 4 MB of RAM. Is that a card that > > uses normal RAM for the card? Do you have to recompile the kernel to > > reserve memory? > > The card uses normal RAM as display memory. In fact, I suspect the i81x's of > being nothing more than a glorified 2d chip programmed to do some simple 3d, > and starve system memory while being about it. Oh and it does some crappy > sound which requires careful timing[1]. > > To answer your question: no, you don't have to recompile the kernel - X > will setup the card so it uses the amount you specify in your XF86Config. > > Attached is my XF86Config which works with > > agp0: mem 0xff000000-0xff07ffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 > > (and as you can see, I have the line 'device agp' in my kernel. Why it's not > in LINT is beyond me). > > HTH, > > --Stijn > > [1] If someone has a working, not too fast playing sound config on one of > these I'd love to hear from you. > Hmm. I was able to get X working with the XF86Config file that I'll append. So far, tho, no sound. /dev/MAKEDEV in my Free BSD 4.3 will not create /dev/snd0 for reasons I don't understand... Derrick Norris tells me that his Intel i815 mainboard works kjust fine, both X11 and sound. He said that he did have to cd /dev; sh MAKEDEV snd0; and put the pcm controller line into the KERNEL config. I just bought this box in August, 2001; could we each have different hardware revs?? We seem to be having different issues with this Intel board; if we work together, perhaps we'll be able to figure things out. ((I've just CVSup'd 4.4-STABLE and am rebuilding at this moment.)) I already do have the newer version of X, 4.1.X. Are we all at the same levels software-wise? And my question for anyone on the list: Why can't I create a /dev/snd0? gary Encl: appended. -- Gary Kline kline@thought.org www.thought.org Public service Unix # XF86Config auto-generated by XF86Setup # # Copyright (c) 1996 by The XFree86 Project, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the # XFree86 Project. # # See 'man XF86Config' for info on the format of this file Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" EndSection Section "ServerFlags" EndSection Section "Keyboard" Protocol "Standard" XkbRules "xfree86" XkbModel "pc104" XkbLayout "us" EndSection ###Section "Pointer" ###Protocol "auto" ###Device "/dev/sysmouse" ###BaudRate 1200 ###Emulate3Timeout 50 ###Resolution 100 ###Emulate3Buttons ###EndSection Section "Pointer" Protocol "Mouseman" Device "/dev/ttyd0" ####Device "/dev/sysmouse" BaudRate 1200 Emulate3Timeout 50 Resolution 100 Emulate3Buttons EndSection Section "Monitor" Identifier "Primary Monitor" VendorName "Unknown" ModelName "Unknown" HorizSync 31.5-48.5 VertRefresh 55-90 Modeline "1024x768" 65.00 1024 1032 1176 1344 768 771 777 806 -hsync -vsync Modeline "800x600" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync Modeline "640x480" 36.00 640 696 752 832 480 481 484 509 -hsync -vsync EndSection Section "Device" Identifier "Primary Card" Driver "i810" VendorName "Unknown" BoardName "Unknown" EndSection Section "Device" Identifier "i815" Driver "i810" VideoRam 16384 Option "NoDDC" "True" EndSection Section "Screen" Device "Primary Card" Driver "i810" Monitor "Primary Monitor" DefaultColorDepth 8 SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection ###SubSection "Display" ###Depth 32 ###Modes "1024x768" "800x600" "640x480" ###EndSubSection EndSection Section "Screen" Driver "VGA16" Device "Primary Card" Monitor "Primary Monitor" SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Driver "VGA2" Device "Primary Card" Monitor "Primary Monitor" SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Driver "Mono" Device "Primary Card" Monitor "Primary Monitor" SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message