On Tue, 19 Dec 2006 02:02:34 +0000 (UTC)
[EMAIL PROTECTED] 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: <i>: integer, <f>: float, <bool>: "True"/"False",
        # <string>: "String", <freq>: "<f> 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" # [<bool>]      ### dose the speed
        Option      "AGPMode" "8" # <i>
        Option      "AGPSize" "64" # <i>                ### Xorg.0.log
        Option      "Accel" "ON" # [<bool>]             ### 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" # [<bool>]
        Option      "DMAForXv" "ON"                     ### may help speed
        Option      "EnableDepthMoves" "ON" # [<bool>]
        Option      "EnablePageFlip" "ON" # [<bool>]    ### helps the speed
        Option      "ForcePCIMode" "OFF"
        Option      "HWcursor" "ON" # [<bool>]
        Option      "LVDSProbePLL" "ON"
        Option      "ModeSetClearScreen" "ON"
        Option      "MonitorLayout" "LVDS" # [<str>]    ### Laptop LCD
        Option      "RenderAccel" "ON" # [<bool>]       ### is the default !
        Option      "SWcursor" "ON" # [<bool>]
        Option      "ShadowFB" "ON"                             ### helps the 
speed
        Option      "ShowCache" "ON" # [<bool>]
        Option      "SubPixelOrder" "NONE"            # "RGB" # [<str>] ### 
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" # [<bool>]
        Option      "DisplayPriority" "HIGH" # "AUTO" <-- standard / "HIGH" 
helps speed a bit
        Option      "DynamicClocks" "OFF" # [<bool>]
        Option      "GARTSize" "64" # <i>               ### Xorg.0.log
        Option      "MergedFB" "OFF" # [<bool>]
        Option           "MergedXinerama" "ON"          ### may usefull for 2nd 
external monitor
        Option      "PanelOff" "OFF" # [<bool>]
        Option      "PanelSize" "1024x768" # [<str>]
        Option      "ReverseDDC" "OFF"
        Option      "SyncOnGreen" "ON"
        Option      "UseEdidDpi" "FALSE"
        Option      "UseFBDev" "OFF" # [<bool>] ### "ON" is NOT used with 
FreeBSD !!!
        Option      "VGAAccess" "ON"
        Option      "VideoKey" "0x1E" # <i>                     ### is the 
standard on RADEON
        Option      "VideoRAM" "16384" # <in kByte>     ### Xorg.0.log
#       Option      "Overlay" "ON"                         # -->  mga card
#       Option      "MergedDPI" "74 75" # [<str>]
#       Option      "PanelOn" "ON" # [<bool>]
#       Option      "BusType" "AGP" # [<str>]           ### can be set to "PCI" 
read "man xorg.conf"
#       Option      "MergedNonRectangular"      "OFF"
#       Option "BufferSize" # <i>
#       Option "CPPIOMode" # [<bool>]
#       Option "CPusecTimeout" # <i>
#       Option "CRT2HSync" # [<str>]
#       Option "CRT2Position" # [<str>]
#       Option "CRT2VRefresh" # [<str>]
#       Option "Dac6Bit" # [<bool>]
#       Option "ForceMinDotClock" # <freq>
#       Option "IgnoreEDID" "OFF" # [<bool>]
#       Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#       Option "MetaModes" "1024x768" # [<str>]
#       Option "NoAccel [inactive]" # [<bool>]
#       Option "NoBackBuffer" # [<bool>]
#       Option "NoMergedXinerama" # [<bool>]
#       Option "RingSize" # <i>
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 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to