You are not logged in.

#1 2023-09-16 20:13:11

ranurag
Member
Registered: 2023-07-21
Posts: 58

[Solved] LXQT desktop crashes.

Message
When I open the lxqt-session with statx (via .xinitrc). Every thing is working fine but the warning " The desktop crashes too many times and the auto start fails.". From my observation to this is, it generates warning for the desktop features that it will not work. Because configuring desktop is not effective  no changes relies. The output is blank screen. While the other features are working fine like panel, power management and other services.


backtrace

 
Core was generated by `/usr/local/bin/pcmanfm-qt --desktop --profile=lxqt'.
Program terminated with signal SIGSEGV, Segmentation fault.
0. 0x000055c9a4ffcbc5 in PCManFM::DesktopWindow::updateFromSettings (
this=0x55c9a7066c70, settings=..., changeSlide=true)
at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/desktopwindow.cpp:898
898 selectionModel()->clearCurrentIndex();
[Current thread is 1 (Thread 0x7f6975e51880 (LWP 804))]
(gdb) bt
0. 0x000055c9a4ffcbc5 in PCManFM::DesktopWindow::updateFromSettings(PCManFM::Settings&, bool) (this=0x55c9a7066c70, settings=..., changeSlide=true)
at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/desktopwindow.cpp:898

    0x000055c9a4f9f2eb in PCManFM::Application::createDesktopWindow(int)
    (this=0x7ffe9c4b21a0, screenNum=1)
    at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/application.cpp:820
    0x000055c9a4f9cf6c in PCManFM::Application::desktopManager(bool)
    (this=0x7ffe9c4b21a0, enabled=true)
    at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/application.cpp:471
    0x000055c9a4f9b591 in PCManFM::Application::parseCommandLineArgs()
    (this=0x7ffe9c4b21a0)
    at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/application.cpp:247
    0x000055c9a4f9c490 in PCManFM::Application::exec() (this=0x7ffe9c4b21a0)
    at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/application.cpp:346
    0x000055c9a4faa64d in main(int, char**) (argc=3, argv=0x7ffe9c4b2548)
    at /home/xyz/installed_packages/lxqt/pcmanfm-qt/pcmanfm/pcmanfm.cpp:13
 

From journal

http://0x0.st/HOb2.xyz

Last edited by ranurag (2023-09-18 10:36:51)

Offline

#2 2023-09-16 20:56:01

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

#0  0x00005565c148abc5 _ZN7PCManFM13DesktopWindow18updateFromSettingsERNS_8SettingsEb (pcmanfm-qt + 0x96bc5)

https://wiki.archlinux.org/title/PCManF … g_X-server

Edit: looks related to the desktop icons, did you disable them?
=> https://github.com/lxqt/pcmanfm-qt/issues

Last edited by seth (2023-09-16 21:01:29)

Online

#3 2023-09-17 07:37:51

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

> pcmanfm-qt --desktop

 
(process:3709): GVFS-WARNING **: 13:04:55.934: The peer-to-peer connection failed: Error when getting information for file “/tmp/ranurag_lxqt/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.
isPrimaryInstance
no cached wallpaper. generate a new one!
size of original image QSize(1920, 1080)
Segmentation fault (core dumped)
 

Is this warning relatable.

Offline

#4 2023-09-17 07:40:25

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

seth wrote:
#0  0x00005565c148abc5 _ZN7PCManFM13DesktopWindow18updateFromSettingsERNS_8SettingsEb (pcmanfm-qt + 0x96bc5)

https://wiki.archlinux.org/title/PCManF … g_X-server

Edit: looks related to the desktop icons, did you disable them?
=> https://github.com/lxqt/pcmanfm-qt/issues

Tried no result yet.

Offline

#5 2023-09-17 10:07:24

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

Is this warning relatable.

Yup, and sounds very much like https://wiki.archlinux.org/title/PCManF … g_X-server

Online

#6 2023-09-17 18:23:17

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

New error:
> pcmanfm-qt --desktop

isPrimaryInstance
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: nouveau
Segmentation fault (core dumped)

I tested it on new arch machine.
Got the same massage "Desktop crashes and autostart failed".
But this time error is different.. But instead of nouveau i have installed the nvidia driver.

>  lspci -k | grep -A 2 -E "(VGA|3D)"

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
        Subsystem: Acer Incorporated [ALI] CoffeeLake-H GT2 [UHD Graphics 630]
        Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
        Subsystem: Acer Incorporated [ALI] GP107M [GeForce GTX 1050 Ti Mobile]
        Kernel driver in use: nvidia

Offline

#7 2023-09-17 19:00:14

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

You're more likely also running on the inte chip.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General and the outputs of "glxinfo -B" and "printenv"

Online

#8 2023-09-18 05:58:30

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

> Xorg.0.log

 https://0x0.st/HOQ6.0.log 

>glxinfo -B

 
name of display: :0
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: nouveau
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e9b)
    Version: 23.1.7
    Accelerated: yes
    Video memory: 7786MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20



display: :0  screen: 1
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4096 MB
    Total available memory: 4096 MB
    Currently available dedicated video memory: 4027 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 535.104.05
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 535.104.05
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 535.104.05
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
 

>printenv

SHELL=/bin/bash
WINDOWID=0
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc:/etc/xdg:/usr/share
XDG_MENU_PREFIX=lxqt-
LANGUAGE=
XDG_DATA_HOME=/home/xyz/.local/share
CREDENTIALS_DIRECTORY=/run/credentials/getty@tty1.service
XDG_CONFIG_HOME=/home/xyz/.config
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
LXQT_SESSION_CONFIG=session
EDITOR=vim
GTK_MODULES=canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/xyz/.local/share/xorg
LOGNAME=xyz
QT_QPA_PLATFORMTHEME=lxqt
XDG_SESSION_TYPE=tty
SYSTEMD_EXEC_PID=523
XAUTHORITY=/home/xyz/.Xauthority
WINDOWPATH=1
MOTD_SHOWN=pam
LD_PRELOAD=
HOME=/home/xyz
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=LXQt
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure
INVOCATION_ID=a559c408a4d64c439fda39ca96b4e44e
GTK_CSD=0
XDG_CACHE_HOME=/home/xyz/.cache
XDG_SESSION_CLASS=user
TERM=xterm-256color
GTK_OVERLAY_SCROLLING=0
USER=xyz
COLORFGBG=15;0
DISPLAY=:0
SHLVL=3
PAGER=vimpager
XDG_VTNR=1
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/tmp/xyz_lxqt                                                                                     
QT_PLATFORM_PLUGIN=lxqt
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
XDG_DATA_DIRS=/home/xyz/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/usr/share
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin:/usr/sbin/:/usr/local/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/xyz
_=/usr/bin/printenv
OLDPWD=/home/xyz

Offline

#9 2023-09-18 06:50:33

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

[  3807.131] (**) |-->Screen "Screen0" (0)
[  3807.131] (**) |   |-->Monitor "Monitor0"
[  3807.131] (**) |   |-->Device "Card0"
[  3807.131] (**) |-->Screen "Screen1" (1)
[  3807.131] (**) |   |-->Monitor "Monitor1"
[  3807.132] (**) |   |-->Device "Card1"
[  3807.132] (**) |-->Input Device "Mouse0"
[  3807.132] (**) |-->Input Device "Keyboard0"

Are you *deliberately* running https://wiki.archlinux.org/title/Multih … te_screens ?
Are you trying to run lxqt on :0.0 or :0.1 ?

Online

#10 2023-09-18 06:57:50

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

on :0.0
http://0x0.st/HO1u.jpg

[  3809.480] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[  3809.480] (EE) NVIDIA:     system's kernel log for additional error messages and

While the Gnome session is running perfectly.

Last edited by ranurag (2023-09-18 07:32:23)

Offline

#11 2023-09-18 07:21:57

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

Please replace the oversized image w/ a link. It also doesn't tell much.

seth wrote:

Are you *deliberately* running this setup?

The server for which you posted a log btw. also failed to start:

[  3809.480] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[  3809.480] (EE) NVIDIA:     system's kernel log for additional error messages and
[  3809.480] (EE) NVIDIA:     consult the NVIDIA README for details.
[  3809.480] Number of created screens does not match number of detected devices.
  Configuration failed.
[  3809.530] (EE) Server terminated with error (2). Closing log file.

Online

#12 2023-09-18 07:37:46

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

Sorry, For the Xorg log here is the updated one.
http://0x0.st/HO1x.0.log

 
[    15.648] (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)
[    15.648] (EE) AIGLX error: unable to load driver i965

I change the config (just to see), intel driver (i965) for screen :0.0.
same result.

Last edited by ranurag (2023-09-18 07:41:40)

Offline

#13 2023-09-18 07:53:19

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

You changed what config to what?

Remove xf86-video-intel.

Also you've still not answered whether you're deliberately using this kind of setup - there're no outputs attached to the nvidia chip, what makes all of this rather strange.

Online

#14 2023-09-18 08:43:09

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

I am using the default config generated by xorg/nvidia. (form arch wiki - ( Xorg :0 -configure/nvidia-xconfig)).

> xorg.conf
http://0x0.st/HOjz.conf

> xorg.conf.d/gpu.conf
http://0x0.st/HOji.conf

xorg log
http://0x0.st/HOjH.0.log

After removing xf86-video-intel the xorg session stucks and I have to kill it from tty2. Reinstalling it works fine, but the problem lies the same.

Last edited by ranurag (2023-09-18 08:50:58)

Offline

#15 2023-09-18 09:09:37

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

The server fails because you still reference the intel driver.
Remove the config you generated, it's completely wrong for yor setup.
Also remove xf86-video-intel
Then post an updated xorg log.

Online

#16 2023-09-18 09:14:57

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,609

Re: [Solved] LXQT desktop crashes.

https://wiki.archlinux.org/title/Xorg#Configuration wrote:

Note: Arch supplies default configuration files in /usr/share/X11/xorg.conf.d/, and no extra configuration is necessary for most setups.

your xorg conf has 8 lines that do something meaningful and that something is forcing X to use xf86-video-intel and the nvidiia proprietary driver.

The gpu.conf file has the same 8 lines .
remove both files.

Last edited by Lone_Wolf (2023-09-18 09:15:30)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#17 2023-09-18 10:00:15

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

>glxinfo -B

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e9b)
    Version: 23.1.7
    Accelerated: yes
    Video memory: 7786MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.7-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.7-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.7-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

image:
http://0x0.st/HOj3.jpg

Thank you for your time. Always appreciable. 
So the problem starts with lxqt and end with xorg config. lol. It takes my lots of time to configure/debug the lxqt but I should take these expert advises from here first. Thank you and also welcome for my next issue soon smile .

Offline

#18 2023-09-18 11:07:29

ranurag
Member
Registered: 2023-07-21
Posts: 58

Re: [Solved] LXQT desktop crashes.

But the point arises, after removing the xorg.conf file and files form xorg.conf.d, the session works when restarts. But it not generates new xorg conf file so, don't xorg need these files?

Offline

#19 2023-09-18 15:26:30

seth
Member
Registered: 2012-09-03
Posts: 45,387

Re: [Solved] LXQT desktop crashes.

The Xorg server has decent autodetection abilities and generally does the right thing™ (ie. what Joe User wants/expects) for any given hardware.
Nudging and overriding the config is done via drop-ins that are usually provided by the related packages.

The only reasons to write a local server config are usually if you've very exotic hardware or very exotic ideas on how the server should be configured and think "jaja, I know this is for most people but I want something different and I know better than the Xorg server" and then you know better or show up here to ask why your config doesn't work wink

You *never* want to  have a static server config "just because".

Online

Board footer

Powered by FluxBB