LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-30-2003, 08:09 AM   #16
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45

for anyone with a radeon 9700 pro and an 8x northbridge (agp port). With the suggestions given above and some backporting that I've been working on I'm hoping to have the ati drivers supporting 8x. The driver already appears to support 8x (at least for the VIA KT400) but mine is a P4PB Ultra w/ P4X400 chipset so I'm trying to work it in. Let you know if I get it working.
 
Old 04-30-2003, 01:16 PM   #17
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
nifty, you'll be a god if you get this to work, it seems like a pretty common problem...THANKS!
 
Old 04-30-2003, 06:08 PM   #18
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I DID IT!!!! HOLY $H17 I DID IT!!!!!!

Here's the full story abridged... built a beautiful gaming machine... 8x AGP DDR 400 whole 9 yards... of course latest AGP bridge latest chipset... no support... except in the 2.5.x series kernel. ATI AGP drivers don't build against 2.5.x series kernel. Started backporting 8x AGP to 2.4.x series kernel then after a week of that (and getting an agpgart module to compile but couldn't test it)... discovered that ATI fglrx driver supports SOME agp 8x. Downloaded the fglrx for XF86 4.3... hacked the AGPv3 routines... copied the KT400 support over for the P4X400 chip and gave it a shot... much to my surprise after some fiddling / hacking / comparing notes XF86 started up... I thought... holy shit... now lets test this... ran fgl_glxgears... got some 400 fps. ran glxgears... got from 4000-6000 fps. ran fgl_glxinfo... something about a radeon driver... ran glxinfo... and saw the magic words...

DIRECT RENDERING: YES

AAHHHHH!!!!! YEAAHHHHHH!!!!
after jumping up and down on my roommate I proceeded to celebrate and I now type this with a beer in my hand and a cigar in my mouth.

I'll post a diff of ATI's agpgart_be.c file if anyone's interested...
and if anyone would like to take this further by testing the backported agp v3 support for the 2.4.x series kernel let me know... or perhaps I'll post it to the kernel mailing list for people to review. Seeing as how the ati driver will not compile against the modded 2.4.x I can't test the thing so if someone wants to take it over they're more than welcome.

Talk to you more tomorrow... I'll post stuff tomorrow evening... in the meantime I have quake III, UT2K3, and GLTron to install and play with my new AGP card...

laters,
jpbarto


ok... finally settled down. I'll be submitting the updated code to the website I got the 4.3 code from. However if anyone has a place we could post this to now for those who need it (I don't have a website and we can't attach to these posts). also to supply a diff or a patch could prove lengthy for this forum.

However if anyone wants it now you can send me an email at tcwg@email.com

also, I started this whole thing by trying to backport the 2.5.x kernel AGP v3 support to 2.4.x however I was unable to test it because the ati driver wouldn't run against it for some reason. Not sure why. However if someone would like to give it a shot I can provide the modded files.

take it easy my fellow Linux monks,
jason

Last edited by jpbarto; 05-01-2003 at 01:59 AM.
 
Old 05-01-2003, 02:00 AM   #19
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
P.S. I'll also be submitting modd'd 2.4.x files / patches to the kernel mailing list.
 
Old 05-01-2003, 01:20 PM   #20
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
kernel mailing list?? erm, how could i get these files without joining a mailing list, could you just upload them somewhere or email even? newb here..but if i get these and they work man, i'll LOVE YOU! haha, this issue has been about the only thing holding me back from dropping windows///
 
Old 05-01-2003, 01:38 PM   #21
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
Hi folks !

I have to admit being quite interested in this issue as I use a Radeon 9700 Pro as well under Redhet 9.0 ... and guess what, I have to wait and wait and wait and hope to see some hand helping me bringing OpenGL features running in this environment.

I also read last week an interview of the main official ATI driver developper, it said that all the ATI fans only had to wait ... a few weeks to see it coming.
The guy told that the full 3D OpenGL featured driver was ready but in validation process. Validation which should only take 3-4 weeks.

Interview was beginning April.
 
Old 05-01-2003, 02:19 PM   #22
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Original Poster
Rep: Reputation: 30
if your serious, i'd rather wait for those than hack up my glx and x86 files...</woman phase>...hell no! I wanna hack the crap outta this baby, its the beauty of linux
 
Old 05-01-2003, 02:53 PM   #23
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
martinman send me an email at tcwg@email.com. I'll send you the modified ATI driver. Its just like the download except that its not in rpm format. (you'll have to build the kernel module from source). I'll include instructions on how to install it if it'll help.

