problem moving from GeForce to ATI (x.org file)
so, i got a new radeon 9800 and im trying to get my xorg.conf file configured correctly. first of all, i am in x but its no 3d execl.
Code:
atlantis:~ $ fglrxinfo http://www.linuxquestions.org/questi...n+display+0.0. but no success. so i created one using the fglrxconfig program. it created the one i am using now, but there is no 3d excel. i tried editing the one created by the program according to the above link, but it will not even run x, it will try, and switch back the shell prompt after spitting out some errors. following this is my current xorg.conf (ati with no 3d excel) Code:
# File: XF86Config-4 |
it is advized that " Option "UseInternalAGPGART" "yes" " is set to "no" to use the kernel -agpgart.
but i don't think that's all. take a look in /var/log/xorg.0.log to view the errors/warnings. egag |
well, i really dont know what much of this means... but here are some concerns.... i am not using a nvidia card anymore, yet it says
(II) Module glx: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.6111 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.1 here is another thing that sticks out (WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found im using kernel 2.4.26 and get this (WW) fglrx(0): could not detect XFree86 version (query_status=-3) (WW) fglrx(0): *********************************************** (WW) fglrx(0): * DRI initialization failed! * (WW) fglrx(0): * (maybe driver kernel module missing or bad) * (WW) fglrx(0): * 2D acceleraton available (MMIO) * (WW) fglrx(0): * no 3D acceleration available * (WW) fglrx(0): ********************************************* * thats was just from a quick scan, is there anything else specific i shoudl be looking for? |
--------
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found -------- that's normal: it's the ID of the tv-out. ( your mon. = PCI:1:0:0 ) looks like nvidia installed a different libglx , i can't check : this pc also has nvidia.( thus the same lib ) did you see any errors ( type " grep "(EE)" /var/log/Xorg.0.log " ) egag |
this is what i get
atlantis:~ $ grep "(EE)" /var/log/Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (EE) Failed to initialize GLX extension (NVIDIA X driver not found) |
look in this dir : /usr/X11R6/lib/modules/extensions for file " libglx.a "
i think nvidia replaced it so you load their libglx. egag |
there is only a libglx.so but i still havent gotten 3d acceleration to work...
|
em, dude, you should NEVER have boughten that ATI, there hell to setup....
|
that, i found that out after the fact... but i got it for real cheap, and i was still using geforce 4..
|
ok, i am pretty sure i know what the problem is, but i dont know how to solve it... when i try to run anything, it gives me the error saying that glx is missing... but in the log, it says that i loaded properly, but its the NVIDIA one. do i need to uninstall the nvidia driver?
i have uninstalled the nvidia driver, and now glxgears will work, and this is the output for fglrxinfo display: :0.0 screen: 0 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) but when trying to run ut2004, i get this error... atlantis:~ $ ut2004 Couldn't set video mode: Couldn't find matching GLX visual History: Exiting due to error well, glx seems to be working properly, but ut just can not find it... for anyone that was wondering, here are the steps i used to get the driver working 1. uninstall nvidia driver with this command 'nvidia-installer --uninstall' 2. downladed the driver from ati 3. installed the driver 4. built the module in /lib/modules/fglrx/build_mod 5. ran fglrxconfig to create an xorg.conf file 6. inserted 'modprobe fglrx' into the /etc/rc.d/rc.modules file this is what i get from fglrxinfo atlantis:~ $ fglrxinfo -n display: :0.0 screen:0 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 glx server vendor string: SGI glx server version string: 1.2 glx server extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample glx client version: 1.3 glx client 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 visual x bf lv rg d st r g b a ax dp st accum buffs ms id dep cl sp sz l ci b ro sz sz sz sz bf th cl r g b a ns b ----------------------------------------------------------------- 0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 and gears gets around 95fps... i am sure this is not workign correctly, when i do this atlantis:~ $ fglrxinfo display: :0.0 screen: 0 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) should that be saying somethign about ATI not mesa?? and the fgl_glxgears doesnt work... atlantis:~ $ fgl_glxgears X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 31 Current serial number in output stream: 31 |
don't load the fgrlx-driver in rc.modules, it's loaded when you startup X.
and look at the output of " glxinfo " ; line 4 or so will give info on direct rendering. 95fps is in a window i presume ? egag |
here is the output from glxinfo, there is no direct rendering... anyways, its not working correctly, and im out of ideas...
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 |
you'll find a clue in the xorg.0.log. "grep " warnings and errors and post them here.
and did you remove the " modprobe "-line from rc.modules ? you don't need that, and it could be that the driver is loaded to early. i would first remove that line, startup X, and look for (WW)/(EE) in the log. egag |
Stupid question: did fglrxconfig create a XF86Config-4 file or did it create a xorg.conf file?
Quote:
|
it is the xorg.conf file, the last option of the utility to create it is where you should write the file to...
from looking at the warnings, it seems like find the device... but it is there.. root:/home/atlantis # lspci | grep VGA 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R350 [Radeon 9800] atlantis:~ $ less /var/log/Xorg.0.log | grep WW (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local/". (WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found (WW) fglrx(0): could not detect XFree86 version (query_status=-3) (WW) fglrx(0): *********************************************** (WW) fglrx(0): * DRI initialization failed! * (WW) fglrx(0): * (maybe driver kernel module missing or bad) * (WW) fglrx(0): * 2D acceleraton available (MMIO) * (WW) fglrx(0): * no 3D acceleration available * (WW) fglrx(0): ********************************************* * atlantis:~ $ less /var/log/Xorg.0.log | grep EE (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV" (EE) fglrx(0): cannot init AGP atlantis:~ $ |
All times are GMT -5. The time now is 05:55 AM. |