LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-01-2004, 09:03 PM   #31
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45

Quote:
Originally posted by SBing
Waaa

Well, everything is running fine but for me apart from 3D games freeze a lot Just playing a game and - it'll randomly freeze - have to restart.

Running Slack10 with ATI 3.9.0 drivers on a P4 1.3Ghz with a Sapphire Radeon 9000, in Fluxbox. Looking around the forums doesn't seem a lot I can do realy - any suggestions ?

Steve
Which kernel are you using? Do you still have the log files from when you compiled the driver?
 
Old 07-01-2004, 10:09 PM   #32
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Ok, there are the exact steps that I took to get where I am now ;( (For Slackware 10 running the 2.4.26)

1) Downloaded fglrx-4.3.0-3.9.0.i386.rpm
2) Then I converted the file to a .tgz using rpm2tgz
3) installpkg fglrx-4.3.0-3.9.0.i386.tgz
4) cd /lib/modules/fglrx/build_mod/ && sh ./make.sh

That seems to work fine without any error messages.

5) Then I cd .. and ran the make_install.sh script which also seems to work fine.
6) I then shutdown X and as root ran fglrxconfig. (Now I think I answered every question correctly)

7) Backed up my old xorg.conf and renamed the newly created XFree86-4 whatever to xorg.conf

8) Edited these sections of xorg.conf

Code:
# 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      "fglrx"  <-- Changed this line to fglrx
Code:
# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx" <-- Changed this line to fglrx
Thats all I did, this is the output of lsmod and fglrxinfo after restarting X again;

Code:
kristijan@neo:~$ lsmod
Module                  Size  Used by    Tainted: P
fglrx                 179912   0
snd-pcm-oss            37736   1
snd-mixer-oss          12504   1 [snd-pcm-oss]
usb-storage            66176   0 (unused)
usb-ohci               19240   0 (unused)
ehci-hcd               17580   0 (unused)
usbcore                59308   1 [usb-storage usb-ohci ehci-hcd]
forcedeth               9164   1
snd-intel8x0           18924   2
snd-ac97-codec         49500   0 [snd-intel8x0]
gameport                1420   0 [snd-intel8x0]
snd-pcm                56072   0 [snd-pcm-oss snd-intel8x0]
snd-timer              13604   0 [snd-pcm]
snd-page-alloc          6328   0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3200   0 [snd-intel8x0]
snd-rawmidi            12740   0 [snd-mpu401-uart]
snd-seq-device          3888   0 [snd-rawmidi]
snd                    30852   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   4 [snd]
ohci1394               24112   0 (unused)
ieee1394               42276   0 [ohci1394]
ide-scsi                9328   0
agpgart                43940   0 (unused)
apm                     9580   2
fglrx dosen't seem to be in use ? *shrugs*

Code:
kristijan@neo:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
I'm trying to get this working because when I use the radeon driver I cannot get MPlayer to play in fullscreen mode, and when I do get it using -zoom, its really slow and choppy.

I didn't have these MPlayer problems in Fedora Core 2, and I never installed the ATi drivers either. What was Fedora doing differently to Slackware to get this to work?

Thanks
Kristijan

EDIT: Is my post knocking out the formatting for anyone else, or is it just me?

Last edited by Kristijan; 07-01-2004 at 10:11 PM.
 
Old 07-01-2004, 10:20 PM   #33
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
First, only do one change at a time: Here's what I recommend first doing:

From your first exerpt, change
Code:
 Driver      "fglrx"
to
Code:
Driver      "vga"
If that doesn't work, follow what I wrote originally (-->):

Hmm, what video card do you have? The output from fglrxinfo shows that fglrxconfig didn't probe your video card properly. Are you SURE you got X to die completely (Meaning no KDM running, no GDM running, etc.) I would recommend being in runlevel 3. If you did get X all the way off, I'm guessing that you didn't give proper permissions for either DRI or OpenGL. Here's my section from xorg.conf:

Code:
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
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"   # don't initialise the DGA extension
    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
 
Old 07-01-2004, 10:34 PM   #34
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
I have a Radeon 9700 Pro, also my permissions look exactly like the ones you posted. I did also change the driver sections

I also have a NForce2 mobo, does that make any difference? By the way, there was something in the xorgconfig about using an external apgart or agp module, what should I select there. I can't remember what I selected.

Kristijan
 
Old 07-02-2004, 03:09 AM   #35
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Quote:
Originally posted by r_jensen11
Which kernel are you using? Do you still have the log files from when you compiled the driver?
2.4.26 (stock) mate, I don't think I have the log files - can I get them by just rebuilding the driver?

I've started another thread: here, since this is (almost) a separate issue to installing.

Cheers

Steve
 
Old 07-02-2004, 03:00 PM   #36
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Okay, here's my xorg.conf file, you can look at mine and compare it to yours if you'd like:

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

Section "Module"

    Load        "dbe"  	# Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"

    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"

    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

Section "ServerFlags"

EndSection

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"Keyboard"
    Option "AutoRepeat" "500 30"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"microsoft"
    Option "XkbLayout"	"us"

EndSection


Section "InputDevice"

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

EndSection


Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   30-96
    VertRefresh 50-160
    Option "DPMS"

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

    Driver      "vga"

EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option "DesktopSetup"               "0x00000000" 
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified" 
    Option "VRefresh2"                  "unspecified" 
    Option "ScreenOverlap"              "0" 
    Option "NoTV"                       "no"     
    Option "TVStandard"                 "NTSC-N"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    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"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=514c
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600"
#        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection

Section "ServerLayout"

    Identifier  "Server Layout"

    Screen "Screen0"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
