LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 07-20-2004, 11:42 PM   #1
fireicer
LQ Newbie
 
Registered: Jun 2004
Location: here
Distribution: redhat and fedora core
Posts: 24

Rep: Reputation: 15
fglrx module not found but X runs using module biger problem though HELP!


Hallo ppl hope you can help me!!!!!!!!

Ok have a big-ish problem. been working on this for weeks now cant sort it.

I am sure we all know how annoying the installation of graphics cards can be well that would be this one.

i have installed and implemented my firegl card but for some unknown reason it runs KDE and Gnome like a bag of dudars me didly (rubish)

i check errors and logs to find a fault and all i get is when i load X:

warning, (EE) error, (NI) not implemented, (??) unknown symbol
fglrx module cant load display PCI: 1:0:0 not found

or something like that and then the fun bit remember X loads and gives me display and i get 3-4000 FPS in glxgears.

this is what i get with fglrx info
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Fire GL X1 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3 (X4.3.0-3.7.6)

or something like that. this would seem to me a bogus error seen as i am runing 2.6.8-rc and i had to modify the count to _count due to kernel page changes.

i also had to modify regparm but no matter if unmodified or modified this error still happens and desktop is terrible performance dam thing.

so can you help me ppl anyone please it got me baffled and my hair is falling out.

oh yea i have run this on redhat 9 then fedora core 2

redhat 9 kernels multitude of options including enabled dri and disabled dri or drm agp in kernel and moduled chipset i have is i7505.
kernel versions for both redhat 9 and core 2 = 2.4.20 -2.4.26 2.6.5 2.6.7 and only in fedora do i run this one due to sata image error i just sorted. 2.6.8rc1

anyone who needs sata support run kernel 2.6.8 and compile with the SCSI libata new driver allocates sata disk as a scsi disk sdx and so on under scsi config settings must i say runs like a rocket get about 60 - 70mb/s using
hdparm -t /dev/sdx xbeing the ending letter of your drive allocation.

Last edited by fireicer; 07-21-2004 at 01:14 AM.
 
Old 07-29-2004, 03:53 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
#1 - Why are you still using 3.7.6 when 3.9.0 has been out for some time and works much better than the horribly buggy 3.7.6, whose only claim to fame was that it was not 3.7.0, which was even worse?

#2 - You say that you have mucked about with various kernel options, but this error looks like you might not have enabled AGP support for your motherboard's chipset.

You might want to take a look at ATI Radeon Linux How-To. You also might want to swing by the Rage3D Linux forums; there's a lot of useful info there.
 
Old 07-29-2004, 07:44 AM   #3
fireicer
LQ Newbie
 
Registered: Jun 2004
Location: here
Distribution: redhat and fedora core
Posts: 24

Original Poster
Rep: Reputation: 15
yea i checked that i downgraded to 3.7.6 as to test the compatibility.
i only tried previous to this version the 3.9.0 driver and you are correct loads and loads of bugs in 3.7.6

well i have compiled the agp module for my chipset it is the intel one identifies it ok and uses the three modules agpgart, intel-agp, and fglrx brings up the ati string open gl runs like a rocket with nearly 20,000 fps in 5 seconds but the desktop runs like a bag of crap weather i use gnome or kde.

it is like the Xserver is using the radeon driver provided with the distro instead of the fglrx module i have removed all the modules built into the distro and embedded the fglrx module but still no change and as you can see i even tried to downgrade the version to test this.

maybe i have an error in the intel-agp source code. or fglrx dont use the linux kernel provided intel-agp module correctly. i dont know the damn driver is meant to patch drm in kernel source tree then recompile the module. and install itself. has it anything to do with the module name changes to the 2.6.x kernel.

god only knows it has got me baffled cheers for help but can you help me further with my wditional info i should have said erlier.
 
Old 07-29-2004, 08:39 AM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by fireicer
and fglrx brings up the ati string open gl runs like a rocket with nearly 20,000 fps in 5 seconds but the desktop runs like a bag of crap weather i use gnome or kde.
Well, the desktop is not OpenGL, this is your normal 2D driver at work, and something seems to be wrong with either that or your actual desktop setup. Maybe you have a lot of services running?
Quote:
it is like the Xserver is using the radeon driver provided with the distro instead of the fglrx module i have removed all the modules built into the distro and embedded the fglrx module but still no change and as you can see i even tried to downgrade the version to test this.
You might do better to post your XFree86 (or X.org) configuration file so we could see if something was wrong with it.

I'm not even going to ask how you "embedded the fglrx module".... but I would like to know how you "removed all the modules built into the distro". Do you mean you recompiled the kernel without them, or something else?
Quote:
i dont know the damn driver is meant to patch drm in kernel source tree then recompile the module
No, DRM should not be enabled in the kernel in order for the ATI drivers to install and work properly. The ATI drivers have their own DRM module which is used instead, but it conflicts with the kernel module, which is why the kernel module must be disabled beforehand.

This is why I referred you to ATI Radeon Linux How-To, it puts all the necessary kernel changes in an easy to read list, so that you know the kernel is set up correctly, as well as giving good, per-distro instructions as to how to install the drivers properly.
 
