SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm struggling with the installation of the radeon drivers for 3 days, better say nights and days, but I still have no OpenGL support.
I read numerous threads on this topic, but I'm still new to Linux, so I might have overseen something.
I downloaded the 2.4.22 kernel sources, installed a new kernel with agpgart as a module and
compiled a new fglrx module. As far as I see without abnormal error messages.
The XServer works fine, but no OpenGL!
When I configure fglrx with external agpgart, the Screen remaines black after starting the XServer.
With internal agpgart the XServer runs, but without OpenGL.
My board is a Asus A7N8X Deluxe with nforce2 chipset.
My graphiccard has a Radeon 9500 Pro chip.
Has someone an idea, what went wrong?
Can someone perhaps post his modules.conf and XF86Config-4?
Here's my XF86Config (copied from the generated XF86Config-4):
# 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).
#
# 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).
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"
# 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" ""
# 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)
# 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.
# 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 "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection
# 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".
does this config file work??? because mine is quite the same (except for the screen and input devices) but I get an error... although not a fatal one...
so when I say startx... I get into x but when moving back to the terminal screen (Crtl + Alt + F1) there seems to go something wrong
==============
[AGP] Unable to acquire AGP error "xf86_enodev" cannot init AGP
[DRM] removed 1 reserved context for kernel
[DRM] unmapping 8192 bytes of SAREA 0x0b5d000 at 0x40222000
******************************
+DRI initialization failed!
+(maybe driver kernel module missing or bad
+2D acceleration available (MMIO)\
+no 3D acceleration available
******************************
================
and when I type lsmod (in Crtl + Alt +F6) I can see that the module fglrx is loaded but it is not used...
Thank You for your config file nuzzy.
But our files are very much the same.
I guess my problem has something to do with my agpgart module.
It is said that the 2.4.22 Kernel support the nforce2 agpgart capabilty, but my screen still gets black when starting the XServer with fglrx @ external agpgart.
Did you remeber to compile nVidia chipset support into your kernel as a module and leave all the other AGP options out?
Code:
<M> /dev/agpgart (AGP Support)
[ ] Intel 440LX/BX/GX and I815/I820/I830M/I830MP/I840/I845/I850/I86
[ ] Intel I810/I815/I830M (on-board) support
[ ] VIA chipset support
[ ] AMD Irongate, 761, and 762 support
[ ] AMD 8151 support
[ ] Generic SiS support
[ ] ALI chipset support
[ ] Serverworks LE/HE support [*] NVIDIA chipset support
edit: Forgot to mention this is under "Character devices" in the kernel configurator.
I have never had a single issue with Radeon drivers under Linux (well, once I figured out how to install)...that said, I am curious to know how you are installing the drivers. Can you give me a quick run-down on the steps you've taken to complete the install? It seems as though some people have "different" ways to install the drivers, and of course, some of the pre-requesites required for a successful install are often overlooked.
1: rpm2tgz fglrx-glc22-4.3.0-3.2.0.i586.rpm
2: installpkg fglrx-glc22-4.3.0-3.2.0.i586.tgz
3: cd /lib/modules/fglrx/build_mod
4: ./make.sh
5: cd ..
6: ./make_install.sh
7: fglrxconfig
now after installing and configuring X, starting X gives me > [AGP] Unable to acquire AGP error "xf86_enodev" cannot init AGP, so i copy the patch from Rage3d Forums too /lib/modules/fglrx/ cd /lib/modules/fglrx
then cat fglrx-glc22-4.2.0-2.5.1.i586-kt400agp3.patch | patch -p0
cd build_mod
./make.sh
cd ..
./make_install.sh
startX and all is good fglrxinfo tells me
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9700 Athlon (3DNow!)
OpenGL version string: 1.3 (X4.3.0-3.2.0)
now if install the new drivers, fglrx-glc22-4.3.0-3.2.5.i586, the above is all mesa and i've not figured out how 2 correct this, yet. so i will stick with these older 1s
I tried using gcc 3.2.3 and 3.2.2 with no luck. Any help would be appreciated.
ATI module generator V 2.0
==========================
probing for VMA API version...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
doing script based build for kernel 2.4.x and similar
compiling 'agpgart_be.c'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'nvidia-agp.c'...
compiling 'firegl_public.c'...
linking of fglrx kernel module...
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
- creating symlink
- recreating module dependency list
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o
- trying a sample load of the kernel module
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: unresolved symbol _mmx_memcpy
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
I recently installed an ATI Radeon 9700 Pro Video Card and driver on my Linux Gentoo system. It appears all to be configured correctly. I can start X and go into X just fine. But when I run fglrxinfo or glxinfo I get the following error message;
I also get the following error message when I try to run anything needing or using GLX, (example glxgears).
and of course I do have
Load "glx" in my XF86Config-4 file.
gentoo-2.4.20-rc5
glib/libc 2.3/6.3
Xfree 4.3
Latest ATI drives supporting xfree 4.3 from ATI website
Radeon 9700 Pro
blackbox
using fglrx agp drivers
NVIDIA Chipset is selected under Character Devices, i think
I have it built in and not modularized in though..
But still it seems like I have it all setup right and I am just getting a weird error message.
'Xlib: extension "GLX" missing on display ":0.0".'
Can anyone help or has anyone had this similar problem??
Thanks
Dudes I run Slackware 9.0 with an ati radeon 9500 pro on 4.3.0 Xserver ,and all the the glx shit is running fine no problems at all installing it ..... but when I try to switch from X to a tty or when I log out of X my entire system crashes...
Hey all. I've got a 9800 Pro, and I had it working on slack 9 stock kernel before. Now I have a new slack 9 install and I compiled and installed the 2.4.22 kernel.
When I try to install the ATI drivers, i can't insmod fglrx. lsmod does not reveal anything interesting. I see that my 3D is using Mesa, but I can't figure out how to stop Mesa from being calledd. I suspect the Mesa presence is stopping me from loading the fglrx module. Any poinetrs on removing this pesky Mesa, if that's really my issue?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.