You are not logged in.

#1 2005-03-19 21:01:24

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 337

Radeon/xkeyboard error when starting X server

Hello.

How can I fix the following errors that I get when I'm starting X.

(WW) RADEON(0): Failed to set up write-combining range (0xe8000000,0x1000000)
(EE) RADEON(0): Static buffer allocation failed. Disabling DRI.
(EE) RADEON(0): At least 17325 KB of video memory needed at this resolution and depth.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:          bad length in CompatMap
>                 Output file "/var/tmp/server-0.xkm" removed
Errors from xkbcomp are not fatal to the X server
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap


I have found out that the RADEON thing might be a MTRR related problem. I havent found a solution to that however.

My grafix card is a Radeon mobile 7500, with 16MB ram.

The xkeyboard error is not present when I'm starting X as root.

This is my xorg.conf 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 font modules
   Load        "type1"
#    Load        "speedo"
   Load        "freetype"
#    Load        "xtt"

# This loads the GLX module


   Load       "glx"
# This loads the DRI module
   Load       "dri"

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)
#
#

   FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

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

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

Section "InputDevice"

   Identifier "Keyboard1"
   Driver "kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

   Option "AutoRepeat" "500 30"



   Option "XkbRules" "xorg"
   Option "XkbModel" "pc101"
   Option "XkbLayout" "us"

EndSection


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

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver  "mouse"
Option  "Protocol" "ExplorerPS/2"
Option  "Device" "/dev/input/mice"

Option  "ButtonsNumber" "7"
Option  "Buttons" "7"
Option  "ZAxisMapping" "6 7"



EndSection

Section "Inputdevice"

# IBM Thinkpad Touchpad

Identifier "Mouse2"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/psaux"

EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

   Identifier  "IBM Thinkpad T30 LCD"


   HorizSync   30-90
   VertRefresh 50-100

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 chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset "generic"

# 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"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam 256

#    Clocks 25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
   Identifier  "ATI Mobility Radeon 7500"
   Driver      "radeon"
# unsupported card
   #VideoRam    16384
   # Insert Clocks lines here if appropriate
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      "ATI Mobility Radeon 7500"
   Monitor     "IBM Thinkpad T30 LCD"
   DefaultDepth 24

   Subsection "Display"
       Depth       8
       Modes       "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes       "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes       "1400x1050" "1280x1024" "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 "Mouse1" "CorePointer"
   InputDevice "Mouse2" "SendCoreEvents"
   InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

Ørjan Pettersen

Offline

#2 2005-03-19 21:04:59

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Radeon/xkeyboard error when starting X server

DRI should be enabled (at the very end) and GLX should be commented out (I think, but I could be wrong.)


·¬»· i am shadowhand, powered by webfaction

Offline

#3 2005-03-19 21:07:43

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Radeon/xkeyboard error when starting X server

Also, enable the video RAM option and set it to a proper number. I think XOrg has some issues with ATI cards when you don't specify the video RAM size (as well as other issues).


·¬»· i am shadowhand, powered by webfaction

Offline

#4 2005-03-19 21:22:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Radeon/xkeyboard error when starting X server

From the error message, you need 17 MB of RAM to have DRI.  You don't have enough video RAM for DRI.

Offline

#5 2005-03-20 07:59:11

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 337

Re: Radeon/xkeyboard error when starting X server

Did get two of the errors sorted by setting defaultdepth 16 in xorg.conf.

(WW) RADEON(0): Failed to set up write-combining range (0xe8000000,0x1000000)

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:          bad length in CompatMap
>                 Output file "/var/tmp/server-0.xkm" removed
Errors from xkbcomp are not fatal to the X server
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap

The most important thing to sort out is the xkeyboard error.

That error came after doing the following sysupgrade.
As mentioned before, it only applies for users, not root.

