#[SOLVED] SDDM does not autodetect monitors after initialisation. Switching greeter fixes it

73 messages · Page 1 of 1 (latest)

stone bobcat
#

System Information

fastfetch

OS: Arch Linux x86_64
Host: B550M K (-CF)
Kernel: Linux 6.15.8-arch1-1
Uptime: 24 mins
Packages: 1534 (pacman), 10 (flatpak)
Shell: zsh 5.9
Display (VG27AQL1A): 2560x1440 @ 170 Hz in 27" [External] (NOTE: Connected via DisplayPort)
DE: KDE Plasma 6.4.3
WM: KWin (Wayland)
CPU: AMD Ryzen 5 5600X
GPU: AMD Radeon RX 7800 XT [Discrete]
Memory: 64GB total

Install information

Displ. Mgr: SDDM
Bootloader: systemd-boot
Did not use archinstall script (followed wiki)

bootloader configuration (/boot/loader/entries/arch.conf)

title   Arch Linux
linux   /vmlinuz-linux
initrd  /amd-ucode.img
initrd  /initramfs-linux.img
options root=UUID=c98c129a-402a-4f60-9dfa-82375c7e1e3c rw amdgpu.dc=1

Changes from defaults:

  • Added amdgpu.dc=1 after default options flags (ChatGPT states that because a screen is off, displays recieve no initialisation even if they're turned on after the fact. This flag is supposed to force my system to initialise a display anyway)

Repositories:

pacman only has 'core' and 'extra' enabled.
-# stated this, as there are reports of unstable repositories leading to issues like these, where bugs can possibly cause issues like these to occur

Issue:

If a display is connected to my desktop, but it is not turned on before I start my computer, I have to hard restart my device in order to get a display output from SDDM. Otherwise, I can interact with the computer (numlock works, caps lock work) but I get no display output.

Tried:

  • Installing AMD microcode (sudo pacman -S amd-ucode)
  • Using a different keyboard and mouse to wake up my computer
  • Several restarts
  • Changing systemd-boot 'options' entry to include 'amdgpu.dc=1' under the options line of /boot/loader/entries/arch.conf
  • Issue is present whether I do a soft or hard reset.

Thank you in advance for your support. I hope this is enough information to help.

#

<-- Please resize your window using the closest bar to the left of this message if you are having trouble viewing this thread on Discord Desktop. Otherwise, if you are on mobile, unfortunatly I cannot make it any more readable until Discord includes collapsable sections of messages.

pearl shale
#

Try linux-lts

#

maybe this is a bug introduced in the newest kernel version

#

and send the output of lspci -k | grep -iA3 vga

stone bobcat
stone bobcat
# pearl shale and send the output of `lspci -k | grep -iA3 vga`

Thank you for your support so far.

Switching to linux-lts does not seem to resolve the issue.

As asked, here is the output of lspci -k | grep -iA3 vga

        Subsystem: Sapphire Technology Limited Device 475d
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu```
dry lakeBOT
#

thebashforkbomb received a thank you cookie!

stone bobcat
#

I can verify that Arch is using the kernel through fastfetch

pearl shale
#

pretty sure you need the radeon module too

#

open /etc/mkinitcpio.conf in a text editor

#

and in the MODULES=()

#

make it amdgpu radeon

#

so, MODULES=(amdgpu radeon)

stone bobcat
#

I assume you meant /etc/mkinitcpio.conf?
Double checking in case 'mkinicpio.conf' is a thing

stone bobcat
dry lakeBOT
#

You're thanking too much ó_ò

pearl shale
#

oh yeah mispelling

stone bobcat
#

lol real

pearl shale
stone bobcat
#

Made the change, so I will reboot and let you know how things go!

pearl shale
#

WAIT!!!

#

@stone bobcat don't reboot yet, you need to rebuild initcpio

#

sudo mkinitcpio -S autodetect

stone bobcat
dry lakeBOT
#

You're thanking too much ó_ò

stone bobcat
#

Sorry about that

#

My bad entirely

pearl shale
#

oops

stone bobcat
pearl shale
#

because i edited it out in another message

stone bobcat
#

Now attempt a reboot?

pearl shale
#

alr now you can reboot

stone bobcat
#

This is so embarrassing empty

#

I am so sorry

pearl shale
#

spellinh**[sic]** mistakes included

stone bobcat
#

FEK
it still doesnt work

Interesting behaviour however. I can log in by blindly entering my logon password

#

Monitor gets a display and everything.

#

Might this be an SDDM configuration bug?

pearl shale
#

(switches TTY)

#

if there's something, then it's probably SDDM

stone bobcat
#

If I can access a TTY with a display output from my graphics card, then yeah, I agree

#

Kinda sucks that I’m having an issue like this when I have an all AMD system

#

TTY is accessible! But no signal if I go back to SDDM

#

I am currently logged in as my main account via TTY

#

From TTY, running startplasma-wayland works

pearl shale
#

SDDM issue

#

Maybe you should try a different login manager?

#

I personally use greetd

#

.aw Login Managers

halcyon saddleBOT
pearl shale
#

.aw LM

halcyon saddleBOT
pearl shale
stone bobcat
#

ahah

#

I'll give greetd a chance

pearl shale
#

.aw Display Manager

halcyon saddleBOT
pearl shale
#

got it right

stone bobcat
#

First time, too

pearl shale
#

when you will set it up and it will work, you can

halcyon saddleBOT
#

Too few arguments for command addnote!
Usage: .addnote <name> <text>

pearl shale
#

... solved

halcyon saddleBOT
#

#17640 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://media.discordapp.net/attachments/1377138685538992252/1394893287667667035/image.png?ex=6878771b&is=6877259b&hm=e490049052812fd977384de338fa0f0c0634c50ed75a6f5a00bc7c7a847ff278&=&format=webp&quality=lossless&width=628&height=122
Thank you

stone bobcat
#

Thanks! I know the drill - I read up before consulting for help
-# I hope it shows lmao
Thank you for your assistance as well. It is greatly appreciated

#

[SOLVED] SDDM does not autodetect monitors after initialisation.

#

Issue appears to be a bug with SDDM, as using another greeter completely resolves the issue.
Kudos to @pearl shale for the support.