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 02-21-2004, 02:29 PM   #31
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30

Ok I tried that as the first time I followed your instructions all the way though but I will give it another go!

Thanks for all you time I am just dying to get this direct rendering working because I have Wolfenstein to play!


Adam
 
Old 02-21-2004, 05:27 PM   #32
Erol
Member
 
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46

Original Poster
Rep: Reputation: 15
If you installed DRI but still no acceleration, make sure that libGL* symbolic links lead to libGL.so.1.2 <- this is 3.2.8 driver. Here is my listing, so I hope it helps you to rebuild symbolic links. That also happened to me, since symlink libGL.so.1 pointed to mesa and not to libGL.so.1.2. Without this, 3d accelleration will not work.

I hope that this is what you need:

sh-2.05b$ ls -la /usr/X11R6/lib/libGL.*
-rw-r--r-- 1 root root 603342 Sep 17 00:15 /usr/X11R6/lib/libGL.a
lrwxrwxrwx 1 root root 27 Feb 16 13:38 /usr/X11R6/lib/libGL.so -> /usr/X11R6/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 27 Feb 16 13:38 /usr/X11R6/lib/libGL.so.1 -> /usr/X11R6/lib/libGL.so.1.2
-rwxr-xr-x 1 root root 696940 Feb 16 13:38 /usr/X11R6/lib/libGL.so.1.2

All the best,

Erol
 
Old 02-21-2004, 06:03 PM   #33
mishkolz
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Hi Guys.

Have anybody tried to do the same on debian and aspacialy on laptop

thanks in advance
mishkolz
 
Old 02-22-2004, 08:26 AM   #34
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Still no go

Hey Erol I check out those symbolic links for libGL but they seem to be fine the only difference I can see is that you have lrwxrwxrwx where as I have lrwxr-xr-x but that shouldn´t make a difference as I have been trying it all as root??

My Symbolic links
-rw-r--r-- 1 root root 603342 Sep 17 00:15 libGL.a
lrwxr-xr-x 1 root root 27 Feb 22 14:51 libGL.so -> /usr/X11R6/lib/libGL.so.1.2*
lrwxr-xr-x 1 root root 27 Feb 22 14:51 libGL.so.1 -> /usr/X11R6/lib/libGL.so.1.2*
-rwxr-xr-x 1 root root 696940 Feb 22 14:51 libGL.so.1.2*

My: lsmod

Module Size Used by
uhci_hcd 29832 0
ehci_hcd 23040 0
ide_scsi 12356 0
fglrx 201924 0
nvidia_agp 5788 1
agpgart 26760 1 nvidia_agp
rtc 10728 0

My Glxgearsinfo:

GL_RENDERER = Mesa GLX Indirect
GL_VERSION = 1.2 (1.3 Mesa 4.0.4)
GL_VENDOR = Mesa project: www.mesa3d.org
GL_EXTENSIONS = GL_ARB_imaging GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias
2205 frames in 5.0 seconds = 441.000 FPS
1836 frames in 5.0 seconds = 367.200 FPS
1836 frames in 5.0 seconds = 367.200 FPS
1836 frames in 5.0 seconds = 367.200 FPS


Any thing else I can check??
Adam
 
Old 02-22-2004, 08:36 AM   #35
Erol
Member
 
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46

Original Poster
Rep: Reputation: 15
jimdaworm please post your XF86Config-4 here. I think that will be the last stop...
 
Old 02-22-2004, 08:54 AM   #36
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Hey Erol

I noticed one other thing. When I install DRI it says:

Updating Configuration.
Running ldconfig... Removing old Kernal module "Radeon" ... ERROR
Inserting new kenral module "Radeon" ... ERROR

Here is my XF86Config-4 hope it helps!

# File: XF86Config-4
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.

# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file.
#
# 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.
# **********************************************************************

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

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

# 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><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 "Keyboard"
# 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"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"

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/mouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft 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


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection

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

# Any number of monitor sections may be present

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 68.7
VertRefresh 60 - 85
Option "DPMS"

# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

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
# installed.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

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:2:0:0" # vendor=1002, device=514d
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 "800x600" "640x480"
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

### EOF ###


Thanks for all your time!

Adam
 
Old 02-22-2004, 09:09 AM   #37
Erol
Member
 
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46

Original Poster
Rep: Reputation: 15
Option "UseInternalAGPGART" "yes"

This has to be "no"

That's the problem.

As for the DRI instalation, I get the same two errors, but so far that didn't bothered my 3d to work.

I expect your next post to be "YEAH it works!"
 
Old 02-22-2004, 11:35 AM   #38
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Thanks alot for all you time Erol.
Damb this work thing!!

I am at work again but I am just itching to try it out!! Who ever decided that we should work all the time was a very bad person!

