

{"id":3128,"date":"2024-07-23T14:59:54","date_gmt":"2024-07-23T12:59:54","guid":{"rendered":"https:\/\/fabsk.eu\/blog\/?p=3128"},"modified":"2024-07-23T14:59:55","modified_gmt":"2024-07-23T12:59:55","slug":"black-screen-only-in-x-window-it-was-just-the-hdmi-cable","status":"publish","type":"post","link":"https:\/\/fabsk.eu\/blog\/2024\/07\/23\/black-screen-only-in-x-window-it-was-just-the-hdmi-cable\/","title":{"rendered":"Black screen only in X Window: it was just the HDMI cable!"},"content":{"rendered":"\n<p>And updated Kubuntu, and after a reboot a few hours later, I got the usual BIOS\/UEFI display and then a black screen (instead of the usual X session display). The session processes (Firefox\u2026) started anyway (could see them using a ssh session from my phone). TLDR: it turned out that is was probably the HDMI cable that was not properly plugged. Crazy.<\/p>\n\n\n\n<p>Same issue with the previous kernel version. Also, when I started Kubuntu in \u00ab\u00a0recovery\u00a0\u00bb mode, the console displayed properly. And when I started the OS with \u00ab\u00a0<em>nomodeset<\/em>\u00a0\u00bb in the kernel parameters (without graphic card acceleration), then I got a working X session in a low resolution.<\/p>\n\n\n\n<p>So I looked in the logs with journalctl, and I\u00a0could see that I had these lines:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># before, when working\n&#91;drm] Initialized amdgpu 3.57.0 20150101 for 0000:29:00.0 on minor 1\nfbcon: amdgpudrmfb (fb0) is primary device\namdgpu 0000:29:00.0: &#91;drm] fb0: amdgpudrmfb frame buffer device\n\n# after, with black screen\n&#91;drm] Initialized amdgpu 3.57.0 20150101 for 0000:29:00.0 on minor 1\namdgpu 0000:29:00.0: &#91;drm] Cannot find any crtc or sizes<\/code><\/pre>\n\n\n\n<p>Maybe some Ubuntu package was updated and prevented the AMD driver to be loaded? Or maybe some X configuration file was corrupted. Then I found this <a href=\"https:\/\/forums.linuxmint.com\/viewtopic.php?t=412632\">messages thread<\/a>, stating:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>HDMI connections are very sensitive to small misalignments. This type of issue shows up quite a bit in forum posts<\/p>\n<\/blockquote>\n\n\n\n<p>So I\u00a0unplugged and re-plugged the HDMI cable (which was not screwed), rebooted, and it started working properly. I would have thought that since it&rsquo;s digital it would either work properly or not at all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>And updated Kubuntu, and after a reboot a few hours later, I got the usual BIOS\/UEFI display and then a black screen (instead of the usual X session display). The session processes (Firefox\u2026) started anyway (could see them using a ssh session from my phone). TLDR: it turned out that is was probably the HDMI [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3128","post","type-post","status-publish","format-standard","hentry","category-non-classe","\"lang=\"en"],"_links":{"self":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts\/3128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/comments?post=3128"}],"version-history":[{"count":2,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts\/3128\/revisions"}],"predecessor-version":[{"id":3130,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts\/3128\/revisions\/3130"}],"wp:attachment":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/media?parent=3128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/categories?post=3128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/tags?post=3128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}