Now the support I've added is for the Via P4PB Ultra mobo w/ a P4X400 chipset (northbridge)... if that's not you're northbridge chipset then I'm not sure this'll do you any good. Oh, also I sent the modifications into the site where I got the driver from (see earlier in thread). It is the ATI driver version 2.9.8 modified for the XF86 4.3. Hopefully they'll let me know when / if they include the support changes.
 
Old 05-08-2003, 12:05 PM   #24
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Rep: Reputation: 15
jpbarto, do your drivers work when you are logged in as user. Because I installed 2.9.8 drivers for X 4.3.0 without problems and everything works for root, but not for users.

Can you send me those modified drivers to dberry@verat.net ?
 
Old 05-08-2003, 12:48 PM   #25
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
check your XFree86 config... there is a DRM section in there that can restrict access to just root. If it works as root then it is probably not a driver issue but a configuration / device permissions problem.
 
Old 05-08-2003, 04:35 PM   #26
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by jpbarto
check your XFree86 config... there is a DRM section in there that can restrict access to just root. If it works as root then it is probably not a driver issue but a configuration / device permissions problem.
I think it's a permissionss problem but can't solve it. I have this section in XF86config-4
Section "dri"
Mode 0666
EndSection

And I also tried chmod 0666 /dev/dri/card0, and nothing, still not working.
Any idea?
 
Old 05-08-2003, 04:41 PM   #27
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What error message(s) are you
getting? :)

Cheers,
Tink
 
Old 05-08-2003, 04:55 PM   #28
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Rep: Reputation: 15
Take a look at this thread http://www.linuxquestions.org/questi...threadid=55474

when I type, for example glxinfo as user I got this
Code:
name of display: :0.0
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    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.3 Mesa 4.0.4
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  8  0 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x26 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x27 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2a 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2b 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2c 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2d 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2e 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2f 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x32 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
But if I type that as root, even in the same X session, just in shell change from user to root, there is no error
Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9500 (AIB) Athlon (3DNow!)
OpenGL version string: 1.3 (X4.3.0-2.9.8)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_multisample, GL_ARB_point_parameters, GL_ARB_shadow,
    GL_ARB_shadow_ambient, 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_program, GL_ARB_window_pos,
    GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap,
    GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float,
    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_rescale_normal,
    GL_EXT_polygon_offset, 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_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_EXT_vertex_shader, GL_HP_occlusion_test,
    GL_NV_texgen_reflection, GL_NV_blend_square, GL_NV_occlusion_query,
    GL_SGI_color_matrix, GL_SGI_texture_edge_clamp,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_lod,
    GL_SGIS_generate_mipmap, GL_SGIS_multitexture, 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 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x26 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x27 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2a 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2b 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2c 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2d 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2e 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2f 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x32 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
Simmilar error is when I try to start xawtv, glxgears, at least this part
Code:
name of display: :0.0
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No
And 3d games run in soft mod.
So how to make it work for users?
 
Old 05-08-2003, 04:59 PM   #29
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
In your other post I saw that you are
using slack ... well, my slack 8.1 uses
the file /etc/X11/XF86Config, not a
/etc/X11/XF86Config-4 ... maybe if
you put that section in the other file?

And yes, I compiled 4.3 manually, too :)

Cheers,
Tink
 
Old 05-08-2003, 05:08 PM   #30
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Rep: Reputation: 15
Maybe, I'll try that later,I cant lose anything ) But I only have /etc/X11/Xf86Config-4 file. Isn't the -4 one default and if it's not there X uses w/o -4 one?

I compiled X 4.3.0. Maybe I did something wrong? I did it like it says in readme file, make world, then make install, everything went ok, no errors.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X800 with ATI drivers: Black screen, and XFree86 uses 99% CPU GeirG Linux - Hardware 6 06-23-2005 04:24 PM
updated Xfree86, can't install ATI drivers properly. Junior41180 Mandriva 0 09-07-2004 06:56 PM
ATI drivers not working on Xfree86 4.3 with Radeon 9600 xt elf-assassin Linux - Newbie 9 07-03-2004 12:32 PM
XFree86 Version 4.3.0- ATI and Radeon Drivers Don't Work? hairston4 Linux - Hardware 14 07-12-2003 10:30 PM
Will ATI Radeon 8500 XFree86 4.2 driver work with Xfree86 4.3? Stevetgn Linux - Hardware 1 06-24-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration