Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: ma on 09 November 2024, 17:13:03

Title: Desktop missing
Post by: ma on 09 November 2024, 17:13:03
Hi everyone, I'm a new artix user and I'm very impressed so far by the speed of booting and the ease of which I managed to install some of my favorite programs using Pacman and yay.
Unfortunately after a few days I got this
Problem:

the system would start up to a black screen with mouse.  Nothing else.

Trying all sorts of key Combinations allowed me to Login as root but 'switch user' led back to a very stubborn black screen.

Holding power button 4 secs to kill.
Creating a new user from the root terminal worked but changing to it via Gui 'switch user' also led to the black screen.

Questions:
How to repair the user account system?
Why did it happen?

S6 XFCE
Dell e6440 no special GC 8 GB RAM.
Title: Re: Desktop missing
Post by: Artist on 09 November 2024, 18:02:33
Welcome to Artix  :)

Pls provide some more info, like if/what changed or was installed before the problem started, like /var/log/pacman.log, Xorg log, etc.

artist
Title: Re: Desktop missing
Post by: ma on 09 November 2024, 20:50:14
Thanks Artist,

here's Pacman.log
Title: Re: Desktop missing
Post by: ma on 09 November 2024, 20:56:07
and a couple of xorg.log files
Title: Re: Desktop missing
Post by: Artist on 09 November 2024, 21:25:57
The xorg log shows:

[    43.717] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    43.717] (EE) AIGLX error: unable to load driver i965

File /usr/lib/dri/i965_dri.so is not in any Artix package; did you maybe install packages from Arch repo's?
Arch DOES have this file, in package mesa-amber, as per https://archlinux.org/packages/extra/x86_64/mesa-amber/
You might try to install that package. Or maybe alter your kernel options in Grub or related.

artist
Title: Re: Desktop missing
Post by: ma on 10 November 2024, 07:14:31
Thats brilliant Artist, thank you.


This could be it:
Code: [Select]
ma-6440:[root]:~# pacman -Qi thorium-browser-bin
Name            : thorium-browser-bin
Version         : 128.0.6613.189-2
Description     : Chromium fork focused on high performance and security
Architecture    : x86_64
URL             : https://github.com/Alex313031/Thorium
Licenses        : BSD-3-Clause
Groups          : None
Provides        : thorium-browser
Depends On      : alsa-lib  at-spi2-core  cairo  dbus  libcups  libnotify
                  libxcomposite  libxkbcommon  libxrandr  mesa  nspr  nss
                  pango
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : thorium-browser
Replaces        : None
Installed Size  : 731,41 MiB
Packager        : Unknown Packager
Build Date      : Sa 26 Okt 2024 16:59:32 CEST
Install Date    : Sa 26 Okt 2024 17:00:46 CEST
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : None

I"ll look for mesa . . . .
Title: Re: Desktop missing
Post by: ma on 10 November 2024, 08:42:04
Strange that when I manage to log on as root I have a working desktop.
TheThorium browser dosn't run as root but it was working as user before all this started.

Mesa is 100MB .
I re-installed it - no change sofar.
Title: Re: Desktop missing
Post by: Artist on 10 November 2024, 11:31:23
Did you run it from a terminal and check for errors?

artist
Title: Re: Desktop missing
Post by: ma on 10 November 2024, 15:14:20

Terminal?
(btw I'm still relatively new at this)
mesa - command not  found
thorium - command not found


but his is interesting> I found that in Artix Applications there is a menu point Internet / Web
now 'Web" starts a browser called  epiphany.

When I start epiphany from the root terminal this happens:

Code: [Select]
(epiphany:8844): libenchant-WARNING **: 15:27:32.229: broker.vala:159: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

(epiphany:8844): libenchant-WARNING **: 15:27:32.229: broker.vala:159: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

(epiphany:8844): libenchant-WARNING **: 15:27:32.229: broker.vala:159: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

(epiphany:8844): libenchant-WARNING **: 15:27:32.229: broker.vala:159: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

(epiphany:8844): libenchant-WARNING **: 15:27:32.229: broker.vala:159: Error loading plugin: libhunspell-1.7.so.0: cannot open shared object file: No such file or directory
MESA-INTEL: warning: Haswell Vulkan support is incomplete

(epiphany:8844): Gdk-WARNING **: 15:27:33.081: Vulkan: ../mesa-24.2.6/src/amd/vulkan/radv_physical_device.c:1984: Device '/dev/dri/renderD128' is not using the AMDGPU kernel driver: Invalid argument (VK_ERROR_INCOMPATIBLE_DRIVER)
MESA-INTEL: warning: ../mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../mesa-24.2.6/src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers

So looks like 'Web'  is reliant on Mesa too.
Title: Re: Desktop missing
Post by: ma on 10 November 2024, 17:18:56
Ok, so I installed a fresh version of Artix Plasma on the same drive to see if I could somehow retrace my steps.

I started the 'Falcon' from the terminal and got loads of errors, similar to 'epiphany' above, so that's not something I caused.
Title: Re: Desktop missing
Post by: nous on 10 November 2024, 19:50:23
Does falcon launch though? It seems it does, the voikko and hunspell lines are warnings. The haswell-related error is harmless. The vulkan/amdgpu error requires you set the correct kernel boot parameter, read this article on the Arch wiki (https://wiki.archlinux.org/title/AMDGPU), especially 2.2.1.1.
Title: Re: Desktop missing
Post by: ma on 11 November 2024, 08:29:53
Ah, thanks for that.

Yes, both Falcon and Epiphany work without any noticelable problems - testing YT.
I'm using epiphany to write this now.
I'll try and understand the AMDGPU article.

Is there a way to fix my user account or start a new one that works on this system, given that I'm using the root account with no issue?
That problem cant be caused by a wrong or missing kernel driver, but the system will not shutdown properly either.
It must be something basic?
Title: Re: Desktop missing
Post by: nous on 11 November 2024, 18:57:19
Is there a way to fix my user account or start a new one that works on this system, given that I'm using the root account with no issue?
Code: [Select]
# useradd -m -G audio,video,storage,power newuser
The group membership is given as an example, adjust to your needs. Some groups may not even be needed with elogind taking care of permissions, I keep adding them anyway.
Title: Re: Desktop missing
Post by: ma on 11 November 2024, 21:59:35
Thanks nous,


I could make a new user your way but it didn't have a password so I couldn't log on to it.
*(newbie still in many ways)
System still boots to a black screen. I hit Alt + Del and Ctrl +Alt + del , Enter to get to a  log on screen.  :o

Wonder if its woth saving this partition.
I've got the community Artix running fine with Thorium browser on another partition.
I hate giving up when something is broken .  .  .  .  .
Title: Re: Desktop missing
Post by: gripped on 12 November 2024, 01:29:09
I could make a new user your way but it didn't have a password so I couldn't log on to it.
You have to create a password for the newly created user with the passwd command.

No need to give up if, as you state, you have another install you can use.
Just treat it as a learning experience, win or lose.
Title: Re: Desktop missing
Post by: ma on 12 November 2024, 12:38:04
thanks gripped,

I was too lazy to look it up - simple realy :-[
But even with new user, the log in screen is black - no visible interaction possible.
I guess that shows it is not a user problem but a non-root problem?

So if noone else can fix this in a couple of days,   I'll mark it a solved (unsolved) and delete the partition.

BTW
To move on, I tried bookmarking my tabs in epiphany  - not possible - CTL+shift+D  doesnt work and there is absolutly no menu.