-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
aleksfox Oct 24, 2016 1:40 PM (in response to alanian)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
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
agentb Oct 27, 2016 3:48 PM (in response to alanian)1 of 1 people found this helpfulregarding 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...
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
b14ck6u4rd Oct 30, 2016 11:02 AM (in response to alanian)2 of 2 people found this helpfulOur 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 !
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
agentb Oct 30, 2016 2:02 PM (in response to b14ck6u4rd)1 of 1 people found this helpfulThank you b14ck6u4rd, this seems to have stopped the Xorg log flood. If someone stumbles onto the thread and is unsure of vi, then gedit will do fine.
"sudo gedit /usr/share/X11/xorg.conf.d/10-amdgpu-pro.conf"
My conf file now apears
Section "OutputClass"
Identifier "amdgpu-pro"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection
Section "Files"
ModulePath "/opt/amdgpu-pro/lib/xorg/modules"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Device"
Identifier "RX480-A"
Driver "amdgpu"
Option "TearFree" "on"
EndSection
Regarding the syslog flood, this was caused by two OpenCL executables running at the same time - and by reducing to one - these errors have also stopped.
SSD is
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
jmk007 Dec 31, 2016 10:05 AM (in response to agentb)Thanks agentb for this useful post. Question: How to identify and eliminate the two OpenCL executables?
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
agentb Jan 8, 2017 6:58 AM (in response to jmk007)I knew them to be running OpenCL (BOINC project)
In general you could look to use "lsof" to see what processes are using dynamic libraries - in this case you should see libOpenCL.so.1
It's worthwhile making a post that each time AMD updates their drivers at (and fails to fix this problem) - the conf file needs to be replaced. Still broken at amdgpu-pro-16.50-362463
One good point amdgpu-pro-16.50-362463, seems to fix the syslog flooding above, and i can run multiple OpenCL executables.
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
jmk007 Jan 9, 2017 5:35 PM (in response to agentb)Thank you. I still have syslog flooding but used your tip to remove the XORG log flooding. I tried the "lsof" but could not find culprit processes that has the library open. Can you confirm that your syslog flooding has indeed stopped?
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
agentb Jan 10, 2017 2:01 PM (in response to jmk007)Yes they have stopped. You haven't posted your errors that i can see.
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
jmk007 Jan 10, 2017 5:32 PM (in response to agentb)What's the best way to post the syslog errors (there are lots of them...)?
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
jmk007 Jan 10, 2017 5:32 PM (in response to agentb)I've posted a sample of the syslog errors at Ubuntu Pastebin .
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
agentb Jan 10, 2017 7:34 PM (in response to jmk007)1 of 1 people found this helpfulThe errors are quite different (please correct the post on the askubuntu site) and these refer to the DRM (Direct Rendering Module) - drm:dm_page_flip.
If you google for that you'll find the linux kernel code which looks to be here [v2,25/26] drm/amd/dal: Adding amdgpu_dm for dal - Patchwork
You might want to ask them directly. good luck.
-
-
-
-
-
-
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
chinf Feb 2, 2017 9:05 AM (in response to b14ck6u4rd)Thanks for this, with version 16.60 drivers this mitigation for the Xorg.x.log flood still needs to be reapplied.
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
b14ck6u4rd Mar 3, 2017 12:31 PM (in response to chinf)You welcome (all).
-
-
Re: AMDGPU-PRO driver for Ubuntu 16.04 keep print message in Xorg.0.log
b14ck6u4rd May 1, 2017 4:27 AM (in response to alanian)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.
