LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-04-2004, 08:26 PM   #1
Appletalk
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware 10.0
Posts: 2

Rep: Reputation: 0
Slackware 10 fglrx install problem


Hi, i'm new here and not too linux savy so I figured i'd ask about this.
I have a Radeon 9200 saphire, slackware 10 with the 2.4.26 kernel, running XFree86 4.4.0 just compiled and seems to be working fine... but when I go to install the ATI graphics drivers, it won't work properly.
I'm assuming that it's a problem with XFree86 because ATI doesn't appear to have support for version 4.4.0, but it could be something stupid like I have a config file in the wrong place.... I noticed several howtos to get it working under the 2.6.7 kernel so I may just compile that and get it working then... but if someone could help me get it working under 2.4 it would be great.


~Appletalk
 
Old 07-04-2004, 08:53 PM   #2
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
I have gotten it working under both the 2.4.x and 2.6.x kernels, but I couldn't get it to work with the slackware "out of the box" kernel. After I recompiled my kernel, the ATI driver would compile and work fine.
 
Old 07-05-2004, 03:58 AM   #3
fastfingersneal
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Hello,
I've just installed slackware 10. This is what I did to get my Radeon 9800 working.
1. download the ati drivers, make sure you get the xfree 4.3 ones.
2. open terminal.
3. su
4. cd into directory containing the drivers you just downloaded
5. rpm2tgz fglrx****.rpm
6. installpkg fglrx****.tgz
7. cd /lib/modules/fglrx/build_mod
8. sh make.sh
9. cd ..
10. sh make_install.sh
11. fglrxconfig
12. rename /etc/X11/XF86Config-4 to xorg.conf (backup your xorg.conf first)
13. reboot or restart x server
14. open terminal
15. glxinfo it should say near the top direct rendering YES. (which means hardware opengl working)

hope this helps
 
Old 07-05-2004, 06:32 AM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

Rep: Reputation: 30
Hey Appletalk, what motherboard/motherboard chipset do you have?
 
Old 07-14-2004, 09:17 PM   #5
rjerina
Member
 
Registered: Jul 2004
Location: Albuquerque, NM
Distribution: Slackware 10
Posts: 47

Rep: Reputation: 15
ok I just followed the steps up above. not sure if I got it installed correctly.

here is what my glxinfo says:

Quote:
root@freedom:/lib/modules# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context
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)
OpenGL 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
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
root@freedom:/lib/modules#

Last edited by rjerina; 07-14-2004 at 09:19 PM.
 
Old 07-14-2004, 09:19 PM   #6
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
It's not installed. This wouldn't happen to be a pci card would it? ATI's linux drivers don't support pci cards yet (doubtful if they ever will).
 
Old 07-14-2004, 09:23 PM   #7
rjerina
Member
 
Registered: Jul 2004
Location: Albuquerque, NM
Distribution: Slackware 10
Posts: 47

Rep: Reputation: 15
Quote:
Originally posted by sh1ft
It's not installed. This wouldn't happen to be a pci card would it? ATI's linux drivers don't support pci cards yet (doubtful if they ever will).
no definately not PCI. this is an ATI Radeon 9800 PRO 128mb (AGP)

i followed every direction exact, got this result.
 
Old 07-14-2004, 09:29 PM   #8
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
type :
lsmode | grep fglrx

to see if its loaded

or may be the problem when u made fglrxconfig u didnt choose the right options
here is what i choose :

==============================================================================
ATI - FIRE GL - BE THE CREATOR
==============================================================================

This program will create the ATI "XF86Config-4" file
- based on your selections - for the below listed boardtypes...

- ATI Radeon 8500 / 9100
- ATI FireGL 8700 / 8800 / E1
- ATI FireGL T2
- ATI Radeon 9000
- ATI Radeon 9200
- ATI Radeon 9500
- ATI Radeon 9600
- ATI Radeon 9700
- ATI Radeon 9800
- ATI FireGL Z1 / X1 / X2
- ATI Mobility M9
- ATI Mobility FireGL 9000
- ATI Mobility M9PLUS

The "XF86Config-4" file usually resides in /etc/X11.


Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.






==============================================================================
Mouse
==============================================================================

Specify the mouse port type. Choose one from the following list:

1. Serial Port
2. PS/2 or USB with PS/2 protocol
3. Inport Bus

Enter the number for your port type: [2] 2







Specify the mouse model. Choose one from the following list:

1. PS/2 Mouse (X11 generic ps/2 mouse driver)
2. PS/2 Wheel Mouse (X11 generic ps/2 wheel mouse driver)
3. Microsoft Intellimouse (PS2)
4. Microsoft IntelliMouse Explorer (PS2)
5. Kensington ThinkingMouse (PS2)
6. Logitech MouseManPlus (PS2)
7. Alps Glidepoint PS/2 Touchpad
8. Genius NetMouse
9. Genius NetScroll

