You are not logged in.

#1 2023-11-23 00:14:40

jojo06
Member
Registered: 2023-11-04
Posts: 388

[SOLVED]Sway cant login black screen

lspci - k:

VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
	Subsystem: eVga.com. Corp. GP107 [GeForce GTX 1050 Ti]
	Kernel driver in use: nouveau
	Kernel modules: nouveau

journalctl -b | grep "nvidia"

Failed to find module 'nvidia-uvm'

(base udev autodetect modconf kms keyboard keymap block lvm2 filesystems fsck)
I uncommented the #ignore nouveau and refreshed the mkinitcpio by running the command `mkinitcpio -p linux`
* /etc/modprobe.d/ is empty
Installed nouveau, created a file in /etc/X11/xorg.conf.d/20-nouveau.conf

Section "Device" 
    Identifier "Nvidia card" 
    Driver "nouveau" 
EndSection

xorg-wayland and such [installed]::
Was going to type 20 of 'em but no smile It might be conflicting stuff or something like that ?
Might be sway misconfiguration error ?
Tried to install swayfx maybe unwanted dependencies are conflict ?

EDIT:

When i run sway from terminal its working without error but in the terminal i saw this warnings:

00:00:01.468 [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
"
00:00:01.468 [wlr] [EGL] command: eglQueryDevicesEXT, error: EGL_BAD_ALLOC (0x3003), message: "EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.
"
[wlr] [types/wlr_drm_lease_v1.c:715] No DRM backend supplied, failed to create wlr_drm_lease_v1_manager
[wlr] [types/output/render.c:25] output backend and allocator buffer capabilities don't match
[sway/desktop/output.c:928] Failed to init output render
[wlr] [backend/x11/backend.c:695] X11 error: op ChangeProperty (no minor), code Atom (no extension), sequence 59, value 0

Tried:
modprobe nouveau
rmmod nvidia
rmmod: ERROR: Module nvidia is not currently loaded
rmmod nvidia-drm
rmmod: ERROR: Module nvidia_drm is not currently loaded

It looks good but something is missing.

Last edited by jojo06 (2023-11-23 05:10:23)

Offline

#2 2023-11-23 03:22:13

jojo06
Member
Registered: 2023-11-04
Posts: 388

Re: [SOLVED]Sway cant login black screen

Uninstalled nvidia.
And if someone reading this while having the same issues, all the other problems are about configuration i figure it out. And you might wanna ignore some warnings too.

EDIT: SOLVED.

Last edited by jojo06 (2023-11-23 05:10:04)

Offline

#3 2023-11-23 05:44:38

MartinStuwe
Member
Registered: 2023-11-23
Posts: 6

Re: [SOLVED]Sway cant login black screen

I also considered to give sway a shot. What do you mean by "Uninstalled nvidia", reinstalled the nvidia driver? So does sway really work with a Nvidia card?

Last edited by MartinStuwe (2023-11-23 05:49:08)

Offline

#4 2023-11-23 10:14:22

jojo06
Member
Registered: 2023-11-04
Posts: 388

Re: [SOLVED]Sway cant login black screen

Oh, man. It's a ridiculous setup. i3 is better in terms of configuration and robustness. But they both suck, if you ask me. There are no proper configurations on the internet. I thought I'd delete it and start over, but it got worse. Maybe I didn't do it right, I don't know. I need a clean and solid installation. I deleted Nvidia, otherwise it doesn't work. If you find a nice and solid configuration, please send me the link. With the time I spent on i3 and sway installation, I could have written a DM in the i3 and sway band and made a system that could be installed in 3 seconds with git clone and then cd file & install smile besides, it would run smoothly and be clean and show errors. For example, he didn't introduce devicers in any configuration. It's not like i3, there are different configurations in different places.

Offline

Board footer

Powered by FluxBB