Results 1 to 9 of 9

Thread: unable to load driver: r200_dri.so

  1. #1
    Join Date
    Feb 2009
    Posts
    13

    Question unable to load driver: r200_dri.so

    I am trying to get direct rendering working on my system with an ATI 9000 Pro 128Mb card but it looks like the correct driver is not on the system:

    unable to load driver: r200_dri.so

    gentoo_icc tylerm # LIBGL_DEBUG=verbose glxinfo | grep rendering
    libGL: XF86DRIGetClientDriverName: 5.3.0 r200 (screen 0)
    libGL: OpenDriver: trying /usr/lib/dri/tls/r200_dri.so
    libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
    libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: cannot open shared object file: No such file or directory)
    libGL error: unable to load driver: r200_dri.so

    gentoo_icc tylerm # locate r200_dri.so
    gentoo_icc tylerm #

    I installed the xf86-video-ati driver.

    lspci -v looks like this:

    Code:
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01) (prog-if 00 [VGA controller])                                                                                                                          
            Subsystem: PC Partner Limited RV250 If [Sapphire Radeon 9000 Pro]                                                  
            Flags: bus master, stepping, 66MHz, medium devsel, latency 32, IRQ 16                                              
            Memory at e8000000 (32-bit, prefetchable) [size=64M]                                                               
            I/O ports at a000 [size=256]                                                                                       
            Memory at fa030000 (32-bit, non-prefetchable) [size=64K]                                                           
            [virtual] Expansion ROM at fa000000 [disabled] [size=128K]                                                         
            Capabilities: [58] AGP version 2.0                                                                                 
            Capabilities: [50] Power Management version 2                                                                      
            Kernel driver in use: radeonfb
    xorg.conf
    http://www.tyler.mcadams.com/xorg.conf

    dri is compiled as a module along with intel-agp, agpgart and ati radeon driver

  2. #2
    Join Date
    Dec 2007
    Posts
    2,341

    Default

    r200_dri.so is the 3D driver and it's separate from xf86-video-ati. xf86-video-ati provides card setup and 2d/video accel for all radeons. 3D accel is handled by a separate 3D driver. You'll need to install mesa or the libgl1-mesa-dri package for your distro.

  3. #3
    Join Date
    Feb 2009
    Posts
    13

    Default

    Quote Originally Posted by agd5f View Post
    r200_dri.so is the 3D driver and it's separate from xf86-video-ati. xf86-video-ati provides card setup and 2d/video accel for all radeons. 3D accel is handled by a separate 3D driver. You'll need to install mesa or the libgl1-mesa-dri package for your distro.
    It appears that the mesa package is already installed:

    Code:
    gentoo_icc tylerm # emerge -s mesa                      
    Searching...                                            
    [ Results for search key : mesa ]                       
    [ Applications found : 3 ]                              
                                                            
    *  games-emulation/psemu-gpupetemesagl                  
          Latest version available: 1.76                    
          Latest version installed: [ Not Installed ]       
          Size of files: 193 kB                             
          Homepage:      http://www.pbernert.com/           
          Description:   PSEmu MesaGL GPU                   
          License:       freedist                           
    
    *  media-libs/mesa
          Latest version available: 6.5.2-r1
          Latest version installed: 6.5.2-r1
          Size of files: 3,217 kB           
          Homepage:      http://mesa3d.sourceforge.net/
          Description:   OpenGL-like graphic library for Linux
          License:       LGPL-2                               
    
    *  x11-apps/mesa-progs
          Latest version available: 7.0.1
          Latest version installed: 7.0.1
          Size of files: 4,574 kB
          Homepage:      http://mesa3d.sourceforge.net/
          Description:   Mesa's OpenGL utility and demo programs (like glxgears)
          License:       LGPL-2

  4. #4
    Join Date
    Feb 2009
    Posts
    13

    Default

    I do have some r300 stuff though:

    gentoo_icc tylerm # locate r300
    /usr/src/linux-2.6.27-gentoo-r8/drivers/gpu/drm/radeon/r300_cmdbuf.c
    /usr/src/linux-2.6.27-gentoo-r8/drivers/gpu/drm/radeon/r300_reg.h
    /usr/src/linux-2.6.27-gentoo-r8/drivers/gpu/drm/radeon/.r300_cmdbuf.o.cmd
    /usr/src/linux-2.6.27-gentoo-r8/drivers/gpu/drm/radeon/r300_cmdbuf.o
    /usr/include/drm/r300_reg.h

  5. #5
    Join Date
    Feb 2009
    Posts
    13

    Default

    Ok i found iout the problem but I stil have not resoved the issue. This page at the bottom describes the issue:

    http://www.mobygeek.net/blog/category/gentoo/

    I did not have /usr/lib/drm directory so I made it and then make a symlink:

    gentoo_icc dri # ls
    r200_dri.so
    gentoo_icc dri # ls -l
    total 0
    lrwxrwxrwx 1 root root 43 Feb 18 10:44 r200_dri.so -> /usr/lib/xorg/modules/drivers/radeon_drv.so

    But I still am missing something:

    gentoo_icc tylerm # LIBGL_DEBUG=verbose glxinfo | grep render
    libGL: XF86DRIGetClientDriverName: 5.3.0 r200 (screen 0)
    libGL: OpenDriver: trying /usr/lib/dri/tls/r200_dri.so
    libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
    libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: undefined symbol: xf86CrtcConfigPrivateIndex)
    libGL error: unable to load driver: r200_dri.so

  6. #6
    Join Date
    Feb 2009
    Posts
    13

    Default

    Still trying... something is lying!

    gentoo_icc tylerm # cat /var/log/Xorg.0.log | grep enabled
    (II) Intel Bridge workaround enabled
    (**) RADEON(0): Page Flipping enabled
    (II) RADEON(0): Color tiling enabled by default
    (**) RADEON(0): Backing store enabled
    (II) RADEON(0): Direct rendering enabled
    (II) RADEON(0): Render acceleration enabled
    (II) RADEON(0): Acceleration enabled
    (**) RADEON(0): DPMS enabled
    (==) RADEON(0): Silken mouse enabled
    (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    gentoo_icc tylerm # LIBGL_DEBUG=verbose glxinfo | grep render
    libGL: XF86DRIGetClientDriverName: 5.3.0 r200 (screen 0)
    libGL: OpenDriver: trying /usr/lib/xorg/modules/drivers//tls/r200_dri.so
    libGL: OpenDriver: trying /usr/lib/xorg/modules/drivers//r200_dri.so
    libGL error: dlopen /usr/lib/xorg/modules/drivers//r200_dri.so failed (/usr/lib/xorg/modules/drivers//r200_dri.so: cannot open shared object file: No such file or directory)
    libGL error: unable to load driver: r200_dri.so
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    OpenGL renderer string: Mesa GLX Indirect

  7. #7
    Join Date
    Jul 2007
    Posts
    403

    Default

    Well, like the error says, you're missing r200_dri.so, which is the DRI driver for the r200 chips. I'm not sure what package that belongs to in gentoo, but it should be libgl-dri, or something like that.

  8. #8
    Join Date
    Apr 2009
    Posts
    1

    Default

    Just that others googling up to this thread know: installing media-libs/mesa is of no use if "radeon" use flag is not set. This could happen if you tried to use "flgrx" but later decided to switch. Then mesa is not recompiled and most likely you WILL NEED to issue:

    emerge -va media-libs/mesa

    Hope that helps some of you, because I spent an hour figuring this one out.

  9. #9
    Join Date
    Jan 2008
    Posts
    297

    Default

    You should also upgrade from mesa-6.5.2. It's _quite_ old.

Posting Permissions

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