Old 07-30-2004, 04:44 PM   #5
fireicer
LQ Newbie
 
Registered: Jun 2004
Location: here
Distribution: redhat and fedora core
Posts: 24

Original Poster
Rep: Reputation: 15
ok here is my xorg.conf file.

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

#Section "Files"
# RgbPath is 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.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

# RgbPath "/usr/X11R6/lib/X11/rgb"
# FontPath "unix/:7100"
#EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
Load "GLcore"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "int10"
Load "speedo"
Load "vbe"
EndSection

# **********************************************************************
# DRI Section ADDED HERE BY FIRE ICER FROM XF84-4 FILE
# **********************************************************************
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

######################################################################
#FURTHER SECTION MOVED OVER NOT TO SURE IF THIS CONFILCTS WITH ABOVE
######################################################################

# This loads the DBE extension module.
Section "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"
Load "drm" # "libdrm.a"
Load "fglrxdrm" # "libfglrxdrm.a"


EndSection

#########################################################################
#FURTHER ADDED SECTION FILES FOR RGB AND DPI FONTS
#########################################################################

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. OK SOME OF THESE ARE NOT NEEDED BUT THEY MIGHT BE
# **********************************************************************

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"

Option "UseFBDev" "True"

# 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

#################################################################################################### ########
#KEYBOARD SECTION BELLOW THIS (THIS IS THE XORG FILES KEYBOARD LAYOUT KEEP IT LIKE THAT)
#################################################################################################### ########

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

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# 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"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

####################################################################
#MOUSE SECTION BELLOW THIS
####################################################################

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

#####################################################################
#MONITOR SECTION BELLOW THIS
#####################################################################

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Hyundai DeluxScan V770"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 150.0
Option "dpms"
EndSection

#################################################################################
#VIDEO CARD SECTION LIES BELLOW THIS (XORGS HASHED HERE DONT DELETE JUST IN CASE)
#if you need to get back to working X display just take out the sharp (hash) marks
#################################################################################

#Section "Device"
# Identifier "Videocard0"
# Driver "radeon"
# VendorName "Videocard vendorati dri"
# BoardName "ATI FireGL X1 dri"
#EndSection
#
#Section "Screen"
# Identifier "Screen0"
# Device "Videocard0"
# Monitor "Monitor0"
# DefaultDepth 24
# SubSection "Display"
# Viewport 0 0
# Depth 16
# Modes "800x600" "640x480"
# EndSubSection
# SubSection "Display"
# Viewport 0 0
# Depth 24
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
# EndSubSection
#EndSection
#
#Section "DRI"
# Group 0
# Mode 0666
#EndSection

#################################################################################################### ########################
# === ATI device section === yup this is important bit you can delete all this and hash marks above to restor a vga Xdisplay
#################################################################################################### ########################

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "AGPMode" "8"
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "on"
Option "HSync2" "60"
Option "VRefresh2" "120"
Option "ScreenOverlap" "1"
# === 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" "on"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "0"
# === FSAA Management ===
Option "FSAAEnable" "yes"
Option "FSAAScale" "4"
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" "1"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4e47

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 "1280x1024"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection

# **********************************************************************###############
# ServerLayout sections.final from xf86-4 file server layouts they dont hurt as yet
# **********************************************************************###############

# 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 "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

EndSection

### EOF ###


and this is the status of the fglrxinfo.

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Fire GL X1 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3 (X4.3.0-3.9.0)

also here is the lsmod for loaded modules.

Module Size Used by
fglrx 210884 8
intel_agp 17692 1
agpgart 28332 2 intel_agp
ipv6 246788 16
sunrpc 134500 1
e1000 79108 0
microcode 7136 0
dm_mod 49920 0
usb_storage 64416 0
usbhid 30016 0
ohci_hcd 16772 0
uhci_hcd 29584 0
ehci_hcd 26244 0
usbcore 101604 7 usb_storage,usbhid,ohci_hcd,uhci_hcd,ehci_hcd

and for arguments sake the drm option is off in kernel compile.
you can remove certain aspects from even been shown in the kernel tree by editing the makefiles. by doing this the make process does not even build the modules nor does it show them in the make config stage. all of the source tree is built up of make files and the configs go there by repointing the config in these files you can seriously customise your kernel.

NOTE ADVANCED USERS ONLY can do this because if something goes wrong or you make a typo it will fail everything when you compile.

I tried editing the source tree as a last resort as nothing else worked to get the 2d working.

cheers i appreciate your help. hope above info can give you a bit more insight as to my problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
module fglrx cootetom Debian 3 07-15-2005 12:46 AM
fglrx compiling custom module problem (firegl_public.c) Slate01 Linux - Hardware 0 11-25-2004 02:25 PM
Problem with fglrx module (ati-drivers-3.9.0-r1) with kernel 2.6.7 in Gentoo Mitchua Linux - Hardware 1 07-10-2004 08:36 PM
scanner problem no module found Davno Linux - Hardware 0 04-25-2004 02:26 AM
ATI fglrx module+2.6.0-test9 compile problem dkavlakov Linux - Hardware 0 11-04-2003 01:08 AM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration