View previous topic :: View next topic |
Author |
Message |
linux4ever n00b
Joined: 05 Dec 2005 Posts: 32
|
Posted: Mon Dec 05, 2005 10:40 am Post subject: Savage DRI is driving me mad. |
|
|
Hi Everybody,
Over 2 weeks I am trying to get DRM for my savage (ProSavage KM133) chipset working, without any results. The 3D Acceleration guide says I should use xorg-x11-6.8.2, but when I use this, I seems to have the wrong savage_drv.o (or .so or something) in /usr/lib/modules/drivers, which not yet support DRI (it does not try to load the /usr/lib/modules/dri/savage_dri.o file)
I tried to install the binary snapshots from dri.freedesktop.org but I get an error because the X Server version is to low to support this driver.
I tried to install Xorg Server 6.8.99.something (first the binarysnapshot from the same site, later the source from cvs), DRI is working.. but the whole screen gets messed up...
I did download Mesa, DRM and Xorg via cvs, compiled everything but with the same result, it's working, but you really *can't* work with it.
Soo the 3D acceleration guide is right about the broken savage support in Xorg 6.8.99.X but it's also NOT working on 6.8.2 (since savage dri as not supported at all)
About this last thing (from Xorg.0.log:)
(**) SAVAGE(0): Option "accel" "1"
(**) SAVAGE(0): Option "HWCursor" "1"
(**) SAVAGE(0): Option "UseBIOS" "1"
(**) SAVAGE(0): Option: NoAccel - Acceleration Disabled
(**) SAVAGE(0): Using HW cursor
(**) SAVAGE(0): Using video BIOS to set modes
This line:
(**) SAVAGE(0): Option: NoAccel - Acceleration Disabled
Has nothing to do with the configuration file, but seems to be normal for the savage driver of Xorg 6.8.2 (found on internet)
Can someone give a solution... or I get mad! |
|
Back to top |
|
|
tHeoo n00b
Joined: 20 Mar 2003 Posts: 50 Location: Bammental, Deutschland
|
Posted: Tue Dec 06, 2005 4:05 pm Post subject: |
|
|
I've just installed the latest experimental monolithic build and it gives excellent dri performance out of the box. Make sure you install the latest ~x86 version of x11-drm too.
https://forums.gentoo.org/viewtopic-t-396898.html |
|
Back to top |
|
|
williamvergara n00b
Joined: 15 Sep 2004 Posts: 47 Location: Germany
|
Posted: Fri Jan 06, 2006 4:45 pm Post subject: |
|
|
did you follow that howto and worked for you?? i thought i had read somewhre in the forums. that savage support was broken for that xorg release. Could you please post your xorg.conf? how many fps do you get in glxgears and please tell me if you can play tuxracer. It would be nice too, if you could post your lspci output for vga.
Thanx in advance |
|
Back to top |
|
|
tHeoo n00b
Joined: 20 Mar 2003 Posts: 50 Location: Bammental, Deutschland
|
Posted: Sat Jan 07, 2006 9:01 am Post subject: Working fine |
|
|
6.9 is working fine for me. I get about 450 fps in glxgears and can play tuxracer, torcs, ultimatestunts and flightgear. This is my xorg.conf:
Code: |
# File generated by xf86config.
#
# Copyright (c) 1999 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.
#
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"
Load "synaptics"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/event1"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "150"
Option "MaxTapMove" "90"
Option "MinSpeed" "0.6"
Option "MaxSpeed" "1"
Option "AccelFactor" "0.015"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
EndSection
Section "InputDevice"
Identifier "USBMouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Resolution" "800"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "screen0"
Option "DPMS"
HorizSync 30-57
VertRefresh 50-90
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
# Device configured by xf86config:
Section "Device"
Identifier "card0"
Driver "savage"
Option "ForceInit" "yes"
Option "AGPMode" "4"
Option "BCIforxv" "false"
# Option "ShadowStatus" "true"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "card0"
Monitor "screen0"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Touchpad" "AlwaysCore"
InputDevice "USBMouse" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
|
|
|
Back to top |
|
|
williamvergara n00b
Joined: 15 Sep 2004 Posts: 47 Location: Germany
|
Posted: Wed Jan 11, 2006 12:03 pm Post subject: you were right! |
|
|
I followed the instructions of that post. AMAZING!! Now everythings worked like it should, and like it once did. For all people that have this savage card, change to xorg unstable, it will be better. Regards!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|