[03/17/05 09:26] upgraded arts (1.3.2-1 -> 1.4.0-4)
[03/17/05 09:26] upgraded atk (1.9.0-1 -> 1.9.1-1)
[03/17/05 09:26] upgraded db (4.2.52.2-2 -> 4.3.27-2)
[03/17/05 09:26] upgraded evolution (2.0.3-2 -> 2.2.0-1)
[03/17/05 09:26] upgraded evolution-data-server (1.0.3-2 -> 1.2.0-1)
[03/17/05 09:26] upgraded gal (2.2.4-1 -> 2.4.0-1)
[03/17/05 09:26] upgraded gconf (2.8.1-1 -> 2.10.0-1)
[03/17/05 09:26] upgraded gecko-sharp (0.6-2 -> 0.6-3)
[03/17/05 09:26] upgraded gnome-common (2.8.0-8 -> 2.8.0-9)
[03/17/05 09:26] upgraded gnome-keyring (0.4.1-1 -> 0.4.2-1)
[03/17/05 09:26] upgraded gnome-vfs (2.8.3-4 -> 2.10.0-1)
[03/17/05 09:26] upgraded gthumb (2.6.3-1 -> 2.6.4-2)
[03/17/05 09:26] upgraded gtkhtml (3.2.4-1 -> 3.6.0-1)
[03/17/05 09:26] upgraded gtk-sharp (1.0.6-1 -> 1.0.8-1)
[03/17/05 09:26] upgraded gtksourceview (1.1.1-1 -> 1.2.0-1)
[03/17/05 09:26] upgraded heimdal (0.6.3-2 -> 0.6.3-3)
[03/17/05 09:26] upgraded k3b (0.11.20-1 -> 0.11.21-1)
[03/17/05 09:26] installed jasper (1.701.0-1)
[03/17/05 09:26] warning: /opt/kde/share/config/kdm/kdmrc saved as /opt/kde/share/config/kdm/kdmrc.pacorig
[03/17/05 09:26] warning: /opt/kde/share/config/kdm/backgroundrc saved as /opt/kde/share/config/kdm/backgroundrc.pacorig
[03/17/05 09:26] installed kde-common (3.4.0-6)
[03/17/05 09:27] upgraded kdelibs (3.3.2-5 -> 3.4.0-5)
[03/17/05 09:27] installed gstreamer (0.8.9-1)
[03/17/05 09:27] upgraded kdeaccessibility (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:27] installed cyrus-sasl (2.1.20-2)
[03/17/05 09:27] installed sysfsutils (1.2.0-1)
[03/17/05 09:27] installed pmount (0.6-1)
[03/17/05 09:27] upgraded kdebase (3.3.2-4 -> 3.4.0-5)
[03/17/05 09:27] upgraded kdepim (3.3.2-2 -> 3.4.0-5)
[03/17/05 09:27] installed gst-plugins (0.8.8-1)
[03/17/05 09:27] upgraded kdemultimedia (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:27] upgraded kdegames (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:27] upgraded kdeaddons (3.3.2-3 -> 3.4.0-5)
[03/17/05 09:27] upgraded kdeadmin (3.3.2-1 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdeartwork (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:28] upgraded kdebindings (3.3.2-3 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdeedu (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:28] upgraded kdegraphics (3.3.2-3 -> 3.4.0-4)
[03/17/05 09:28] installed qca (1.0-1)
[03/17/05 09:28] installed qca-tls (1.0-1)
[03/17/05 09:28] installed perl-net-ssleay (1.25-1)
[03/17/05 09:28] installed perl-io-socket-ssl (0.95-1)
[03/17/05 09:28] upgraded kdenetwork (3.3.2-1 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdesdk (3.3.2-2 -> 3.4.0-5)
[03/17/05 09:28] upgraded kdetoys (3.3.2-1 -> 3.4.0-4)
[03/17/05 09:28] installed net-snmp (5.2.1-1)
[03/17/05 09:28] installed dosfstools (2.10-1)
[03/17/05 09:28] upgraded kdeutils (3.3.2-1 -> 3.4.0-5)
[03/17/05 09:29] upgraded kernel26 (2.6.10-3 -> 2.6.11.3-1)
[03/17/05 09:29] upgraded libbonoboui (2.8.1-1 -> 2.8.1-2)
[03/17/05 09:29] upgraded libgda (1.2.0-1 -> 1.2.0-2)
[03/17/05 09:29] upgraded libgnome (2.8.0-1 -> 2.10.0-1)
[03/17/05 09:29] upgraded libgnomecanvas (2.8.0-1 -> 2.10.0-1)
[03/17/05 09:29] upgraded libgnomeprint (2.8.2-1 -> 2.10.1-1)
[03/17/05 09:29] upgraded libgnomeprintui (2.8.2-1 -> 2.10.1-1)
[03/17/05 09:29] upgraded libgnomeui (2.8.0-2 -> 2.10.0-1)
[03/17/05 09:29] upgraded librsvg (2.8.1-3 -> 2.9.5-1)
[03/17/05 09:29] upgraded liferea (0.9.0b-2 -> 0.9.1-1)
[03/17/05 09:29] upgraded openldap (2.2.23-1 -> 2.2.23-2)
[03/17/05 09:29] upgraded pam (0.78-3 -> 0.78-4)
[03/17/05 09:29] upgraded pango (1.8.0-1 -> 1.8.1-1)
[03/17/05 09:29] upgraded perl (5.8.6-1 -> 5.8.6-2)
[03/17/05 09:29] upgraded python (2.4-2 -> 2.4-3)
[03/17/05 09:30] upgraded qt (3.3.4-3 -> 3.3.4-5)
[03/17/05 09:30] upgraded ruby (1.8.2-3 -> 1.8.2-4)
[03/17/05 09:30] upgraded startup-notification (0.7-1 -> 0.8-1)
[03/17/05 15:37] synchronizing package lists
[03/17/05 15:38] starting full system upgrade
[03/17/05 15:38] upgraded gal (2.4.0-1 -> 2.4.1-1)
[03/17/05 15:38] upgraded gtkhtml (3.6.0-1 -> 3.6.1-1)
[03/17/05 15:38] upgraded libsoup (2.2.2-1 -> 2.2.3-1)

Ørjan Pettersen

Offline

#6 2005-03-20 19:56:49

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: Radeon/xkeyboard error when starting X server

try with:


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "XkbRules"   "xorg"

ecc ecc ecc

Offline

Board footer

Powered by FluxBB