[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #12 from Chí-Thanh Christopher Nguyễn--- So, with the additional dmesg output from kernel 4.15, the following appeared interesting: [ 43.356569] [drm] DC: create_links: connectors_num: physical:3, virtual:0 [ 43.356583] [drm] Unsupported Connector type:14! [ 43.356588] [drm] Connector[1] description:signal 4 [ 43.356617] [drm] Unsupported Connector type:5! If I understand drivers/gpu/drm/amd/dal/dc/core/dc_link.c correctly, the following connector types are supported in construct() CONNECTOR_ID_HDMI_TYPE_A CONNECTOR_ID_SINGLE_LINK_DVID CONNECTOR_ID_SINGLE_LINK_DVII CONNECTOR_ID_DUAL_LINK_DVID CONNECTOR_ID_DUAL_LINK_DVII CONNECTOR_ID_DISPLAY_PORT CONNECTOR_ID_EDP else the following code will print the above error message dal_logger_write(dc_ctx->logger, LOG_MAJOR_WARNING, LOG_MINOR_TM_LINK_SRV, "Unsupported Connector type:%d!\n", link->link_id.id); According to display/include/grph_object_id.h CONNECTOR_ID_VGA = 5 CONNECTOR_ID_LVDS = 14 which would explain why no working connectors are found. I will try to find an HDMI monitor to see if it lights up with amdgpu DC. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #11 from Chí-Thanh Christopher Nguyễn--- Created attachment 138824 --> https://bugs.freedesktop.org/attachment.cgi?id=138824=edit dmesg from kernel 4.15 with cik_support=1 dc=1 dc_log=1 Going back to kernel 4.15 makes no difference for me. I think that the issue reported in comment 8 is different and should be reported in a separate bug. Though I noticed that in 4.15, dc_log=1 gives more output than in 4.16 where it doesn't make any difference. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #10 from Michel Dänzer--- (In reply to David Henningsson from comment #8) > The regression is between 4.15rc2 and 4.15rc3 Any chance you can bisect between these two? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #9 from David Henningsson--- Could add that my graphics card is an RX460: 23:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:67ef] (rev cf) (prog-if 00 [VGA controller]) Subsystem: XFX Pine Group Inc. Device [1682:9460] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: amdgpu Kernel modules: amdgpu -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 David Henningssonchanged: What|Removed |Added CC||di...@ubuntu.com --- Comment #8 from David Henningsson --- Hi, I'm getting the same or similar error: * Black screen, no plymouth * "Cannot find any crtc or sizes" error in dmesg * amdgpu.dc=0 works around the issue ...and I might have a lead on it. The regression is between 4.15rc2 and 4.15rc3 (found by downloading kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/). The only one commit I could see being relevant between 4.15rc2 and 4.15rc3 is this one: commit a703c55004e1c5076d57e43771b3e7796ea0 Author: Daniel Vetter Date: Mon Dec 4 21:48:18 2017 +0100 drm: safely free connectors from connector_iter ...it seems relevant because the error I get is "Cannot find any crtc or sizes", and the code emitting this error message (in drivers/gpu/drm/drm_fb_helper.c) deals with connectors. So could this commit cause connectors to be freed where the previous code did not? It seems like this could be the case, but only if (obj->free_cb == NULL) - drm_connector_put checks for a obj->free_cb being null whereas drm_connector_put_safe decrements a refcount regardless of whether a free_cb is present or not. Does all this make sense, or am I out on deep water here? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 shital kanojechanged: What|Removed |Added URL||http:// -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #7 from Chí-Thanh Christopher Nguyễn--- The notebook also has HDMI and VGA connectors, but I do not use them currently. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #6 from Chí-Thanh Christopher Nguyễn--- It is a notebook and I am using the internal LVDS panel. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #5 from Alex Deucher--- What physical connectors are on your board and which one(s) are you using? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #4 from Chí-Thanh Christopher Nguyễn--- Created attachment 138620 --> https://bugs.freedesktop.org/attachment.cgi?id=138620=edit dmest with cik_support=1 dc=1 dc_log=1 doesn't look all that different from the one without dc_log=1 to me -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #3 from Harry Wentland--- Looks like we don't detect a display. Can you capture dmesg with cik_support=1 dc=1 dc_log=1 to get more log info? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #2 from Chí-Thanh Christopher Nguyễn--- Created attachment 138572 --> https://bugs.freedesktop.org/attachment.cgi?id=138572=edit dmesg with radeon -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 --- Comment #1 from Chí-Thanh Christopher Nguyễn--- Created attachment 138571 --> https://bugs.freedesktop.org/attachment.cgi?id=138571=edit dmesg with cik_support=1 dc=0 -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 105880] [dc][kabini] Cannot find any crtc or sizes
https://bugs.freedesktop.org/show_bug.cgi?id=105880 Bug ID: 105880 Summary: [dc][kabini] Cannot find any crtc or sizes Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: chith...@gentoo.org Created attachment 138570 --> https://bugs.freedesktop.org/attachment.cgi?id=138570=edit dmesg with cik_support=1 dc=1 When using kernel 4.16.0 and amdgpu with cik_support=1 dc=1 on Kabini (A4-1200) the screen will become blank once the module is loaded. dmesg has the following error: [drm] Cannot find any crtc or sizes With radeon or amdgpu.dc=0 the screen lights up, but I cannot use amdgpu for daily work due to bug 101926. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel