From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 13:33:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14A7616A412 for ; Wed, 20 Dec 2006 13:33:07 +0000 (UTC) (envelope-from lr101fc@yahoo.co.uk) Received: from smtp008.mail.ukl.yahoo.com (smtp008.mail.ukl.yahoo.com [217.12.11.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 5631A43CA3 for ; Wed, 20 Dec 2006 13:33:06 +0000 (GMT) (envelope-from lr101fc@yahoo.co.uk) Received: (qmail 40352 invoked from network); 20 Dec 2006 13:06:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-Id:In-Reply-To:References:Reply-To:Organization:X-Mailer:X-Operating-System:User-Agent:X-Face:X-Face:X-Face:X-Face:X-Face:X-Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Jbe/eKgN5AfJajDbeE1ZNFaHIM/NkHO63mFs/YKIdWvghhEIqly07rynb2wsyL7rHz+XBlWo5DYaVzGvOcyyMzn9Eahe9rNgW8xKUuUNu4hlw7sS8qBTSBS3lUOpf9aUG1udndCqTV9JMwsrZuCpOYnlq3S6CFr0iRGU3X3kMSU= ; Received: from unknown (HELO smtp.mail.yahoo.co.uk) (lr101fc@89.247.68.37 with plain) by smtp008.mail.ukl.yahoo.com with SMTP; 20 Dec 2006 13:06:24 -0000 X-YMail-OSG: Eeo5Xn0VM1myaIz3_h.2tJL79E3RQuoSXojnsFFEl3h4ND6UPeLymI4BFMMaoHKu1SbxGCEIDefxbblpGhetpem3oYtT5tqm5kOqEUXuvwc_2ExW58JMCOs0ib.mZvREal9pAYxD5JT6ckaQwxQ8J1ITniC793t4ZlMm1qxxLbRbWY2BhLFSi20MXA-- Date: Wed, 20 Dec 2006 03:15:11 +0100 From: Hanno Krusken To: freebsd-questions@freebsd.org Message-Id: <20061220031511.2c6d8f49.lr101fc@yahoo.co.uk> In-Reply-To: <20061219020234.BDAA316A514@hub.freebsd.org> References: <20061219020234.BDAA316A514@hub.freebsd.org> Organization: ix260.net X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.6; i386-portbld-freebsd6.1) X-Operating-System: FreeBSD UNIX User-Agent: X11 Sendmail + ClamAV X-Face: M$-evil is a virus X-Face: M$-evil is only good if you like worms X-Face: M$-windows is out of date X-Face: don't use M$.... trash it and go UNIX ;o) X-Face: FreeBSD UNIX it's faster + safer X-Face: Users against TCPA crash RFID chips Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: radeon hardware acceleration on 6.2-PRERELEASE - does not X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lr101fc@yahoo.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 13:33:07 -0000 On Tue, 19 Dec 2006 02:02:34 +0000 (UTC) freebsd-questions-request@freebsd.org wrote: > radeon hardware acceleration on 6.2-PRERELEASE - does not > Nothing I do seems to persuade my system to use the hardware > acceleration on either of my graphics cards. If someone could point out > something I've missed, I would very much appreciate it. well well............ have o good study and read the man pages, just to make you understand the way it works....... man radeon, man ati, man xorg.conf, man xorg, man vga, man vesa, man Composite, man vidcontrol............. and may a few more......... ;o) ++++++ try study your file /var/log/Xorg.0.log or /var/log/Xorg.log ++++++ all you need to know about your Radeon card is written in there !!! XORG dose a pretty good job of testing the graphic card ! my hint: the "option part" is the key, as written in the man pages but 1st. of all....... your kernel should contain some thing like this for a start: there is a lot in mine, but you may don't need or want all this !! ---------------------------------------------------------------- # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device mse # BUS mouse device psm # PS/2 mouse options PSM_HOOKRESUME options SC_DFLT_FONT makeoptions SC_DFLT_FONT=cp850 options SC_TWOBUTTON_MOUSE options SC_DISABLE_REBOOT device kbdmux # keyboard multiplexer # # VESA, VGA settings device vga # VGA video card driver options VESA # VESA support device acpi_video # LCD backlight/brightnes extention device drm device agp # support for AGP chipsets as used on RADEON device sc # Sytem-Console #device r128drm # ATI-Rage is NOT used on my Radeon card !!! device radeondrm # ATI Radeon RV100 Mobility LY M6 / AGP chipset device splash # Splash screen and screen saver support options MAXCONS=9 # Max-No. of virtual terminals (standard=16) options SC_PIXEL_MODE # raster text mode VESA_800x600, MODE_280, MODE_291 options CONSPEED=115200 options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED) ---------------------------------------------------------------------------------------- your xorg.conf file should look like this......... but don't just copy my settings, that will 200% crash your Xserver, study your /var/log/Xorg.0.log and use "YOUR" data of "your" Radeon card !!!! This is only my working xorg.conf and is not perfect !! use it as a sample only !!! you don't need all of this, many of the "Option" settings are the default anyway !!! read the "man" pages to tweak your system !!! ------------------------------------------------------------------------------------------- # # # xorg.conf tweak on: iTronix GoBook II IX260 # by: Hanno 12-Dec-2006 /etc/X11/xorg.conf # Section "ServerLayout" Identifier "X.org Configured" Screen "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Pixmap" "32" Option "BlankTime" "10" Option "StandbyTime" "20" Option "SuspendTime" "30" Option "OffTime" "40" Option "HandleSpecialKeys" "WhenNeeded" Option "Xinerama" "OFF" #### need to be "OFF" for "DRI" to work EndSection # Section "Files" # LogFile "/var/log/xdm.0.log" # FontPath "/usr/X11R6/lib/X11/fs" # FontPath "/usr/X11R6/lib/X11/fonts/local/" # FontPath "/usr/local/share/texmf/fonts" # FontPath "/usr/X11R6/lib/X11/fonts/CID/" # FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" # FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/local/share/fonts/amspsfont/type1" FontPath "/usr/local/share/fonts/cmpsfont/type1" FontPath "/usr/local/share/fonts/cm-super/type1" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/bitstream-vera/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/URW/" FontPath "/usr/X11R6/lib/X11/fonts/farsifonts/" FontPath "/usr/X11R6/lib/X11/fonts/freefont-ttf/" FontPath "/usr/X11R6/lib/X11/fonts/mozilla/" FontPath "/usr/X11R6/lib/X11/fonts/mathfonts/" FontPath "/usr/X11R6/lib/X11/fonts/texcm-ttf/" EndSection # Section "Module" ### "bitmap" is loaded automatically !! Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" Load "GLcore" Load "ati" ### "radeon" is loaded automatically !! EndSection # Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "AutoRepeat" "250 34" Option "XkbLayout" "gb" Option "XkbRules" "xorg" Option "XkbModel" "pc102" Option "XkbCompat" "basic+pc+iso9995" Option "XkbOptions" "compose:ralt,grp:switch,grp_led:scroll" # ,grp:lwin_toggle,grp:menu_toggle" Option "CustomKeycodes" "OFF" EndSection # Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Buttons" "3" Option "Emulate3Buttons" "ON" Option "DragLockButtons" "2" Option "ChordMiddle" "ON" Option "EmulateWheel" "ON" Option "EmulateWheelButton" "4" Option "EmulateWheelnertia" "10" Option "ButtonMapping" "1 2 3 4 5 6 7" # Option "XAxisMapping" "4 5 6 7" Option "YAxisMapping" "4 5" Option "ZAxisMapping" "4 5 6 7" EndSection # Section "Monitor" # VendorName "iTronix" # ModelName "LCDtouch screen" # Comment all HorizSync and VertSync values to use DDC: Identifier "LCD" DisplaySize 351 260 ### can be found in Xorg.0.log, the rest as well !!! HorizSync 48.4 - 60.0 VertRefresh 40.0 - 150.0 ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 Option "DPMS" Option "SyncOnGreen" EndSection # Section "Monitor" # VendorName "Analog extern" # ModelName "VGA" # Comment all HorizSync and VertSync values to use DDC: Identifier "Smile" HorizSync 48.4 - 60.0 VertRefresh 40.0 - 150.0 ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 Option "DPMS" Option "SyncOnGreen" EndSection # Section "Device" # Available Driver options are:- # Values: : integer, : float, : "True"/"False", # : "String", : " Hz/kHz/MHz" # [arg]: arg optional # VendorName "ATI Technologies Inc" # BoardName "ATI-Radeon RV100 Mobility M6 LY" # Driver "ati" ### if you don't know Identifier "ATI-Radeon-RV100" Driver "radeon" ### if you know which card you got BusID "PCI:1:0:0" Option "AGPFastWrite" "ON" # [] ### dose the speed Option "AGPMode" "8" # Option "AGPSize" "64" # ### Xorg.0.log Option "Accel" "ON" # [] ### dose the speed Option "AllowGLXWithComposite" "ON" # ? not used Option "BIOSHotkeys" "ON" ### nice add-on to brighten the display with "Fn"-keys Option "BackingStore" "ON" ### dose the speed Option "Chipset" "ati" ### use "ati" only !!! drop out "ativga" !!! makes it faster !!! Option "ColorKey" "255" # ? not used Option "ColorTiling" "ON" ### helps drawing the screen Option "DDCMode" "OFF" # [] Option "DMAForXv" "ON" ### may help speed Option "EnableDepthMoves" "ON" # [] Option "EnablePageFlip" "ON" # [] ### helps the speed Option "ForcePCIMode" "OFF" Option "HWcursor" "ON" # [] Option "LVDSProbePLL" "ON" Option "ModeSetClearScreen" "ON" Option "MonitorLayout" "LVDS" # [] ### Laptop LCD Option "RenderAccel" "ON" # [] ### is the default ! Option "SWcursor" "ON" # [] Option "ShadowFB" "ON" ### helps the speed Option "ShowCache" "ON" # [] Option "SubPixelOrder" "NONE" # "RGB" # [] ### helps the speed a bit on LCD Option "AccelMethod" "XAA" # "EXA" <-- still buggy Option "ChipID" "0x4c59" ### change to YOUR ChipID in Xorg.0.log but don't need to be set !!!!! Option "CloneDisplay" "0" # ? not used Option "DPI" "74 x 75" ### find YOUR DPI in Xorg.0.log Option "DPMS" "ON" Option "Dac8Bit" "ON" # [] Option "DisplayPriority" "HIGH" # "AUTO" <-- standard / "HIGH" helps speed a bit Option "DynamicClocks" "OFF" # [] Option "GARTSize" "64" # ### Xorg.0.log Option "MergedFB" "OFF" # [] Option "MergedXinerama" "ON" ### may usefull for 2nd external monitor Option "PanelOff" "OFF" # [] Option "PanelSize" "1024x768" # [] Option "ReverseDDC" "OFF" Option "SyncOnGreen" "ON" Option "UseEdidDpi" "FALSE" Option "UseFBDev" "OFF" # [] ### "ON" is NOT used with FreeBSD !!! Option "VGAAccess" "ON" Option "VideoKey" "0x1E" # ### is the standard on RADEON Option "VideoRAM" "16384" # ### Xorg.0.log # Option "Overlay" "ON" # --> mga card # Option "MergedDPI" "74 75" # [] # Option "PanelOn" "ON" # [] # Option "BusType" "AGP" # [] ### can be set to "PCI" read "man xorg.conf" # Option "MergedNonRectangular" "OFF" # Option "BufferSize" # # Option "CPPIOMode" # [] # Option "CPusecTimeout" # # Option "CRT2HSync" # [] # Option "CRT2Position" # [] # Option "CRT2VRefresh" # [] # Option "Dac6Bit" # [] # Option "ForceMinDotClock" # # Option "IgnoreEDID" "OFF" # [] # Option "MergedXineramaCRT2IsScreen0" # [] # Option "MetaModes" "1024x768" # [] # Option "NoAccel [inactive]" # [] # Option "NoBackBuffer" # [] # Option "NoMergedXinerama" # [] # Option "RingSize" # EndSection # Section "Screen" Identifier "Screen0" Device "ATI-Radeon-RV100" Monitor "LCD" DefaultDepth 24 DefaultBPP 32 DefaultFbBPP 32 Option "Accel" "ON" ### speed's things up # SubSection "Display" ### to fast to load out of "/etc/ttys" via "xdm" will crash my Xserver !! # Viewport 0 0 # Depth 24 # Visual "TrueColor" # Modes "1024x768" # EndSubSection EndSection # Section "DRI" # Group 0 Mode 0666 EndSection # Section "Extensions" # Option "Composite" "Enable" # needs for transparency look EndSection # but if off, the screen is faster, and some ports like "bbmail" don't like Composite enabled ! # # # ----------------------------------------------- BE PREPARED TO CRASH YOUR XSERVER a few times BEFORE YOU FOUND "YOUR" PROPER SETTINGS !! good luck ;o) -- Hanno Krusken Important note: please do not replay with any HTML tags in your mail which will be blocked and deleted. Regarding known SPAM, VIRUS and junk mail sender, which often use this way of fooling recipients with fancy images and HTML-artwork. Remember that I'm using a very strict spam setup on top of it. Thanks for your understanding. Send instant messages to your online friends http://uk.messenger.yahoo.com