The only things that are unique about my config file are the following:

I'm using an Intellimouse, so I have that setting instead of a standard PS/2 mouse
My monitor refresh settings- you'll want to change yours to what your monitor uses
I have TV-Out enabled, you might not want yours enabled if you don't use it.
My resolution settings are just what I prefer, you can keep them if you'd like, most monitors support those settings these days.
 
Old 07-02-2004, 10:30 PM   #37
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
r_jensen11,

Mine is exactly the same as yours. I dont understand. I'm still getting the MESA output from fglrxinfo.

I've done everything and anything people have thrown at me, hehe. Still no luck!

Kristijan
 
Old 07-03-2004, 02:58 AM   #38
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
I got the driver compiled and working great with my 2.6.7 kernel, but there's just one problem. My 3D and everything works fine, but at the GDM login screen, the text that normally shows up there is just little lines (and when I type into the login screen, nothing shows up, but it's working, cuz it lets me log in fine, and once I'm in it seems to work great). I just installed it a few minutes ago, so I don't know if anything else is affected, but as of right now, it's just annoying and I'd like to get it fixed BEFORE I find out if it affects anything else :-P Any help is appreciated.

Jeff
 
Old 07-03-2004, 03:07 AM   #39
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
Kristijan,

Your lsmod shows that you have agpgart loaded, but not the mobo-specific agpgart module (which would be formatted chipset-agp ...for instance, mine is intel-agp and would show up in the right column of your agpgart module (where it says unused for you). Both of those must be loaded if you want to use the EXTERNAL agpgart. If you want to / can use the internal one, I don't believe you want either loaded, but mine never works with the internal one (r_jensen's obviously does, because his xorg.conf shows that he's using the internal one). Hope this starts pointing you in the right direction.

Jeff
 
Old 07-03-2004, 04:18 AM   #40
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Rep: Reputation: 15
Hi!

How do you setup your xorg.conf file to use the built-in ati drivers?
 
Old 07-03-2004, 11:34 AM   #41
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by j3ff3r
Kristijan,

Your lsmod shows that you have agpgart loaded, but not the mobo-specific agpgart module (which would be formatted chipset-agp ...for instance, mine is intel-agp and would show up in the right column of your agpgart module (where it says unused for you). Both of those must be loaded if you want to use the EXTERNAL agpgart. If you want to / can use the internal one, I don't believe you want either loaded, but mine never works with the internal one (r_jensen's obviously does, because his xorg.conf shows that he's using the internal one). Hope this starts pointing you in the right direction.

Jeff
I'm guessing that you can't use the internal because of possibly it being a 2.6.x kernel. I'm tempted to try the 2.6.7 kernel again, soley for the purpose of getting sleep modes with the acpi interface, but other than that one thing, the 2.4.26 kernel's been rock-solid for me, well, except for one thing: Whenever I run /sbin/lilo I can't boot into XP. I can when I use the bare.i kernel from the CD if I boot from the CD. It didn't use to be this way, but I can't fully remember when it changed. I install lilo on my /dev/hde's MBR because I keep /dev/hda's clean in case I pop hde out, then I can still safely boot into Windows. When lilo runs properly, it has a warning saying that the hard drive I'm installing LILO to (/dev/hde) isn't the first hard drive. When it doesn't install properly, it doesn't give me that warning. I can always boot into Linux, but for gaming and for my family's familiarity with Windows, it's a pretty big/annoying problem. I don't know if it's a kernel setting or what, but I havn't touched my /boot/vmlinuz-ide-2.4.26, I've removed the symbolic link between it and /boot/vmlinuz and /boot/System.map from the default System.map-ide-2.4.26, but I've replaced those, and I still don't get what's wrong with it.
 
Old 07-20-2004, 08:09 AM   #42
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Re: Slack 10 and ATI

Quote:
Originally posted by TheRepublican
I want to update my Slack 9.1 box to the new Slack 10, however 10 comes with the new x11-6.7.0-i486-4 package from x.org. Will the fglrx drivers work with this version, or do you even need them? Is the radeon or ati driver that comes with x.org as good as the fglrx drivers?
ok, i'm on the same path, having erased my perfectly working mandrake 9.1 for an attempt at slackware 10 (and a stab at the 2.6.7 kernal).

i'm using what must be the default xorg.conf as all my attempts to run xorgconf have failed to produce anything meaningful. i'm proding away at the xorg.conf with values from my old setup and i was able to get an acceptable display by adding the following:

Code:
    Subsection "Display"
        Depth       8
        Modes       "1400x1050" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1400x1050" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1400x1050" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
however the biggest concern i have is that it specifies a VESA as opposed to the ATI Rage Mobility P that I have...

Code:
Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection
this is from the origional mandrake setup and it worked beautifully....

Code:
Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Rage Mobility"
    Option "power_saver"
EndSection
what do i do.... or am i doomed.....

thanks much

- perry

 
Old 07-21-2004, 11:13 PM   #43
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
make sure you run fglrxconfig while X is shut down (Init 3 or so)
 
  


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 card in slack slackwarebilly Linux - Hardware 0 07-18-2005 02:45 PM
New ATI Xorg Drivers On Slack 10.1 sepz Linux - Hardware 9 03-12-2005 04:33 PM
Slack 10.1, ATI nForce and 2.6 Zarnce Slackware 2 02-09-2005 10:25 AM
Slack 9.1 and ATI 9000M celticselph Linux - Laptop and Netbook 0 11-29-2004 12:11 PM
Another ATI and Slack Problem baronvonmarlon Linux - Hardware 11 09-06-2004 06:22 AM

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

All times are GMT -5. The time now is 02:35 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