8 Replies Latest reply on Jan 8, 2018 3:41 AM by mitchellhansen

    Ubuntu R9 390 stability; "Failed to pin framebuffer"

    mitchellhansen

      Hello all,

      I've gotten my 390 almost stable on Ubuntu 16.04 using AMDGPU-PRO (16.04) and setting the pwm_dpm_state and performance_level to their highest values. I will get hours of run time during light web browsing, but when trying to run SFML applications, or viewing shadertoy.com, it'll lock up reliably in under 15 minutes. Looking at Dmesg amdgpu is complaining about not being able to pin a framebuffer.

       

      [ 1561.574877] amdgpu 0000:01:00.0: ffffa0d8f01c6400 pin failed
      [ 1561.574920] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
      [ 1570.038469] [drm:amdgpu_ctx_mgr_fini [amdgpu]] *ERROR* ctx ffffa0da55044000 is still alive
      [ 1570.110940] show_signal_msg: 31 callbacks suppressed
      [ 1602.534813] amdgpu 0000:01:00.0: ffffa0d8b6918000 pin failed
      [ 1602.534882] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
      [ 1633.254794] amdgpu 0000:01:00.0: ffffa0d8b6918000 pin failed
      [ 1633.254974] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
      [ 1663.974604] amdgpu 0000:01:00.0: ffffa0d8b6918000 pin failed
      [ 1663.974652] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer
      

       

      I can only see these by sshing from another machine btw, I cant get to the tty.

       

      "Failed to pin framebuffer" on google turns up some patches, a lot of them have an error code attached. I'm running 4.10.0-40-generic, should I try patching and compiling a kernel to include whatever changes have been made on these patches?

       

      I've tried recovering my session by restarting lightdm and killing all my open processes, no dice. A reboot is the only way to recover.

       

      Anyone have this problem before, or heard of it? I'd really like to continue developing on Ubuntu

        • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
          mitchellhansen

          So I found out a very naive repro case. When debugging in Clion, if I stop my opengl application before the renderwindow pops up it will put the PC into a very fragile state where I can move the mouse and move windows around, but the instant I click any buttons or try to render a new window the system will lock up. I haven't been able to reproduce the dmesg message I got in my original post though which is odd...

           

          I tried repro'ing it by fork()ing before I create the render window, one thread goes to an exit() and the other continues creating the render window. My thinking being to short circuit the window creation to replicate the problem with Clion. No dice, it works just fine. I also tried doing the same but launching it via gdb, like Clion does with it's debugger still nothing....

            • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
              mitchellhansen

              I was able to get it to repro fairly easily. I compiled my app with debug symbols and ran it through gdb with a piece of code that segfaults. When it hit the segfault, I would `run` the app again and terminate the current instance. After a few rounds, instead of breaking in my code, it would start breaking at something inside the amdgpu driver. Here's the backtrace

              (gdb) bt
              #0  0x00007ffff6bfaf07 in ioctl () at ../sysdeps/unix/syscall-template.S:84
              #1  0x00007ffff4103dae in drmIoctl () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm.so.2
              #2  0x00007ffff41086e9 in drmCommandWriteRead () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm.so.2
              #3  0x00007fffef5f4e16 in amdgpu_bo_alloc () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1
              #4  0x00007ffff223edcf in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #5  0x00007ffff223f471 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #6  0x00007ffff15ed2cc in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #7  0x00007ffff15eb560 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #8  0x00007ffff15a5bcf in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #9  0x00007ffff15da5b6 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #10 0x00007ffff15db054 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #11 0x00007ffff15bd668 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #12 0x00007ffff15be802 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #13 0x00007ffff15bf6ec in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #14 0x00007ffff15bf8f3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #15 0x00007ffff0290d4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #16 0x00007ffff1127f2c in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #17 0x00007ffff1140d61 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #18 0x00007ffff114aadd in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #19 0x00007ffff2203cc1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #20 0x00007ffff21fea60 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #21 0x00007ffff21fee24 in ?? () from /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so
              #22 0x00007ffff686a35c in ?? () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libGL.so.1
              #23 0x00007ffff68389f2 in ?? () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libGL.so.1
              #24 0x00007ffff683a106 in glXCreateContext () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libGL.so.1
              #25 0x00007ffff798a9a6 in ?? () from /usr/lib/x86_64-linux-gnu/libsfml-window.so.2.3
              #26 0x00007ffff798ac8e in ?? () from /usr/lib/x86_64-linux-gnu/libsfml-window.so.2.3
              #27 0x00007ffff797d796 in ?? () from /usr/lib/x86_64-linux-gnu/libsfml-window.so.2.3
              #28 0x00007ffff797cb23 in sf::Context::Context() () from /usr/lib/x86_64-linux-gnu/libsfml-window.so.2.3
              #29 0x00007ffff7bc160d in sf::Texture::getMaximumSize() () from /usr/lib/x86_64-linux-gnu/libsfml-graphics.so.2.3
              #30 0x00007ffff7bc1736 in sf::Texture::create(unsigned int, unsigned int) ()
                 from /usr/lib/x86_64-linux-gnu/libsfml-graphics.so.2.3
              #31 0x00007ffff7bc1ef3 in sf::Texture::loadFromImage(sf::Image const&, sf::Rect<int> const&) ()
                 from /usr/lib/x86_64-linux-gnu/libsfml-graphics.so.2.3
              #32 0x00007ffff7bc209d in sf::Texture::loadFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sf::Rect<int> const&) () from /usr/lib/x86_64-linux-gnu/libsfml-graphics.so.2.3
              #33 0x0000000000424cd2 in ..........::........ (xml_path="../...../........xml",
                  texture_path="../assets/sprite_sheet.png") at /home/......../......./........./........../..........cpp:43
              #34 0x00000000004183a5 in ......::........ (this=0x7fffffffdcf0) at /home/........./..../......./......./........cpp:37
              #35 0x00000000004185aa in ......::...... (this=0x7fffffffdcf0) at /home/...../....../....../......./.......cpp:83
              #36 0x0000000000418cd5 in main () at /home/...../...../...../..../main.cpp:10
              

               

              This code works for other machines, so I'm guessing the break starts at glXCreateContext.

               

              GDB shows this as output when this break occurs

              Program received signal SIGSTP, Stopped (user).
              0x00007ffff6bfaf07 in ioctl () at ../sysdeps/unix/syscall-template.S:84
              84         in ../sysdeps/unix/syscall-template.S
              

              Shortly after these, the system will lock and require a hard reboot. Not sure what this implies....

                • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
                  mitchellhansen

                  Oooh! Another stacktrace. This one was weird, it happened on shutdown of a release build and didn't bork my whole machine!

                   

                  : corrupted double-linked list: 0x0000000001915e20 ***

                  ======= Backtrace: =========

                  /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fd5bd8e77e5]

                  /lib/x86_64-linux-gnu/libc.so.6(+0x7e7c3)[0x7fd5bd8ee7c3]

                  /lib/x86_64-linux-gnu/libc.so.6(+0x80678)[0x7fd5bd8f0678]

                  /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd5bd8f453c]

                  /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so(+0x63d07d)[0x7fd5b75b307d]

                  /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7fd5bd8a9ff8]

                  /lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7fd5bd8aa045]

                  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7fd5bd890837]

                  ./...(_start+0x29)[0x4c20b9]

                  ======= Memory map: ========

                  00400000-005a5000 r-xp 00000000 08:13 266084                             /home/.../source/

                  007a5000-007a6000 r--p 001a5000 08:13 266084                             /home/.../source/

                  007a6000-007ab000 rw-p 001a6000 08:13 266084                             /home/.../source/

                  007ab000-007b2000 rw-p 00000000 00:00 0

                  01751000-01bdf000 rw-p 00000000 00:00 0                                  [heap]

                  01c00000-01c09000 rw-s 1fa246000 00:06 14970                             /dev/kfd

                  01c09000-01c0a000 rw-s 1fa24f000 00:06 14970                             /dev/kfd

                  01c0a000-01c0b000 rw-s 1fa250000 00:06 14970                             /dev/kfd

                  01c0b000-01c0c000 rw-s 1fa251000 00:06 14970                             /dev/kfd

                  01c0c000-01c0d000 rw-s 1fa252000 00:06 14970                             /dev/kfd

                  01c0d000-01c0e000 rw-s 1fa293000 00:06 14970                             /dev/kfd

                  01c0e000-01c0f000 rw-s 00000000 00:06 14970                              /dev/kfd

                  01c0f000-01c10000 rw-s 1fa295000 00:06 14970                             /dev/kfd

                  01c10000-01c11000 rw-s 1fa296000 00:06 14970                             /dev/kfd

                  01c11000-01c12000 rw-s 1fa297000 00:06 14970                             /dev/kfd

                  01c12000-01c13000 rw-s 1fa2f8000 00:06 14970                             /dev/kfd

                  01c13000-01c14000 rw-s 1fa2f9000 00:06 14970                             /dev/kfd

                  01c14000-01c15000 rw-s 1fa2fa000 00:06 14970                             /dev/kfd

                  01c15000-01c80000 ---p 00000000 00:00 0

                  01c80000-01cc0000 rw-s 1fa253000 00:06 14970                             /dev/kfd

                  01cc0000-01d00000 rw-s 1fa253000 00:06 14970                             /dev/kfd

                  01d00000-01d60000 rw-s 1fa298000 00:06 14970                             /dev/kfd

                  01d60000-801c00000 ---p 00000000 00:00 0

                  c00200000-1000000000 ---p 00000000 00:00 0

                  7fd590000000-7fd590021000 rw-p 00000000 00:00 0

                  7fd590021000-7fd594000000 ---p 00000000 00:00 0

                  7fd598000000-7fd598675000 rw-p 00000000 00:00 0

                  7fd598675000-7fd59c000000 ---p 00000000 00:00 0

                  7fd59f37f000-7fd59fc3a000 r-xp 00000000 08:12 785157                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-finalize64.so.1.0.0

                  7fd59fc3a000-7fd59fe3a000 ---p 008bb000 08:12 785157                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-finalize64.so.1.0.0

                  7fd59fe3a000-7fd59ffd7000 r--p 008bb000 08:12 785157                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-finalize64.so.1.0.0

                  7fd59ffd7000-7fd59ffdb000 rw-p 00a58000 08:12 785157                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-finalize64.so.1.0.0

                  7fd59ffdb000-7fd5a0000000 rw-p 00000000 00:00 0

                  7fd5a0000000-7fd5a0021000 rw-p 00000000 00:00 0

                  7fd5a0021000-7fd5a4000000 ---p 00000000 00:00 0

                  7fd5a401e000-7fd5a405f000 r-xp 00000000 08:12 785160                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-image64.so.1.0.0

                  7fd5a405f000-7fd5a425f000 ---p 00041000 08:12 785160                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-image64.so.1.0.0

                  7fd5a425f000-7fd5a4260000 r--p 00041000 08:12 785160                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-image64.so.1.0.0

                  7fd5a4260000-7fd5a426c000 rw-p 00042000 08:12 785160                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-ext-image64.so.1.0.0

                  7fd5a426c000-7fd5a426d000 ---p 00000000 00:00 0

                  7fd5a426d000-7fd5a4b6d000 rw-p 00000000 00:00 0

                  7fd5a4b6d000-7fd5a4b84000 r-xp 00000000 08:12 921137                     /lib/x86_64-linux-gnu/libresolv-2.23.so

                  7fd5a4b84000-7fd5a4d84000 ---p 00017000 08:12 921137                     /lib/x86_64-linux-gnu/libresolv-2.23.so

                  7fd5a4d84000-7fd5a4d85000 r--p 00017000 08:12 921137                     /lib/x86_64-linux-gnu/libresolv-2.23.so

                  7fd5a4d85000-7fd5a4d86000 rw-p 00018000 08:12 921137                     /lib/x86_64-linux-gnu/libresolv-2.23.so

                  7fd5a4d86000-7fd5a4d88000 rw-p 00000000 00:00 0

                  7fd5a4d88000-7fd5a4d94000 r-xp 00000000 08:12 921111                     /lib/x86_64-linux-gnu/libpci.so.3.3.1

                  7fd5a4d94000-7fd5a4f93000 ---p 0000c000 08:12 921111                     /lib/x86_64-linux-gnu/libpci.so.3.3.1

                  7fd5a4f93000-7fd5a4f94000 r--p 0000b000 08:12 921111                     /lib/x86_64-linux-gnu/libpci.so.3.3.1

                  7fd5a4f94000-7fd5a4f95000 rw-p 0000c000 08:12 921111                     /lib/x86_64-linux-gnu/libpci.so.3.3.1

                  7fd5a4f95000-7fd5a4fac000 r-xp 00000000 08:12 1186771                    /usr/lib/x86_64-linux-gnu/libelf-0.165.so

                  7fd5a4fac000-7fd5a51ab000 ---p 00017000 08:12 1186771                    /usr/lib/x86_64-linux-gnu/libelf-0.165.so

                  7fd5a51ab000-7fd5a51ac000 r--p 00016000 08:12 1186771                    /usr/lib/x86_64-linux-gnu/libelf-0.165.so

                  7fd5a51ac000-7fd5a51ad000 rw-p 00017000 08:12 1186771                    /usr/lib/x86_64-linux-gnu/libelf-0.165.so

                  7fd5a51ad000-7fd5a51c2000 r-xp 00000000 08:12 785153                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsakmt.so.1.0.0

                  7fd5a51c2000-7fd5a53c2000 ---p 00015000 08:12 785153                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsakmt.so.1.0.0

                  7fd5a53c2000-7fd5a53c4000 r--p 00015000 08:12 785153                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsakmt.so.1.0.0

                  7fd5a53c4000-7fd5a53cd000 rw-p 00017000 08:12 785153                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsakmt.so.1.0.0

                  7fd5a5740000-7fd5a5780000 rw-s 20a84f000 00:06 14973                     /dev/dri/card0

                  7fd5a5780000-7fd5a5800000 rw-s 20a6ef000 00:06 14973                     /dev/dri/card0

                  7fd5a5800000-7fd5a5e00000 rw-p 00000000 00:00 0

                  7fd5a6643000-7fd5a66c3000 rw-s 20a66f000 00:06 14973                     /dev/dri/card0

                  7fd5a66c3000-7fd5a6743000 rw-s 20a5ef000 00:06 14973                     /dev/dri/card0

                  7fd5a6743000-7fd5a6753000 rw-s 208912000 00:06 14973                     /dev/dri/card0

                  7fd5a6753000-7fd5a6783000 rw-s 1e0814000 00:06 14973                     /dev/dri/card0

                  7fd5a6783000-7fd5a7cf7000 rw-p 00000000 00:00 0

                  7fd5a7cf7000-7fd5a7d07000 rw-s 1fed62000 00:06 14973                     /dev/dri/card0

                  7fd5a7d07000-7fd5a7d0f000 rw-s 1fed5a000 00:06 14973                     /dev/dri/card0

                  7fd5a7d0f000-7fd5a840f000 rw-p 00000000 00:00 0

                  7fd5a840f000-7fd5a842f000 rw-s 1feb18000 00:06 14973                     /dev/dri/card0

                  7fd5a842f000-7fd5a844f000 rw-s 1fe8f8000 00:06 14973                     /dev/dri/card0

                  7fd5a844f000-7fd5a845f000 rw-s 1fe165000 00:06 14973                     /dev/dri/card0

                  7fd5a845f000-7fd5a8467000 rw-s 1fe15d000 00:06 14973                     /dev/dri/card0

                  7fd5a8467000-7fd5a8469000 rw-s 1fe15b000 00:06 14973                     /dev/dri/card0

                  7fd5a8469000-7fd5a8569000 rw-s 1fe059000 00:06 14973                     /dev/dri/card0

                  7fd5a8569000-7fd5a8669000 rw-s 1fc0d0000 00:06 14973                     /dev/dri/card0

                  7fd5a8669000-7fd5a866f000 rw-s 1fc0ca000 00:06 14973                     /dev/dri/card0

                  7fd5a866f000-7fd5a8675000 rw-s 1fc0c4000 00:06 14973                     /dev/dri/card0

                  7fd5a8675000-7fd5a867d000 rw-s 1fc0bc000 00:06 14973                     /dev/dri/card0

                  7fd5a867d000-7fd5a8685000 rw-s 1fc0b4000 00:06 14973                     /dev/dri/card0

                  7fd5a8685000-7fd5a8705000 rw-s 1fc034000 00:06 14973                     /dev/dri/card0

                  7fd5a8705000-7fd5a8785000 rw-s 1fbfb4000 00:06 14973                     /dev/dri/card0

                  7fd5a8785000-7fd5a87c5000 rw-s 1e440f000 00:06 14973                     /dev/dri/card0

                  7fd5a87c5000-7fd5a8805000 rw-s 1e43cf000 00:06 14973                     /dev/dri/card0

                  7fd5a8805000-7fd5a880d000 rw-s 1fb4cb000 00:06 14973                     /dev/dri/card0

                  7fd5a880d000-7fd5a881d000 rw-s 1fb4bb000 00:06 14973                     /dev/dri/card0

                  7fd5a881d000-7fd5a883d000 rw-s 1e3e68000 00:06 14973                     /dev/dri/card0

                  7fd5a883d000-7fd5a885d000 rw-s 1ab3b9000 00:06 14973                     /dev/dri/card0

                  7fd5a885d000-7fd5a895d000 rw-s 1e2acc000 00:06 14973                     /dev/dri/card0

                  7fd5a895d000-7fd5a8a5d000 rw-s 1e29cc000 00:06 14973                     /dev/dri/card0

                  7fd5a8a5d000-7fd5a8a63000 rw-s 1e3e62000 00:06 14973                     /dev/dri/card0

                  7fd5a8a63000-7fd5a8ae3000 rw-s 1e3dcc000 00:06 14973                     /dev/dri/card0

                  7fd5a8ae3000-7fd5a8b63000 rw-s 1e3d4c000 00:06 14973                     /dev/dri/card0

                  7fd5a8b63000-7fd5a8ba3000 rw-s 1e3d0c000 00:06 14973                     /dev/dri/card0

                  7fd5a8ba3000-7fd5a8be3000 rw-s 1e3ccc000 00:06 14973                     /dev/dri/card0

                  7fd5a8be3000-7fd5a8c63000 rw-s 1e434f000 00:06 14973                     /dev/dri/card0

                  7fd5a8c63000-7fd5a8ce3000 rw-s 1e42cf000 00:06 14973                     /dev/dri/card0

                  7fd5a8ce3000-7fd5a8ce4000 ---p 00000000 00:00 0

                  7fd5a8ce4000-7fd5a8d24000 rw-p 00000000 00:00 0

                  7fd5a8d24000-7fd5a8d54000 rw-s 1fb27b000 00:06 14973                     /dev/dri/card0

                  7fd5a8d54000-7fd5aab61000 r-xp 00000000 08:12 785109                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl12cl64.so

                  7fd5aab61000-7fd5aad60000 ---p 01e0d000 08:12 785109                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl12cl64.so

                  7fd5aad60000-7fd5ab055000 rw-p 01e0c000 08:12 785109                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl12cl64.so

                  7fd5ab055000-7fd5ab109000 rw-p 00000000 00:00 0

                  7fd5ab109000-7fd5ae9f6000 r-xp 00000000 08:12 785110                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl64.so

                  7fd5ae9f6000-7fd5aebf6000 ---p 038ed000 08:12 785110                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl64.so

                  7fd5aebf6000-7fd5aef23000 rw-p 038ed000 08:12 785110                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl64.so

                  7fd5aef23000-7fd5af000000 rw-p 00000000 00:00 0

                  7fd5af000000-7fd5b0000000 rw-s 1dd064000 00:06 14973                     /dev/dri/card0

                  7fd5b0000000-7fd5b0021000 rw-p 00000000 00:00 0

                  7fd5b0021000-7fd5b4000000 ---p 00000000 00:00 0

                  7fd5b4001000-7fd5b4003000 rw-s 1fe159000 00:06 14973                     /dev/dri/card0

                  7fd5b4003000-7fd5b400b000 rw-s 1e3e54000 00:06 14973                     /dev/dri/card0

                  7fd5b400b000-7fd5b4013000 rw-s 1e3e4c000 00:06 14973                     /dev/dri/card0

                  7fd5b4013000-7fd5b4043000 rw-s 1fa2fb000 00:06 14973                     /dev/dri/card0

                  7fd5b4043000-7fd5b4143000 rw-p 00000000 00:00 0

                  7fd5b4143000-7fd5b41d3000 r-xp 00000000 08:12 785155                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1.0.0

                  7fd5b41d3000-7fd5b43d3000 ---p 00090000 08:12 785155                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1.0.0

                  7fd5b43d3000-7fd5b43d9000 r--p 00090000 08:12 785155                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1.0.0

                  7fd5b43d9000-7fd5b43da000 rw-p 00096000 08:12 785155                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libhsa-runtime64.so.1.0.0

                  7fd5b43da000-7fd5b43db000 rw-p 00000000 00:00 0

                  7fd5b43dc000-7fd5b43de000 rw-s 1e2bce000 00:06 14973                     /dev/dri/card0

                  7fd5b43de000-7fd5b43e0000 rw-s 1e2bcc000 00:06 14973                     /dev/dri/card0

                  7fd5b43e0000-7fd5b43e8000 rw-s 1e3c94000 00:06 14973                     /dev/dri/card0

                  7fd5b43e8000-7fd5b43f8000 rw-s 1e3c84000 00:06 14973                     /dev/dri/card0

                  7fd5b43f8000-7fd5b4400000 rw-s 1fb273000 00:06 14973                     /dev/dri/card0

                  7fd5b4400000-7fd5b4500000 rw-s 1fb037000 00:06 14973                     /dev/dri/card0

                  7fd5b4500000-7fd5b4600000 rw-s 1faf37000 00:06 14973                     /dev/dri/card0

                  7fd5b4600000-7fd5b5800000 rw-p 00000000 00:00 0

                  7fd5b5800000-7fd5b5806000 rw-s 1e3e5c000 00:06 14973                     /dev/dri/card0

                  7fd5b5806000-7fd5b5886000 rw-s 1fae9b000 00:06 14973                     /dev/dri/card0

                  7fd5b5886000-7fd5b5906000 rw-s 1fae1b000 00:06 14973                     /dev/dri/card0

                  7fd5b5906000-7fd5b5946000 rw-s 1faddb000 00:06 14973                     /dev/dri/card0

                  7fd5b5946000-7fd5b5986000 rw-s 1fad9b000 00:06 14973                     /dev/dri/card0

                  7fd5b5986000-7fd5b59ff000 rw-p 00000000 00:00 0

                  7fd5b59ff000-7fd5b5a00000 ---p 00000000 00:00 0

                  7fd5b5a00000-7fd5b6200000 rw-p 00000000 00:00 0

                  7fd5b6200000-7fd5b6600000 rw-p 00000000 00:00 0

                  7fd5b6601000-7fd5b6609000 rw-s 1fa32b000 00:06 14973                     /dev/dri/card0

                  7fd5b6609000-7fd5b660a000 rw-s 00000000 00:16 38745                      /dev/shm/hsakmt_shared_mem

                  7fd5b660a000-7fd5b661a000 rw-s 1fb143000 00:06 14973                     /dev/dri/card0

                  7fd5b661a000-7fd5b6622000 rw-s 1fb13b000 00:06 14973                     /dev/dri/card0

                  7fd5b6622000-7fd5b6628000 rw-s 1faf31000 00:06 14973                     /dev/dri/card0

                  7fd5b6628000-7fd5b6630000 rw-s 1faf23000 00:06 14973                     /dev/dri/card0

                  7fd5b6630000-7fd5b6638000 rw-s 1faf1b000 00:06 14973                     /dev/dri/card0

                  7fd5b6638000-7fd5b6648000 rw-s 1e4fe2000 00:06 14973                     /dev/dri/card0

                  7fd5b6705000-7fd5b6735000 rw-s 1e24f3000 00:06 14973                     /dev/dri/card0

                  7fd5b6735000-7fd5b6765000 rw-s 1df63e000 00:06 14973                     /dev/dri/card0

                  7fd5b6765000-7fd5b6792000 rw-p 00000000 00:00 0

                  7fd5b6792000-7fd5b67c2000 rw-s 1df23e000 00:06 14973                     /dev/dri/card0

                  7fd5b67c2000-7fd5b67f2000 rw-s 1fc580000 00:06 14973                     /dev/dri/card0

                  7fd5b67f2000-7fd5b67ff000 r-xp 00000000 08:12 785088                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0

                  7fd5b67ff000-7fd5b69fe000 ---p 0000d000 08:12 785088                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0

                  7fd5b69fe000-7fd5b69ff000 r--p 0000c000 08:12 785088                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0

                  7fd5b69ff000-7fd5b6a00000 rw-p 0000d000 08:12 785088                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0

                  7fd5b6a00000-7fd5b6e00000 rw-p 00000000 00:00 0

                  7fd5b6e00000-7fd5b6e06000 rw-s 1faf2b000 00:06 14973                     /dev/dri/card0

                  7fd5b6e06000-7fd5b6e0e000 rw-s 1e4ff2000 00:06 14973                     /dev/dri/card0

                  7fd5b6e16000-7fd5b6e66000 rw-p 00000000 00:00 0

                  7fd5b6e66000-7fd5b6e96000 rw-s 1de267000 00:06 14973                     /dev/dri/card0

                  7fd5b6e96000-7fd5b6ec6000 rw-s 1fcee0000 00:06 14973                     /dev/dri/card0

                  7fd5b6ec6000-7fd5b6ef6000 rw-s 1e207f000 00:06 14973                     /dev/dri/card0

                  7fd5b6ef6000-7fd5b6f46000 rw-p 00000000 00:00 0

                  7fd5b6f46000-7fd5b6f76000 rw-s 1e1434000 00:06 14973                     /dev/dri/card0

                  7fd5b6f76000-7fd5b9a1a000 r-xp 00000000 08:12 1439622                    /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                  7fd5b9a1a000-7fd5b9c19000 ---p 02aa4000 08:12 1439622                    /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                  7fd5b9c19000-7fd5b9f66000 rwxp 02aa3000 08:12 1439622                    /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

                  7fd5b9f66000-7fd5ba13a000 rwxp 00000000 00:00 0

                  7fd5ba13a000-7fd5ba13f000 r-xp 00000000 08:12 1187836                    /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0.0

                  7fd5ba13f000-7fd5ba33e000 ---p 00005000 08:12 1187836                    /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0.0

                  7fd5ba33e000-7fd5ba33f000 r--p 00004000 08:12 1187836                    /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0.0

                  7fd5ba33f000-7fd5ba340000 rw-p 00005000 08:12 1187836                    /usr/lib/x86_64-linux-gnu/libxcb-util.so.1.0.0

                  7fd5ba340000-7fd5ba342000 r-xp 00000000 08:12 1187832                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0

                  7fd5ba342000-7fd5ba542000 ---p 00002000 08:12 1187832                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0

                  7fd5ba542000-7fd5ba543000 r--p 00002000 08:12 1187832                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0

                  7fd5ba543000-7fd5ba544000 rw-p 00003000 08:12 1187832                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0

                  7fd5ba544000-7fd5ba549000 r-xp 00000000 08:12 1186435                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0

                  7fd5ba549000-7fd5ba748000 ---p 00005000 08:12 1186435                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0

                  7fd5ba748000-7fd5ba749000 r--p 00004000 08:12 1186435                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0

                  7fd5ba749000-7fd5ba74a000 rw-p 00005000 08:12 1186435                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0

                  7fd5ba74a000-7fd5ba74c000 r-xp 00000000 08:12 1186424                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0

                  7fd5ba74c000-7fd5ba94c000 ---p 00002000 08:12 1186424                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0

                  7fd5ba94c000-7fd5ba94d000 r--p 00002000 08:12 1186424                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0

                  7fd5ba94d000-7fd5ba94e000 rw-p 00003000 08:12 1186424                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0

                  7fd5ba94e000-7fd5ba972000 r-xp 00000000 08:12 921126                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0

                  7fd5ba972000-7fd5bab71000 ---p 00024000 08:12 921126                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0

                  7fd5bab71000-7fd5bab72000 r--p 00023000 08:12 921126                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0

                  7fd5bab72000-7fd5bab73000 rw-p 00024000 08:12 921126                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0

                  7fd5bab73000-7fd5bab8c000 r-xp 00000000 08:12 921176                     /lib/x86_64-linux-gnu/libz.so.1.2.8

                  7fd5bab8c000-7fd5bad8b000 ---p 00019000 08:12 921176                     /lib/x86_64-linux-gnu/libz.so.1.2.8

                  7fd5bad8b000-7fd5bad8c000 r--p 00018000 08:12 921176                     /lib/x86_64-linux-gnu/libz.so.1.2.8

                  7fd5bad8c000-7fd5bad8d000 rw-p 00019000 08:12 921176                     /lib/x86_64-linux-gnu/libz.so.1.2.8

                  7fd5bad8d000-7fd5bad92000 r-xp 00000000 08:12 1187834                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0

                  7fd5bad92000-7fd5baf92000 ---p 00005000 08:12 1187834                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0

                  7fd5baf92000-7fd5baf93000 r--p 00005000 08:12 1187834                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0

                  7fd5baf93000-7fd5baf94000 rw-p 00006000 08:12 1187834                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0

                  7fd5baf94000-7fd5baf95000 r-xp 00000000 08:12 1187854                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0

                  7fd5baf95000-7fd5bb195000 ---p 00001000 08:12 1187854                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0

                  7fd5bb195000-7fd5bb196000 r--p 00001000 08:12 1187854                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0

                  7fd5bb196000-7fd5bb197000 rw-p 00002000 08:12 1187854                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0

                  7fd5bb197000-7fd5bb1aa000 r-xp 00000000 08:12 785082                     /opt/amdgpu-pro/lib/x86_64-linux-gnu/libdrm.so.2.4.0Aborted (core dumped)

                  ======= Backtrace: =========

                   

                   

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fd5bd8e77e5]

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(+0x7e7c3)[0x7fd5bd8ee7c3]

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(+0x80678)[0x7fd5bd8f0678]

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd5bd8f453c]

                  /build$ /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so(+0x63d07d)[0x7fd5b75b307d]

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(+0x39ff8)[0x7fd5bd8a9ff8]

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(+0x3a045)[0x7fd5bd8aa045]

                  /build$ /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0x7fd5bd890837]

                  /build$ ./.........(_start+0x29)[0x4c20b9]

                   

                   

                  ======= Memory map: ========

                  /build$ 00400000-005a5000 r-xp 00000000 08:13 266084

                  /build$ 007a5000-007a6000 r--p 001a5000 08:13 266084

                    • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
                      mitchellhansen
                      ...@...-...:~/....../..../build$ valgrind --leak-check=yes ./..... 
                      ==5928== Memcheck, a memory error detector
                      ==5928== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
                      ==5928== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
                      ==5928== Command: ./........
                      ==5928== 
                      ==5928== Syscall param ioctl(generic) points to uninitialised byte(s)
                      ==5928==    at 0x678EF07: ioctl (syscall-template.S:84)
                      ==5928==    by 0xCAF129C: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B00000003: ???
                      ==5928==    by 0xFEFFE3DFFFFFFFFF: ???
                      ==5928==    by 0xDF85E600000000E: ???
                      ==5928==    by 0xCAF13F3FFFFFFFF: ???
                      ==5928==    by 0xFFFFFFFF: ???
                      ==5928==  Address 0xffeffe354 is on thread 1's stack
                      ==5928== 
                      ==5928== Syscall param ioctl(generic) points to uninitialised byte(s)
                      ==5928==    at 0x678EF07: ioctl (syscall-template.S:84)
                      ==5928==    by 0xCAF130A: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928==    by 0xFFEFFE22F: ???
                      ==5928==    by 0x66A2FF7: ??? (in /lib/x86_64-linux-gnu/libc-2.23.so)
                      ==5928==    by 0x6695D7F: ??? (in /lib/x86_64-linux-gnu/libc-2.23.so)
                      ==5928==  Address 0xffeffe358 is on thread 1's stack
                      ==5928== 
                      ==5928== Use of uninitialised value of size 8
                      ==5928==    at 0x4C30F62: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1321: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C30F69: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1321: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Use of uninitialised value of size 8
                      ==5928==    at 0x4C30F74: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1321: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C30F78: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1321: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Use of uninitialised value of size 8
                      ==5928==    at 0x4C31047: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C3104F: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Use of uninitialised value of size 8
                      ==5928==    at 0x4C31063: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C31068: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C3108A: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C3108F: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C31105: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1339: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C3548F: strstr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1348: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Conditional jump or move depends on uninitialised value(s)
                      ==5928==    at 0x4C35494: strstr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
                      ==5928==    by 0xCAF1348: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928== 
                      ==5928== Syscall param ioctl(generic) points to uninitialised byte(s)
                      ==5928==    at 0x678EF07: ioctl (syscall-template.S:84)
                      ==5928==    by 0xCAF129C: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B00000003: ???
                      ==5928==    by 0xFEFFDDDFFFFFFFFF: ???
                      ==5928==    by 0xE056F700000000E: ???
                      ==5928==    by 0xCAF13F3FFFFFFFF: ???
                      ==5928==  Address 0xffeffdd54 is on thread 1's stack
                      ==5928== 
                      ==5928== Syscall param ioctl(generic) points to uninitialised byte(s)
                      ==5928==    at 0x678EF07: ioctl (syscall-template.S:84)
                      ==5928==    by 0xCAF130A: ??? (in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so)
                      ==5928==    by 0x1B000001FF: ???
                      ==5928==  Address 0xffeffdd58 is on thread 1's stack
                      ==5928== 
                      
                      

                       

                       

                      Here's the valgrind --leak-check=yes output when running the program over ssh when the program is in a broken state. If anyone wants me to run any other valgrind tools plz respond

                        • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
                          mitchellhansen

                          Also getting this error string when trying to "sudo systemctl restart lightdm" over ssh

                           

                          systemd[1]: Stopped Light Display Manager.

                          systemd[1]: Starting Light Display Manager...

                          systemd[1]: Started Light Display Manager.

                          lightdm[3225]: ** (lightdm:3225): CRITICAL **: session_get_login1_session_id: assertion 'session != NULL' failed

                          systemd[1]: Stopping Light Display Manager...

                          systemd[1]: Stopped Light Display Manager.

                          systemd[1]: Starting Light Display Manager...

                          systemd[1]: Started Light Display Manager.

                           

                          Unfortunately this error doesn't show up much on google

                  • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
                    mitchellhansen

                    Interesting crash! Loading a WebGL widget and the desktop locked up for a second and appears to have fully recovered. The chromium process that crashed generated an apport report

                     

                    crash · GitHub

                     

                    and spit this out to kern.log

                     

                    chromium-browse[3021]: segfault at 7fe729200000 ip 00007fe77548c9d0 sp 00007ffd3d02db18 error 4 in amdgpu_dri.so[7fe774e3c000+2aa4000]

                      • Re: Ubuntu R9 390 stability; "Failed to pin framebuffer"
                        mitchellhansen

                        Put the PC to sleep, and woke it back up the next day. Displayed a white screen with random pixels turned red blue and green. Can't get to tty, but can ssh in. Dmesg has a bunch of log spam like this

                         

                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385155] ------------[ cut here ]------------
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385183] WARNING: CPU: 4 PID: 1239 at /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4178 prepare_flip_isr+0x82/0x90 [amdgpu]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385183] Modules linked in: btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c snd_seq_dummy snd_usb_audio joydev input_leds snd_usbmidi_lib ftdi_sio usbserial binfmt_misc nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd snd_soc_rt5640 glue_helper snd_soc_ssm4567 snd_soc_rl6231 snd_soc_core cryptd snd_compress intel_cstate ac97_bus snd_pcm_dmaengine snd_seq_midi snd_hda_codec_realtek snd_seq_midi_event intel_rapl_perf snd_hda_codec_generic snd_rawmidi snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_seq snd_hwdep mei_me snd_pcm mei shpchp lpc_ich snd_seq_device snd_timer snd elan_i2c snd_soc_sst_acpi soundcore snd_soc_sst_match dw_dmac
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385196]  8250_dw dw_dmac_core i2c_designware_platform spi_pxa2xx_platform mac_hid i2c_designware_core acpi_pad it87 hwmon_vid coretemp parport_pc ppdev lp parport autofs4 hid_generic usbhid amdkfd(OE) amd_iommu_v2 amdgpu(OE) amdttm(OE) i915 mxm_wmi amdkcl(OE) i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm alx libahci mdio wmi sdhci_acpi sdhci video i2c_hid fjes hid
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385205] CPU: 4 PID: 1239 Comm: Xorg Tainted: G        W  OE   4.10.0-42-generic #46~16.04.1-Ubuntu
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385206] Hardware name: Gigabyte Technology Co., Ltd. Z97MX-Gaming 5/Z97MX-Gaming 5, BIOS F5 04/21/2015
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385206] Call Trace:
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385207]  dump_stack+0x63/0x90
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385208]  __warn+0xcb/0xf0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385209]  warn_slowpath_null+0x1d/0x20
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385236]  prepare_flip_isr+0x82/0x90 [amdgpu]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385263]  amdgpu_dm_atomic_commit_tail+0x4ce/0xac0 [amdgpu]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385283]  ? amdgpu_bo_restore_from_shadow+0xa1/0xd0 [amdgpu]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385310]  ? dm_plane_helper_prepare_fb+0x1a0/0x220 [amdgpu]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385313]  commit_tail+0x3f/0x70 [drm_kms_helper]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385316]  drm_atomic_helper_commit+0xaa/0x110 [drm_kms_helper]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385343]  amdgpu_dm_atomic_commit+0x90/0xa0 [amdgpu]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385350]  drm_atomic_commit+0x4b/0x50 [drm]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385353]  drm_fb_helper_pan_display+0x1cc/0x290 [drm_kms_helper]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385356]  ? drm_fb_helper_hotplug_event+0xe3/0xf0 [drm_kms_helper]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385356]  fb_pan_display+0xcf/0x160
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385357]  fb_set_var+0x252/0x470
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385358]  ? check_preempt_wakeup+0xfb/0x220
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385360]  ? update_load_avg+0x6b/0x550
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385361]  fbcon_blank+0x30f/0x350
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385362]  ? ttwu_do_activate+0x6f/0x80
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385363]  do_unblank_screen+0xd3/0x1a0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385364]  complete_change_console+0x59/0xe0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385365]  vt_ioctl+0x710/0x12d0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385370]  ? drm_ioctl+0x24e/0x4d0 [drm]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385374]  ? drm_setmaster_ioctl+0xa0/0xa0 [drm]
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385375]  tty_ioctl+0x35a/0xc70
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385377]  ? handle_mm_fault+0x86b/0x1270
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385378]  do_vfs_ioctl+0xa1/0x5f0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385379]  ? __do_page_fault+0x265/0x4e0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385380]  SyS_ioctl+0x79/0x90
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385381]  entry_SYSCALL_64_fastpath+0x1e/0xad
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385382] RIP: 0033:0x7fc8086c4f07
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385382] RSP: 002b:00007ffc8c8fba48 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385383] RAX: ffffffffffffffda RBX: 000055dee3391850 RCX: 00007fc8086c4f07
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385384] RDX: 0000000000000001 RSI: 0000000000005605 RDI: 000000000000000c
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385384] RBP: 000055dee395c6e0 R08: 0000000000000001 R09: 00007ffc8c8fb7e0
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385385] R10: 000000000000009a R11: 0000000000003246 R12: 0000000000000008
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385385] R13: 000055dee2f63740 R14: 000055dee2f6369c R15: 000055dee2f63748
                        Jan  7 13:50:15 mrh-desktop kernel: [126540.385386] ---[ end trace d2daedad391a93a7 ]---
                        Jan  7 13:50:15 mrh-desktop kernel: [126550.623892] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:42:crtc-0] flip_done timed out
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.863598] [drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:44:crtc-1] flip_done timed out
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.864099] amdgpu 0000:01:00.0: couldn't schedule ib on ring <sdma0>
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.864149] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22)
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.864179] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.866157] [TTM] Buffer eviction failed
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.869147] amdgpu 0000:01:00.0: couldn't schedule ib on ring <sdma0>
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.869196] [drm:amdgpu_job_run [amdgpu]] *ERROR* Error scheduling IBs (-22)
                        Jan  7 13:50:15 mrh-desktop kernel: [126560.869236] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!