Enter the number for your mouse model: [2] 2


If your mouse has only two buttons, it is recommended that you enable
Emulate3Buttons.

Do you want to enable Emulate3Buttons (y/n)? [n] n

Now give the full device name that the mouse is connected to, for example
/dev/tty00 or /dev/mouse or /dev/psaux (includes IBM Laptops).

Mouse device: [/dev/mouse] /dev/mouse






==============================================================================
Keyboard
==============================================================================

Please select one of the following keyboard types that is the better
description of your keyboard. If nothing really matches,
choose 1 (Generic 101-key PC)

1. Generic 101-key PC
2. Generic 102-key (Intl) PC
3. Generic 104-key PC
4. Generic 105-key (Intl) PC
5. Dell 101-key PC
6. Everex STEPnote
7. Keytronic FlexPro
8. Microsoft Natural
9. Northgate OmniKey 101
10. Winbook Model XP5
11. Japanese 106-key
12. PC-98xx Series

Enter a number to choose the keyboard type: [1] 1






Please select the layout corresponding to your keyboard

1. U.S. English
2. U.S. English w/ISO9995-3
3. Belgian
4. Bulgarian
5. Canadian
6. Czechoslovakian
7. German
8. Swiss German
9. Danish
10. Spanish
11. Finnish
12. French
13. Swiss French
14. United Kingdom
15. Hungarian
16. Italian
17. Japanese
18. Norwegian

Press [Enter] for the next page or
enter the number for your keyboard layout country: 1






==============================================================================
FireGL Display Settings
==============================================================================

Quad Buffer Stereo ("Active Stereo"):

This driver does support Quad Buffer Stereo ("Active Stereo")
in combination with a CRT monitor (refresh rate abt. 100 to 120 Hz)
and the appropiate stereo viewing subsystem hardware. This can be
e.g. a shutter glasses system (infrared or wired) or an active
polarisation device paired with passive stereo polarization glasses.

Do you want to enable "Quad Buffer Stereo" (y/n)? [n] n






==============================================================================
TV out Configuration
==============================================================================

Do you want to enable TV out (y/n)? [n] n






==============================================================================
FireGL Screen Layout
==============================================================================

------------------------------------------------------------------------------
| Maximum resolution for OpenGL operation |
| |
| - R200 chip family (Radeon 8500-9100 Pro, FireGL 8700/8800/E1): |
| 2048x2048 |
| - R300 chip family (Radeon 9500-9700 Pro, FireGL T2/Z1/X1/X2): |
| 2560x2560 |
------------------------------------------------------------------------------

Choose configuration from the list below

1. Single Head (1 screen, second dark)
2. Laptop Mode (Ability to toggle between internal / external screen)
3. Clone Mode (2 screens - same content)
4. Big Desktop (2 screens - one framebuffer)
5. Dual Head (2 screens - two drivers)

Enter the number for your configuration: [1] 1






==============================================================================
Single Head selected
==============================================================================





==============================================================================
Monitor Settings
==============================================================================

Now we want to set the specifications of the monitor(s). The two critical
parameters are the vertical refresh rate, which is the rate at which the
the whole screen is refreshed, and most importantly the horizontal sync rate,
which is the rate at which scanlines are displayed.

The valid range for horizontal sync and vertical sync should be documented
in the manual of your monitor. If in doubt, check the monitor database
/usr/X11R6/lib/X11/doc/Monitors to see if your monitor is there.

Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.






You must indicate the horizontal sync range of your monitor. You can either
select one of the predefined ranges below that correspond to industry-
standard monitor types, or give a specific range.

It is VERY IMPORTANT that you do not specify a monitor type with a horizontal
sync range that is beyond the capabilities of your monitor. If in doubt,
choose a conservative setting.

hsync in kHz; monitor type with characteristic modes
1. 31.5 ; up to 640x480 @ 60 Hz (VGA)
2. 31.5 - 37.9; up to 800x600 @ 60 Hz (SVGA)
3. 31.5 - 48.4; up to 1024x768 @ 60 Hz (XGA)
4. 31.5 - 60.0; up to 1024x768 @ 75 Hz (XGA)
5. 31.5 - 68.7; up to 1024x768 @ 85 Hz (XGA)
6. 31.5 - 80.5; up to 1280x1024 @ 75 Hz (SXGA)
7. 31.5 - 91.1; up to 1280x1024 @ 85 Hz (SXGA)
8. Enter your own horizontal sync range

Enter your choice (1-8): [1] 5


