7 Replies Latest reply on Sep 1, 2016 8:44 AM by zhivko

    Radeon R5 M335, linux ubuntu driver

    zhivko

      Looking for Radeon R5 M335, linux driver - can some experts give me some pointers - right now official page doesnt have this driver listed.

       

      Uname shows:

       

      uname -a
      Linux dell 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

          • Re: Radeon R5 M335, linux ubuntu driver
            zhivko

            Since I have Ubuntu 16.04 itt looks like I have same problem like guy in No Catalyst/fglrx video driver in Ubuntu 16.04 | Timo Aaltonen's Weblog:

             

            I tried to install m225 like in link provided - but in:

            /var/lib/dkms/fglrx-core/15.302/build/make.log

             

            I get:

             

            DKMS make.log for fglrx-core-15.302 for kernel 4.4.0-34-generic (x86_64)

            Do 1. Sep 14:37:27 CEST 2016

            /usr/sbin/dkms: line 74: cd: /var/lib/dkms/fglrx/15.302/build: No such file or directory

            AMD kernel module generator version 2.1

            doing Makefile based build for kernel 2.6.x and higher

            rm -rf *.c *.h *.o *.ko *.a .??* *.symvers

            make -C /lib/modules/4.4.0-34-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.302/build/2.6.x modules

            make[1]: Entering directory '/usr/src/linux-headers-4.4.0-34-generic'

              CC [M]  /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.o

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c: In function ‘firegl_major_proc_read’:

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:634:9: error: void value not ignored as it ought to be

                 len = seq_printf(m, "%d\n", major);

                     ^

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c: In function ‘KCL_fpu_save_init’:

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:6458:49: error: ‘XSTATE_FP’ undeclared (first use in this function)

                   if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP))

                                                             ^

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:6458:49: note: each undeclared identifier is reported only once for each function it appears in

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c: At top level:

            /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:6448:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]

            static int KCL_fpu_save_init(struct task_struct *tsk)

                        ^

            scripts/Makefile.build:258: recipe for target '/var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.o' failed

            make[2]: *** [/var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.o] Error 1

            Makefile:1403: recipe for target '_module_/var/lib/dkms/fglrx-core/15.302/build/2.6.x' failed

            make[1]: *** [_module_/var/lib/dkms/fglrx-core/15.302/build/2.6.x] Error 2

            make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-34-generic'

            Makefile:88: recipe for target 'kmod_build' failed

            make: *** [kmod_build] Error 2

            build failed with return value 2

             

             

            What can I do now?

              • Re: Radeon R5 M335, linux ubuntu driver
                zhivko

                One guy from a link above posted drivers for distro-custom-Crimson driver for xenial (by downloading the Linux_x86_64 files at:

                https://www.dropbox.com/sh/kjk9ptz9riau6qo/AAAdM3WErandNCzIWdrjeyaua?dl=0

                will try that.

                  • Re: Radeon R5 M335, linux ubuntu driver
                    zhivko

                    Nope... I builded images but still i get:

                     

                    @dell:~/install/atiRadeonR5_M335$ cat /var/lib/dkms/fglrx-core/15.302/build/make.log
                    DKMS make.log for fglrx-core-15.302 for kernel 4.4.0-34-generic (x86_64)
                    Do 1. Sep 15:18:36 CEST 2016
                    /usr/sbin/dkms: line 74: cd: /var/lib/dkms/fglrx/15.302/build: No such file or directory
                    AMD kernel module generator version 2.1
                    doing Makefile based build for kernel 2.6.x and higher
                    rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
                    make -C /lib/modules/4.4.0-34-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.302/build/2.6.x modules
                    make[1]: Entering directory '/usr/src/linux-headers-4.4.0-34-generic'
                      CC [M]  /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.o
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c: In function ‘firegl_major_proc_read’:
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:634:9: error: void value not ignored as it ought to be
                         len = seq_printf(m, "%d\n", major);
                             ^
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c: In function ‘KCL_fpu_save_init’:
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:6458:49: error: ‘XSTATE_FP’ undeclared (first use in this function)
                           if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP))
                                                                     ^
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:6458:49: note: each undeclared identifier is reported only once for each function it appears in
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c: At top level:
                    /var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.c:6448:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
                    static int KCL_fpu_save_init(struct task_struct *tsk)
                                ^
                    scripts/Makefile.build:258: recipe for target '/var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.o' failed
                    make[2]: *** [/var/lib/dkms/fglrx-core/15.302/build/2.6.x/firegl_public.o] Error 1
                    Makefile:1403: recipe for target '_module_/var/lib/dkms/fglrx-core/15.302/build/2.6.x' failed
                    make[1]: *** [_module_/var/lib/dkms/fglrx-core/15.302/build/2.6.x] Error 2
                    make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-34-generic'
                    Makefile:88: recipe for target 'kmod_build' failed
                    make: *** [kmod_build] Error 2
                    build failed with return value 2