Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] AMDGPU RX 580 Black Screen on system boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Fri Apr 17, 2020 7:13 pm    Post subject: [SOLVED] AMDGPU RX 580 Black Screen on system boot Reply with quote

Good Afternoon for everyone.

I have a problem here with a RX 580. I made a custom initramfs to boot my system and simply stays in black screen. I don't figure out this problem at all. I just tried to boot my system several times with HDMI, Display Port and others Kernel configuration. The console doesn't appear in the screen, nothing...

Here is the relevant information about my system: https://pastebin.com/iRT4Py8p

Can you'all, guys, help me to solve this problem? Please...

Thanks in advice,
Marcus V.


Last edited by mad-lnx on Thu Apr 23, 2020 6:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Fri Apr 17, 2020 8:07 pm    Post subject: Reply with quote

mad-lnx,

Welcome to Gentoo.

You don't say if you see the Grub menu, or if the display goes blank after you make your kernel choice.

Your RX 580 driver needs firmware. The firmware must be available when the driver initialises.
Depending on how you have configured the kernel amdgpu option, the firmware is need in different places.

Rebuild your kernel with EFI Framebuffer and Simple Framebuffer built in.
That will get a console so you can get error messages.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Fri Apr 17, 2020 8:32 pm    Post subject: Reply with quote

Thanks for answer me.

Nothing at all. Only a black screen when loads the bootloader. I'm using an EFI STUB. I just put the bootloader (Kernel + Initramfs) inside "\EFI\boot\bootx64.efi."

I built my Kernel with built-in polaris 10 accordingly to the following wiki page: https://wiki.gentoo.org/wiki/AMDGPU

I don't insert the ATI Radeon module, because RX 580 don't need it.

Please, look forward on the Graphics Support in my paste.

I'll apply these options and look if I receive a console screen. Just give me a couple minutes and I answer again. Thanks so much. Really appreciated the welcome... Everything!

NeddySeagoon wrote:
mad-lnx,

Welcome to Gentoo.

You don't say if you see the Grub menu, or if the display goes blank after you make your kernel choice.

Your RX 580 driver needs firmware. The firmware must be available when the driver initialises.
Depending on how you have configured the kernel amdgpu option, the firmware is need in different places.

Rebuild your kernel with EFI Framebuffer and Simple Framebuffer built in.
That will get a console so you can get error messages.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Fri Apr 17, 2020 8:41 pm    Post subject: Reply with quote

mad-lnx,

I have an RX 470.

The two framebuffer divers are not a fix. Only a diagnostic aid
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Fri Apr 17, 2020 11:11 pm    Post subject: Reply with quote

Yeah.

I already did the changes on framebuffer devices's support menu, as following:

[*] EFI-based framebuffer support
[*] Simple framebuffer support

And... Still the same problem. Nothing appear on the screen neither a console.

Just to clarify more... I continue putting my bootloader inside \EFI\boot\bootx64.efi which most firmwares boot in this path.

Probably is a problem with custom initramfs? Maybe. I think you look at already on my pastebin. I don't know...

Thanks for the help and advice. Hope to solve this problem.

NeddySeagoon wrote:
mad-lnx,

I have an RX 470.

The two framebuffer divers are not a fix. Only a diagnostic aid
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 837

PostPosted: Sat Apr 18, 2020 9:17 am    Post subject: Reply with quote

I have the same video card. I posted my kernel .config in response to a similar query recently.
_________________
Greybeard
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Sat Apr 18, 2020 10:39 am    Post subject: Reply with quote

mad-lnx,

Do you see the Grub menu?
Can you make a choice from the menu?

Its not the initrd as the console should appear before that is in use with Simple or EFI framebuffer.
Yes, I saw your pastebin. We are not yet at the stage where it is useful.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Sat Apr 18, 2020 4:41 pm    Post subject: Reply with quote

I`m not using GRUB. I`m using an EFI STUB. I just copy the bzImage to "/boot/efi/EFI/boot/bootx64.efi." Then, I don't have to choose any other choice, since I'm using EFI STUB and I don't have any other system in the same SSD.

I'll see what differences I have in my kernel config and Goverp kernel's config.

Thanks so much in advice. I'll send more messages today.

NeddySeagoon wrote:
mad-lnx,

Do you see the Grub menu?
Can you make a choice from the menu?

Its not the initrd as the console should appear before that is in use with Simple or EFI framebuffer.
Yes, I saw your pastebin. We are not yet at the stage where it is useful.
Back to top
View user's profile Send private message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Sat Apr 18, 2020 4:42 pm    Post subject: Reply with quote

Hello, Goverp. Thanks for sharing.

I'll test today and let you know if help me in some spot.

Thanks so much.

Goverp wrote:
I have the same video card. I posted my kernel .config in response to a similar query recently.
Back to top
View user's profile Send private message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Wed Apr 22, 2020 2:29 pm    Post subject: Reply with quote

Hello, guys. How are you? Hope, you're fine.

I installed a Gentoo System in a Lenovo T430 and just works properly with a custom initramfs. I just did it, because I need to figure out more precisely how the boot mechanics in depth works and I found a couple of errors in my setup. It's an Intel's Hardware instead of my Desktop System, but helps me to finds out what I want to achieve as I described before.

Now, I can give more tries on my Desktop and I let you know, guys, if it's solved and how I solved this problem. Thanks so much and I'm really, really appreciating Gentoo Linux. This will be my main distro fortunately! 100%! What I evolved in a couple days, it's like a month or more of study in another distro.

Marcus.
Back to top
View user's profile Send private message
mad-lnx
n00b
n00b


Joined: 17 Apr 2020
Posts: 22
Location: Brazil

PostPosted: Thu Apr 23, 2020 6:28 pm    Post subject: [SOLVED] AMDGPU RX 580 Black Screen on system boot Reply with quote

Hello, guys. Finally solved!

I've found four errors in my setup:

* The binaries' path of the initramfs were incorrect;
* The binaries (package.use USE flag "static" on cryptsetup, btrfs-progs and busybox) were not static;
* The Kernel doesn't had the proper configurations like: VFS Support; which is important for boot properly with a custom initramfs;
* And the EFI Stub was incorrect too. I didn't insert the argument of -u parameter to load the initrd (initrd=\EFI\Gentoo\bzImage-5.4.28.efi). So, the firmware found the Kernel, but didn't know how to initiate the initramfs or whatever.

Thanks so much, guys. Really appreciated.

We can mark this post as solved. I finally understood everything I need to boot the system properly. If anyone have problems with custom initramfs, then send me a message, I'll try to help you must as possible.

Regards,
Marcus.

NeddySeagoon wrote:
mad-lnx,

Do you see the Grub menu?
Can you make a choice from the menu?

Its not the initrd as the console should appear before that is in use with Simple or EFI framebuffer.
Yes, I saw your pastebin. We are not yet at the stage where it is useful.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum