Find the answer to your Linux question:
Results 1 to 10 of 10
I aquiered a new system: AMD 2600+ @ 2.08ghz 1GB 2700(333) RAM ABIT NF7-RAID nVidia chipset ATI RADEON 9600xt Slackware 10.0 While configuring the system i ran into a problem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    JR
    JR is offline
    Just Joined!
    Join Date
    Nov 2004
    Posts
    12

    xorg 6.8.0 + ATI RADEON 9600xt (fglrx)


    I aquiered a new system:
    AMD 2600+ @ 2.08ghz
    1GB 2700(333) RAM
    ABIT NF7-RAID nVidia chipset
    ATI RADEON 9600xt
    Slackware 10.0

    While configuring the system i ran into a problem with xorg and ATI's fglrx driver. After some searching, I found a few threads concerning this issue however no posted solutions solved my problem. I have gone through all the steps in this thread:.

    http://www.linuxforums.org/forum/top...8-0-asc-0.html

    I am using xorg 6.8.0 and the xglrx driver compatible with 4.3 XFree86.
    glxgears gives me on average of 57 fps (ouch!). xorg logs suggest that everything is working properly. glxinfo reports that the ATI drivers are in memory (logs and stdout posted below). I believe my problem lies in the output from fgl_glxgears (provided with the fglrx driver pack from ati)

    oracle9@oracle:~$ fgl_glxgears 2> err.txt

    FGLTexMgr: open of shared memory object failed (Function not implemented)
    __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
    fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
    ...
    (repeates for about 1,000 times)

    >>From xorg.log

    (II) fglrx(0): UMM area: 0xd8701000 (size=0x078ff000)
    (II) fglrx(0): driver needs XFree86 version: 4.3.x
    (WW) fglrx(0): could not detect XFree86 version (query_status=-3)
    (II) Loading extension ATIFGLRXDRI
    (II) fglrx(0): doing DRIScreenInit
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 5, (OK)
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 5, (OK)
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 5, (OK)
    drmGetBusid returned ''
    (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:2:0:0"
    (II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0c81000
    (II) fglrx(0): [drm] mapped SAREA 0xe0c81000 to 0x40023000
    (II) fglrx(0): [drm] framebuffer handle = 0xd8000000
    (II) fglrx(0): [drm] added 1 reserved context for kernel
    (II) fglrx(0): DRIScreenInit done
    (II) fglrx(0): Kernel Module Version Information:
    (II) fglrx(0): Name: fglrx
    (II) fglrx(0): Version: 3.14.6
    (II) fglrx(0): Date: Oct 30 2004
    (II) fglrx(0): Desc: ATI Fire GL DRM kernel module
    (II) fglrx(0): Kernel Module version matches driver.
    (II) fglrx(0): Kernel Module Build Time Information:
    (II) fglrx(0): Build-Kernel UTS_RELEASE: 2.4.26
    (II) fglrx(0): Build-Kernel MODVERSIONS: no
    (II) fglrx(0): Build-Kernel __SMP__: no
    (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
    (II) fglrx(0): [drm] register handle = 0xe9000000
    (II) fglrx(0): [agp] Mode=0x1f00421a bridge: 0x10de/0x01e0
    (II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
    (II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
    (II) fglrx(0): [agp] enabling AGP with mode=0x1f00431a
    (II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f004312)
    (II) fglrx(0): [agp] grafics chipset has AGP v3.0 (native mode)
    (II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
    (II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
    (II) fglrx(0): [drm] texture shared area handle = 0xe8d9b000
    (II) fglrx(0): shared FSAAScale=1
    (II) fglrx(0): DRI initialization successfull!
    (II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x00701000
    (II) fglrx(0): FBMM initialized for area (0,0)-(1280,1434)
    (II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumption)
    (==) fglrx(0): Backing store disabled
    (==) fglrx(0): Silken mouse enabled
    (II) fglrx(0): Using hardware cursor (scanline 1024)
    (II) fglrx(0): Largest offscreen area available: 1280 x 402
    (**) Option "dpms"
    (**) fglrx(0): DPMS enabled
    (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)

    Screen to screen bit blits
    Solid filled rectangles
    8x8 mono pattern filled rectangles
    Solid Lines
    Dashed Lines
    Offscreen Pixmaps
    Setting up tile and stipple cache:
    30 128x128 slots
    (II) fglrx(0): Acceleration enabled
    (II) fglrx(0): X context handle = 0x00000001
    (II) fglrx(0): [DRI] installation complete
    (II) fglrx(0): Direct rendering enabled
    (II) Loading extension FGLRXEXTENSION
    (II) Loading extension ATITVOUT
    (==) RandR enabled

    -------------------------------------------------------------------------------

    oracle9@oracle:~$ fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9600 XT Generic
    OpenGL version string: 1.3.4641 (X4.3.0-3.14.6)

    ------------------------------------------------------------------------------

    oracle9@oracle:~$ glxgears
    289 frames in 5.0 seconds = 57.800 FPS
    298 frames in 5.0 seconds = 59.600 FPS
    299 frames in 5.0 seconds = 59.800 FPS
    298 frames in 5.0 seconds = 59.600 FPS
    298 frames in 5.0 seconds = 59.600 FPS
    Broken pipe

    ------------------------------------------------------------------------------
    oracle9@oracle:~$ glxinfo
    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_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: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9600 XT Generic
    OpenGL version string: 1.3.4641 (X4.3.0-3.14.6)
    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_fragment_program_shadow, GL_ARB_multisample,
    GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
    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_buffer_object, 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_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_shadow_funcs, 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_texgen_reflection, GL_NV_blend_square,
    GL_NV_occlusion_query, GL_SGI_color_matrix, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_lod,
    GL_SGIS_generate_mipmap, 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 None
    0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
    0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
    0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
    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 None
    0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
    0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
    0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
    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

    ---------------------------------------------------------------------------------------
    if you read this far THANKS. I probably am going to go back to good 'ol XFree86, but i thought I would post here to see if someone could point me in a better direction.

    JR

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Posts
    31
    Turn off the "Sync Buffer swaps with Vertical Sync" option in /opt/ati/bin/fglrxconfig. that will remove the Vsync Frame Limiter

    Beware, your graphics will look like **** :P

  3. #3
    JR
    JR is offline
    Just Joined!
    Join Date
    Nov 2004
    Posts
    12
    K. I did that and glxgears is now hardware rendered.. however fgl_glxgears still gives me this:

    FGLTexMgr: open of shared memory object failed (Function not implemented)
    __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
    fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!

    glxgears is about the only thing that runs that uses GL... but watching the gears turn just doesnt do it for me...

    oracle9@oracle:~$ glxgears
    9500 frames in 5.0 seconds = 1900.000 FPS
    10468 frames in 5.0 seconds = 2093.600 FPS
    10591 frames in 5.0 seconds = 2118.200 FPS
    10303 frames in 5.0 seconds = 2060.600 FPS
    10276 frames in 5.0 seconds = 2055.200 FPS
    10274 frames in 5.0 seconds = 2054.800 FPS

    Im going to try using XFree86 and see if this resolves the issue.. thanks for the reply.

    JR

  4. #4
    Just Joined!
    Join Date
    Nov 2004
    Posts
    31
    (II) fglrx(0): driver needs XFree86 version: 4.3.x
    (WW) fglrx(0): could not detect XFree86 version (query_status=-3)

    that right there should tell you that the ATI-Drivers package is meant for Xfree86, uninstall Xorg-X11, and install Xfree86 4.3.0-r8, re run fglrxconfig, and turn off AGP Locked Pages that will get rid of this:

    FGLTexMgr: open of shared memory object failed (Function not implemented)
    __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
    fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!

    altho, if you turn off shared memory, you will not have access to the systems AGP aperture so make your decision carefully.

    hope this helps

  5. #5
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    heh surprised that it even works with xorg 6.8 ...i had to use xorg 6.7 and the 3.14.1 ati-drivers to make it work...so have alot of other ppl and most of them get better numbers than me i only get 2-300 fps where i used to get 5-6000fps however i see no ill effects in opengl with games they run fast and just fine.... and ati says that the new drivers will be out in 3 months...
    i have the same ati 9600xt

    and yes the ati-drivers work with xorg just fine....(though there is that one typo)
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  6. #6
    JR
    JR is offline
    Just Joined!
    Join Date
    Nov 2004
    Posts
    12
    ok.. well i have been working on it .. and screwed it up even more.. I uninstalled Xorg and went with XF86 4.3.0 .. and then i couldnt get any window managers to load. i went back(forward) to xorg and now i seem to be missing a file called fbconfig.. err.. and whats funny is that this file comes in a package provided by sun micro. for solaris. i think fbset has the same functionality but fgl_glxgears wants that file..

    another thing, do i have to compile the xf86 4.3.x src or could i just use an old package for say 9.0 slack??

    thanks for the help both of you..

    ps.. so 6.7 works for you?.. do you think you could post your xorg config file?

  7. #7
    Just Joined!
    Join Date
    Nov 2004
    Posts
    31
    [/quote]and yes the ati-drivers work with xorg just fine....(though there is that one typo)

    to which type are you referring?

    heh surprised that it even works with xorg 6.8

    Uh, How the heck did you get XorgX11 6.8.0-r3 to work with ATI Drivers? On gentoo for instance, the ati drivers break xorg 6.8.0. you will notice that if you install ati-drivers, and it detects an Xorg 6.8.0 installation, it will roll itself back to 6.7.0-r3 to maintain compatibility.

    Id just like to know what steps you took being you have the EXACT same card as i do

    GO POWERCOLOR !!!

  8. #8
    Just Joined!
    Join Date
    Nov 2004
    Posts
    31
    ok, sorry for my improper use of quotes,.

    no, linux is forgiving. just completely uninstall both of them, clean up the directories, update your environment variables, and then reinstall one of them *xorg or xfree*

    you have a powercolor radeon 9600xt bravo 128MB right?


    and for the problem of window managers not loading, comment out 'displaymanager=" and XSESSION=" in /etc/rc.conf until you get stuff working properly.

    if you decided to use xorg, runt he Xorg -configure tool to generate a default Xorg.conf
    if you decided to use xfree, run xf86config t0 get a basic XF86Config file.

    then startx, a window manager named TWM will show up, its ugly, but at least you can see if stuff is working.

    let me know how it goes.

  9. #9
    JR
    JR is offline
    Just Joined!
    Join Date
    Nov 2004
    Posts
    12
    ok i was using xorg 6.7.0 all along.. but the man pages for xorg are 6.8.0 ... lol

    anyway i compiled blackbox (WM) with 4.3.0 installed and installed a fresh copy of the ATI drivers and a fresh config.. i got the same error with fgl_glxgears

    Code:
    FGLTexMgr: open of shared memory object failed (Function not implemented)
    __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
    fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!
    that is with and without agplock.. needless to say i went back to xorg 6.7.0 and am back where i started when i first started this thread.

    hardware rendering works only on glxgears and a few screensavers.. no games work.. even native linux games like Neverwinter Nights..


  10. #10
    JR
    JR is offline
    Just Joined!
    Join Date
    Nov 2004
    Posts
    12
    ok i figured it out.. should have seen this earlier.. i built wrote my own fstab and forgot to add this..

    Code:
     tmpfs /dev/shm tmpfs defaults 0 0
    /dev/shm is the device for shared memory and it has to be mounted like a swap..

    thanks for all the help!!!..

    JR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •