Bug 100800

Summary: With KMS:No link with displayport and A6-3600 APU from 4.4.x to 4.11.0.rc8, unless nomodeset kernel boot parameter
Product: DRI Reporter: abittner
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: tiwai
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg -e output of affected system when booting it with displayport monitor attached
none
Xorg log when displayport monitor attached none

Description abittner 2017-04-26 16:43:04 UTC
With KMS:No link with displayport and A6-3600 APU from 4.4.x to 4.11.0.rc8, unless nomodeset kernel boot parameter


Please see my original distribution bugreport at
<https://bugzilla.opensuse.org/show_bug.cgi?id=1035240>

Tested with OpenSuSE Leap 42.2 (all x64) kernels 4.4.x up to 4.11.0.rc8 kernels

Hardware:
Motherboard: F1A75-V PRO by Asus, with AMD cpu/gpu/apu  all-in-one: AMD A6-3600 APU with Radeon(tm) HD Graphics

hdmi port on motherboard and on the same monitor with hdmi cable works and produces link, same motherboard with displayport cable and ports and same monitor at its displayport port gives no link, unless one uses the "nomodeset" kernel boot parameter.

Thank you.
Comment 1 Alex Deucher 2017-04-26 19:52:26 UTC
Please attach your xorg log and dmesg output.
Comment 2 abittner 2017-04-27 12:43:33 UTC
with the kernel

I have following [drm
loglines:

[  +0.011717] [drm] radeon kernel modesetting enabled.
[  +0.000540] [drm] initializing kernel modesetting (SUMO 0x1002:0x964A 0x1043:0x84C8 0x00).
[  +0.000016] [drm] register mmio base: 0xFEB00000
[  +0.000001] [drm] register mmio size: 262144
[  +0.000004] [drm] Detected VRAM RAM=512M, BAR=256M
[  +0.000000] [drm] RAM width 32bits DDR
[  +0.000024] [drm] radeon: 512M of VRAM memory ready
[  +0.000001] [drm] radeon: 1024M of GTT memory ready.
[  +0.000012] [drm] Loading SUMO Microcode
[  +0.000051] [drm] Internal thermal controller without fan control
[  +0.000035] [drm] Found smc ucode version: 0x00011200
[  +0.000080] [drm] radeon: dpm initialized
[  +0.000114] [drm] GART: num cpu pages 262144, num gpu pages 262144
[  +0.018205] [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
[  +0.000002] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  +0.000001] [drm] Driver supports precise vblank timestamp query.
[  +0.000025] [drm] radeon: irq initialized.
[  +0.016359] [drm] ring test on 0 succeeded in 0 usecs
[  +0.000006] [drm] ring test on 3 succeeded in 3 usecs
[  +0.045683] [drm] ring test on 5 succeeded in 1 usecs
[  +0.009934] [drm] UVD initialized successfully.
[  +0.000385] [drm] ib test on ring 0 succeeded in 0 usecs
[  +0.000044] [drm] ib test on ring 3 succeeded in 0 usecs
[  +0.161967] [drm] ib test on ring 5 succeeded
[  +0.010613] [drm] Radeon Display Connectors
[  +0.000002] [drm] Connector 0:
[  +0.000001] [drm]   VGA-1
[  +0.000000] [drm]   HPD2
[  +0.000002] [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
[  +0.000000] [drm]   Encoders:
[  +0.000001] [drm]     CRT1: INTERNAL_UNIPHY2
[  +0.000001] [drm]     CRT1: NUTMEG
[  +0.000000] [drm] Connector 1:
[  +0.000001] [drm]   HDMI-A-1
[  +0.000000] [drm]   HPD1
[  +0.000001] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[  +0.000001] [drm]   Encoders:
[  +0.000000] [drm]     DFP1: INTERNAL_UNIPHY2
[  +0.000001] [drm] Connector 2:
[  +0.000000] [drm]   DP-1
[  +0.000001] [drm]   HPD3
[  +0.000001] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
[  +0.000000] [drm]   Encoders:
[  +0.000001] [drm]     DFP2: INTERNAL_UNIPHY
[  +0.091523] [drm] fb mappable at 0xC0366000
[  +0.000003] [drm] vram apper at 0xC0000000
[  +0.000000] [drm] size 9216000
[  +0.000001] [drm] fb depth is 24
[  +0.000000] [drm]    pitch is 7680
[  +4.944624] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
[  +0.000028] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing E262 (len 2585, WS 4, PS 4) @ 0xE94C
[  +0.039430] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery reached max voltage
[  +0.000030] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
[  +0.022498] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery reached max voltage
[  +0.000086] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
[  +0.000704] [drm] Initialized radeon 2.49.0 20080528 for 0000:00:01.0 on minor 0
[  +0.039081] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery reached max voltage
[  +0.000076] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
[  +0.021913] [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery reached max voltage
....



modinfo:

filename:       /lib/modules/4.11.0-rc8-1.g20b036c-default/kernel/drivers/gpu/drm/radeon/radeon.ko
license:        GPL and additional rights
description:    ATI Radeon
author:         Gareth Hughes, Keith Whitwell, others.
....
srcversion:     50E9ACC7FC15ADCFBF5FE57
....
depends:        drm,drm_kms_helper,ttm,i2c-algo-bit
intree:         Y
vermagic:       4.11.0-rc8-1.g20b036c-default SMP preempt mod_unload modversions 
parm:           no_wb:Disable AGP writeback for scratch registers (int)
parm:           modeset:Disable/Enable modesetting (int)
parm:           dynclks:Disable/Enable dynamic clocks (int)
parm:           r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int)
parm:           vramlimit:Restrict VRAM for testing, in megabytes (int)
parm:           agpmode:AGP Mode (-1 == PCI) (int)
parm:           gartsize:Size of PCIE/IGP gart to setup in megabytes (32, 64, etc., -1 = auto) (int)
parm:           benchmark:Run benchmark (int)
parm:           test:Run tests (int)
parm:           connector_table:Force connector table (int)
parm:           tv:TV enable (0 = disable) (int)
parm:           audio:Audio enable (-1 = auto, 0 = disable, 1 = enable) (int)
parm:           disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int)
parm:           hw_i2c:hw i2c engine enable (0 = disable) (int)
parm:           pcie_gen2:PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = enable) (int)
parm:           msi:MSI support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           lockup_timeout:GPU lockup timeout in ms (default 10000 = 10 seconds, 0 = disable) (int)
parm:           fastfb:Direct FB access for IGP chips (0 = disable, 1 = enable) (int)
parm:           dpm:DPM support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           aspm:ASPM support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           runpm:PX runtime pm (1 = force enable, 0 = disable, -1 = PX only default) (int)
parm:           hard_reset:PCI config reset (1 = force enable, 0 = disable (default)) (int)
parm:           vm_size:VM address space size in gigabytes (default 4GB) (int)
parm:           vm_block_size:VM page table size in bits (default depending on vm_size) (int)
parm:           deep_color:Deep Color support (1 = enable, 0 = disable (default)) (int)
parm:           use_pflipirq:Pflip irqs for pageflip completion (0 = disable, 1 = as fallback, 2 = exclusive (default)) (int)
parm:           bapm:BAPM support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           backlight:backlight support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           auxch:Use native auxch experimental support (1 = enable, 0 = disable, -1 = auto) (int)
parm:           mst:DisplayPort MST experimental support (1 = enable, 0 = disable) (int)