Adam
 
Old 02-22-2004, 02:52 PM   #39
Gatorbot
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
First off by letting me say that this is a great webpage for someone like me. Im VERY new to linux (as in i got it installed last night) and ive been searching board after board to find a solution to my problem.

Alright. For some reason this just wont work for me.

Ive tried all the fixes in this thread and nothing is working.

Im running:
3200+ Athlon XP
A7N8X Deluxe Mobo (think thats the numbers)
ATI Raedon 9800 PRO
SB Audigy 2
Red Hat 9

No matter what I do, my video card wont be recognized as ANYTHING but the Mesa crap.

After trying this fix I thought i had it licked but i just ended up having to install Linux over agin.

This is the closest ive come to fixing the problem. I can get all the way too " patch -p1 < fglrx-3.2.8-fix-amd-adv-spec.patch" and it gives me this error:

"missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- firegl_public.c.orig 2003-09-22 04:43:30.000000000 +0200
|+++ firegl_public.c 2003-10-09 00:14:41.337778176 +0200
--------------------------
File to patch:
"

And if i try to skip the patch and run ./make.sh it says it cant find version.h and when i try to search for that on my computer it says I need to make the database.

Now since im so completely new to this, can anyone pssobly explain this in a way that a 2 year old could understand? Thanks in advance.

Last edited by Gatorbot; 02-22-2004 at 02:57 PM.
 
Old 02-22-2004, 03:01 PM   #40
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Ooops

Last edited by jimdaworm; 02-22-2004 at 03:16 PM.
 
Old 02-22-2004, 03:11 PM   #41
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Two things firstly I think you will find this is the "Slackware" distrubution forum.

I don´t know if it might help more generally if you ask your questions in the Red Hat forum (Generally anway) I don´t know much about Red Hat.

Secondly as stated at the begining of this thread this is for:
fglrx 3d & kernel 2.6.2 & nforce2 solution:

Quote:
Here's the deal:

First of all here is the list of all the things you need:

ATI's driver package f.e. I used fglrx-glc22-4.3.0-3.2.8.i586.rpm

If you're using 2.6 kernel like me, you'll need fglrx-2.6-vmalloc-vmaddr.patch, you can find it here
h.ttp://gentoo.kems.net/gentoo-x86-portage/media-video/ati-drivers/files/fglrx-2.6-vmalloc-vmaddr.patch

And if you have AMD processor, you'll need fglrx-3.2.8-fix-amd-adv-spec.patch, you can find it here
h.ttp://gentoo.kems.net/gentoo-x86-portage/media-video/ati-drivers/files/fglrx-3.2.8-fix-amd-adv-spec.patch

Download the newest dri for your radeon card, dri can be found at
h.ttp://dri.sourceforge.net
The latest I used was radeon-20040208-linux.i386.tar.bz2

You need to recompile your kernel and in char devices make sure that:
- agpgart must be as a module
- dri support must be disabled
- NVIDIA-AGP must be enabled

When all this is finished do this:

rpm2tgz fglrx-glc22-4.3.0-3.2.8.i586.rpm
install pkg fglrx-glc22-4.3.0-3.2.8.i586.tgz
cd lib/modules/fglrx/build_mod
patch -p1 < fglrx-2.6-vmalloc-vmaddr.patch
patch -p1 < fglrx-3.2.8-fix-amd-adv-spec.patch
./make.sh
cd ..
./make_install.sh
modprobe fglrx
modprobe nvidia_agp
I don´t know what version of RedHat your running or which kernal (like motor of linux) it has but I don´t think it will be the 2.6.x kernal.

Assuming you do have a 2.6.x kernal you need to type firegl_public.c and push enter.

Hope this helps.
Adam

Last edited by jimdaworm; 02-22-2004 at 03:18 PM.
 
Old 02-23-2004, 11:07 AM   #42
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Talking Thanks Erol! It worked!

It worked!! Thanks alot for all the help Erol! Now once I get my win-modem working again I will be on the next paying Wolfenstein.

Adam
 
Old 02-23-2004, 11:22 AM   #43
Erol
Member
 
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46

Original Poster
Rep: Reputation: 15
I'm realy glad to hear that you finally did ti.

Enjoy.

All the best,

Erol
 
Old 02-23-2004, 04:23 PM   #44
Zander
Member
 
Registered: Jul 2002
Posts: 65

Rep: Reputation: 15
This sounds great and all, but I've run into a wall. I'm using a PowerColor 9600 Pro, and I run into errors trying to modprobe fglrx. I've followed your instructions almost exactly (I can't find the 3.2.8 driver, only 3.7.0). I recompiled and took dri out, enabled nvidia agp and made agpgart a module. When I try to make the fglrx module I get this:

