LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-10-2018, 11:21 AM   #1
moon300
LQ Newbie
 
Registered: Dec 2009
Posts: 9

Rep: Reputation: 0
[solved] random blank screen (no signal) during boot radeon HD5750 kms


OS: Fedora 26
Videocard: AMD ATI Radeon HD5750 (Juniper)
Monitor: Philips 231T
Video driver: radeon

I post this in the hope more people find this simple solution.

Problem description:
When booting into Fedora (passing grub), during boot the screen shortly goes black (switching from a lower to higher resolution), then randomly:
1. The monitor does not get a signal anymore and displays: no signal
Only thing that is possible to do is to switch off the computer
or
2. The computer displays boot messages in higher resolution and boots normally (I don't have "quiet" in my kernel line)

What is happening?
The kernel takes over from grub and is using kernel mode setting (KMS) to display the screen.
(Read here why KMS is nice: https://wiki.archlinux.org/index.php...l_mode_setting). KMS is by default enabled.
There are some sources that state that Radeon cards cannot handle KMS.

Solution:
You *could* add "nomodeset" or "radeon.modeset=0" to the line that loads the kernel in grub. This disables KMS, but also causes resolution problems once booted.

The solution for me:
Connecting the monitor via a hdmi cable to the videocard. A black screen is still displayed shortly (<5s), but all boots succeed normally.
It was connected via a dvi to vga cable. Of course was better to connect the monitor via hdmi anyway.

Summarized:
old [random blank screen]: dvi-out videocard - cable(dvi->vga) - vga-in monitor
new [working]: hdmi videocard - cable(hdmi) - hdmi-in monitor

Greetings,
moon
 
Old 02-10-2018, 08:52 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
KMS should never be disabled in current and recent distributions except for: 1-troubleshooting; 2-in complying with proprietary driver instructions, or; 3-(uncommon/old) gfxchips lacking Xorg driver support. Without KMS, with all mainstream gfxchips, only VESA modes, none of which match any widescreen mode, are available.

Current kernels have driver functionality built-in. The radeon "driver" in the kernel is automatic, and distinct from the radeon driver for Xorg and Wayland. For Xorg, its built-in modesetting driver typically works better for older AMD/ATI gfx than the optional radeon driver.

I remember similarly inexplicable behavior in the past with my HD5450 and two or three displays. The HD5450 is a marginally newer design than moon300's HD5750, so probably the latter is like the former in having only 2 PLL clocks to feed its 3 physical output connectors. With all three in use, the PLL limitation requires the same clock be used for at least two of the displays to keep all three active.

Just now I booted F26 and F27 into multi-user.target with 2 displays connected. Everything was fine until KMS kicked in, at which point the HDMI-connected display went into power save. Then I connected a third display and booted openSUSE Tumbleweed. Two displays lit up to start, but one of the two went dark and the third lit up when KMS kicked in. Then I tried Debian Stretch the same way as TW. Two displays lit up to start, and when KMS kicked on, the third lit up along with the first two. Next I booted F26 with kernel cmdline's video parameters exactly matching those for Stretch, and got exactly the same ultimate three outputs as with Stretch. I repeated TW with the same cmdline video as Stretch, and KMS again switched the DVI off and the VGA on, but I repeated once more exactly the same, and all three stayed on.

The displays I used were 1680x1050 native on VGA, 1920x1080 native on HDMI and 2560x1080 native on DVI-D. The kernels were 4.9 on Stretch and 4.14 on Fedora and openSUSE.

For each three-connected test, always the initial display appeared on the HDMI and DVI ports. For the only two tests the (primary) DVI was unconnected.

The gist seems to be that kernel (KMS) seems to be mis-handling feedback from these triple output gfxcards unless their primary (DVI, physically closest to PCIe slot) connector is in use. When the primary is not connected, results seem to be unpredictable.
 
  


Reply

Tags
amd, ati driver, fedora, kms, video card



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screen goes blank during boot as soon as drm (KMS) kicks in nass Slackware 1 05-14-2012 10:37 AM
KMS not working, screen turns blank. Intel i3 330 Integrated Graphics equal1zer Linux - Hardware 6 01-22-2011 09:58 AM
[SOLVED] slackware 13.1 blank screen - intel kms modeset? back40 Slackware - Installation 3 05-30-2010 11:12 PM
KMS with radeon gives garbled screen with x onlyolli Linux - Software 0 06-29-2009 04:14 PM
Finally solved ATI Radeon 9600 Blank screen problem shertiger Linux - Hardware 1 04-08-2009 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration