No OpenGL, Debian, Radeon 9250 PCI using fglrx drivers, custom kernel fix?
EDIT: I just fixed my x-log link. Sorry for the nonsense.
INTRO: I've been at this for three weeks now. Help would be appreciated. My card works perfectly fine in WinXP, so obviously the problem is software/configuration related. THE SPECIFICATIONS: I am running Debian 3.1 "sarge" stable on a 2.6.8 kernel using XFree86 4.3.0.1. I'm trying to get my ATI Radeon 9250 PCI 256MB DDR card to run using the PROPRIETARY drivers rather than the generic drivers. (My cheap Dell Dimension 2400 only came with PCI slots.) THE PROBLEM: With my current configuration, fglrx can only run X11 with 2D acceleration. It runs WITHOUT 3D acceleration (OpenGL). I want to get OpenGL working using these drivers. (I have read several places that the generic drivers, though more stable, lack the performance found in the proprietary drivers. Plus it would be nice to be able to use the ATI-provided applet that gives me control of my TV output.) WHAT I TRIED: In order to get these proprietary drivers to work, I tried creating a customized kernel based on what I saw in these websites: http://www.g-tec.co.at/ati.html (disabled Direct Rendering Manager) http://www.falkotimme.com/howtos/deb...pile/index.php (My "make dpkg" command was similar, except with "initrd" enabled.) Basically, I copied my previous configuration into my /usr/src/linux directory as ".config" and edited it from there, being sure to disable Direct Rendering Manager. With my newly compiled kernel and with the right kernel headers installed, I ran the latest ./....run installer provided on the ATI site under the Linux Radeon Drivers: https://support.ati.com/ics/support/...ge&folderID=27 Then I created an X-configuration with "fglrxconfig". I replaced the mouse and keyboard configs with my Debian auto-configured settings, which work quite nicely. The best I get is 2D acceleration without OpenGL. REFERENCE: I have provided my "/etc/X11/XF86Config-4" and "/var/log/XFree86.0.log" files for your reference. They were uploaded onto Geocities. See the two following links: http://www.geocities.com/liquidpythn/xf86config-4.txt (X-config) http://www.geocities.com/liquidpythn/xfree86.0.log.txt (X-log) (link fixed) (Note: My kernel version was 2.6.8-2_i386 when I installed Debian Sarge stable. When I compiled a custom kernel per some websites' suggestions, it became a derivative of the 2.6.8-16 kernel source. It is now called "2.6.8-ati".) (Another note: I found this link, but I don't understand what I would have to do to follow this persons' procedure, if necessary. A short explanation of its implications would be helpful: http://reviews.cnet.com/5208-6617-0....sageID=1280052) CONCLUSION: If anyone can help me fix this, then perhaps I could contribute the solution to the ATi driver wiki, or tutorials, or something. Thank you in advance. -QBD |
I fixed the link to my x-log, so now you should be able to troubleshoot the problem.
I will now review some of the highlights of the log: Quote:
Quote:
Quote:
In any case, glxgears gives me a rate of about 70 fps, and glxinfo says that acceleration is off. By the way, I actually saved the command I used to compile my kernel into a Debian package, if this helps. Code:
make-kpkg --append_to_version -ati --initrd --revision=custom.1.01 kernel_image |
Perhaps I would need to reconfigure my kernel. I am open to suggestions.
So I have an idea. I'll post the ".config" file in my kernel source code. Here is the link: http://www.geocities.com/liquidpythn...-1.01_i386.txt (Of course, you will need to save this in a kernel source directory as ".config".) I would like someone to view the configuration with "make menuconfig" and suggest a better configuration ideal for running fglrx drivers. Note that kernel hacking and the Direct Rendering Manager is disabled. Are there any additional changes I should make? By the way, I also noticed this in my log: Quote:
|
I have the exact same card & exact same problem with ATI's drivers. I'll try to recompile my kernel (Fedora Core 3) & see if moduling the other DRI helps.
In the meantime, try using the opensource 'radeon' driver with DRI enabled. It's crappy, but the fps of glxgears is abt 400, so higher than what you'd have with fgl- at this stage. |
Im having the exact same problem with Ubuntu 5.10 using 2.6.12-9-686.
Anyone get anywhere with this? |
Quote:
Basically, in order for part of the driver to compile, your kernel source code need to match the running kernel, & fedora 3's shipped kernel does not match the corresponding .config file in the source. I switched to Mandriva and it works just fine there. Alternatively, you might want to comopile your own kernel and then install the fglrx driver & it should work. |
hari_seldon99 hit the nail on the head. You must install a kernel_source that matches your current kernel in order for the ATI installer to build the required kernel-module correctly. After you accomplish that, you should have no problems installing the driver.
You can double check by reviewing the ATI installer log. I believe the log gets put into / |
Well at least i know it can be done
I pretty much gave up hope. I didnt get many responses on the Ubuntuforums at all so dug around myself and tried a TON of different methods. I got my fps finally up to around 400 which was at small screen, at full screen it was still awful.
I cant figure out how i didnt last time. My problem is when i configure xorg.conf to use the fglrx driver, my computer hangs. Like i reboot the GDM and it goes to a black screen. It hangs so hard that if i cant change runlevels or any of that shit. I cant ALT CTRL ANYTHING. If i execute an MP3 from the command line, then try this, the mp3 freezes halfway through the song, indicating a hard hang. Take a look at this though, its interesting. My xorg.conf file is set to use the "radeon" driver. My glxinfo looks like this: 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 version: 1.2 GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_multisample OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.2.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 0x3f 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None No 3d rendering. It used to work but i tinkered around a little bit and now it just doesnt work at all. My lsmod puts out this: agpgart 34792 3 intel_agp,fglrx,ati_agp fglrx 255524 0 intel_agp 23164 1 ati_agp 9036 0 among some others as well. the only reason it loads fglrx is because i added it manuall in /etc/modules I *CAN* rmmod - ati_agp and fglrx I CANT rmmod - intel_agp and agpgart Anyone have any suggestions how i disable this intel_agp, and agpgart modules then only use fglrx? Also i didnt have a copy of the kernel source on my comp, i dont think, so im downloading the 2.6.12 source now and installing it. Where do i go from there tho? |
After you get the source installed, just re-run the driver installer so it can build the required kernel module for you.
|
Re: Well at least i know it can be done
Quote:
So what does /var/log/Xorg.log.XXX say? Quote:
You shouldn't have to load it in /etc/modules or anything like that. From your output of glxgears it seems to default to MESA anyways. You need to enable the 'DRI' section in your xorg.conf for 3d to work with the opensource radeon-dri driver (there's howtos for this if you google for it). It'll be crappy, but you won't have to default to MESA. Quote:
Quote:
Here is my output of lsmod [daneel@landau ~]$ /sbin/lsmod|grep fglrx fglrx 253224 7 agpgart 28264 2 fglrx,intel-agp As you can see, it's using agpgart module, but 3-D acceleration works out okay anyways (glxgears is ~1100fps, & glxinfo is: name of display: :0.0 Loading required GL library /usr/lib/libGL.so.1 display: :0 screen: 0 direct rendering: Yes 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: ATI Technologies Inc. OpenGL renderer string: RADEON 8500 Prototype DDR Pentium 4 (SSE2) (FireGL) (GNU_ICD) OpenGL version string: 1.3.1010 (X4.3.0-8.16.20) OpenGL extensions: GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array, GL_S3_s3tc, GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos, GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_texgen_reflection, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square, GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays 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 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow 0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow 0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow 0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow 0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None 0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None 0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow 0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow 0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow 0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow 0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None 0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None [daneel@landau ~]$ fglrxinfo Loading required GL library /usr/lib/libGL.so.1 display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 8500 Prototype DDR Pentium 4 (SSE2) (FireGL) (GNU_ICD) OpenGL version string: 1.3.1010 (X4.3.0-8.16.20) It seems okay. Bear in mind that fglrx overwrites libGL.so files and puts in it's own versions, so... WRT kernel source, you might want to build your own kernel. There are many HOWTOS on doing this. Once ur done, then reboot to your compiled kernel and then install fglrx from packages compatible with your version of xorg taken from ATI's download site (google for it). Then backup your old xorg.conf file and run 'fglrxconfig' to config your xorg.conf with fglrx and then restart the X-server (or just reboot). That ought to do it. |
Ok ive decided that im going to wait until the official release of Ubuntu 5.10 next week then reinstall the whole hard drive, start from scratch, and recompile the kernel then.
BTW the log that you mention doesnt get written to if it hangs on reboot. It hangs before its written i guess. Thanks guys. |
All times are GMT -5. The time now is 11:00 PM. |