root@darkstar:/lib/modules/fglrx# ./make_install.sh
- creating symlink
- recreating module dependency list
depmod: *** Unresolved symbols in /lib/modules/2.4.24/kernel/sound/isa/ad1816a/snd-ad1816a-lib.o
depmod: *** Unresolved symbols in /lib/modules/2.4.24/kernel/sound/isa/cs423x/snd-cs4231-lib.o
depmod: *** Unresolved symbols in /lib/modules/2.4.24/kernel/sound/isa/sb/snd-sb16-dsp.o
depmod: *** Unresolved symbols in /lib/modules/2.4.24/kernel/sound/isa/sb/snd-sb8-dsp.o
- trying a sample load of the kernel module
Warning: loading /lib/modules/2.4.24/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
/lib/modules/2.4.24/kernel/drivers/char/drm/fglrx.o: init_module: Operation not permitted
/lib/modules/2.4.24/kernel/drivers/char/drm/fglrx.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.24/kernel/drivers/char/drm/fglrx.o: insmod /lib/modules/2.4.24/kernel/drivers/char/drm/fglrx.o failed
/lib/modules/2.4.24/kernel/drivers/char/drm/fglrx.o: insmod fglrx failed
failed.


If I try to modprobe the fglrx module I get the last lines of the above output starting with the tainting of kernel message down to the insmod failing.

dmesg reveals this:

--not important stuff--...
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 128M @ 0xe0000000
[drm] AGP 0.99 Aperture @ 0xe0000000 128MB
[drm] Initialized radeon 1.7.0 20020828 on minor 0
[drm] AGP 0.99 Aperture @ 0xe0000000 128MB
[drm] Initialized i810 1.2.1 20020211 on minor 1
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
AMD_IDE: Bios didn't set cable bits corectly. Enabling workaround.
AMD_IDE: nVidia Corporation nForce2 IDE (rev a2) UDMA100 controller on pci00:09.0
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
hda: Maxtor 6Y060P0, ATA DISK drive
hdb: Maxtor 6E040L0, ATA DISK drive
blk: queue c0402440, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c0402588, I/O limit 4095Mb (mask 0xffffffff)
hdc: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
hdd: LITEON DVD-ROM LTD163, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 120103200 sectors (61493 MB) w/7936KiB Cache, CHS=7476/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=4998/255/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: attached ide-scsi driver.
Partition check:
hda: hda1 hda2 hda3
hdb: hdb1 hdb2 < hdb5 >
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: LITE-ON Model: LTR-40125S Rev: ZS0K
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
host/uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:02.0 to 64
host/usb-ohci.c: USB OHCI at membase 0xe09d6000, IRQ 5
host/usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
host/usb-ohci.c: USB OHCI at membase 0xe09d8000, IRQ 11
host/usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/projects/ipt_recent/
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,1)) ...
for (ide0(3,1))
ide0(3,1):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 156k freed
Adding Swap: 498004k swap-space (priority -1)
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx:firegl_stub_register] *ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module!
PCI: Setting latency timer of device 00:06.0 to 64
intel8x0: clocking to 47450
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 5, pci mem e0b30000
usb.c: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
spurious 8259A interrupt: IRQ7.
PPP BSD Compression module registered
PPP Deflate Compression module registered
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx:firegl_stub_register] *ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module!
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx:firegl_stub_register] *ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module!


So, basically my 3D acceleration obviously doesn't work.
zander@darkstar:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4


Can you help me? I'm so lost. If you need more info, I'll give it. Sorry about the long post.
 
Old 02-24-2004, 02:14 AM   #45
Erol
Member
 
Registered: Jan 2004
Location: Vienna/Austria
Distribution: Slackware 10.0 (kernel 2.6.7)
Posts: 46

Original Poster
Rep: Reputation: 15
I've nicely stated in the topic title that this was

fglrx 3d & kernel 2.6.2 & nforce2 solution

And as far I can see you are using 2.4.24 kernel...

But here's the link for 3.2.8 driver download, since you said you can't find it:

fglrx 3.2.8 download link

Best of luck in making it works.

PS: When I was using 2.4.24, it was a lot easier to install than 2.6.2 and it worked without problems. Just don't forget to apply athlon patch for 3.2.8.
 
  


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
zsnes && logitech dual action gamepad && dpad woes John5788 Linux - Games 5 10-29-2008 09:56 PM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
Japanese canna won't work : Warning: &#12363;&#12394;&#28450;&#23383;&#22793;&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
Ph&#7909;c h&#7891;i d&#7919; li&#7879;u b&#7883; m&#7845;t???, c&#7913; pollsite General 1 06-27-2005 12:39 PM
fglrx, nforce2 mobo, kernel 2.6.2-rc3 thrice Slackware 1 12-22-2004 11:17 PM

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

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