kernel rpm info:
Name        : kernel-default
Version     : 4.4.57
Release     : 18.3.1
Architecture: x86_64
Install Date: Tue Apr 25 14:14:05 2017
Group       : System/Kernel
Size        : 249253626
License     : GPL-2.0
Signature   : RSA/SHA256, Thu Mar 30 11:52:11 2017, Key ID b88b2fd43dbdc284
Source RPM  : kernel-default-4.4.57-18.3.1.nosrc.rpm
Build Date  : Thu Mar 30 11:45:47 2017
Build Host  : build33
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.kernel.org/
Summary     : The Standard Kernel
Description :
The standard kernel for both uniprocessor and multiprocessor systems.


Source Timestamp: 2017-03-30 08:39:47 +0200
GIT Revision: 39c8557a065a772bd0cbd29c588122288a6c20b3
GIT Branch: openSUSE-42.2
Distribution: openSUSE Leap 42.2
Name        : kernel-default
Version     : 4.11.rc8
Release     : 1.1.g20b036c
Architecture: x86_64
Install Date: Tue Apr 25 16:32:48 2017
Group       : System/Kernel
Size        : 271704090
License     : GPL-2.0
Signature   : RSA/SHA256, Tue Apr 25 11:07:57 2017, Key ID eceef21003579c1d
Source RPM  : kernel-default-4.11.rc8-1.1.g20b036c.nosrc.rpm
Build Date  : Tue Apr 25 11:03:49 2017
Build Host  : lamb75
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/Kernel
URL         : http://www.kernel.org/
Summary     : The Standard Kernel
Description :
The standard kernel for both uniprocessor and multiprocessor systems.


Source Timestamp: 2017-04-24 22:43:58 +0200
GIT Revision: 20b036c0ffdc3161eafe968b14b2b2bb4b7c83bb
GIT Branch: master
Distribution: Kernel:HEAD
Comment 3 abittner 2017-04-27 12:44:44 UTC
Created attachment 131091 [details]
dmesg -e output of affected system when booting it with displayport monitor attached

dmesg -e output of affected system when booting it with displayport monitor attached
Comment 4 abittner 2017-04-27 13:11:29 UTC
Created attachment 131095 [details]
Xorg log when displayport monitor attached

Xorg log when displayport monitor attached
Comment 5 Martin Peres 2019-11-19 09:28:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/797.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.