Announcement

Collapse
No announcement yet.

AMD Catalyst Beats NVIDIA To Linux 3.12 Support

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

  • #31
    Originally posted by d2kx View Post
    I can confirm this works.

    AMD Catalyst 13.11 Beta, Linux 3.12rc5, Ubuntu 13.04.
    Does Ubuntu make any changes at the kernel??

    How did you installed the driver? Did you get precompiled packages or via the .run file?

    Comment


    • #32
      Originally posted by djdoo View Post
      Does Ubuntu make any changes at the kernel??

      How did you installed the driver? Did you get precompiled packages or via the .run file?
      I have no idea re: kernel changes.

      I built packages with catalyst.run --buildpkg Ubuntu/raring and installed the debs (Ubuntu uses DKMS by default).

      Comment


      • #33
        Wow

        This really took me by surprise!

        I can't believe this!

        Comment


        • #34
          Originally posted by d2kx View Post
          I have no idea re: kernel changes.

          I built packages with catalyst.run --buildpkg Ubuntu/raring and installed the debs (Ubuntu uses DKMS by default).
          Nope, RPM didn't work here either! It built it but when installing I got this message:

          Code:
          Updating /etc/sysconfig/fglrxconfig...
          /usr/src/kernel-modules/fglrx /
          Apply some patches ...
          ati-CONFIG_SMP.patch applied successfully.
          ati-2.6.27-build-fix-1.patch applied successfully.
          ati-2.6.36-compat_alloc_user_space.patch applied successfully.
          /
          
          Used CPUs/Cores for compilation  =>  [ 4 ]
          
          
          ********************************************************************************
          *                                                                              *
          *   Kernel:    3.12.0-rc5-2.Virt_hyperv-desktop                                *
          *   Source:    /lib/modules/3.12.0-rc5-2.Virt_hyperv-desktop/build             *
          *   Include:   /lib/modules/3.12.0-rc5-2.Virt_hyperv-desktop/source/include    *
          *                                                                              *
          ********************************************************************************
          
          
          
          file /lib/modules/3.12.0-rc5-2.Virt_hyperv-desktop/source/include/../arch/x86/include/asm/compat.h says:COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
          /usr/src/kernel-modules/fglrx/2.6.x /
          rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
          make: Entering directory `/usr/src/linux-3.12.0-rc5-2.Virt_hyperv-obj/x86_64/desktop'
            LD      /usr/src/kernel-modules/fglrx/2.6.x/built-in.o
            CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o
            CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_acpi.o
            CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_agp.o
            CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_debug.o
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:1750:5: error: incompatible types when returning type 'kuid_t' but 'KCL_TYPE_Uid' was expected
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetInitKerPte':
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2624:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2627:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2632:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageTableByVirtAddr':
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2691:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2696:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2702:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageSizeByVirtAddr':
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2760:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2765:5: warning: return makes integer from pointer without a cast [enabled by default]
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2771:5: warning: return makes integer from pointer without a cast [enabled by default]
            CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_ioctl.o
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
          /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:1754:1: warning: control reaches end of non-void function [-Wreturn-type]
            CC [M]  /usr/src/kernel-modules/fglrx/2.6.x/kcl_io.o
          make[3]: *** [/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o] Error 1
          make[3]: *** Waiting for unfinished jobs....
          make[2]: *** [_module_/usr/src/kernel-modules/fglrx/2.6.x] Error 2
          make[1]: *** [sub-make] Error 2
          make: *** [all] Error 2
          make: Leaving directory `/usr/src/linux-3.12.0-rc5-2.Virt_hyperv-obj/x86_64/desktop'
          
          ******************************
          Build of kernel module failed!
          ******************************
          
          rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
          /
          Calling 'depmod -a 3.12.0-rc5-2.Virt_hyperv-desktop' this may take a while...
          
          
          Summary report:
          ================================================================================
          
             Kernel     => 3.12.0-rc5-2.Virt_hyperv-desktop
             Detected   => RPM package
             Build      => [ FAILURE ]
             Install    => [ FAILURE ]
          
          **************************************************************
          Building/installation of fglrx kernel module failed! Try again
          by calling "/usr/bin/fglrx-kernel-build.sh" manually.
          **************************************************************
          
          
          *************************************************************
          Please read "/usr/share/doc/packages/fglrx/README.SuSE" for
          configuration details when using SaX2.
          *************************************************************
          
          Disable KMS to prevent driver issue:
          
          Kernel image:   /boot/vmlinuz-3.12.0-rc5-2.Virt_hyperv-desktop
          Initrd image:   /boot/initrd-3.12.0-rc5-2.Virt_hyperv-desktop
          Root device:	/dev/disk/by-id/ata-ST3250318AS_9VM11N4H-part6 (/dev/sda6) (mounted on / as ext4)
          Resume device:	/dev/disk/by-id/ata-ST3250318AS_9VM11N4H-part5 (/dev/sda5)
          Kernel Modules:	thermal_sys thermal processor fan pata_via pata_marvell ata_generic scsi_dh scsi_dh_emc scsi_dh_hp_sw scsi_dh_rdac scsi_dh_alua xhci-hcd hid-logitech-dj 
          Features:       acpi plymouth block usb resume.userspace resume.kernel
          Check: No fglrx section.
          Uninitialised file found, configuring.
          Switch to AMD
          Any ideas guys? Can someone help me?

          Comment


          • #35
            it works

            Originally posted by birdie View Post
            NVIDIA's blob does NOT even support Linux 3.11, damn!
            I'm typing this on my laptop with the Linux 3.11 kernel and the nvidia 331 beta driver.

            Comment


            • #36
              Meanwhile, xorg-edgers is still stuck on Catalyst 13.8; so much for being 'on the edge of xorg'.

              Comment


              • #37
                Originally posted by MrRtd View Post
                I'm typing this on my laptop with the Linux 3.11 kernel and the nvidia 331 beta driver.
                No you're not. Your laptop is most likely running a patched, broken version of it.

                Comment


                • #38
                  Confirmed working here. Xubuntu 13.04 x86_64, Kernel 3.12-rc5, Catalyst 13.11 beta.

                  Builds and install fine, just follow this for Ubuntu and derivatives (13.04):
                  http://wiki.cchtml.com/index.php/Ubu...2FEXPERIMENTAL

                  Comment


                  • #39
                    Also confirmed working perfectly on recently released 13.10, even though it's not one of AMDs "supported" versions.

                    Xubuntu 13.10 x86_64, Kernel 3.12-rc5, Catalyst 13.11 beta.

                    Code:
                    Package /home/me/catalyst13.11beta1/fglrx_13.200-0ubuntu1_amd64.deb has been successfully generated
                    Package /home/me/catalyst13.11beta1/fglrx-dev_13.200-0ubuntu1_amd64.deb has been successfully generated
                    Package /home/me/catalyst13.11beta1/fglrx-amdcccle_13.200-0ubuntu1_amd64.deb has been successfully generated
                    Removing temporary directory: fglrx-install.B79VxE
                    me@desktop:~/catalyst13.11beta1$ sudo dpkg -i fglrx*.deb
                    Selecting previously unselected package fglrx.
                    (Reading database ... 174184 files and directories currently installed.)
                    Unpacking fglrx (from fglrx_13.200-0ubuntu1_amd64.deb) ...
                    Selecting previously unselected package fglrx-amdcccle.
                    Unpacking fglrx-amdcccle (from fglrx-amdcccle_13.200-0ubuntu1_amd64.deb) ...
                    Selecting previously unselected package fglrx-dev.
                    Unpacking fglrx-dev (from fglrx-dev_13.200-0ubuntu1_amd64.deb) ...
                    Setting up fglrx (2:13.200-0ubuntu1) ...
                    update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
                    update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
                    update-initramfs: deferring update (trigger activated)
                    Loading new fglrx-13.200 DKMS files...
                    First Installation: checking all kernels...
                    Building only for 3.12.0-031200rc5-generic
                    Building for architecture x86_64
                    Building initial module for 3.12.0-031200rc5-generic
                    Done.
                    
                    fglrx:
                    Running module version sanity check.
                     - Original module
                       - No original module exists within this kernel
                     - Installation
                       - Installing to /lib/modules/3.12.0-031200rc5-generic/updates/dkms/
                    
                    depmod.......
                    
                    DKMS: install completed.
                    update-initramfs: deferring update (trigger activated)
                    Processing triggers for ureadahead ...
                    Setting up fglrx-amdcccle (2:13.200-0ubuntu1) ...
                    Setting up fglrx-dev (2:13.200-0ubuntu1) ...
                    Processing triggers for initramfs-tools ...
                    update-initramfs: Generating /boot/initrd.img-3.12.0-031200rc5-generic
                    Processing triggers for libc-bin ...
                    Easy and simple following the usual procedure on cchtml website:
                    http://wiki.cchtml.com/index.php/Ubu...2FEXPERIMENTAL

                    Comment


                    • #40
                      Linux 3.12-rc7 and Catalyst 13.11 Beta 6 do not work for me.

                      I can probably get around this, but perhaps this is only the first fatal error in the module build:

                      firegl_public.c:618:17: error: 'seq_read' undeclared here (not in a function)

                      I am PISSED right off, too. I'm sick of this shit, every fucking time. It doesn't help that I always start doing shit like this at 4 AM when I shouldn't be, but this damned beta release is only a few weeks old and ought to be tested on 3.12-rc. If indeed it did work before, nothing like that (that would affect this) should change in the kernel interfaces when it's in -rc stages. If it does, Linus is supposed to call those people rude names.

                      I haven't tracked down any patches for this yet (still looking) so I may have to fiddle.

                      Comment

                      Working...
                      X