#Instead of SDDM loading, i just have a black screen and a mouse on Arch Linux

205 messages · Page 1 of 1 (latest)

fair raft
#

I run Hyprland on Arch, and when i boot up my PC, i just get to a black screen and a mouse where SDDM would normally allow me to login

fair raft
#

Hyprland crash report

rose linden
# fair raft

I haven’t looked at this but I have to ask, did you just install hyprland?

fair raft
#

Nah, i've had it for a hot minute, shut down last night with no issues and booting in after work it just doesnt work @rose linden

rose linden
#

I’m afk for a sec then I’ll look at those logs

fair raft
#

lmk

#

im moments away from reformatting

#

@rose linden

#

its definitely a nvidia issue

rose linden
#

Hold one minute

#

That’s fine it’s probably an easy solution

fair raft
#

probs, i edited an install script that auto detects nvidia for me, and not actually super sure on how to set nvidia shit up manually

#

[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid rulev2 found: nomaximizerequest
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 9.19µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.81µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.76µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.79µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 9.53µs. Estimated average calc time: 0.02µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
"
[EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
[render/egl.c:268] Failed to initialize EGL
[render/egl.c:571] Failed to initialize EGL context
[render/gles2/renderer.c:509] Could not initialize EGL
[CRITICAL] m_sWLRRenderer was NULL! This usually means wlroots could not find a GPU or enountered some issues.
[CRITICAL] Critical error thrown: wlr_gles2_renderer_create_with_drm_fd() failed!

fair raft
#

@rose linden

rose linden
#

I'm here

#

looking @fair raft

fair raft
#

ty

#

after tinkering, im not getting the black screen and cursor but the loadin hangs on Starting Terminate Plymouth Boot Screen

#

and hyprland error is

#

[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid rulev2 found: nomaximizerequest
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 9.19µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.81µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.76µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.79µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 9.53µs. Estimated average calc time: 0.02µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
"
[EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen"
[EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
[render/egl.c:268] Failed to initialize EGL
[render/egl.c:571] Failed to initialize EGL context
[render/gles2/renderer.c:509] Could not initialize EGL
[CRITICAL] m_sWLRRenderer was NULL! This usually means wlroots could not find a GPU or enountered some issues.
[CRITICAL] Critical error thrown: wlr_gles2_renderer_create_with_drm_fd() failed!

rose linden
#

can I see your hyprland conf

fair raft
#

sure

rose linden
#

.s rs

wanton lintelBOT
rose linden
#

use this ^ please

fair raft
#

np

#

actually

#

its all on github

rose linden
#

you get black screened after you load in?

fair raft
#

not black screened anymore

#

hanging here now

rose linden
#

those commit messages, future dev in the making lol

fair raft
#

shhhh

#

theyre bad

rose linden
#

they are hilarious

fair raft
#

i smoke a lot of weed /shrug

#

get high and just tinker

rose linden
#

pacman -Qi hyprland

fair raft
#

wait

#

i did that on my laptop

#

lmfao

#

forgot im sshed

#

Name : hyprland-git
Version : 0.36.0.r69.6c4e2489-1
Description : A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks.
Architecture : x86_64
Licenses : BSD
Groups : None
Provides : hyprland=0.36.0
Depends On : cairo gcc-libs glib2 glibc glslang hyprlang libdisplay-info libdrm libglvnd libinput libliftoff libx11 libxcb libxcomposite libxfixes libxkbcommon libxrender
opengl-driver pango pixman polkit seatd systemd-libs tomlplusplus wayland wayland-protocols xcb-proto xcb-util xcb-util-errors xcb-util-keysyms xcb-util-renderutil
xcb-util-wm xorg-xinput xorg-xwayland libdisplay-info.so=1-64
Optional Deps : None
Required By : grimblast-git
Optional For : None
Conflicts With : hyprland
Replaces : None
Installed Size : 51.87 MiB
Packager : Unknown Packager
Build Date : Thu 07 Mar 2024 01:01:49 PM EST
Install Date : Thu 07 Mar 2024 01:03:48 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : None

rose linden
#

so the laptop one works fine

#

just the desktop install does not

fair raft
#

yeah but from pacman -Qi im on v0.35 on laptop

rose linden
#

hyprland is on 0.37 I think they just announced a new version

#

I would switch back to hyprland and not use git

fair raft
#

yeah the mantainer hasnt updated yet and git fails to build

rose linden
#

I saw that there was issues with -git

#

I saw that too, I'm staying put on 0.35 till that's solved

#

also you said nvidia, where did you put the env variable?

#

in the environment file?

#

I didn't see it in your conf

#

or is it in one of the sourced files

fair raft
#

sources files

#

[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.41µs. Estimated average calc time: 0.03µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.30µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.25µs. Estimated average calc time: 0.03µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.24µs. Estimated average calc time: 0.03µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 8.28µs. Estimated average calc time: 0.04µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[backend/backend.c:253] Found 0 GPUs, cannot create backend
[backend/backend.c:428] Failed to open any DRM device
[CRITICAL] m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enountered some issues.
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

#

new error

rose linden
#

[CRITICAL] m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enountered some issues.

#

this is why I'm asking

#

what GPU is on your laptop?

fair raft
#

env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1

#

thats in the hyprland.conf

#

laptop is GTX 1650 mobile

#

using same drivers

#

hmmm

#

i dont think my laptop is using the nvidia driver right now

#

as nvidia-smi didnt work

rose linden
#

so you're using the same config where the nvidia card is being used

fair raft
#

yes

rose linden
#

open tty for that system and open your hyprland.conf

fair raft
#

theyre the same

#

i cloned them

rose linden
#

add this env

fair raft
#

for laptop or pc?

rose linden
#

env = WLR_RENDERER_ALLOW_SOFTWARE,1

#

where the issue is

#

just add that to the list of env you have, then reboot

fair raft
#

rebooting

#

nope lol

#

backend/backend.c:253] Found 0 GPUs, cannot create backend
[backend/backend.c:428] Failed to open any DRM device
[CRITICAL] m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enountered some issues.
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

rose linden
#

can I see pacman -Q | grep nvidia?

fair raft
#

nvidia-dkms 550.54.14-5
nvidia-utils 550.54.14-5

#

i think im just gonna reinstall lol

rose linden
#

that's up to you lol

#

I think you should reinstall hyprland not the git versions

fair raft
#

i did reinstall hyprland

rose linden
#

the git version?

fair raft
#

no

#

just normal from pacman

rose linden
#

the same thing?

#

so nvidia-smi doesn't work

#

oh hold on, are you using grub?

fair raft
#

yes

rose linden
#

did you do those drm settings too?

fair raft
#

GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=ext4"

#

and nvidia-smi is saying its failing to communicate with the drivers

rose linden
#

same for initramfs?

fair raft
#

where is initramfs again?

rose linden
#

it's the mkinitcpio portion of the hyprland NVIDIA wiki install steps

#

that sounded like a mouthful even in my head

fair raft
#

oh yes

rose linden
#

when's the last time you updated?

fair raft
#

often

#

so last night

#

/etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect keyboard keymap modconf block filesystems fsck)

rose linden
#

remove them

#

the nvidia modules

fair raft
#

done

rose linden
#

and rerun the mkinitcpio command

#

reboot and let me know if that does it for you

fair raft
#

rebooting

#

negative

rose linden
#

F

#

we have the same setup pretty much

#

wth

fair raft
#

[LOG] Disabling stdout logs! Check the log for further logs.
[backend/backend.c:253] Found 0 GPUs, cannot create backend
[backend/backend.c:428] Failed to open any DRM device
[CRITICAL] m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enounter>
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

rose linden
#

what gpu btw

fair raft
#

rtx 3070

rose linden
#

yeah our sytems are not that different

#

4080

fair raft
#

stupid

#

alright so

#

i used hyprdots install script when i first started

#

and that auto detected gpu for me

#

and ive been rocking with that ever since

#

but have been trying to steer away from it

#

i edited his script to just put my dots in instead

rose linden
#

are you the past version of me?

fair raft
#

lmfao

rose linden
#

I did the exact same thing

fair raft
#

twins

rose linden
#

I have my own stuff heavily insipired by that repo

fair raft
#

yeah i started with that repo and then moved onto a new user with all the initial settings and packages

#

and have slowly learned all the different themes, fonts, and settings i like

rose linden
#

same

fair raft
#

haha sick

rose linden
#

pacman -Q wlroots

fair raft
#

wlroots 0.17.1-1

#

finna boot up this usb lmao

rose linden
#

despite that dev's track record he'll help you out

fair raft
#

he will, but i could also just reinstall and see first

#

i dont have any data i need

#

just reinstalling games and shit is a pain

#

but this isnt the first time ive done it

rose linden
#

reinstall your drivers too

fair raft
#

yeah i have

rose linden
fair raft
#

yeah i only have my one nvme

rose linden
rose linden
#

1TB (unless you play warzone) will hold almost 100 games

#

they run for about $50 USD

fair raft
#

nope no warzone haha

#

dont even play a lot of games

#

and my internet is crazy fast

#

takes me no more than 10 mins to download most games

#

im just bitching

rose linden
#

sam but I hate redownloading most software and games

fair raft
#

as long as my configs are good i can handle redownloading software

rose linden
#

my arch install breaks I can reformat the entire drive with ease if I need to but I play my games on my win install

fair raft
#

yeah i ditched windows

#

i should prolly dualboot again

rose linden
#

I have dual booted for years, I like having another OS available if I need it but I don't discriminate, Mac for work, Arch for personal use, Win for games

fair raft
#

i just hate having to switch between OS

#

i love hyprland, its why i left windows ultimately. just having the freedom over everything and it looks fantastic

rose linden
#

same, outside of games I love my arch install, windows boots too slow, moves too slow, I miss the tiling

fair raft
#

fancywm is okay

rose linden
#

the list goes on but it's meant to deter me from playing games really, I have a steam deck that I don't use lol

#

I'll be a kbm player till I die

fair raft
#

hyrpland on steamdeck!

#

lol

#

hyprdots has a steamdeck theme im p sure lmao

rose linden
#

it does but no games on my arch install, personal rule

fair raft
#

fair

#

alright with a fresh install, and no script i kind of want to try and get nvidia working

rose linden
#

iirc, you can’t run nvidia-smi from tty

fair raft
#

nah it works

#

@rose linden hey add me mate

rose linden
fair raft
#

haha fair

#

man, even hyprdots isnt working for me anymore now

#

@rose linden

rose linden
#

what are you seeing?

#

also what did nvidia-smi say

fair raft
#

sddm loads

#

but just black screens

rose linden
#

just add the env I gave you

fair raft
#

okay it loads

#

but my configs dont after adding them

rose linden
#

any errors at the top?

fair raft
#

just the normal yellow banner it starts with

rose linden
#

how are you adding your configs then?

#

if your config doesn't have the first line then it shouldn't do that

fair raft
#

im adding my normal config

#

and its just keeping the normal hyprland.conf

rose linden
#

including the sourced files? @fair raft

fair raft
#

im back for the most part

#

but its buggy

rose linden
#

that's weird