14 Replies Latest reply on May 1, 2017 4:27 AM by b14ck6u4rd

    AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log

    alanian

      Running Ubuntu 16.04, graphic card Radeon RX 480, after installed "AMD Radeon™ Software AMDGPU-PRO Beta Driver for Linux® Version 16.30 for Ubuntu 16.04", Xorg.0.log keep print messages like:

      AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 97791 < target_msc 97792

        • Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
          aleksfox

          And sometimes i have:

           

          [ 1084.587016] VM fault (0x01, vmid 3) at page 47326788, read from 'TC0' (0x54433000) (8)

          [ 1084.587016] amdgpu 0000:07:00.0: GPU fault detected: 147 0x05708801

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x00E0983C

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x06088002

          [ 1084.587016] VM fault (0x02, vmid 3) at page 14719036, read from 'TC6' (0x54433600) (136)

          [ 1084.587016] amdgpu 0000:07:00.0: GPU fault detected: 147 0x0d78c401

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x03B9780A

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x060C4001

          [ 1084.587016] VM fault (0x01, vmid 3) at page 62486538, read from 'TC3' (0x54433300) (196)

          [ 1084.587016] amdgpu 0000:07:00.0: GPU fault detected: 147 0x0c88c801

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x016D8DF6

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x06044001

          [ 1084.587016] VM fault (0x01, vmid 3) at page 23956982, read from 'TC5' (0x54433500) (68)

          [ 1084.587016] amdgpu 0000:07:00.0: GPU fault detected: 147 0x09e08801

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x006F7D1B

          [ 1084.587016] amdgpu 0000:07:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x060C4002

          etc. etc...

           

          2xRX470 8Gb

           

          016b78f8-99aa-11e6-853b-f76ebd33d9b0.png

          • Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
            agentb

            regarding the Xorg log entries i see about 20 per second.

            [133173.757] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921333 < target_msc 7921334

            [133173.790] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921335 < target_msc 7921336

            [133173.824] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921337 < target_msc 7921338

            [133173.857] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921339 < target_msc 7921340

            [133173.890] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921341 < target_msc 7921342

            [133174.091] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921353 < target_msc 7921354

            [133174.107] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921354 < target_msc 7921355

            [133174.224] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 7921361 < target_msc 7921362

            Regarding the /var/log/syslog entries, i see repeated entries about 4-10/s but ONLY when running OpenCL applications 

             

            Oct 27 21:32:38 gluon kernel: [133134.607763] amdgpu 0000:01:00.0: GPU fault detected: 147 0x00024401

            Oct 27 21:32:38 gluon kernel: [133134.607766] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0BC00000

            Oct 27 21:32:38 gluon kernel: [133134.607767] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B044001

            Oct 27 21:32:38 gluon kernel: [133134.607768] VM fault (0x01, vmid 5) at page 197132288, write from 'TC5' (0x54433500) (68)

            Oct 27 21:32:38 gluon kernel: [133134.607771] amdgpu 0000:01:00.0: GPU fault detected: 147 0x00024801

            Oct 27 21:32:38 gluon kernel: [133134.607772] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0BC00000

            Oct 27 21:32:38 gluon kernel: [133134.607772] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B048001

            Oct 27 21:32:38 gluon kernel: [133134.607773] VM fault (0x01, vmid 5) at page 197132288, write from 'TC4' (0x54433400) (72)

             

            There is another post about GPU 147 which might help for these

             

            These error floods are adding over a million entries per day into log files...

            1 of 1 people found this helpful
            • Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
              b14ck6u4rd

              Our problem: var/log/Xorg.0.log flooded by "[...] amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible [...]" ( a shame for  SSD ).

               

              My actual configuration:

              • Ubuntu GNU/Linux 16.04 LTS,
              • AMDGPU-Pro 16.40,
              • 2x RX-480 8G,
              • 1x DPort/DVI passive adapter (possibly origin of the problem),
              • 1x SyncMaster P2450 screen.

               

              My solution to stop flood ( and possibly yours too ):

              • Edit AMDGPU-Pro configuration for Xorg : "sudo vi /usr/share/X11/xorg.conf.d/10-amdgpu-pro.conf"
              • Add "Device" sections (1x section by physical GPU) each containing:
                • a unique Identifier (ex: "RX480-A", "RX480-B", ...).
                • the correct driver (here: "amdgpu").
                • the option "TearFree" set to "on".

               

              My actual configuration file "10-amd-pro.conf" :

              [...]

              Section "Device"

                      Identifier "Rx480-A"

                      Driver     "amdgpu"

                      Option     "TearFree" "on"

              EndSection

              Section "Device"

                      Identifier "Rx480-B"

                      Driver     "amdgpu"

                      Option     "TearFree" "on"

              EndSection

              [...]

              note: option DRI3 is now set ON by default on my system with AMD drivers ; so no need to include it into configuration.

               

              After reboot, Xorg.0.log file looks like:

              [...]

              [     3.543] (II) xfree86: Adding drm device (/dev/dri/card0)

              [     3.543] (II) xfree86: Adding drm device (/dev/dri/card1)

              [     3.545] (--) PCI: (0:2:0:0) 1002:67df:1682:9480 rev 199, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfbe00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072

              [     3.545] (--) PCI:*(0:3:0:0) 1002:67df:1682:9480 rev 199, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfbd00000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072

              [     3.545] (II) LoadModule: "glx"

              [     3.545] (II) Loading /opt/amdgpu-pro/lib/xorg/modules/extensions/libglx.so

              [     3.552] (II) Module glx: vendor="X.Org Foundation"

              [     3.552]    compiled for 1.18.0, module version = 1.0.0

              [     3.552]    ABI class: X.Org Server Extension, version 9.0

              [     3.552] (==) AIGLX enabled

              [     3.552] (II) LoadModule: "amdgpu"

              [     3.552] (II) Loading /opt/amdgpu-pro/lib/xorg/modules/drivers/amdgpu_drv.so

              [     3.553] (II) Module amdgpu: vendor="X.Org Foundation"

              [     3.553]    compiled for 1.18.4, module version = 1.1.99

              [     3.553]    Module class: X.Org Video Driver

              [     3.553]    ABI class: X.Org Video Driver, version 20.0

              [     3.553] (II) AMDGPU: Driver for AMD Radeon chipsets: BONAIRE, BONAIRE, BONAIRE,

                      BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,

                      BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,

                      KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,

                      KABINI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,

                      KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,

                      KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, HAWAII, HAWAII,

                      HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,

                      HAWAII, HAWAII, TOPAZ, TOPAZ, TOPAZ, TOPAZ, TOPAZ, TONGA, TONGA,

                      TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, CARRIZO, CARRIZO,

                      CARRIZO, CARRIZO, CARRIZO, FIJI, STONEY, POLARIS11, POLARIS11,

                      POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11,

                      POLARIS11, POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10,

                      POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10

              [     3.553] (II) [KMS] Kernel modesetting enabled.

              [     3.553] (II) AMDGPU(0): ShareFD: disabled

              [     3.554] (DB) AMDGPU(0): open fd=10

              [     3.554] (II) [KMS] Kernel modesetting enabled.

              [     3.554] (II) AMDGPU(G0): ShareFD: disabled

              [     3.554] (DB) AMDGPU(G0): open fd=12

              [     3.554] (II) AMDGPU(0): AMDGPU DDX hybrid version: 16.40.5

              [     3.554] (II) AMDGPU(0): AMDGPU kernel module hybrid version: 16.40.5

              [     3.554] (II) AMDGPU(0): Creating default Display subsection in Screen section

                      "Default Screen Section" for depth/fbbpp 24/32

              [...]

              [     3.543] (II) xfree86: Adding drm device (/dev/dri/card0)

              [     3.543] (II) xfree86: Adding drm device (/dev/dri/card1)

              [     3.545] (--) PCI: (0:2:0:0) 1002:67df:1682:9480 rev 199, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfbe00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072

              [     3.545] (--) PCI:*(0:3:0:0) 1002:67df:1682:9480 rev 199, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfbd00000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072

              [     3.545] (II) LoadModule: "glx"

              [     3.545] (II) Loading /opt/amdgpu-pro/lib/xorg/modules/extensions/libglx.so

              [     3.552] (II) Module glx: vendor="X.Org Foundation"

              [     3.552]    compiled for 1.18.0, module version = 1.0.0

              [     3.552]    ABI class: X.Org Server Extension, version 9.0

              [     3.552] (==) AIGLX enabled

              [     3.552] (II) LoadModule: "amdgpu"

              [     3.552] (II) Loading /opt/amdgpu-pro/lib/xorg/modules/drivers/amdgpu_drv.so

              [     3.553] (II) Module amdgpu: vendor="X.Org Foundation"

              [     3.553]    compiled for 1.18.4, module version = 1.1.99

              [     3.553]    Module class: X.Org Video Driver

              [     3.553]    ABI class: X.Org Video Driver, version 20.0

              [     3.553] (II) AMDGPU: Driver for AMD Radeon chipsets: BONAIRE, BONAIRE, BONAIRE,

                      BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,

                      BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,

                      KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,

                      KABINI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,

                      KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,

                      KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, HAWAII, HAWAII,

                      HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,

                      HAWAII, HAWAII, TOPAZ, TOPAZ, TOPAZ, TOPAZ, TOPAZ, TONGA, TONGA,

                      TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, CARRIZO, CARRIZO,

                      CARRIZO, CARRIZO, CARRIZO, FIJI, STONEY, POLARIS11, POLARIS11,

                      POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11,

                      POLARIS11, POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10,

                      POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10, POLARIS10

              [     3.553] (II) [KMS] Kernel modesetting enabled.

              [     3.553] (II) AMDGPU(0): ShareFD: disabled

              [     3.554] (DB) AMDGPU(0): open fd=10

              [     3.554] (II) [KMS] Kernel modesetting enabled.

              [     3.554] (II) AMDGPU(G0): ShareFD: disabled

              [     3.554] (DB) AMDGPU(G0): open fd=12

              [     3.554] (II) AMDGPU(0): AMDGPU DDX hybrid version: 16.40.5

              [     3.554] (II) AMDGPU(0): AMDGPU kernel module hybrid version: 16.40.5

              [     3.554] (II) AMDGPU(0): Creating default Display subsection in Screen section

                      "Default Screen Section" for depth/fbbpp 24/32

              [     3.554] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32

              [     3.554] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)

              [     3.554] (==) AMDGPU(0): Default visual is TrueColor

              [     3.554] (**) AMDGPU(0): Option "TearFree" "on"

              [     3.554] (==) AMDGPU(0): RGB weight 888

              [     3.554] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)

              [     3.554] (--) AMDGPU(0): Chipset: "POLARIS10" (ChipID = 0x67df)

              [...]

              [     3.563] (II) glamor: OpenGL accelerated X.org driver based.

              [     3.697] (II) glamor: EGL version 1.4:

              [     3.720] (II) AMDGPU(0): glamor detected, initialising EGL layer.

              [     3.720] (**) AMDGPU(0): TearFree enabled

              [     3.720] (WW) AMDGPU(0): KMS Pageflipping: disabled because of ShadowPrimary/TearFree

              [     3.720] (II) AMDGPU(0): Output DisplayPort-3 has no monitor section

              [     3.721] (II) AMDGPU(0): Output DisplayPort-4 has no monitor section

              [     3.721] (II) AMDGPU(0): Output DisplayPort-5 has no monitor section

              [     3.722] (II) AMDGPU(0): Output HDMI-A-1 has no monitor section

              [     3.722] (II) AMDGPU(0): EDID for output DisplayPort-3

              [     3.723] (II) AMDGPU(0): EDID for output DisplayPort-4

              [     3.723] (II) AMDGPU(0): Manufacturer: SAM  Model: 5cc  Serial#: 1280455220

              [     3.723] (II) AMDGPU(0): Year: 2010  Week: 18

              [     3.723] (II) AMDGPU(0): EDID Version: 1.3

              [     3.723] (II) AMDGPU(0): Digital Display Input

              [     3.723] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 53  vert.: 30

              [     3.723] (II) AMDGPU(0): Gamma: 2.20

              [     3.723] (II) AMDGPU(0): DPMS capabilities: Off

              [     3.723] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4

              [     3.723] (II) AMDGPU(0): First detailed timing is preferred mode

              [     3.723] (II) AMDGPU(0): redX: 0.649 redY: 0.338   greenX: 0.289 greenY: 0.609

              [...]

              [     3.724] (II) AMDGPU(G0): AMDGPU DDX hybrid version: 16.40.5

              [     3.724] (II) AMDGPU(G0): AMDGPU kernel module hybrid version: 16.40.5

              [     3.724] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32

              [     3.724] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)

              [     3.724] (==) AMDGPU(G0): Default visual is TrueColor

              [     3.724] (**) AMDGPU(G0): Option "TearFree" "on"

              [     3.724] (==) AMDGPU(G0): RGB weight 888

              [     3.724] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC)

              [     3.724] (--) AMDGPU(G0): Chipset: "POLARIS10" (ChipID = 0x67df)

              [...]

              [     3.725] (II) glamor: OpenGL accelerated X.org driver based.

              [     3.768] (II) glamor: EGL version 1.4:

              [     3.808] (II) AMDGPU(G0): glamor detected, initialising EGL layer.

              [     3.808] (**) AMDGPU(G0): TearFree enabled

              [     3.808] (WW) AMDGPU(G0): KMS Pageflipping: disabled because of ShadowPrimary/TearFree

              [     3.809] (II) AMDGPU(G0): Output DisplayPort-1-0 has no monitor section

              [     3.809] (II) AMDGPU(G0): Output DisplayPort-1-1 has no monitor section

              [     3.809] (II) AMDGPU(G0): Output DisplayPort-1-2 has no monitor section

              [     3.809] (II) AMDGPU(G0): Output HDMI-A-1-0 has no monitor section

              [     3.809] (II) AMDGPU(G0): EDID for output DisplayPort-1-0

              [     3.809] (II) AMDGPU(G0): EDID for output DisplayPort-1-1

              [     3.809] (II) AMDGPU(G0): EDID for output DisplayPort-1-2

              [     3.809] (II) AMDGPU(G0): EDID for output HDMI-A-1-0

              [     3.809] (II) AMDGPU(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.

              [     3.809] (II) AMDGPU(G0): mem size init: gart size :1ffd78000 vram size: s:1fea5a000 visible:17efc3800

              [     3.809] (II) AMDGPU(G0): Video RAM: 8366440 kByte

              [     3.809] (==) AMDGPU(G0): DPI set to (96, 96)

              [...]

               

              We win !

              2 of 2 people found this helpful
              • Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
                b14ck6u4rd

                For your information :

                AMD drivers version 17.10 need the "/usr/share/X11/xorg.conf.d/10-amdgpu-pro.conf" modifications about Tearfree to avoid Xorg.0.log flood.