LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2007, 08:25 PM   #1
RedEyez
Member
 
Registered: Nov 2006
Location: Wenatchee, Washington
Distribution: Slackware, Gentoo's and Funtoo's, Roll your Own (LFS, not doobies)
Posts: 67

Rep: Reputation: 15
ati proprietary and xorg problem


i installed the drivers just fine without problems but after running (aticonfig --initial --input=/etc/X11/xorg.conf) and trying to run startx it tries to load but then it spits an error like no screens found. here is my xorg.conf EDITED WITH MY NEW ONE:
Code:
#**********************************************************************
# 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/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    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/cyrillic/"

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

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

EndSection

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

# **********************************************************************
# 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"	"pc104"
    Option "XkbLayout"	"us"

EndSection


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

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"	# Auto detect
    Option "Device"      "/dev/mouse"

    Option "ZAxisMapping"   "4 5 6 7"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Gateway EV910"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31-95

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

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  "radeon"
    Driver      "fglrx"
    #VideoRam    32768
    # 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      "radeon"
    Monitor     "Gateway EV910"
    DefaultDepth 24

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

EndSection

 Section "DRI"
    Mode 0666
 EndSection
Any help would be great

Last edited by RedEyez; 04-06-2007 at 09:53 PM.
 
Old 04-02-2007, 08:43 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Seems that aticonfig never does a proper job huh?
Basically, it looks like aticonfig just ADDED its own junk to the file, without removing the other stuff that might have been in there. You only have ONE card, ONE monitor, right?
Remove or comment out the duplicate SCREEN, DEVICE and MONITOR sections (probably be best to remove the ones with the 'ati-config[0]' stuff, as it is probably what got added..
Now, make sure the correct driver you want, is in the DRIVER line in the Device section. Make sure the right DEVICE is named in the Screen Section. Make sure the correct MONITOR is named in the Screen section.
Check the Horiz & Vert rates for the monitor--- make sure they are suitable.
Finally, the file would be a WHOLE LOT easier to work on if for two things:
1 - Delete all the commented out junk, and
2--- when you post a long file like that, surround it with [ code ] tags [ / code ] <-- like that, but without the spaces.
Hope this helps you fix the file; if you still have trouble, re-paste your new file into your original post, and we'll have another look
 
Old 04-05-2007, 11:51 PM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
here's a minimum list of things

below is my xorg I just removed all the stuff not relating to the ati device that you should check, this is not a complete working xorg file, so dont remove yours and use mine, but these are items that need to be addressed in the xorg conf file without all the chatter and clutter in a stock xorg file

Quote:
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection

Section "Monitor"
Identifier "ati-monitor"
# big fat waring be sure to check your
# monitor settings these could hurt you
HorizSync 50.0 - 90.0
VertRefresh 50.0 - 160.0
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ati-proprietary"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "ati-screen"
Device "ati-proprietary"
Monitor "ati-monitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
The biggest thing is that you MUST keep the Identifier names consistent throughout, to which I can see in your xorg you posted are not the same thru and thru, hence the no screen's issue.
 
Old 04-06-2007, 01:33 AM   #4
GamerX
Member
 
Registered: Nov 2006
Location: Vancouver, BC
Distribution: Slackware
Posts: 102

Rep: Reputation: Disabled
Basically all you need to do (first restore the original xorg.conf file) change
Driver "radeon"
to
Driver "fglrx"

in your existing device section called "Radeon", viola!

overall I found aticonfig to be rather useless.
 
Old 04-06-2007, 09:57 PM   #5
RedEyez
Member
 
Registered: Nov 2006
Location: Wenatchee, Washington
Distribution: Slackware, Gentoo's and Funtoo's, Roll your Own (LFS, not doobies)
Posts: 67

Original Poster
Rep: Reputation: 15
i edited my above post and in this one i will include the exact error code i get.
Code:
[R200 Setup] X version mismatch - detected x.org 7.0.0 required 6.8.0
(EE) failed to load module "fglrx"(module requirement mismatch, 0)
(EE) no drivers available

No screens found
 
Old 04-06-2007, 10:16 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Well,, there are two issues here, likely one as a result of the other:
First, the driver is failing to load.
Second, this makes it impossible to find a screen.
That's how I see it anyhow. Can you look into teh fact that the error claims that it is a version mismatch? I mean, can you specifically locate/download & install the fglrx which matches the 7.0.0 X server?
7.0.0 is the newer one, which I personally am not using yet, so I don't know much more about it, but I would think that there is a newer compatible driver set to work with it.

After that is fixed, we can see if/anything is still affecting the Screen being not found.
 
Old 04-06-2007, 10:20 PM   #7
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
How did you install the drivers? Was it with the .RUN package or did you use the rpm and convert it to tgz?
what kernel are you using?

i found out (and very recently, cuz as you can see i have a post about a similar issue) that when i was on the 2.4 kernel i had issues trying to install the drivers. i reinstalled with the 2.6 kernel (im using slack11 and all included kernels), loaded the modules and source. after that i installed the ati drivers and everything worked just great. i had to modify the xorg.conf obviously, but i got it working.

*sidenote
the one thing i noticed different about the 2.4 and the 2.6 kernel is that a module it loaded was amd64_agp which gets used by agpgart. im wondering if this had a significant role in why it wasn't working for me on 2.4... im not sure but i think before i get too comfortable im going to find out for sure.
 
Old 04-06-2007, 10:33 PM   #8
RedEyez
Member
 
Registered: Nov 2006
Location: Wenatchee, Washington
Distribution: Slackware, Gentoo's and Funtoo's, Roll your Own (LFS, not doobies)
Posts: 67

Original Poster
Rep: Reputation: 15
on atis website they only have drivers for x.org 6.8 so i dont know of any new ones i downloaded the rpm and converted it because im on dialup and cant download 50 megabytes worth of stuff at one time... takes forever. i am also using kernel 2.4.33 the stock slack 11 one, i think amd64 might be for a 64 bit platform which i do not have.
 
Old 04-06-2007, 10:45 PM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Humm, I sympathize about the dialup speed; I am in the same boat @ 28.8k.
However, you may have to download something. As you can see, the version mismatch won't go away, until either the fglrx gets updated, or X gets reverted to 6.8. Maybe there's a compromize at X 6.9 ??
Anything AMD64 won't work on a 32 bit machine either.
Finally, I can't comment on the kernel versions, but there is **very probably** a suitable combination of X and fglrx for your system and kernel But unfortunately, you likely have to download something..
I'd suggest using Kget, as it will download in pieces, and will resume after logouts/reboots etc..
 
Old 04-06-2007, 10:47 PM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Install a 2.6 series kernel and run the ati installer again. Then just run aticonfig --initial without the input file crap. Edit xorg.conf as needed and it will work.
 
Old 04-06-2007, 10:54 PM   #11
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
Heres the weird thing i found about the RPM package. it says xorg 6.8 but the RUN package says 6.8 to 7.1 (i think that far) anyways, when i installed the RPM xorg only package i had an error that said i didn't have the right version of xorg. when i switched to the RUN package i didn't have that problem.

maybe you should try leaving the download open all night remember to save it to a usbdrive too or something so you don't have to do it again. hahaha.
try switching to 2.6 too. it comes with the slackware CD's if thats what you have. its the huge26.s kernel. once you've installed it besure to put in the 3rd CD (i think it's that one) and install the module and source. after that i just followed these steps from this sticky
Code:
From /usr/src
ln -s linux-2.6.X linux
X being the rest of the folder name of the kernel... .17 if you use what comes with the cd.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Proprietary Driver 8.35.5 uv256 Linux - Hardware 6 10-11-2007 08:26 PM
Problem With ATI Proprietary Linux x86 Display Drivers 8.29.6 ArizonaRedneck Linux - Newbie 10 10-31-2006 09:03 PM
ATI Proprietary driver with lfs eculinuxuser Linux From Scratch 5 02-23-2006 12:24 PM
ATI 9600Pro & ATI Proprietary Drivers problem Hyakutake Slackware 6 12-04-2005 10:08 AM
xorg ATI Problem cifra Linux - Software 2 10-25-2004 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration