rharish101 / ReGreet

Clean and customizable greeter for greetd
GNU General Public License v3.0
348 stars 16 forks source link

Blank screen at start until greetd.service is restarted manually #35

Closed pescepalla closed 11 months ago

pescepalla commented 11 months ago

greetd-regreet shows a blank screen until I switch tty and restart greetd.service, then it works regularly until boot.

Here's my regreet.toml:

[commands]
reboot = [ "off", "-r" ]
poweroff = [ "off", "" ]

[background]
path = "/usr/local/share/backgrounds/2560x1440-road_blur.jpg"
fit = "Cover" # Available values: "Fill", "Contain", "Cover", "ScaleDown"

[GTK]
application_prefer_dark_theme = true
cursor_theme_name = "Paper"
font_name = "Cantarell 16"
icon_theme_name = "ePapirus-Dark"
theme_name = "Adapta-Nokto-Eta"

and my greetd.toml:

[terminal]
vt = 1
[default_session]
command = "cage -s -- regreet"
user = "greeter"

Attached /var/log/regreet/log: log.txt

Hardware: TUXEDO Stellaris 17 Gen.3 Videocard: NVIDIA 3070 OS: Arch Linux ReGreet version: 0.1.1-1

This issue does not happen on my other laptop with the same configuration and integrated graphics, so perhaps it's because of NVIDIA?

pescepalla commented 11 months ago

Indeed, this is likely an NVIDIA issue as it is also present in SDDM if the experimental Wayland greeter is enabled.

pescepalla commented 11 months ago

The solution seems to be installing sway-nvidia and using sway --unsupported-gpu instead of cage to launch regreet.