Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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 have an Ati Radeon 9800 pro graphics card. It works fine with the default drivers installed. And it also wroks fine when i install the drivers from ati (fglrx_6_8_0-8.12.10-1.i386.rpm). The problem is that X still uses the default drivers, even when this rpm is installed (yes i restarted X).
Some system info:
Architecture: i686 (32-bit)
X Server: Xorg 6.8.1
From the glxinfo
Quote:
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_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Mesa project
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.1)
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
It should say that GL drivers are from ati, but it doesnt say that :?:
I installed them like:
open console
su
rpm -Uvh fglrx_6_8_0-8.12.10-1.i386.rpm
and i got some strange thing:
Quote:
########################################### [100%]
########################################### [100%]
/sbin/ldconfig: File /usr/X11R6/lib/FGL.renamed.libGL.so.1.2 is too small, not checked.
dunno but the drivers are listed in Yast as installed :?:
I runed the fglrxconfig, everything went fine, and tried to configure it several times, here is how i done it:
Quote:
==============================================================================
ATI - FIRE GL - BE THE CREATOR
==============================================================================
This program will create the ATI "xorg.conf" 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 "xorg.conf" file usually resides in /etc/X11.
Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.
linux:/home/Godlike # fglrxconfig
==============================================================================
ATI - FIRE GL - BE THE CREATOR
==============================================================================
This program will create the ATI "xorg.conf" 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 "xorg.conf" file usually resides in /etc/X11.
Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.
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]
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
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]
==============================================================================
TV out Configuration
==============================================================================
------------------------------------------------------------------------------
| 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]
==============================================================================
Single Head selected
==============================================================================
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] 7
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
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.
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? 368
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" "1280x1024" "1600x1200" 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]
==============================================================================
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]
==============================================================================
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]
Do you want to synchronize buffer swaps
with the vertical sync signal (y/n)? [n]
==============================================================================
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]
Do you want to force multi sample visuals
for every OpenGL application? (y/n)? [n]
Disable FSAA Gamma (y/n)? [n]
Customize FSAA Multi Sample Position (y/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)
I am going to write the xorg.conf file now. Make sure you don't accidently
overwrite a previously configured one.
Shall I write it to '/etc/X11/xorg.conf' (y/n)? y
Probing PCI bus for a supported graphics device...
found: R350 (NH)
PCI bus slot: PCI:1:0:0
entering the detected PCI bus slot into the xorg.conf file.
File has been written. Take a look at it before running 'startx'.
Note that the xorg.conf file must be in one of the directories
searched by the server (e.g. /etc/X11) in order to be used.
Within the server press ctrl, alt and 'Num+' or 'Num-' simultaneously
to cycle video resolutions.
Pressing ctrl, alt and backspace simultaneously immediately exits the server.
Use these keys if the monitor doesn't sync for a particular mode.
For further configuration, refer to /usr/X11R6/lib/X11/doc/README.Config.
And my result from glxgears
960 frames in 5.0 seconds = 192.000 FPS
... should be more than 1000 at least if hardware acceleration would be enabled with ati drivers
If it does then In this section of your fglrxconfig :
==============================================================================
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
Try answering this with an (n)
If this helps cool if not list the output of lsmod
How can i check if that fglrx module loads at boot ....
No need to tell that im not so good at linux ... yet, been using it only for 2 weeks now, but im getting used of it by lots lots of
The lsmod command shows the modules that are loaded. If you have not manualy loaded any modules yourself, all those modules that you see as the output of lsmod are the modules that are loaded at boot time. If fglrx was loaded it would be listed and it is not.
You can try the command "modprobe fglrx" it will let you know if the module gets loaded. Then check again with "lsmod" you should now see fglrx listed.
If you do see fglrx listed restart X. Run glxinfo and hopefully now you will see "direct rendering: yes" and glxgears should be bustin out 1000 fps or more.
You may have to force rpm to install the module. I think rpm --force -Uvh ati-whatever would work.
Did you check in your kernel modules directory to see if fglrx was there ? It should be somewhere around /lib/modules/"kernel-version"/kernel/drivers/video or char. Sorry i can't be more specific about the location of this file, it has been a while since I worked with SUSE.
Forced it also already but i done it again, is this a sucess or not ?
Because i get:
Quote:
Preparing... ########################################### [100%]
1:fglrx_6_8_0 ########################################### [100%]
/sbin/ldconfig: File /usr/X11R6/lib/FGL.renamed.libGL.so.1.2 is too small, not checked.
or is this some error or something ?
I also checked those directories around there, where you told me, and i only found this:
/lib/modules/fglrx
and in there is: make_install.sh and 'dir' build_mod and in that dir alot of .c .h source files.
Probably this didnt auto build itself when i installed the rpm, because of that "error" i posted up. Just my 2 cents, dunno.
And i dunno if i should execute the ./make_install.sh or leave it alone and try to fix that rpm problem if it is a problem at all.
Suse 9.2 has X.org not XFree86, so that drivers would ruin my X, like i did once already ... i learned from my mistake
Well i know im annoying with this, but i realy tried alot already, so if you help me out a bit more, maybe i`ll get it to work. Don`t want to be intrudive but help so far was great from you, point me a bit more
1. fglrx must be loaded in order for you to have 3D direct rendering.
2. Your fglrx module can not be found. You are correct and this means that it is not properly installed.
2.5 In Gentoo My fglrx module resides in /lib/modules/2.6.10-gentoo-r6/video and its name is fglrx.ko
3. I am not sure how Suse goes about this but I think that you should follow the instructions on the link provided ,exactly, at least to the point where the fglrx module is properly installed. I think the X configuration is the least of your worries right now. Later, after your module is installed and it automaticly loads during boot or you can manualy modprobe it in or at least find it in your modules directory, we can play with xorg and get a propper configuration.
4. Keep trying because eventually you will get it.
P.S. If anyone else has knowledge on this subject feel free to chime in.
glx_gears does not give accurate info when using ATI cards on Linux. The true (or at least more accurate FPS) can be found by running the ATI tool bundled with the fglrx drivers called fgl_glxgears. Please repost your FPS with this tool, I would love to see how my systems compare.
3049 frames in 5.0 seconds = 609.800 FPS
3415 frames in 5.0 seconds = 683.000 FPS
3479 frames in 5.0 seconds = 695.800 FPS
Now a question for you
I have ATI RADEON 9800 Pro 128mb and i try to play Unreal Tournament 2004 and frankly it`s not playable
Everything is soooooo lagged and fps in full action drops to 5fps
In Windows i get on 1600x1200@85Hz all Maxed out an average of 60fps, and on linux it`s not playable on 1024x768 all on min. I used last drivers on Ati`s WEB site, and if this can`t be better i will write a very very angry letter to ATI
Your speeds are equivalent to what we get with the Fire GL X1 Workstation cards .. what a waste of money these things are.
I wish I could answer your question Tomaz. We use Linux for 3d work only I've never tried to play games on it. When I have a bit of time to spare I'll try loading Unreal and see what happens.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.