You are not logged in.

#1 2022-06-01 18:14:25

janne3
Member
Registered: 2022-06-01
Posts: 13

[SOLVED] Sway no longer working with the new archinstall

About two weeks ago, when the open source nvidia driver was added to archinstall, I installed sway along with it and everything worked fine (with the --unsupported-gpu flag). Today a new image was released (06.01) with an updated archinstall that breaks Sway when you install arch and try to run it. Here is the log: http://0x0.st/oBUj.txt. nvidia-drm.modeset=1 of course is enabled. Please help sad

Last edited by janne3 (2022-06-02 10:19:15)

Offline

#2 2022-06-01 18:34:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: [SOLVED] Sway no longer working with the new archinstall

There's an issue in the 5.18 kernel with a new instruction that was added, add ibt=off to your kernel parameters.

Offline

#3 2022-06-01 18:41:39

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

Thanks for the answer, but it didn't help, the error remains (I added "ibt=off" to the end of the kernel parameters in /boot/loader/entries/2022-06-01_17-44-40_linux.conf and rebooted the pc). I think this error may be related to systemd (logind, etc.)

Last edited by janne3 (2022-06-01 18:45:40)

Offline

#4 2022-06-01 18:54:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,651

Re: [SOLVED] Sway no longer working with the new archinstall

Maybe. Maybe not.
Wel'll need a system journal to see what's going on (sudo journalctl -b)

00:00:00.031 [ERROR] [sway/main.c:62] !!! Proprietary Nvidia drivers are in use !!!

Doesn't really sound like the nvidia-open module is being used?

Offline

#5 2022-06-01 19:00:42

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

sudo journalctl -b: https://0x0.st/oBUD.txt

Last edited by janne3 (2022-06-01 19:00:54)

Offline

#6 2022-06-01 19:04:31

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

I just realized that my video card is not detected in nvidia-smi...

Offline

#7 2022-06-01 19:09:44

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

I don't have integrated graphics, so I think the problem is not in gpu, but the driver, since my 1660 super makes the monitor work. I will try to install Arch Linux with proprietary drivers. I apologize for this hmm

Last edited by janne3 (2022-06-01 19:10:41)

Offline

#8 2022-06-01 19:11:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,651

Re: [SOLVED] Sway no longer working with the new archinstall

Jun 01 18:59:10 archlinux systemd[1]: Reached target Graphical Interface.
Jun 01 18:59:10 archlinux systemd[1]: Startup finished in 9.408s (firmware) + 867ms (loader) + 2.981s (kernel) + 2.186s (userspace) = 15.443s.
Jun 01 18:59:10 archlinux kernel: audit: type=1130 audit(1654109950.183:32): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 01 18:59:10 archlinux kernel: audit: type=1130 audit(1654109950.183:33): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 01 18:59:10 archlinux kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0

You're reaching the graphical target before the nvidia GPU is initialized.
https://wiki.archlinux.org/title/NVIDIA#Early_loading

Sidebar:

Today a new image was released (06.01) with an updated archinstall

Are you re-installing arch w/ every install iso  release?? That's not the supposed procedure…

Offline

#9 2022-06-01 19:25:22

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

I reinstalled Arch Linux with proprietary drivers, added the necessary kernel parameters, but Sway still does not start. It's strange, this has never happened before with proprietary drivers

Are you re-installing arch w/ every install iso  release?? That's not the supposed procedure…

Not really, it just so happened that I had to install it on the day of the iso release smile

You're reaching the graphical target before the nvidia GPU is initialized.
https://wiki.archlinux.org/title/NVIDIA#Early_loading


Thanks, I'll try it now

Offline

#10 2022-06-01 19:39:46

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

1. I changed /etc/mkinitcpio.conf

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

2. mkinitcpio -P
3. Rebooted pc

But it didn't help,

nvidia gpu <...>: i2c timeout error e0000000

is still on monitor when I run arch

Last edited by janne3 (2022-06-01 19:43:28)

Offline

#11 2022-06-01 19:44:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,651

Re: [SOLVED] Sway no longer working with the new archinstall

That's not the same as the GPU being too late.
Please post an updated journal, the output of "lspci" and "nvidia-smi"

Offline

#12 2022-06-01 19:50:39

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

Offline

#13 2022-06-01 20:00:36

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

Sorry, I forgot.
sudo journalctl -b: https://termbin.com/he1o

Offline

#14 2022-06-01 20:39:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,651

Re: [SOLVED] Sway no longer working with the new archinstall

The GPU is active before the graphical target and responds to nvidia-smi.
How do you start sway and what does an updated sway log now look like?

Offline

#15 2022-06-01 20:46:57

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

sway --unsupported-gpu -d: https://termbin.com/556ta
Btw, secure boot and fastboot disabled

Last edited by janne3 (2022-06-01 20:51:39)

Offline

#16 2022-06-01 20:53:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,651

Re: [SOLVED] Sway no longer working with the new archinstall

You're not using https://aur.archlinux.org/packages/wlro … treams-git though?
Do you

GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

?

Offline

#17 2022-06-01 20:59:31

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

seth wrote:

Yes, it helped before, but now the latest drivers work well with Sway

Do you

GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

?

Unfortunately, it didn't help sad
In any case, thanks a lot for your help smile
I'll wait until the problem is solved (updates, etc)

Last edited by janne3 (2022-06-02 10:13:25)

Offline

#18 2022-06-02 09:46:46

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

I just installed Arch Linux with the nouveau driver. Still the same error

Last edited by janne3 (2022-06-02 09:47:01)

Offline

#19 2022-06-02 09:59:12

janne3
Member
Registered: 2022-06-01
Posts: 13

Re: [SOLVED] Sway no longer working with the new archinstall

I solved the problem by running seatd. The problem seems to be with systemd

More: https://github.com/archlinux/archinstall/issues/1294

Last edited by janne3 (2022-06-02 10:19:34)

Offline

Board footer

Powered by FluxBB