Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Im using a Gentoo base linux,i need help to load direct render support.I couldn't able to activate.Please help. Code: # lspci|grep ATI 01:00.0 VGA compatible controller: ATI Technologies Inc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Location
    middle Asia
    Posts
    81

    Unhappy Ati Direct Render problem!


    Hi
    Im using a Gentoo base linux,i need help to load direct render support.I couldn't able to activate.Please help.


    Code:
    # lspci|grep ATI
    01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AQ [Radeon 9600]
    01:00.1 Display controller: ATI Technologies Inc RV350 AQ [Radeon 9600] (Secondary)
    
    lspci|grep AGP
    00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
    Code:
    # lsmod
    Module                  Size  Used by
    appletalk              26320  2
    ipx                    20236  2
    p8022                   1472  1 ipx
    psnap                   2532  2 appletalk,ipx
    llc                     5076  2 p8022,psnap
    uhci_hcd               25616  0
    parport_pc             26468  0
    parport                27656  1 parport_pc
    eth1394                14920  0
    8139too                19136  0
    mii                     4096  1 8139too
    ohci1394               26644  0
    ieee1394               76056  2 eth1394,ohci1394
    usb_storage            28548  0
    scsi_mod               72840  1 usb_storage
    ehci_hcd               23912  0
    usbhid                 30400  0
    ohci_hcd               15780  0
    sis_agp                 5668  1
    usbcore                97764  6 uhci_hcd,usb_storage,ehci_hcd,usbhid,ohci_hcd
    ntfs                   83248  1
    nls_iso8859_9           3968  2
    nls_cp857               4224  2
    vfat                    9184  2
    fat                    38684  1 vfat
    fglrx                 430080  0
    agpgart                25480  2 sis_agp,fglrx
    Code:
    $ glxinfo
    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_hyperpipe, GLX_SGIX_swap_barrier,
        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: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.4.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
    Some part of Xorg.conf
    Code:
    $ cat /etc/X11/xorg.conf
    ..............
    Section "Module"
            Load  "dbe"      # Double buffer extension
            SubSection "extmod"
                    Option      "omit xfree86-dga"   # don't initialise the DGA extension
            EndSubSection
            Load  "type1"
            Load  "freetype"
            Load  "glx"
            Load  "dri"
            Load  "v4l"
    EndSection
    
    Section "ServerFlags"
            Option      "AllowMouseOpenFail" "True"
            Option      "BlankTime" "0"
            Option      "StandbyTime" "0"
            Option      "SuspendTime" "0"
            Option      "OffTime" "0"
    EndSection
    
    Section "Device"
            Identifier  "ATI Graphics Adapter"
            Driver      "fglrx"
            Option      "RenderAccel" "true"
            Option      "UseInternalAGPGART" "no"
    EndSection
    
    Section "Screen"
            Identifier "Screen0"
            Device     "ATI Graphics Adapter"
            Monitor    "Monitor0"
            DefaultDepth     24
            SubSection "Display"
                    Depth     8
                    Modes    "1600x1200" "1280x1024" "1024x768" Section "DRI"
            Mode         0666
    EndSection
    .................
    Kernel .config file:
    Code:
        * Loadable module support -> Enable loadable module support: ENABLED
        * Loadable module support -> Module unloading: ENABLED
        * Loadable module support -> Automatic kernel module loading: ENABLED
        * Bus options (PCI, PCMCIA, EISA, MCA, ISA) -> PCI Express support: ENABLED
        * File systems -> Pseudo filesystems -> Virtual memory file system support: ENABLED
        * Processor type and features -> MTRR (Memory Type Range Register) support: ENABLED
        * Device drivers -> Character Devices -> /dev/agpgart (AGP Support): ENABLED
        * Device drivers -> Character Devices -> Sis Enabled
        * Device drivers -> Character Devices -> Direct Rendering:DISABLED
    Xorg.0.log:
    Code:
    ...... same as below.....
    drmOpenByBusid: drmOpenMinor returns -1023
    drmOpenDevice: node name is /dev/dri/card254
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: open result is -1, (No such device)
    drmOpenDevice: Open failed
    drmOpenByBusid: drmOpenMinor returns -1023
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmGetBusid returned ''
    (II) fglrx(0): [drm] DRM interface version 1.0
    (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
    (II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8a3b000
    (II) fglrx(0): [drm] mapped SAREA 0xf8a3b000 to 0xb76f8000
    (II) fglrx(0): [drm] framebuffer handle = 0xc0000000
    (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: 8.21.7
    (II) fglrx(0):     Date: Jan 14 2006
    (II) fglrx(0):     Desc: ATI FireGL DRM kernel module
    (WW) fglrx(0): Kernel Module version does *not* match driver.
    (EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
    (II) fglrx(0): [drm] removed 1 reserved context for kernel
    (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8a3b000 at 0xb76f8000
    (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): ********************************************* *
    (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x08000000
    (==) fglrx(0): Write-combining range (0xc0000000,0x8000000)
    (II) fglrx(0): FBMM initialized for area (0,0)-(1600,8191)
    (II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1200) (front color buffer - assumption)
    (==) fglrx(0): Backing store disabled
    (==) fglrx(0): Silken mouse enabled
    (==) fglrx(0): Using hardware cursor (scanline 1200)
    (II) fglrx(0): Largest offscreen area available: 1600 x 6988
    (WW) fglrx(0): Option "RenderAccel" is not used
    (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
            Screen to screen bit blits
            Solid filled rectangles
            Solid Horizontal and Vertical Lines
            Offscreen Pixmaps
            Setting up tile and stipple cache:
                    32 128x128 slots
                    32 256x256 slots
                    16 512x512 slots
    (II) fglrx(0): Acceleration enabled
    (II) fglrx(0): Direct rendering disabled
    (II) Loading extension FGLRXEXTENSION
    (II) Loading extension ATITVOUT
    (==) RandR enabled
    (II) Setting vga for screen 0.
    ----------------------
    Kernel 2.6.15
    Kde 3.5.0
    ---------------------
    Ps: Sorry for the mess
    Thanks a lot.

  2. #2
    Just Joined!
    Join Date
    Feb 2006
    Posts
    1
    whynot,
    Make sure that you run:
    Code:
    opengl-update ati
    You have to run it as root. Your glxinfo shows
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
    This means that x.org is not using the ATI supplied OpenGL libraries. The above command resolves that.

    Regards,
    Joel

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Location
    middle Asia
    Posts
    81
    Quote Originally Posted by PossumJC
    whynot,
    Make sure that you run:
    Code:
    opengl-update ati
    You have to run it as root. Your glxinfo shows

    This means that x.org is not using the ATI supplied OpenGL libraries. The above command resolves that.

    Regards,
    Joel

    Code:
    whynot@Acer ~ $ glxinfo|grep direct
    direct rendering: Yes
    Thanks lol.I did as u said.
    it works great now.

Posting Permissions

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