You must indicate the vertical sync range of your monitor. You can either
select one of the predefined ranges below or give a specific range.

1. 20 - 60 (e.g. slow scan flat panels with DVI cable)
2. 50 - 70 (VGA)
3. 60 - 75
4. 60 - 85
5. 60 - 100
6. Specify your own vertical sync range

Enter your choice: [1] 3






==============================================================================
Display Modes
==============================================================================

The default resolution that the server will start-up with will be the first
listed mode that can be supported by the monitor and card.
Currently it is set to:

"640x480" for 24-bit

Modes that cannot be supported due to monitor or clock constraints will
be automatically skipped by the server.

1. Change the modes for 24-bit (24-bit color)
2. The modes are OK, continue.

Enter your choice: 1

Select your modes from the following list:

1 "640x480"
2 "800x600"
3 "1024x768"
4 "1152x864"
5 "1280x960"
6 "1280x1024"
7 "1400x1050"
8 "1600x1200"
9 "1792x1344"

Please list the digits and characters for the modes that you want to use.
For example, '632' selects "1280x1024" "1024x768" "800x600", with
the default mode of "1280x1024".

Which modes do you want? 3

The default resolution that the server will start-up with will be the first
listed mode that can be supported by the monitor and card.
Currently it is set to:

"1024x768" for 24-bit

Modes that cannot be supported due to monitor or clock constraints will
be automatically skipped by the server.

1. Change the modes for 24-bit (24-bit color)
2. The modes are OK, continue.

Enter your choice: 2

You can have a virtual screen (desktop), which is screen area that is larger
than the physical screen and which is panned by moving the mouse to the edge
of the screen. The largest resolution in the modelist is used for any of the
listed resolution with less dimensions. Each color depth can have a
differently-sized virtual screen. Virtual screens resolutions are set
for each color depth separately.


Note: This grafics adapter will always select the maximum
x and y resolution as the default virtual desktop resolution.
This complies with general X11 specifications. see "man XF86Config".

Do you want to use a virtual desktop where the dimensions are bigger
than your maximum x and y screen resolution? (y/n) [n] n











==============================================================================
Direct Rendering Interface Restrictions
==============================================================================

Please specify which restriction sheme you want to implement:

1. no restrictions - any user has access to the OpenGL ICD
2. limited to group 'users' - only group members can access the OpenGL ICD
3. limited to group 'root' - only group members can access the OpenGL ICD
4. limited to group 'video' - only group members can access the OpenGL ICD
5. limited to group 'dri' - only group members can access the OpenGL ICD

Enter the number for your default user restrictions: [1] 1






==============================================================================
Application Profiles
==============================================================================

Please select application specific profile:

1. Default
2. Individual Configuration of Capabilities
3. Maya
4. SOFTIMAGE|XSI
5. SOFTIMAGE|3D
6. Houdini 4.0
7. Houdini 5.0
8. Houdini 5.5

Enter the number for your profile: [1] 1






==============================================================================
Advanced Graphics Features Settings
==============================================================================

Do you want to initialize xfree86-dga (y/n)? [n] y

Do you want to export pseudo color visuals (y/n)? [n] n

Do you want to synchronize buffer swaps
with the vertical sync signal (y/n)? [n] y






==============================================================================
Full Scene Anti Aliasing (FSAA)
==============================================================================

Please select multi sample visuals you want to share:

1 = All (Visuals for 2,4 and 6 Samples per Pixel)
2 = Visuals for 2 Samples per Pixel
4 = Visuals for 4 Samples per Pixel
6 = Visuals for 6 Samples per Pixel

Please enter: [1] 1

Do you want to force multi sample visuals
for every OpenGL application? (y/n)? [n] n

Disable FSAA Gamma (y/n)? [n] n

Customize FSAA Multi Sample Position (y/n)? [n] n






==============================================================================
Advanced OS Settings
==============================================================================

External AGPGART module:

It is possible (but not recommended) to turn off the usage of
built-in agp support of the provided fglrx kernel module and
use the external AGP GART module (agpgart.o) of the Linux kernel.
If you want to use the external module then ensure that it loads
prior to the drivers full startup. In order to manually load the
external agpgart module execute this on the commandline (as root):
/sbin/insmod agpgart
or alternatively configure your system to auto load the module.

Do you want to use the external AGP GART module (y/n)? [n] y






AGP Locked User Pages

The grafics driver is able to read and write textures and bitmaps trough AGP
mapped and locked views of the main memory for the application's mem space.
Performing those mapping task depends on several successfull interaction steps
with the Linux kernel. A failure in this process might lead to some messages
in the kernel log. If these kernel functions are failing silently or in case
of other heavy incompatibility (e.g. a new kernel memory manger) then there
is a high chance that the system will hang as soon as the graphics adpater
wants to read from assumed but nor really mapped memory location.

