Hi,
I choose the “kernel boot graphic” category but it’s certainly half-way between several topics.
So I have a NVIDIA Corporation GP107 GeForce GTX 1050, and it seems to wreak havoc with sway (1.8.1). There are constant glitches where the wallpaper flash through whatever application is in on top, and the mouse is invisible. Which makes using the computer nigh unusable, obviously.
Right now, I have xf86-video-nouveau installed, but I tried with nvidia-inst: same exact thing.
copy /etc/sway/config.d/50-systemd-user.conf to $home$/.config/sway/config.d
and make in ~/.config/environment.d/30-envars.conf some environmental as last resort…but …
Oh, thanks, the mouse’s back.
Now it’s “utterly unusable” to "usable but just super ugly
But with some chance, wlroots-nvidia will do away with the upper half screen glitches, which are mentioned for gaming but I suppose it can happen at any time.
now I can’t install it:
gpg: failed to receive from key server: No data
error: failed to launch: gpg --recv-keys 4100929B33EEB0FD1DB852797BC79407090047CA 9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A:
I would like to add, that the tutorial I wrote is out of date and things might have changed. Also try to uninstall xf86-video-nouveau if you want to go the Nouveau route. The wlroots-nvidia package will probably not help you, if you don’t also build sway from the AUR.
I would suggest you try installing the wlroots and sway git package and see if that helps.
Meh, I don’t care either way, as long as it works. It’s a backup computer, I don’t intend to do gaming on it fortunately.
the compilations seems to fail:
sway 1.10-dev
xwayland : YES
gdk-pixbuf : YES
tray : YES
man-pages : YES
Subprojects
wlroots : NO Neither a subproject directory nor a wlroots.wrap file was found.
User defined options
auto_features : enabled
buildtype : plain
libexecdir : lib
prefix : /usr
sbindir : bin
wrap_mode : nodownload
python.bytecompile: 1
b_lto : true
b_pie : true
sd-bus-provider : libsystemd
Found ninja-1.11.1 at /usr/bin/ninja
==> Lancement de pkgver()…
==> Version mise à jour : sway-git 1.10.r7281.f7a0f06-1
==> Les sources sont prêtes.
==> Création du paquet sway-git 1.10.r7281.f7a0f06-1 (seg 05 fev 2024 19:24:20)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> ATTENTION : Utilisation de l’arbre $srcdir/ existant
==> Lancement de pkgver()…
==> Lancement de build()…
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 sway-git build -D sd-bus-provider=libsystemd
The Meson build system
Version: 1.3.1
Source dir: /home/drm/.cache/yay/sway-git/src/sway-git
Build dir: /home/drm/.cache/yay/sway-git/src/build
Build type: native build
WARNING: failed to process netrc file: ~/.netrc access too permissive: access permissions must restrict access to only the owner (None, line None).
Project name: sway
Project version: 1.10-dev
C compiler for the host machine: cc (gcc 13.2.1 “cc (GCC) 13.2.1 20230801”)
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Neither a subproject directory nor a wlroots.wrap file was found.
Subproject wlroots is buildable: NO (disabling)
You crashed my system. No joke.
Now sway doesn’t open either, because of the same “warning” of libEGL. Please help to correct. I tried reverting to normal mesa and wlroots and sway but it doesn’t give a damn.
Thank god open box could install and work out of the box, at least something can be relied on in this day and age !
Well, then sway won’t work properly with the propriatary nvidia drivers. Uninstall them and see if nouveau work.
One thing you could do is to try out hyprland. It’s somewhat similar to sway, but works better with nvidia.
Edit: did you try modesetting the nvidia driver and blacklisting the nouveau driver as mentioned inside the guide linked in the second post? Keep in mind endeavourOS uses dracut nowadays and not mkinitcpio.
Also keep in mind, Nvidia GPUs simply aren’t officially supported by sway. There will be times sway will not work with your setup.
I tried kde, mate, cinnamon, budgie, everything crashes. Does it mean the only reliable way to install anything complex on arch-based distros is to reinstall completely ?
Depends on what you did along the way. Usually installing different DEs beside one another is no problem. In your case it seems you broke something fundamental along the way, if nothing works.
Most likely your graphics drivers are not installed properly.