You are not logged in.

#1 2020-11-03 15:32:47

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

[SOLVED] Blackscreen after booting for the first time

So I have a fresh new dual boot-arch install. The kernel that I have installed is 5.9.2-zen1-1-zen, the graphics card is an rx5700xt
During the install everything went smoothly and without any problems. For the first boot it booted up just fine until (I believe not sure about this) the gpu drivers are loaded. When that happens my monitor gives doesnt recieve any output from my GPU. Arch is however still running (verified by logging in and typing sudo reboot)

The weird part here is that while most of the time it stops it sometimes just works. However when I'm able to boot and the gpu doesn't give an error I get this error message.

I tried booting with the kernel parameter

 nomodeset 

however it does boot at this point but hangs at

[OK] Reached target graphical interface

I am able to switch to tty2 and login there. I can't run startkde even tho i installed it.

What i tried so far:
install amdgpu-pro-libgl
install mesa drivers

Any help is greatly appreciated

Last edited by SiemG (2020-11-03 21:46:23)

Offline

#2 2020-11-03 15:48:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,704

Re: [SOLVED] Blackscreen after booting for the first time

GUI more or less hard-depends on KMS (and you don't want any approach w/o)

Try passing

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

to the kernel and also https://wiki.archlinux.org/index.php/Ke … _KMS_start
https://wiki.archlinux.org/index.php/Kernel_parameters

Also ensure windows fast boot is disabled (link in my signature)

Offline

#3 2020-11-03 16:38:47

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

Re: [SOLVED] Blackscreen after booting for the first time

Thanks for the quickreply, i added amdgpu to /etc/mkinitcpio.conf. And passed the suggested kernel params to the kernel, however I experience the same problem when passing the kernel parameter

 nomodeset 

. Meaning that i boot up just fine but it hangs at

 [OK] Reached target graphical interface 

I also am not able to execute

startplasma-wayland

It gives the following error message:

 "/usr/bin/kwin_wayland" ("--xwayland, "--exit-with-session=/usr/lib/startplasma-wayland session") exited with code 11
startplasmacompositor: Shutting down...

For the plasma install I followed this guide
I do have to add that without these kernel parameters that I get a black screen after (as said previously) I believe the graphics drivers are loaded.
But this also happends with the kernel parameter "nomodeset"

Offline

#4 2020-11-03 17:10:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,704

Re: [SOLVED] Blackscreen after booting for the first time

Did you also recreate the initramfs?
What about windows fast-boot?
Do you still get kernel errors?

Offline

#5 2020-11-03 17:58:43

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

Re: [SOLVED] Blackscreen after booting for the first time

The answers to your questions:
Yes i have also regenerated the initramfs, as explained on the wiki
Windows fastboot is disabled
I don't see any kernel errors on my screen.

I'm still not able to load a windows manager, and on boot it still hangs on reached target graphical interface.
To get a working shell I need to switch over to tty2 since tty1 just hangs and isn't accepting input

However booting without the parameters that you suggested in the 1st post (excluding the early KMS start) I get a quick glimps on what looks to be kernel errors but my screen quickly turns off

Offline

#6 2020-11-03 20:48:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,704

Re: [SOLVED] Blackscreen after booting for the first time

Can you boot the multi-user.target (2nd link in my signature) and from there startx/xinit?

Offline

#7 2020-11-03 21:21:27

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

Re: [SOLVED] Blackscreen after booting for the first time

after booting with the additional kernel parameter I booted without anyproblem into tty1 (so no hangs at Reached target graphical interface) and looks to be the correct resolution.
However I dont get X11 to cooperate. It gives a seg fault according to the logs seen here

Edit: Used this part of the wiki to use startx, should be fine I think

Last edited by SiemG (2020-11-03 21:23:30)

Offline

#8 2020-11-03 21:28:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,704

Re: [SOLVED] Blackscreen after booting for the first time

"pacman -Qo /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so" is the amdgpu-pro driver?

Offline

#9 2020-11-03 21:31:46

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

Re: [SOLVED] Blackscreen after booting for the first time

yes, according to pacman it is owned by amdgpu-pro-libgl 20.30_1109583-1, so let me guess the amdgpu-pro driver is causing issues atm?

Offline

#10 2020-11-03 21:35:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,704

Re: [SOLVED] Blackscreen after booting for the first time

Smells like, yes. Drop that and use the regular amdgpu driver.

Offline

#11 2020-11-03 21:46:03

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

Re: [SOLVED] Blackscreen after booting for the first time

Thanks a lot! It is working now without a hitch, and boots right up.
To conclude I need to boot with the following kernel parameters

 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0 systemd.unit=multi-user.target

and remove the amdgpu_pro that was installed on previous try to trouble shoot it.

Offline

#12 2020-11-03 21:49:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,704

Re: [SOLVED] Blackscreen after booting for the first time

I'd start to cut down on the restrictions.

"systemd.unit=multi-user.target" is probably not required at all and then you could dial down on the PM parameters one-by-one, amdgpu.dpm=0 is probably the critical one, so you might be able to do away w/ the others.

Offline

#13 2020-11-03 21:50:25

SiemG
Member
From: Netherlands
Registered: 2020-11-03
Posts: 7

Re: [SOLVED] Blackscreen after booting for the first time

will do, thanks again

Offline

Board footer

Powered by FluxBB