Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: RV770 drm failed to work

  1. #1
    Join Date
    Feb 2009
    Posts
    2

    Default RV770 drm failed to work

    Hi everybody

    I ve read so many posts about similar problem but i failed to solve my problem so i post my question. this is the post of the last hope!!!

    I try to use DRi on an ati radeonHD 4850 1GB but it fail to work. If someone has got some clue to solve my problem you're welcome!

    I use the last DRM from GIT
    My kernel is a linux kernell 2.6.28.4
    My processor is an AMD athlon X2
    I use xorg-server 1.5.3 with the very last radeonHD driver ( not the official ATI driver from AMD)
    I ve built the kernel with the DRI support builtin ( not as module )

    here is some information

    dmesg | grep drm
    [ 0.377042] [drm] Initialized drm 1.1.0 20060810
    [ 31.619284] drm: module is already loaded

    locate libGL.so
    /usr/lib/libGL.so
    /usr/lib/libGL.so.1
    /usr/lib/libGL.so.1.2

    I ve got an error in Xorg.0.log
    (WW) RADEONHD(0): Direct rendering for R600 an up forced on - This is NOT officially supported at the hardware level and may cause instability or lockups
    (EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen("radeon", pci:0000:02:00.0") failed.
    (WW) RADEONHD(0): RHDDRIPreInit: Version check failed. Disabling DRI.
    (WW) RADEONHD(0): RHDCSInit: No CS for R600 and up yet.
    (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
    (EE) GLX: could not load software renderer

    glxinfo
    name of display: :0.0
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".
    Segmentation fault


    here it is the pastebin of my dmesg
    http://pastebin.com/f4c7cf34c

    here it is the paste bin of he Xorg.0.log
    http://pastebin.com/ff6f95e4

  2. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,545

    Default

    Did you build and install the latest drm from the 6xx-7xx support branch of mesa/drm ?

    It looks like you are running an old drm driver without 6xx-7xx support.
    Last edited by bridgman; 02-17-2009 at 06:08 PM.

  3. #3
    Join Date
    Feb 2009
    Posts
    2

    Default

    I use the last DRM from GIT
    And I use mesalib 7.2 maybe i have to use mesalib from GIT.
    After each attempt to solve this problem i recompile my linux kernell + drm + mesalib + libdrm.
    I will ttry to use mesalib 7.3.
    thanks for the clue

  4. #4
    Join Date
    Nov 2007
    Posts
    1,024

    Default

    Quote Originally Posted by zveanturz View Post
    And I use mesalib 7.2 maybe i have to use mesalib from GIT.
    Yes, and you specifically need the r6xx-r7xx-support branches of mesa/drm and video-drv-ati. The master branches (e.g., "latest git") DO NOT include any of the new r7xx work. It's currently only in those branches.

  5. #5
    Join Date
    Feb 2009
    Posts
    52

    Default

    Hi,

    I have exactly the same error in Xorg.log, so i prefer not to open a new post.
    The only difference is that i have a radeon 4670 and use Opensuse 11.1, with kernel 2.6.30. Driver is radeonhd 1.2.5.

    Do you have any idea ?

    Bibi

  6. #6
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,545

    Default

    I just noticed that the original poster mentioned they compiled drm into the kernel rather than as a separate module. Not sure if that is the problem, but I know all recommendations are to keep drm as a separate module *not* in the kernel, and I have seen a few people's problems go away when they rebuilt the kernel with modular drm.

    bibi, can you please pastebin your xorg log and dmesg output as well ?

  7. #7
    Join Date
    Dec 2007
    Posts
    2,402

    Default

    your best bet is to use 2.6.30 as that has support for r6xx/r7xx chips included. If you built the drm into the kernel, you won't be able to load externally built drm modules.

  8. #8
    Join Date
    Feb 2009
    Posts
    52

    Default

    I use a pre-compiled kernel, found in opensuse repositories, cause i have an issue with my mouse in my own .config, so i dont know if the drm is build as a modul or in the kernel.

    Here is my dsmeg :

    http://pastebin.com/m69c45a54

    Here my xorg.log :

    http://pastebin.com/m11b69fae

    Bibi

  9. #9
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,545

    Default

    There are no drm messages at all in your dmesg output, so the kernel graphics module is either not there or not starting. You need a 2.6.30 or higher kernel built with modular drm support enabled.

  10. #10
    Join Date
    Feb 2009
    Posts
    52

    Default

    Quote Originally Posted by bridgman View Post
    There are no drm messages at all in your dmesg output, so the kernel graphics module is either not there or not starting. You need a 2.6.30 or higher kernel built with modular drm support enabled.
    I use a 2.6.30 kernel. Is this tutorial (http://wiki.x.org/wiki/radeonhd%3Ar6xx_r7xx_branch) always working ?

    Thanks for the answer.

    Bibi

Posting Permissions

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