Announcement

Collapse
No announcement yet.

R600/r700 kms + 3d dri1/dri2

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    Originally posted by tormod View Post
    I would be curious to know if the new drm-modules-source fixes your issue, so if you have the chance to test...

    I mean building the kernel from http://git.kernel.org/?p=linux/kerne...log;h=drm-next or merge that branch into another kernel.
    I get:
    Code:
    .
    ~$ sudo module-assistant -t auto-install drm-modules
    .
    Updated infos about 1 packages
    Getting source for kernel version: 2.6.31-999-generic
    Kernel headers available in /usr/src/linux-headers-2.6.31-999-generic
    Creating symlink...
    apt-get install build-essential 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    Done!
    unpack 
    Extracting the package tarball, /usr/src/drm-modules.tar.bz2, please wait...
    "/usr/share/modass/packages/drm-modules-source" build KVERS=2.6.31-999-generic KSRC=/usr/src/linux KDREV=2.6.31-999.200909121000 kdist_image
    /usr/bin/make -C linux-core LINUXDIR=/usr/src/linux KVERREL=2.6.31-999-generic clean
    make[1]: Entering directory `/usr/src/modules/drm-modules/linux-core'
    rm -rf *.o *.ko dristat drmstat .depend .*.flags .*.d .*.cmd *.mod.c drm_pciids.h .tmp_versions
    make[1]: Leaving directory `/usr/src/modules/drm-modules/linux-core'
    /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
    make[1]: Entering directory `/usr/src/modules/drm-modules'
    /usr/bin/make -C linux-core LINUXDIR=/usr/src/linux KVERREL=2.6.31-999-generic clean
    make[2]: Entering directory `/usr/src/modules/drm-modules/linux-core'
    rm -rf *.o *.ko dristat drmstat .depend .*.flags .*.d .*.cmd *.mod.c drm_pciids.h .tmp_versions
    make[2]: Leaving directory `/usr/src/modules/drm-modules/linux-core'
    for templ in ; do \
        cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-999-generic/g'` ; \
      done
    for templ in `ls debian/*.modules.in` ; do \
        test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
        sed -e 's/##KVERS##/2.6.31-999-generic/g ;s/#KVERS#/2.6.31-999-generic/g ; s/_KVERS_/2.6.31-999-generic/g ; s/##KDREV##/2.6.31-999.200909121000/g ; s/#KDREV#/2.6.31-999.200909121000/g ; s/_KDREV_/2.6.31-999.200909121000/g  ' < $templ > ${templ%.modules.in}; \
      done
    dh_testroot
    dh_prep
    # Build the modules
    /usr/bin/make -C linux-core LINUXDIR=/usr/src/linux KVERREL=2.6.31-999-generic \
    		DRM_MODULES="radeon" \
    		EXTRA_CFLAGS=-DGIT_REVISION=\\\"2.4.3+git20090928+r6xx-r7xx-3d.b3237965-0ubuntu0tormod\\\"
    make[2]: Entering directory `/usr/src/modules/drm-modules/linux-core'
    sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
    make -C /usr/src/linux  SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules
    make[3]: Entering directory `/usr/src/linux-headers-2.6.31-999-generic'
    fatal: Not a git repository (or any of the parent directories): .git
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_auth.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_bufs.o
    /usr/src/modules/drm-modules/linux-core/drm_bufs.c: In function ‘drm_rmmap_locked’:
    /usr/src/modules/drm-modules/linux-core/drm_bufs.c:402: warning: enumeration value ‘_DRM_GEM’ not handled in switch
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_context.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_dma.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_drawable.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_drv.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_fops.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_ioctl.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_irq.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_lock.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_memory.o
    /usr/src/modules/drm-modules/linux-core/drm_memory.c: In function ‘agp_remap’:
    /usr/src/modules/drm-modules/linux-core/drm_memory.c:290: warning: assignment from incompatible pointer type
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_proc.o
    /usr/src/modules/drm-modules/linux-core/drm_proc.c: In function ‘drm_gem_one_name_info’:
    /usr/src/modules/drm-modules/linux-core/drm_proc.c:602: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
    /usr/src/modules/drm-modules/linux-core/drm_proc.c:610: warning: format ‘%9d’ expects type ‘int’, but argument 4 has type ‘size_t’
    /usr/src/modules/drm-modules/linux-core/drm_proc.c: In function ‘drm__vma_info’:
    /usr/src/modules/drm-modules/linux-core/drm_proc.c:691: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_stub.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_vm.o
    /usr/src/modules/drm-modules/linux-core/drm_vm.c: In function ‘drm_vm_shm_close’:
    /usr/src/modules/drm-modules/linux-core/drm_vm.c:261: warning: enumeration value ‘_DRM_GEM’ not handled in switch
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_sysfs.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_pci.o
      CC [M]  /usr/src/modules/drm-modules/linux-core/drm_agpsupport.o
    /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c: In function ‘drm_agp_bind_pages’:
    /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c:520: error: implicit declaration of function ‘phys_to_gart’
    /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c:520: warning: assignment makes pointer from integer without a cast
    /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c: In function ‘drm_agp_populate’:
    /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c:589: warning: assignment makes pointer from integer without a cast
    make[4]: *** [/usr/src/modules/drm-modules/linux-core/drm_agpsupport.o] Error 1
    make[3]: *** [_module_/usr/src/modules/drm-modules/linux-core] Error 2
    make[3]: Leaving directory `/usr/src/linux-headers-2.6.31-999-generic'
    make[2]: *** [modules] Error 2
    make[2]: Leaving directory `/usr/src/modules/drm-modules/linux-core'
    make[1]: *** [binary-modules] Error 2
    make[1]: Leaving directory `/usr/src/modules/drm-modules'
    make: *** [kdist_build] Error 2
    BUILD FAILED!
    See /var/cache/modass/drm-modules-source.buildlog.2.6.31-999-generic.1254226388 for details.
    Build failed. Press Return to continue...

    Comment


    • #77
      also I get:
      Code:
      ~$ cat /var/cache/modass/drm-modules-source.buildlog.2.6.31-999-generic.1254226388
      /usr/bin/make -C linux-core LINUXDIR=/usr/src/linux KVERREL=2.6.31-999-generic clean
      make[1]: Entering directory `/usr/src/modules/drm-modules/linux-core'
      rm -rf *.o *.ko dristat drmstat .depend .*.flags .*.d .*.cmd *.mod.c drm_pciids.h .tmp_versions
      make[1]: Leaving directory `/usr/src/modules/drm-modules/linux-core'
      /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
      make[1]: Entering directory `/usr/src/modules/drm-modules'
      /usr/bin/make -C linux-core LINUXDIR=/usr/src/linux KVERREL=2.6.31-999-generic clean
      make[2]: Entering directory `/usr/src/modules/drm-modules/linux-core'
      rm -rf *.o *.ko dristat drmstat .depend .*.flags .*.d .*.cmd *.mod.c drm_pciids.h .tmp_versions
      make[2]: Leaving directory `/usr/src/modules/drm-modules/linux-core'
      for templ in ; do \
          cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-999-generic/g'` ; \
        done
      for templ in `ls debian/*.modules.in` ; do \
          test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
          sed -e 's/##KVERS##/2.6.31-999-generic/g ;s/#KVERS#/2.6.31-999-generic/g ; s/_KVERS_/2.6.31-999-generic/g ; s/##KDREV##/2.6.31-999.200909121000/g ; s/#KDREV#/2.6.31-999.200909121000/g ; s/_KDREV_/2.6.31-999.200909121000/g  ' < $templ > ${templ%.modules.in}; \
        done
      dh_testroot
      dh_prep
      # Build the modules
      /usr/bin/make -C linux-core LINUXDIR=/usr/src/linux KVERREL=2.6.31-999-generic \
      		DRM_MODULES="radeon" \
      		EXTRA_CFLAGS=-DGIT_REVISION=\\\"2.4.3+git20090928+r6xx-r7xx-3d.b3237965-0ubuntu0tormod\\\"
      make[2]: Entering directory `/usr/src/modules/drm-modules/linux-core'
      sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
      make -C /usr/src/linux  SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules
      make[3]: Entering directory `/usr/src/linux-headers-2.6.31-999-generic'
      fatal: Not a git repository (or any of the parent directories): .git
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_auth.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_bufs.o
      /usr/src/modules/drm-modules/linux-core/drm_bufs.c: In function ‘drm_rmmap_locked’:
      /usr/src/modules/drm-modules/linux-core/drm_bufs.c:402: warning: enumeration value ‘_DRM_GEM’ not handled in switch
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_context.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_dma.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_drawable.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_drv.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_fops.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_ioctl.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_irq.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_lock.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_memory.o
      /usr/src/modules/drm-modules/linux-core/drm_memory.c: In function ‘agp_remap’:
      /usr/src/modules/drm-modules/linux-core/drm_memory.c:290: warning: assignment from incompatible pointer type
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_proc.o
      /usr/src/modules/drm-modules/linux-core/drm_proc.c: In function ‘drm_gem_one_name_info’:
      /usr/src/modules/drm-modules/linux-core/drm_proc.c:602: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
      /usr/src/modules/drm-modules/linux-core/drm_proc.c:610: warning: format ‘%9d’ expects type ‘int’, but argument 4 has type ‘size_t’
      /usr/src/modules/drm-modules/linux-core/drm_proc.c: In function ‘drm__vma_info’:
      /usr/src/modules/drm-modules/linux-core/drm_proc.c:691: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_stub.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_vm.o
      /usr/src/modules/drm-modules/linux-core/drm_vm.c: In function ‘drm_vm_shm_close’:
      /usr/src/modules/drm-modules/linux-core/drm_vm.c:261: warning: enumeration value ‘_DRM_GEM’ not handled in switch
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_sysfs.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_pci.o
        CC [M]  /usr/src/modules/drm-modules/linux-core/drm_agpsupport.o
      /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c: In function ‘drm_agp_bind_pages’:
      /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c:520: error: implicit declaration of function ‘phys_to_gart’
      /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c:520: warning: assignment makes pointer from integer without a cast
      /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c: In function ‘drm_agp_populate’:
      /usr/src/modules/drm-modules/linux-core/drm_agpsupport.c:589: warning: assignment makes pointer from integer without a cast
      make[4]: *** [/usr/src/modules/drm-modules/linux-core/drm_agpsupport.o] Error 1
      make[3]: *** [_module_/usr/src/modules/drm-modules/linux-core] Error 2
      make[3]: Leaving directory `/usr/src/linux-headers-2.6.31-999-generic'
      make[2]: *** [modules] Error 2
      make[2]: Leaving directory `/usr/src/modules/drm-modules/linux-core'
      make[1]: *** [binary-modules] Error 2
      make[1]: Leaving directory `/usr/src/modules/drm-modules'
      make: *** [kdist_build] Error 2
      I hope it helps ...

      Comment


      • #78
        Originally posted by tormod View Post
        I would be curious to know if the new drm-modules-source fixes your issue, so if you have the chance to test...
        I have the same issue with a HD2400 card and the latest packages from xorg-edgers and radeon crack PPA. Karmic also fully updated.

        The modules have been built
        Code:
        $ ls -la /lib/modules/2.6.31-11-generic/kernel/drivers/gpu/drm/
        total 1136
        drwxr-xr-x 13 root root   4096 2009-09-29 14:58 .
        drwxr-xr-x  3 root root   4096 2009-09-26 14:48 ..
        -rw-r--r--  1 root root 304274 2009-09-29 14:58 drm.ko
        -rw-r--r--  1 root root 299392 2009-09-25 11:24 drm.ko.linux
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 i810
        drwxr-xr-x  2 root root   4096 2009-09-26 14:48 i830
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 i915
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 mga
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 r128
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 radeon
        -rw-r--r--  1 root root 486474 2009-09-29 14:58 radeon.ko
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 savage
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 sis
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 tdfx
        drwxr-xr-x  2 root root   4096 2009-09-26 14:48 ttm
        drwxr-xr-x  2 root root   4096 2009-09-29 14:58 via
        Of course I didn't forget to "sudo update-initramfs -u"
        but still it doesn't work.

        Code:
        tony@WhiteStar:~$ dmesg | grep "drm"
        [   42.100253] [drm] Initialized drm 1.1.0 20090928agd5f
        [   42.221040] [drm] Initialized radeon 1.29.0 20080613 on minor 0
        tony@WhiteStar:~$ dmesg | grep radeon
        [   42.220845] radeon 0000:03:00.0: setting latency timer to 64
        [   42.221040] [drm] Initialized radeon 1.29.0 20080613 on minor 0
        Not only I don't have 3D, but 2D is also very slow compared to stock Karmic drivers. I'm not sure if I have done something wrong, but I have followed the instructions at https://launchpad.net/~xorg-edgers/+archive/radeon to the letter.

        I'm also on 64 bit BTW.

        Comment


        • #79
          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.

          Comment


          • #80
            For 2.6.31-11-generic it all "go well" but
            Code:
            ~$ dmesg|grep radeon
            [   24.379029] radeon 0000:01:00.0: setting latency timer to 64
            [   24.379172] [drm] Initialized radeon 1.29.0 20080613 on minor 0
            ... again ...

            Do You have any information what is going on with 2.6.32-rc1 on mainline? There is a today's build but, again, there is just one file (headers ...)...
            Last edited by zika; 09-29-2009, 08:35 AM.

            Comment


            • #81
              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 ...

              Comment


              • #82
                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.

                Comment


                • #83
                  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.

                  Comment


                  • #84
                    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) ...

                    Comment


                    • #85
                      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.

                      Comment


                      • #86
                        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.

                        Comment


                        • #87
                          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, 09:05 AM.

                          Comment


                          • #88
                            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

                            Comment


                            • #89
                              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.

                              Comment


                              • #90
                                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.

                                Comment

                                Working...
                                X