NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › The XF86Config Thread
New Posts  All Forums:Forum Nav:

The XF86Config Thread

post #1 of 10
Thread Starter 
People who have X working on different models please post your xf86config files here.

Note that I'm not posting a file, because I don't have X working!

So far.. the correct BusID is "PCI:01:00:0"

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x4e50 ATI Technologies Inc Device unknown

PCI: 01:00:0: chip 1002,4e50 card 1558,0480 rev 00 class 03,00,00 hdr 00
post #2 of 10
All I had to do is run fglrxconfig - the custom X configuration utility that came with the at-drivers. Here is my XF86Config. To make it concise, I've cut out most commented config lines and their associated descriptions. I have a 5680 with both the touchpad and my USB MS Optical Wheel mouse working.

HTML Code:
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
EndSection

# **********************************************************************
# 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"
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

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/X11R6/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/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    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/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "Keyboard"

    Option "AutoRepeat" "100 40"


    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"

EndSection



# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   60
    VertRefresh 60
    Option "DPMS"


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"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver      "vga"

EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === FireGL DDX driver module specific settings ===
# === Screen Management ===
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "yes"
    Option "TVStandard"                 "NTSC-M"
    Option "TVHSizeAdj"                 "0"
    Option "TVVSizeAdj"                 "0"
    Option "TVHPosAdj"                  "0"
    Option "TVVPosAdj"                  "0"
    Option "TVHStartAdj"                "0"
    Option "TVColorAdj"                 "0"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4e50
    Screen 0
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  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1600x1200"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    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  "Server 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.

    Screen "Screen0"

# 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 "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
post #3 of 10
Thread Starter 
Hey that's cool. Thanks for your fast post! Unfortunately fglrxconfig is a lunix only thing. It's too bad that ATI decided to approach xfree86 as a linux project. Because it's not.
post #4 of 10
Then what do you want? I'm confused. I can't post my config file because sager has my laptop right now. Mine will look very similar to his tho. XFree 4.x
post #5 of 10
Thread Starter 
Nah it's cool. One working config file for each laptop would be nice. Since XFree86 is supposed to be standard across all Unices, it would be nice if a single config file would work.

What I want is for the ATI crew to put their drivers into XFree86 and not Linux. Because not everyone in a Unix environment is running Linux. This way one base config file would work with minimal changes (such as paths) on all UNIX systems that run X (quite a few of these are not $distro_of_the_hour Linux). Yes and I want a pony too.

For now it would be cool if there was a sticky thread the *just* contained the XF86Config files for each Sager model on Linux, and maybe even downoadable Linux XFree86 and kernel binaries for new users.
post #6 of 10
Ok now I get it. Maybe a desigation of what distro and version of X and model of laptop. It wouldn't be very different one from another considering what will run on x86 hardware. But it would help the newbs. Our laptops are very different from other systems. As soon as I get my lappy back I'll post my config for Gentoo 1.4 and FGLX drivers.

Anybody running the drivers from X post up.
PS Marten you took my reply as intended, a real question not a flame.
post #7 of 10
Thread Starter 
Ok I am able to start X now but the display is all fscked up. Well it was at least viewable enough to kill the xserver from within an xterm without much trouble. This is on OpenBSD -current and XFree86 -current from cvs with an unofficial patch to radeon_driver.c

Since it's a 4780 I need the modeline for the 1440x900 panelsize, which seems to be pretty elusive. I tried one from some guy's page that didn't work.

Will have another look through these archives for a 1440x900 modeline;but if anyone has a working one please post.

post #8 of 10
Marten, have you tried standard resolutions like 1280x1024 or 1024x768?

Btw, with the config I posted, remember that I cut out a lot of stuff. But basically, everything I cut out was comments anyway, so it should work still. Just a heads up Also, although I mentioned having a 5680, I forgot to mention that I'm running Gentoo with the stable 2.6.0 kernel.
post #9 of 10
Thread Starter 
Nah haven't tried anything other than 1440x900. Based on how the display is behaving I have no doubt that the other resolutions would work, however I really want to get it working properly at its native resolution. It's worth the extra effort to get the machine just perfect for me. As for building modelines, I simply don't possess the knowledge of display technology needed to properly build a modeline. It's one of many areas I am weak in; probably worthwhile to learn about it however. Luckily my new job involves some work with framebuffers so I should be up to speed pretty quick. Ciao!
post #10 of 10
Good stuff, man; good luck..... Ah, I hate framebuffers. With the Gentoo installation I just set up on my 5680, I just gave up on the console framebugger ( ).
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › The XF86Config Thread