If you do see that the advanced fgl_glxgears application halts your session
whilst the simple glxgears does run nicely then please disable this feature.

If you do see lots of notifications about failed kernel calls for mem locking
then please disable this feature and re-check the kernel message log.

Do you want to enable "AGP Locked User Pages" (y/n)? [y] y






TLS Method: *** this only applys to the FireGL workstation boards ***

The grafics driver supports two different methods of thread local storage.
The first method is fast but might immediately abort when used with
WineX, VM emulators or some other advanced programming tools.
The second method is up to 10% slower in a few rendering cases
but does nicely cope with any sort of exotic software.

For more details on this topic, please see the readme.

If not totally sure about your needs, then please select "0 - default".

0 - default (FireGL workstation boards: fast)
1 - fast operation (only for standard gnu C/C++ OpenGL applications)
2 - compatible operation (for WineX, VM emulators and some profilers)

Which storage method do you want to use? [0] 0






==============================================================================
Finish
==============================================================================

I am going to write the XF86Config-4 file now. Make sure you don't accidently
overwrite a previously configured one.

Shall I write it to '/etc/X11/XF86Config-4' (y/n)? y
 
Old 07-14-2004, 09:29 PM   #9
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
Sorry, I was thinking of the first post which is a sapphire 9200. Don't have any expirience with agp cards so I can't really help you.
 
Old 07-14-2004, 09:49 PM   #10
rjerina
Member
 
Registered: Jul 2004
Location: Albuquerque, NM
Distribution: Slackware 10
Posts: 47

Rep: Reputation: 15
lsmod you mean?

Quote:
root@freedom:~# lsmod | grep fglrx
fglrx 179912 0
root@freedom:~#
and i did everything about right that you did in config, except for using an external AGP GART module
 
Old 07-15-2004, 01:06 AM   #11
rjerina
Member
 
Registered: Jul 2004
Location: Albuquerque, NM
Distribution: Slackware 10
Posts: 47

Rep: Reputation: 15
alright redid my kernel to 2.6.7

trying to setup the drivers again. not working so swell.

Quote:
root@freedom:/lib/modules/fglrx/build_mod# sh make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.7/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.7'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_generic_alloc_page':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:1405: error: structure has no member named `count'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `ali_alloc_page':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:4416: error: structure has no member named `count'
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7'
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
cp: cannot stat `fglrx.ko': No such file or directory
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
root@freedom:/lib/modules/fglrx/build_mod#
it isnt finding agpgart? or something? lol, i'm so used to freebsd, so still trying to get the hang of this.
 
Old 07-15-2004, 01:59 AM   #12
markelo
Member
 
Registered: Mar 2004
Distribution: Red hat 9 -> 64bit fedora
Posts: 190

Rep: Reputation: 30
Quote:
Originally posted by rjerina
alright redid my kernel to 2.6.7

For kernel 2.6.7 you have to edit 2 files in lib/modules/fglrx/build_mod directory.
This is because kernel 2.6.7 will have different usage for page->count variable.


More here
 
Old 07-15-2004, 11:43 AM   #13
rjerina
Member
 
Registered: Jul 2004
Location: Albuquerque, NM
Distribution: Slackware 10
Posts: 47

Rep: Reputation: 15
Quote:
Originally posted by markelo
For kernel 2.6.7 you have to edit 2 files in lib/modules/fglrx/build_mod directory.
This is because kernel 2.6.7 will have different usage for page->count variable.


More here
that worked!

Direct rendering: Yes



thanks everyone.
 
Old 07-23-2004, 04:39 PM   #14
Lord Vance
LQ Newbie
 
Registered: Feb 2004
Posts: 7

Rep: Reputation: 0
Unknown symbol

EDIT: RESOLVED:

I get up to the point of

bash make_install.sh

and recieve the following error:

FATAL: Error inserting fglrx (lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg returns this:

fglrx: Unknown symbol module_refcount




FIX: How I fixed this problem (incase anyone gets the same error)

I rebuilt my kernel with module unloading support, rebooted and it worked.

Last edited by Lord Vance; 07-23-2004 at 06:52 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.2 and fglrx (ATI Drivers) cythrawll Slackware 7 10-18-2005 05:44 PM
fglrx install problem JurajPsycho Linux - Newbie 4 12-30-2004 06:25 PM
Fglrx console=>X changing problem and fglrx resume zbychdm Linux - Hardware 2 09-21-2004 12:58 PM
FGLRX Install problem SOBGTP Debian 3 07-27-2004 05:59 PM
Trying to use fglrx in Slackware 9.1... kleptophobiac Slackware 2 11-12-2003 04:02 AM


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