Black screen on boot

ocastrof

New Member
Joined
Apr 14, 2022
Messages
6
Reaction score
1
Credits
60
Hello, thank you and congratulations to this forum that has solved many problems for me. On this occasion I have not been able to find a solution anywhere, not even outside here.

I have an Asrok A790GHX with internal graphics. I recently bought a SHAPPIRE Radeon HD 6450 graphics card. I configured the BIOS for it and when I boot up one of these things happens:
1. It shows the grub menu, I select the default option and it boots normally
2. It shows the grub menu, I select the default option and after a few seconds in black the screen goes into energy saving mode (they have no input signal), waiting one or two minutes the KDE NEON symbol appears and shows the screen of login
3. It starts like point 2 but never gets to start up and get the login screen.

We could think that it is a problem with the card or something like that, but I have a dual boot with Windows 10 and in Windows 10 this never happens.

I tried the option (amdgpu.dpm=0) but it's still the same, sometimes yes and sometimes no. In this forum https://bbs.archlinux.org/viewtopic.php?id=235215

My personal opinion is that when the kernel and its modules are loading, some processes collide and depending on the order they are executed, it ends with success or not.

This happens to me with all the linux distributions that I have tried (Ubunut, Kubuntu, Neon) and also with the liveCDs. Then is a thing of the kernel i think.

Any ideas?

Thank you very much in advance.

Same information of mi PC:
oscar@PC-KDE:~$ inxi -Fxxxrz
System: Kernel: 5.13.0-39-generic x86_64 bits: 64 compiler: N/A
Desktop: KDE Plasma 5.24.4 tk: Qt 5.15.3 wm: kwin_x11 dm: SDDM
Distro: KDE neon 20.04 5.24 base: Ubuntu 20.04 LTS Focal
Machine: Type: Desktop Mobo: ASRock model: A780GXH/128M serial: <filter>
BIOS: American Megatrends v: P1.70 date: 05/14/2010
CPU: Topology: Quad Core model: AMD Phenom II X4 20 bits: 64 type: MCP arch: K10
rev: 2 L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 22350
Speed: 800 MHz min/max: 800/2800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800
4: 800
Graphics: Device-1: AMD Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
vendor: PC Partner Limited driver: radeon v: kernel bus ID: 01:00.0
chip ID: 1002:6779
Display: x11 server: X.Org 1.20.13 driver: ati,radeon
unloaded: fbdev,modesetting,vesa compositor: kwin_x11 resolution: 1920x1080~60Hz
OpenGL: renderer: AMD CAICOS (DRM 2.50.0 / 5.13.0-39-generic LLVM 12.0.0)
v: 3.3 Mesa 21.2.6 compat-v: 3.1 direct render: Yes
Audio: Device-1: AMD SBx00 Azalia vendor: ASRock driver: snd_hda_intel v: kernel
bus ID: 00:14.2 chip ID: 1002:4383
Sound Server: ALSA v: k5.13.0-39-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock
driver: r8169 v: kernel port: e800 bus ID: 02:00.0 chip ID: 10ec:8168
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Drives: Local Storage: total: 3.01 TiB used: 632.36 GiB (20.5%)
ID-1: /dev/sda vendor: Samsung model: SSD 840 EVO 250GB size: 232.89 GiB
speed: 3.0 Gb/s serial: <filter> rev: DB6Q scheme: MBR
ID-2: /dev/sdb vendor: Crucial model: M4-CT064M4SSD2 size: 59.63 GiB
speed: 3.0 Gb/s serial: <filter> rev: 070H scheme: MBR
ID-3: /dev/sdc vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB
speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> rev: 1A01 temp: 30 C
scheme: MBR
ID-4: /dev/sde type: USB vendor: Western Digital model: WD20EARS-00MVWB0
size: 1.82 TiB serial: <filter> rev: 2021 scheme: MBR
Partition: ID-1: / size: 47.81 GiB used: 24.41 GiB (51.1%) fs: ext4 dev: /dev/sda3
ID-2: /home size: 38.20 GiB used: 9.41 GiB (24.6%) fs: ext4 dev: /dev/sda1
ID-3: /tmp size: 19.56 GiB used: 44.2 MiB (0.2%) fs: ext4 dev: /dev/sdc5
Sensors: Message: No sensors data was found. Is sensors configured?
 
Last edited:


Post back the results from
Code:
dmesg | grep -i amdgpu
 
Post back the results from
Code:
dmesg | grep -i amdgpu
For this command the output is empty:
oscar@PC-KDE:~$ sudo dmesg | grep -i amdgpu
oscar@PC-KDE:~$
But for this:
oscar@PC-KDE:~$ dmesg | grep -i radeon
[ 1.385467] [drm] radeon kernel modesetting enabled.
[ 1.385571] fb0: switching to radeondrmfb from VESA VGA
[ 1.385687] radeon 0000:01:00.0: vgaarb: deactivate vga console
[ 1.387773] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M
used)
[ 1.387776] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[ 1.387799] [drm] radeon: 1024M of VRAM memory ready
[ 1.387801] [drm] radeon: 1024M of GTT memory ready.
[ 1.392200] [drm] radeon: dpm initialized
[ 1.393955] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 1.412954] radeon 0000:01:00.0: WB enabled
[ 1.412957] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
[ 1.412959] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
[ 1.413745] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118
[ 1.413988] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 1.414034] radeon 0000:01:00.0: radeon: using MSI.
[ 1.414070] [drm] radeon: irq initialized.
[ 2.290105] [drm] Radeon Display Connectors
[ 7.937152] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs a
borting
[ 7.937242] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C89A (
len 62, WS 0, PS 0) @ 0xC8B6
[ 13.268293] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs a
borting
[ 13.268351] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C89A (
len 62, WS 0, PS 0) @ 0xC8B6
[ 18.599463] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs a
borting
[ 18.599520] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C89A (
len 62, WS 0, PS 0) @ 0xC8B6
[ 78.131581] fbcon: radeondrmfb (fb0) is primary device
[ 78.131585] radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
[ 78.144471] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
This has been the case 2 that i have talked before. 70 seconds from the first ERROR and after that all ok .. ¿?.

