Page 9 of 14 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 137

Thread: R600/r700 kms + 3d dri1/dri2

  1. #81
    Join Date
    May 2009
    Location
    Exodus hair
    Posts
    76

    Default

    Quote Originally Posted by glisse View Post
    Quick guess it's trying to build module from git://anongit.freedesktop.org/git/mesa/drm which are no longer supported use full Linus's tree or Dave's tree drm-next branch.
    Can You elaborate on that. I'm only a dumb user that copied a command from radeon PPA ... I'm glad if I can help in testing this but ...

  2. #82
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by tvelocity View Post
    I have the same issue with a HD2400 card and the latest packages from xorg-edgers and radeon crack PPA. Karmic also fully updated.
    Thanks, there was some useful information in your file listing. It seems the new radeon.ko module has been installed to gpu/drm/ and not to gpu/drm/radeon/. Is there an old radeon.ko inside gpu/drm/radeon/ ? It should have been renamed radeon.ko.linux.

  3. #83
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by glisse View Post
    Quick guess it's trying to build module from git://anongit.freedesktop.org/git/mesa/drm which are no longer supported use full Linus's tree or Dave's tree drm-next branch.
    The drm-modules-source package builds modules from agd5f's drm tree, which keeps getting some updates. It seems like it builds fine with the Karmic 2.6.31 but not with zika's 2.6.31-999 kernel.

  4. #84
    Join Date
    May 2009
    Location
    Exodus hair
    Posts
    76

    Default

    Quote Originally Posted by tormod View Post
    The drm-modules-source package builds modules from agd5f's drm tree, which keeps getting some updates. It seems like it builds fine with the Karmic 2.6.31 but not with zika's 2.6.31-999 kernel.
    2.6.31-999 is "daily" from mainline. Beware: even on 2.6.31-11-generic (latest "official" from Karmic) it builds OK but it shows in dmesg a date from 2008.
    I dod not quite get the stuff about /gpu/drm and radeon.ko. Should I rename some of them or what ...? I do not have newest drm modules built (I've uninstalled it after no success later) ...

  5. #85
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by zika View Post
    2.6.31-999 is "daily" from mainline. Beware: even on 2.6.31-11-generic (latest "official" from Karmic) it builds OK but it shows in dmesg a date from 2008.
    I dod not quite get the stuff about /gpu/drm and radeon.ko. Should I rename some of them or what ...? I do not have newest drm modules built (I've uninstalled it after no success later) ...
    The radeon date can be quite old (I haven't patched it in the package) but the drm date should show 20090928agd5f.

    You should not need to rename anything. The module-assistant installation procedure renames ("package diverts") the old modules to *.ko.linux before copying in the new modules. I just wanted you to verify this. modinfo radeon and modinfo drm should point you to the new modules and not some old.

  6. #86
    Join Date
    Sep 2009
    Posts
    3

    Default

    Quote Originally Posted by tormod View Post
    Thanks, there was some useful information in your file listing. It seems the new radeon.ko module has been installed to gpu/drm/ and not to gpu/drm/radeon/. Is there an old radeon.ko inside gpu/drm/radeon/ ? It should have been renamed radeon.ko.linux.
    Yes, I noticed that too but forgot to mention it. Indeed there was an old radeon.ko renamed to radeon.ko.linux in the radeon directory. I tried copying the new radeon.ko in radeon/ and updating the initramfs, but after a reboot nothing had changed. However I did this "experiment" before yesterday's update to drm-modules-source, so maybe something is changed now (the directory listing is from the new drm-modules-source though, I just didn't try to repeat the same trick)

    I'm back on fglrx now, but I could try it again today, or if you need any specific log files etc.

  7. #87
    Join Date
    May 2009
    Location
    Exodus hair
    Posts
    76

    Default

    I've forced it now to reinstall everything and I get:
    Code:
    ~$ modinfo radeon
    filename:       /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/radeon.ko
    license:        GPL and additional rights
    description:    ATI Radeon
    author:         Gareth Hughes, Keith Whitwell, others.
    srcversion:     231A65D0AB952D19417FCF9
    depends:        drm
    vermagic:       2.6.31-11-generic SMP mod_unload modversions 
    parm:           no_wb:Disable AGP writeback for scratch registers
     (int)
    ~$ modinfo drm
    filename:       /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/drm.ko
    license:        GPL and additional rights
    description:    DRM shared core routines
    author:         Gareth Hughes, Leif Delgass, José Fonseca, Jon Smirl
    srcversion:     427746F29520C420EBE2FDE
    depends:        
    vermagic:       2.6.31-11-generic SMP mod_unload modversions 
    parm:           debug:Enable debug output (int)
    zika@zika-desktop:~$ dmesg|grep radeon
    [   24.613654] radeon 0000:01:00.0: setting latency timer to 64
    [   24.613797] [drm] Initialized radeon 1.29.0 20080613 on minor 0
    ~$ ls /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/radeon -alt
    total 892
    drwxr-xr-x 13 root root   4096 2009-09-30 14:50 ..
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 .
    -rw-r--r--  1 root root 904712 2009-09-25 10:24 radeon.ko.linux
    ~$ locate radeon.ko
    /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/radeon.ko
    /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/radeon/radeon.ko.linux
    /lib/modules/2.6.31-999-generic/kernel/drivers/gpu/drm/radeon/radeon.ko
    ~$ ls -alt /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/
    total 1124
    drwxr-xr-x 13 root root   4096 2009-09-30 14:50 .
    -rw-r--r--  1 root root 304274 2009-09-30 14:50 drm.ko
    -rw-r--r--  1 root root 486474 2009-09-30 14:50 radeon.ko
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 via
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 tdfx
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 sis
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 savage
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 radeon
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 r128
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 mga
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 i915
    drwxr-xr-x  2 root root   4096 2009-09-30 14:49 i810
    drwxr-xr-x  2 root root   4096 2009-09-27 15:45 ttm
    drwxr-xr-x  2 root root   4096 2009-09-27 15:45 i830
    drwxr-xr-x  3 root root   4096 2009-09-26 03:30 ..
    -rw-r--r--  1 root root 299392 2009-09-25 10:24 drm.ko.linux
    Should I try to copy radeon.ko from /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/ to /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/radeon/ ... ?

    P.S. I did that and nothing changed. I will erase that file just for the sake of some new upgrade ...
    Last edited by zika; 09-30-2009 at 08:05 AM.

  8. #88
    Join Date
    May 2009
    Location
    Exodus hair
    Posts
    76

    Default

    With new 2.6.32-rc1 3D acceleration and modesetting work. I get:
    Code:
    ~$ dmesg |grep radeon
    [   23.806662] [drm] radeon defaulting to userspace modesetting.
    [   23.807872] [drm] Initialized radeon 1.31.0 20080528 for 0000:01:00.0 on minor 0
    [   24.157436] platform r600_cp.0: firmware: requesting radeon/RV635_pfp.bin
    [   24.298390] platform r600_cp.0: firmware: requesting radeon/RV635_me.bin

  9. #89
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by tvelocity View Post
    Yes, I noticed that too but forgot to mention it. Indeed there was an old radeon.ko renamed to radeon.ko.linux in the radeon directory. I tried copying the new radeon.ko in radeon/ and updating the initramfs, but after a reboot nothing had changed. However I did this "experiment" before yesterday's update to drm-modules-source, so maybe something is changed now (the directory listing is from the new drm-modules-source though, I just didn't try to repeat the same trick)

    I'm back on fglrx now, but I could try it again today, or if you need any specific log files etc.
    Thanks, as long as there is only one radeon.ko it should be fine, it doesn't matter much where it is.

  10. #90
    Join Date
    May 2008
    Posts
    343

    Default

    Quote Originally Posted by zika View Post
    P.S. I did that and nothing changed. I will erase that file just for the sake of some new upgrade ...
    No, do not rename or delete the files manually. You should uninstall the built module package using apt-get purge, so that everything is restored to how it was before. This is one advantage of using deb packages because they keep track of which files have been installed and which have been diverted.

Posting Permissions

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