You are not logged in.

#1 2024-03-07 19:58:13

entnuo
Member
Registered: 2024-03-07
Posts: 11

[SOLVED] Can't start sway as a regular user but only as root user

As the title says, logging in as root and using `sway` in tty starts it. But logging in as my regular user it outputs an error that I'm unable to understand and fix it.

Here the log when starting as a regular user: https://0x0.st/H7Fu.log

And here is when starting as root user: https://0x0.st/H7FS.log

Thanks in advance and sorry to bother.

Entnuo.

Last edited by entnuo (2024-03-07 20:45:25)

Offline

#2 2024-03-07 20:04:15

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

Re: [SOLVED] Can't start sway as a regular user but only as root user

You're likely  overriding some essential GL variable unconditionally, i.e. it should almost certainly not try to load i965 by default which has been deprecated and removed from current mesa. Output of

printenv

Last edited by V1del (2024-03-07 20:04:34)

Online

#3 2024-03-07 20:09:14

entnuo
Member
Registered: 2024-03-07
Posts: 11

Re: [SOLVED] Can't start sway as a regular user but only as root user

Hi V1del, thanks for the quick reply.

Here the output of printenv: https://0x0.st/H7Fj.log

Offline

#4 2024-03-07 20:19:19

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

Re: [SOLVED] Can't start sway as a regular user but only as root user

MESA_LOADER_DRIVER_OVERRIDE=i965

get rid of that.

Online

#5 2024-03-07 20:45:08

entnuo
Member
Registered: 2024-03-07
Posts: 11

Re: [SOLVED] Can't start sway as a regular user but only as root user

V1del wrote:
MESA_LOADER_DRIVER_OVERRIDE=i965

get rid of that.

Perfect, it's now working as intended. That line was in my .zprofile to prevent mpv freezing my laptop in an old configuration (don't know why but it solved it at the time).

Thank you very much, I'll be marking as solved. Have a nice day/night.

Entnuo.

EDIT: this seems to have fixed the weird lag I was having when playing steam games. Weird lag because these games ran smooth with the variable setted as such before upgrading my laptop (4 GB DDR4 -> 2x8 GB DDR4; 1 TB -> 480 GB SSD)  and changing distro after upgrade (mint -> arch).

Last edited by entnuo (2024-03-07 21:12:50)

Offline

Board footer

Powered by FluxBB