Thanks in advance
 
I have also read that TLP has caused issues with some Radeon models check to see if tlp is installed or not

Have you tried to blacklist Radeon? and see if that works with no errors - here is how if you want to try
Open /etc/modprobe.d/blacklist.conf as super user, or root - if it is not there simply create it.
Add the following line:
blacklist radeon
then run
Code:
sudo update-initramfs -u
then reboot.
If it does not work you can always undo it - To confirm that the module has been disabled, after rebooting run
Code:
lsmod
, and if radeon is not listed in the output then it has been blacklisted.
 
Last edited by a moderator:
I have also read that TLP has caused issues with some Radeon models check to see if tlp is installed or not

Have you tried to blacklist Radeon? and see if that works with no errors - here is how if you want to try
Open /etc/modprobe.d/blacklist.conf as super user, or root - if it is not there simply create it.
Add the following line:
blacklist radeon
then run
Code:
sudo update-initramfs -u
then reboot.
If it does not work you can always undo it - To confirm that the module has been disabled, after rebooting run
Code:
lsmod
, and if radeon is not listed in the output then it has been blacklisted.
Hello,

TLP is not installed.

I have add "blacklist radeon" and after that the screen go black BUT the monitor not go to power saver, i can go to other tty and i could confirm that the radeon has been blacklisted. The problem persist :-(.

Them, i delete "blacklist radeon" from /etc/modprobe.d/blacklist.conf and
sudo update-initramfs -u
Now i'm at the same point.
 
I think that i solve the problem. At the beginning i try with "amdgpu.dpm=0". I find in this thread https://bugzilla.kernel.org/show_bug.cgi?id=51381 a similar problem detected from the kernel 3.15 and above. At the moment with the parameter "radeon.dpm=0" i have reboot correctly three times.

I will try other options because i don't know if dpm is better than runpm. And ¿this is dangerous for my PC?

I will try and will reply the final solution.

Ah! one more thing. ¿Witch is the meaning of dpm and runpm? ¿daemond power manager and run power manager?
 
Hello again,

At the end only radeon.dpm=0 or only radeon.runpm=0 not work, but with both yes ... at the moment :) I will try with this configuration same days and if all work properly I'll reply it.
This is the result of the last one:

oscar@PC-KDE:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.13.0-39-generic root=UUID=b3d76915-3dad-4625-b10b-6b68e03d9815 ro qu
iet splash radeon.dpm=0 radeon.runpm=0 vt.handoff=7

oscar@PC-KDE:~$ dmesg | grep radeon
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.13.0-39-generic root=UUID=b3d76915-3dad
-4625-b10b-6b68e03d9815 ro quiet splash radeon.dpm=0 radeon.runpm=0 vt.handoff=7
[ 0.056020] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13.0-39-generic root=UUID=b3d769
15-3dad-4625-b10b-6b68e03d9815 ro quiet splash radeon.dpm=0 radeon.runpm=0 vt.handoff=7
[ 1.357387] [drm] radeon kernel modesetting enabled.
[ 1.357505] fb0: switching to radeondrmfb from VESA VGA
[ 1.357643] radeon 0000:01:00.0: vgaarb: deactivate vga console
[ 1.360384] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M
used)
[ 1.360395] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[ 1.360456] [drm] radeon: 1024M of VRAM memory ready
[ 1.360460] [drm] radeon: 1024M of GTT memory ready.
[ 1.361971] [drm] radeon: power management initialized
[ 1.366032] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 1.385751] radeon 0000:01:00.0: WB enabled
[ 1.385760] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
[ 1.385769] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
[ 1.386218] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118
[ 1.386649] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 1.386731] radeon 0000:01:00.0: radeon: using MSI.
[ 1.386782] [drm] radeon: irq initialized.
[ 2.371669] fbcon: radeondrmfb (fb0) is primary device
[ 2.371682] radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
[ 2.384211] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0

oscar@PC-KDE:~$ lsmod | grep radeon
radeon 1486848 32
i2c_algo_bit 16384 1 radeon
drm_ttm_helper 16384 1 radeon
ttm 69632 2 radeon,drm_ttm_helper
drm_kms_helper 253952 1 radeon
drm 557056 15 drm_kms_helper,radeon,drm_ttm_helper,ttm

Thanks for all @Lord Boltar!
 
Hi,
After six days the final solution has been:
Edit /etc/default/grub
Bash:
vi /etc/default/grub
and insert at the end of the parameter "GRUB_CMDLINE_LINUX_DEFAULT"
radeon.dpm=0 radeon.runpm=0
after that:
Bash:
sudo update-grub
I don't know if there are a better solution but it's working now.
Thanks again to @Lord Boltar for his interest.
 

Staff online


Top