5 Replies Latest reply on Apr 17, 2018 10:40 AM by fsadough

    X lockup with Ubuntu 4.13.0-38 + 17.50.2.13 driver

    poggs

      System

      • Radeon Pro WX 4100 with 17.50.2.13 driver
      • Ubuntu 16.04LTS, 4.13.0-38-generic kernel
      • 64G RAM
      • 2 x Dell P2715Q monitors running at 3840x2160 on DisplayPort
      • Asus PRIME X299-A, BIOS 2018-03-07
      • Intel i7-7820X
      • Be Quiet! 750W PSU

       

      Issue

      Since upgrading to 4.13.0-38-generic a few days ago, I've had two driver lockups with no discernible trigger.  The system's responsive if I ssh in, but the GPU driver has crashed - OOPS attached.  This is the second time in two days, and the previous kernel (believed to be 4.13.0-37-generic) was stable.

       

      I'm going to downgrade to the -37 kernel and confirm that it is stable, but I've opened this thread in case anyone else is having similar issues.

        • Re: X lockup with Ubuntu 4.13.0-38 + 17.50.2.13 driver
          fsadough

          But why Kernel version, 4.13.0-38-generic? I got 4.15.0-041500-generic and it works perfect.

            • Re: X lockup with Ubuntu 4.13.0-38 + 17.50.2.13 driver
              poggs

              That's the latest HWE kernel for Ubuntu 16.04 - but I'll try it with the hwe-edge which provides 4.15 kernels

               

                • Re: X lockup with Ubuntu 4.13.0-38 + 17.50.2.13 driver
                  poggs

                  Actually, it won't even compile:

                   

                     CC [M]  /var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_peerdirect.o

                     CC [M]  /var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_ipc.o

                  cc1: some warnings being treated as errors

                  scripts/Makefile.build:324: recipe for target '/var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_process.o' failed

                  make[2]: *** [/var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_process.o] Error 1

                  make[2]: *** Waiting for unfinished jobs....

                  /var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_peerdirect.c: In function ‘free_callback’:

                  /var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_peerdirect.c:177:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]

                     ACCESS_ONCE(mem_context->free_callback_called) = 1;

                     ^

                  /var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_peerdirect.c:177:49: error: lvalue required as left operand of assignment

                     ACCESS_ONCE(mem_context->free_callback_called) = 1;

                                                                    ^

                  cc1: some warnings being treated as errors

                  scripts/Makefile.build:324: recipe for target '/var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_peerdirect.o' failed

                  make[2]: *** [/var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd/kfd_peerdirect.o] Error 1

                  scripts/Makefile.build:598: recipe for target '/var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd' failed

                  make[1]: *** [/var/lib/dkms/amdgpu/17.50-552542/build/amd/amdkfd] Error 2

                  Makefile:1543: recipe for target '_module_/var/lib/dkms/amdgpu/17.50-552542/build' failed

                  make: *** [_module_/var/lib/dkms/amdgpu/17.50-552542/build] Error 2

                  make: Leaving directory '/usr/src/linux-headers-4.15.0-13-generic'