View previous topic :: View next topic |
Author |
Message |
arcctgx n00b
Joined: 07 Jul 2014 Posts: 30
|
Posted: Sat Feb 25, 2023 9:52 pm Post subject: xfce4-session segfault on startx |
|
|
Hi,
After recent @world update I started having problems with starting XFCE. I'm normally starting Xserver from the command line with "startx" (I'm not using a login manager). I have NVidia GeForce GTS 450 GPU with the proprietary driver nvidia-drivers-390.157. What happens is that after "startx" xfce4-session segfaults, causing the X server to terminate.
My .xinitrc contains the following command to start XFCE:
Code: | exec dbus-launch --exit-with-session xfce4-session |
In my further testing I used just "startxfce4", it is simpler and the same crash happens regardless. This is what happens when I try to start XFCE:
Code: | $ startxfce4
# X server exits after a second or so
$ dmesg | tail -4
[ 5153.646250] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window]
[ 5153.646256] caller _nv001015rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs
[ 5154.128762] xfce4-session[9882]: segfault at 0 ip 0000000000000000 sp 00007ffd1bae1cc8 error 14 in xfce4-session[55dfbe79c000+12000] likely on CPU 1 (core 1, socket 0)
[ 5154.128773] Code: Unable to access opcode bytes at 0xffffffffffffffd6. |
These "resource sanity check" and "mapping multiple BARs" messages have been appearing before when things were working fine. Messages about the segmentation fault and opcode bytes are new. The Xorg log doesn't show anything particularly interesting. It appears it shuts down cleanly after xfce4-session crashed.
Code: | [ 5153.534]
X.Org X Server 1.21.1.6
X Protocol Version 11, Revision 0
[ 5153.534] Current Operating System: Linux necronom 6.1.12-gentoo #2 SMP Sat Feb 25 20:30:56 CET 2023 x86_64
[ 5153.534] Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.12-gentoo root=/dev/sda4 ro root=PARTUUID=65c268ba-2678-4ac4-bb55-abadc80bb91e resume=PARTUUID=fc791b9a-ae46-47f8-af70-765b9637de48 printk.time=0 delayacct
[ 5153.535]
[ 5153.535] Current version of pixman: 0.42.2
[ 5153.535] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5153.535] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5153.535] (==) Log file: "/home/arcctgx/.local/share/xorg/Xorg.0.log", Time: Sat Feb 25 22:13:48 2023
[ 5153.535] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 5153.535] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5153.535] (==) No Layout section. Using the first Screen section.
[ 5153.535] (==) No screen section available. Using defaults.
[ 5153.535] (**) |-->Screen "Default Screen Section" (0)
[ 5153.535] (**) | |-->Monitor "<default monitor>"
[ 5153.536] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 5153.536] (**) | |-->Device "GTS450"
[ 5153.536] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5153.536] (==) Automatically adding devices
[ 5153.536] (==) Automatically enabling devices
[ 5153.536] (==) Automatically adding GPU devices
[ 5153.536] (==) Automatically binding GPU devices
[ 5153.536] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5153.536] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 5153.536] Entry deleted from font path.
[ 5153.536] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 5153.536] Entry deleted from font path.
[ 5153.536] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 5153.536] Entry deleted from font path.
[ 5153.536] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 5153.536] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 5153.536] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5153.536] (II) Module ABI versions:
[ 5153.536] X.Org ANSI C Emulation: 0.4
[ 5153.536] X.Org Video Driver: 25.2
[ 5153.536] X.Org XInput driver : 24.4
[ 5153.536] X.Org Server Extension : 10.0
[ 5153.536] (++) using VT number 1
[ 5153.537] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 5153.538] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 5153.538] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[ 5153.538] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 10 paused 0
[ 5153.538] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5153.538] (II) Platform probe for /sys/devices/platform/simple-framebuffer.0/drm/card0
[ 5153.538] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 5153.539] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib64/extensions/nvidia,/usr/lib64/xorg/modules"
[ 5153.540] (--) PCI:*(1@0:0:0) 10de:0dc4:1043:837a rev 161, Mem @ 0xf4000000/33554432, 0xe0000000/134217728, 0xe8000000/67108864, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 5153.540] (II) LoadModule: "glx"
[ 5153.540] (II) Loading /usr/lib64/extensions/nvidia/libglx.so
[ 5153.543] (II) Module glx: vendor="NVIDIA Corporation"
[ 5153.543] compiled for 4.0.2, module version = 1.0.0
[ 5153.543] Module class: X.Org Server Extension
[ 5153.543] (II) NVIDIA GLX Module 390.157 Wed Oct 12 09:19:15 UTC 2022
[ 5153.543] (II) LoadModule: "nvidia"
[ 5153.544] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 5153.544] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 5153.544] compiled for 4.0.2, module version = 1.0.0
[ 5153.544] Module class: X.Org Video Driver
[ 5153.544] (II) NVIDIA dlloader X Driver 390.157 Wed Oct 12 09:21:41 UTC 2022
[ 5153.544] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 5153.544] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 5153.544] (II) systemd-logind: releasing fd for 226:1
[ 5153.544] (II) Loading sub module "fb"
[ 5153.544] (II) LoadModule: "fb"
[ 5153.544] (II) Module "fb" already built-in
[ 5153.544] (II) Loading sub module "wfb"
[ 5153.544] (II) LoadModule: "wfb"
[ 5153.544] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 5153.545] (II) Module wfb: vendor="X.Org Foundation"
[ 5153.545] compiled for 1.21.1.6, module version = 1.0.0
[ 5153.545] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5153.545] (II) Loading sub module "ramdac"
[ 5153.545] (II) LoadModule: "ramdac"
[ 5153.545] (II) Module "ramdac" already built-in
[ 5153.545] (II) systemd-logind: releasing fd for 226:0
[ 5153.551] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 5153.551] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 5153.551] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 5153.551] (==) NVIDIA(0): RGB weight 888
[ 5153.551] (==) NVIDIA(0): Default visual is TrueColor
[ 5153.551] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 5153.551] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[ 5153.551] (**) NVIDIA(0): Option "DPI" "96x96"
[ 5153.551] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 5153.551] (**) NVIDIA(0): Enabling 2D acceleration
[ 5153.796] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 5153.796] (--) NVIDIA(0): CRT-0
[ 5153.796] (--) NVIDIA(0): CRT-1 (boot)
[ 5153.796] (--) NVIDIA(0): DFP-0
[ 5153.796] (--) NVIDIA(0): DFP-1
[ 5153.797] (II) NVIDIA(0): NVIDIA GPU GeForce GTS 450 (GF106) at PCI:1:0:0 (GPU-0)
[ 5153.797] (--) NVIDIA(0): Memory: 1048576 kBytes
[ 5153.797] (--) NVIDIA(0): VideoBIOS: 70.06.31.00.00
[ 5153.797] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 5153.799] (--) NVIDIA(GPU-0): CRT-0: disconnected
[ 5153.799] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 5153.799] (--) NVIDIA(GPU-0):
[ 5153.832] (--) NVIDIA(GPU-0): Maxdata/Belinea 101725 (CRT-1): connected
[ 5153.832] (--) NVIDIA(GPU-0): Maxdata/Belinea 101725 (CRT-1): 400.0 MHz maximum pixel clock
[ 5153.832] (--) NVIDIA(GPU-0):
[ 5153.834] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 5153.834] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[ 5153.834] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[ 5153.834] (--) NVIDIA(GPU-0):
[ 5153.834] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 5153.834] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 5153.834] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 5153.834] (--) NVIDIA(GPU-0):
[ 5153.837] (==) NVIDIA(0):
[ 5153.837] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 5153.837] (==) NVIDIA(0): will be used as the requested mode.
[ 5153.837] (==) NVIDIA(0):
[ 5153.837] (II) NVIDIA(0): Validated MetaModes:
[ 5153.837] (II) NVIDIA(0): "CRT-1:nvidia-auto-select"
[ 5153.837] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[ 5153.839] (**) NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
[ 5153.839] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[ 5153.839] (II) NVIDIA: access.
[ 5153.862] (II) NVIDIA(0): Setting mode "CRT-1:nvidia-auto-select"
[ 5153.906] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 5153.907] (==) NVIDIA(0): Backing store enabled
[ 5153.907] (==) NVIDIA(0): Silken mouse enabled
[ 5153.907] (==) NVIDIA(0): DPMS enabled
[ 5153.907] (II) Loading sub module "dri2"
[ 5153.907] (II) LoadModule: "dri2"
[ 5153.907] (II) Module "dri2" already built-in
[ 5153.907] (II) NVIDIA(0): [DRI2] Setup complete
[ 5153.907] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 5153.907] (II) Initializing extension Generic Event Extension
[ 5153.907] (II) Initializing extension SHAPE
[ 5153.907] (II) Initializing extension MIT-SHM
[ 5153.907] (II) Initializing extension XInputExtension
[ 5153.907] (II) Initializing extension XTEST
[ 5153.907] (II) Initializing extension BIG-REQUESTS
[ 5153.907] (II) Initializing extension SYNC
[ 5153.907] (II) Initializing extension XKEYBOARD
[ 5153.907] (II) Initializing extension XC-MISC
[ 5153.907] (II) Initializing extension XFIXES
[ 5153.907] (II) Initializing extension RENDER
[ 5153.907] (II) Initializing extension RANDR
[ 5153.907] (II) Initializing extension COMPOSITE
[ 5153.907] (II) Initializing extension DAMAGE
[ 5153.907] (II) Initializing extension MIT-SCREEN-SAVER
[ 5153.907] (II) Initializing extension DOUBLE-BUFFER
[ 5153.907] (II) Initializing extension RECORD
[ 5153.907] (II) Initializing extension DPMS
[ 5153.907] (II) Initializing extension Present
[ 5153.907] (II) Initializing extension DRI3
[ 5153.907] (II) Initializing extension X-Resource
[ 5153.907] (II) Initializing extension XVideo
[ 5153.907] (II) Initializing extension XVideo-MotionCompensation
[ 5153.907] (II) Initializing extension XFree86-VidModeExtension
[ 5153.907] (II) Initializing extension XFree86-DGA
[ 5153.907] (II) Initializing extension XFree86-DRI
[ 5153.907] (II) Initializing extension DRI2
[ 5153.907] (II) Initializing extension GLX
[ 5153.907] (II) Initializing extension GLX
[ 5153.907] (II) Indirect GLX disabled.
[ 5153.907] (II) Initializing extension NV-GLX
[ 5153.907] (II) Initializing extension NV-CONTROL
[ 5153.907] (II) Initializing extension XINERAMA
[ 5153.955] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 5153.955] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 5153.955] (II) LoadModule: "evdev"
[ 5153.955] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 5153.955] (II) Module evdev: vendor="X.Org Foundation"
[ 5153.955] compiled for 1.21.1.6, module version = 2.10.6
[ 5153.955] Module class: X.Org XInput Driver
[ 5153.955] ABI class: X.Org XInput driver, version 24.4
[ 5153.955] (II) Using input driver 'evdev' for 'Power Button'
[ 5153.956] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 33 paused 0
[ 5153.956] (**) Power Button: always reports core events
[ 5153.956] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 5153.956] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 5153.956] (--) evdev: Power Button: Found keys
[ 5153.956] (II) evdev: Power Button: Configuring as keyboard
[ 5153.956] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[ 5153.956] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 5153.956] (**) Option "xkb_rules" "evdev"
[ 5153.957] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 5153.957] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 5153.957] (II) Using input driver 'evdev' for 'Power Button'
[ 5153.957] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 34 paused 0
[ 5153.957] (**) Power Button: always reports core events
[ 5153.957] (**) evdev: Power Button: Device: "/dev/input/event0"
[ 5153.957] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 5153.957] (--) evdev: Power Button: Found keys
[ 5153.957] (II) evdev: Power Button: Configuring as keyboard
[ 5153.957] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[ 5153.957] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 5153.957] (**) Option "xkb_rules" "evdev"
[ 5153.958] (II) config/udev: Adding input device HDA NVidia HDMI (/dev/input/event7)
[ 5153.958] (II) No input driver specified, ignoring this device.
[ 5153.958] (II) This device may have been added with another device file.
[ 5153.958] (II) config/udev: Adding input device HDA NVidia HDMI (/dev/input/event8)
[ 5153.958] (II) No input driver specified, ignoring this device.
[ 5153.958] (II) This device may have been added with another device file.
[ 5153.959] (II) config/udev: Adding input device HDA NVidia HDMI (/dev/input/event9)
[ 5153.959] (II) No input driver specified, ignoring this device.
[ 5153.959] (II) This device may have been added with another device file.
[ 5153.959] (II) config/udev: Adding input device HDA NVidia HDMI (/dev/input/event10)
[ 5153.959] (II) No input driver specified, ignoring this device.
[ 5153.959] (II) This device may have been added with another device file.
[ 5153.959] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event11)
[ 5153.959] (II) No input driver specified, ignoring this device.
[ 5153.959] (II) This device may have been added with another device file.
[ 5153.959] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event12)
[ 5153.959] (II) No input driver specified, ignoring this device.
[ 5153.959] (II) This device may have been added with another device file.
[ 5153.960] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event13)
[ 5153.960] (II) No input driver specified, ignoring this device.
[ 5153.960] (II) This device may have been added with another device file.
[ 5153.960] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event14)
[ 5153.960] (II) No input driver specified, ignoring this device.
[ 5153.960] (II) This device may have been added with another device file.
[ 5153.960] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event15)
[ 5153.960] (II) No input driver specified, ignoring this device.
[ 5153.960] (II) This device may have been added with another device file.
[ 5153.961] (II) config/udev: Adding input device HDA Intel PCH Line Out Side (/dev/input/event16)
[ 5153.961] (II) No input driver specified, ignoring this device.
[ 5153.961] (II) This device may have been added with another device file.
[ 5153.961] (II) config/udev: Adding input device SINO WEALTH Gaming KB (/dev/input/event2)
[ 5153.961] (**) SINO WEALTH Gaming KB : Applying InputClass "evdev keyboard catchall"
[ 5153.961] (II) Using input driver 'evdev' for 'SINO WEALTH Gaming KB '
[ 5153.962] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 35 paused 0
[ 5153.962] (**) SINO WEALTH Gaming KB : always reports core events
[ 5153.962] (**) evdev: SINO WEALTH Gaming KB : Device: "/dev/input/event2"
[ 5153.962] (--) evdev: SINO WEALTH Gaming KB : Vendor 0x258a Product 0x2a
[ 5153.962] (--) evdev: SINO WEALTH Gaming KB : Found keys
[ 5153.962] (II) evdev: SINO WEALTH Gaming KB : Configuring as keyboard
[ 5153.962] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb3/3-1/3-1:1.0/0003:258A:002A.0001/input/input5/event2"
[ 5153.962] (II) XINPUT: Adding extended input device "SINO WEALTH Gaming KB " (type: KEYBOARD, id 8)
[ 5153.962] (**) Option "xkb_rules" "evdev"
[ 5153.962] (II) config/udev: Adding input device SINO WEALTH Gaming KB System Control (/dev/input/event3)
[ 5153.962] (**) SINO WEALTH Gaming KB System Control: Applying InputClass "evdev keyboard catchall"
[ 5153.962] (II) Using input driver 'evdev' for 'SINO WEALTH Gaming KB System Control'
[ 5153.963] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 36 paused 0
[ 5153.963] (**) SINO WEALTH Gaming KB System Control: always reports core events
[ 5153.963] (**) evdev: SINO WEALTH Gaming KB System Control: Device: "/dev/input/event3"
[ 5153.963] (--) evdev: SINO WEALTH Gaming KB System Control: Vendor 0x258a Product 0x2a
[ 5153.963] (--) evdev: SINO WEALTH Gaming KB System Control: Found keys
[ 5153.963] (II) evdev: SINO WEALTH Gaming KB System Control: Configuring as keyboard
[ 5153.963] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb3/3-1/3-1:1.1/0003:258A:002A.0002/input/input6/event3"
[ 5153.963] (II) XINPUT: Adding extended input device "SINO WEALTH Gaming KB System Control" (type: KEYBOARD, id 9)
[ 5153.963] (**) Option "xkb_rules" "evdev"
[ 5153.964] (II) config/udev: Adding input device SINO WEALTH Gaming KB Consumer Control (/dev/input/event4)
[ 5153.964] (**) SINO WEALTH Gaming KB Consumer Control: Applying InputClass "evdev keyboard catchall"
[ 5153.964] (II) Using input driver 'evdev' for 'SINO WEALTH Gaming KB Consumer Control'
[ 5153.964] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 37 paused 0
[ 5153.964] (**) SINO WEALTH Gaming KB Consumer Control: always reports core events
[ 5153.964] (**) evdev: SINO WEALTH Gaming KB Consumer Control: Device: "/dev/input/event4"
[ 5153.964] (--) evdev: SINO WEALTH Gaming KB Consumer Control: Vendor 0x258a Product 0x2a
[ 5153.964] (--) evdev: SINO WEALTH Gaming KB Consumer Control: Found 1 mouse buttons
[ 5153.964] (--) evdev: SINO WEALTH Gaming KB Consumer Control: Found scroll wheel(s)
[ 5153.964] (--) evdev: SINO WEALTH Gaming KB Consumer Control: Found relative axes
[ 5153.964] (II) evdev: SINO WEALTH Gaming KB Consumer Control: Forcing relative x/y axes to exist.
[ 5153.964] (--) evdev: SINO WEALTH Gaming KB Consumer Control: Found absolute axes
[ 5153.964] (II) evdev: SINO WEALTH Gaming KB Consumer Control: Forcing absolute x/y axes to exist.
[ 5153.964] (--) evdev: SINO WEALTH Gaming KB Consumer Control: Found keys
[ 5153.964] (II) evdev: SINO WEALTH Gaming KB Consumer Control: Configuring as mouse
[ 5153.964] (II) evdev: SINO WEALTH Gaming KB Consumer Control: Configuring as keyboard
[ 5153.964] (II) evdev: SINO WEALTH Gaming KB Consumer Control: Adding scrollwheel support
[ 5153.964] (**) evdev: SINO WEALTH Gaming KB Consumer Control: YAxisMapping: buttons 4 and 5
[ 5153.964] (**) evdev: SINO WEALTH Gaming KB Consumer Control: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 5153.964] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb3/3-1/3-1:1.1/0003:258A:002A.0002/input/input7/event4"
[ 5153.964] (II) XINPUT: Adding extended input device "SINO WEALTH Gaming KB Consumer Control" (type: KEYBOARD, id 10)
[ 5153.964] (**) Option "xkb_rules" "evdev"
[ 5153.964] (II) evdev: SINO WEALTH Gaming KB Consumer Control: initialized for relative axes.
[ 5153.964] (WW) evdev: SINO WEALTH Gaming KB Consumer Control: ignoring absolute axes.
[ 5153.965] (**) SINO WEALTH Gaming KB Consumer Control: (accel) keeping acceleration scheme 1
[ 5153.965] (**) SINO WEALTH Gaming KB Consumer Control: (accel) acceleration profile 0
[ 5153.965] (**) SINO WEALTH Gaming KB Consumer Control: (accel) acceleration factor: 2.000
[ 5153.965] (**) SINO WEALTH Gaming KB Consumer Control: (accel) acceleration threshold: 4
[ 5153.965] (II) config/udev: Adding input device SINO WEALTH Gaming KB Keyboard (/dev/input/event5)
[ 5153.965] (**) SINO WEALTH Gaming KB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 5153.965] (II) Using input driver 'evdev' for 'SINO WEALTH Gaming KB Keyboard'
[ 5153.966] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 38 paused 0
[ 5153.966] (**) SINO WEALTH Gaming KB Keyboard: always reports core events
[ 5153.966] (**) evdev: SINO WEALTH Gaming KB Keyboard: Device: "/dev/input/event5"
[ 5153.966] (--) evdev: SINO WEALTH Gaming KB Keyboard: Vendor 0x258a Product 0x2a
[ 5153.966] (--) evdev: SINO WEALTH Gaming KB Keyboard: Found keys
[ 5153.966] (II) evdev: SINO WEALTH Gaming KB Keyboard: Configuring as keyboard
[ 5153.966] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/usb3/3-1/3-1:1.1/0003:258A:002A.0002/input/input8/event5"
[ 5153.966] (II) XINPUT: Adding extended input device "SINO WEALTH Gaming KB Keyboard" (type: KEYBOARD, id 11)
[ 5153.966] (**) Option "xkb_rules" "evdev"
[ 5153.967] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event6)
[ 5153.967] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 5153.967] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'
[ 5153.967] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 39 paused 0
[ 5153.967] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[ 5153.967] (**) evdev: Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event6"
[ 5153.967] (--) evdev: Logitech USB-PS/2 Optical Mouse: Vendor 0x46d Product 0xc03e
[ 5153.967] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found 3 mouse buttons
[ 5153.967] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[ 5153.967] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found relative axes
[ 5153.967] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[ 5153.967] (II) evdev: Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[ 5153.967] (II) evdev: Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[ 5153.967] (**) evdev: Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[ 5153.967] (**) evdev: Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 5153.967] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:046D:C03E.0003/input/input9/event6"
[ 5153.967] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE, id 12)
[ 5153.967] (II) evdev: Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[ 5153.967] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[ 5153.967] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[ 5153.967] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[ 5153.967] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[ 5153.968] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)
[ 5153.968] (II) No input driver specified, ignoring this device.
[ 5153.968] (II) This device may have been added with another device file.
[ 5154.147] (II) evdev: Logitech USB-PS/2 Optical Mouse: Close
[ 5154.147] (II) UnloadModule: "evdev"
[ 5154.147] (II) systemd-logind: releasing fd for 13:70
[ 5154.164] (II) evdev: SINO WEALTH Gaming KB Keyboard: Close
[ 5154.164] (II) UnloadModule: "evdev"
[ 5154.164] (II) systemd-logind: releasing fd for 13:69
[ 5154.172] (II) evdev: SINO WEALTH Gaming KB Consumer Control: Close
[ 5154.172] (II) UnloadModule: "evdev"
[ 5154.172] (II) systemd-logind: releasing fd for 13:68
[ 5154.178] (II) evdev: SINO WEALTH Gaming KB System Control: Close
[ 5154.178] (II) UnloadModule: "evdev"
[ 5154.178] (II) systemd-logind: releasing fd for 13:67
[ 5154.184] (II) evdev: SINO WEALTH Gaming KB : Close
[ 5154.184] (II) UnloadModule: "evdev"
[ 5154.184] (II) systemd-logind: releasing fd for 13:66
[ 5154.190] (II) evdev: Power Button: Close
[ 5154.190] (II) UnloadModule: "evdev"
[ 5154.190] (II) systemd-logind: releasing fd for 13:64
[ 5154.196] (II) evdev: Power Button: Close
[ 5154.196] (II) UnloadModule: "evdev"
[ 5154.196] (II) systemd-logind: releasing fd for 13:65
[ 5154.304] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 5154.323] (II) Server terminated successfully (0). Closing log file.
|
When ulimit is set appropriately core file is dumped. I tried analyzing the core dump, but I didn't get very far:
Code: | $ file core
core: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from 'xfce4-session', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/xfce4-session', platform: 'x86_64'
$ ls -lh core
-rw------- 1 arcctgx users 8.2M lut 25 13:50 core
$ gdb /usr/bin/xfce4-session core
(...)
Reading symbols from /usr/bin/xfce4-session...
(No debugging symbols found in /usr/bin/xfce4-session)
[New LWP 3903]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `xfce4-session'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000000000 in ?? ()
(gdb) set solib-search-path /usr/lib64
(gdb) bt full
#0 0x0000000000000000 in ()
#1 0x00007f43d637a9ee in () at /usr/lib64/libglib-2.0.so.0
#2 0x00007f43d656cd07 in () at /usr/lib64/libgio-2.0.so.0
#3 0x00007f43d656d00d in g_task_get_type () at /usr/lib64/libgio-2.0.so.0
#4 0x00007f43d65d6699 in () at /usr/lib64/libgio-2.0.so.0
#5 0x00007f43d65c9fd1 in g_bus_get_sync () at /usr/lib64/libgio-2.0.so.0
#6 0x00007f43d66a9e23 in xfconf_init () at /usr/lib64/libxfconf-0.so.3
#7 0x000056280aef13f5 in main () |
Due to lack of debug symbols it is not very useful, unfortunately. I can't see what's going on. But it goes deeper than just XFCE functions, something related to glib is visible in the last useful frame.
What I know, tested and what I was able to rule out:
- My graphic card works and is configured correctly: I can start TWM, run applications (including XFCE apps like Thunar) and even the hardware acceleration is working.
- Initially I thought this could be caused by recent update of XFCE from 4.16 to 4.18, but the problem persists after downgrading. Other than this downgrade, my system is fully up-to-date.
- Problem is not related to any of the user settings: I made a new user account and tested from there, with the same result.
- It is not related to permissions: same thing happens when running as root.
I tried searching what "Code: Unable to access opcode bytes at 0xffffffffffffffd6" means, but in my searching I found the same message mentioned in many different contexts (most, if not all, connected to a segmentation faults of different applications). So no insight from that.
I have no idea what to try next, short of rolling back a month's worth of updates (which is not possible with every package, as some of the previous versions are not available anymore). Does anyone have any idea what could be wrong? What else could I try? Maybe someone has seen something similar already?
I've been using Gentoo for more than a decade and this is the first time I encountered breakage of this magnitude. Please help, if you can.
My emerge --info:
Code: | Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1/no-multilib, gcc-12, glibc-2.36-r5, 6.1.12-gentoo x86_64)
=================================================================
System uname: Linux-6.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i3-2120_CPU_@_3.30GHz-with-glibc2.36
KiB Mem: 3995960 total, 1305236 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of repository gentoo: Sat, 25 Feb 2023 02:00:01 +0000
Head commit of repository gentoo: 1c44f52dc7b8f0b9a8a277b91acf96dc5568800a
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
ccache version 4.7.4 [disabled]
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-lang/perl: 5.36.0-r1::gentoo
dev-lang/python: 3.10.9-r1::gentoo, 3.11.1-r1::gentoo
dev-lang/rust: 1.66.1::gentoo
dev-util/ccache: 4.7.4::gentoo
dev-util/cmake: 3.25.2::gentoo
dev-util/meson: 1.0.0::gentoo
sys-apps/baselayout: 2.9::gentoo
sys-apps/openrc: 0.45.2-r2::gentoo
sys-apps/sandbox: 2.29::gentoo
sys-devel/autoconf: 2.71-r5::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc: 12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config: 2.8::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.36-r5::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
arcctgx
location: /usr/local/portage
masters: gentoo
volatile: True
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/home/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/home/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/portage/tmp"
SHELL="/bin/bash"
USE="X a52 aac aalib acl acpi alsa amd64 bzip2 cairo cdda cddb cdparanoia cdr chromaprint cli crypt dbus dri dts dvd dvdr elogind encode fam ffmpeg flac fortran gadu gdbm geoip gif gpm gtk hddtemp iconv jpeg lame lcms libcaca libglvnd libnotify libtirpc lm-sensors lzma mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf pinentry pm-utils png policykit pulseaudio rar readline sdl seccomp split-usr sqlite ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis x264 xattr xcb xdg xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
|
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1226 Location: Richmond Hill, Canada
|
Posted: Sat Feb 25, 2023 10:23 pm Post subject: |
|
|
arcctgx,
I am just simple xfce user. and I don't know much about dbus and xwindow.
From your debug code it seems "xfconfd" run into problem.
The xfconf_init() want to talk to dbus at this point and there are two functions in xfconf_init()- g_bus_get_sync()
- g_dbus_proxy_new_sync()
both in glib.
So I suggest you review your current dbus setting/running state. may be there you can find some clues to help you further investigate.
On my machine I have display manager start my X. Code: | message+ 2021 1 0 09:16 ? 00:00:00 /usr/bin/dbus-daemon --system
me 3256 1 0 09:17 ? 00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session
me 3257 1 0 09:17 ? 00:00:00 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
me 3264 3259 0 09:17 ? 00:00:02 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3 |
Above is how dbus running on my machine. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sun Feb 26, 2023 12:48 am Post subject: |
|
|
Quote: | Code: | exec dbus-launch --exit-with-session xfce4-session |
|
I try to avoid dbus. Therefore, I use the line below in my .xinitrc:
What happens if you launch Xfce that way? |
|
Back to top |
|
|
arcctgx n00b
Joined: 07 Jul 2014 Posts: 30
|
Posted: Sun Feb 26, 2023 2:24 pm Post subject: |
|
|
Thank you for your answers.
Quote: | What happens if you launch Xfce that way? |
I tried that already. It also crashes in the same way.
Quote: | So I suggest you review your current dbus setting/running state. may be there you can find some clues to help you further investigate. |
I read Gentoo Wiki page on D-Bus, https://wiki.gentoo.org/wiki/D-Bus, and I can't see any evident issues in my setup. dbus service is added to the default runlevel. When TWM is running and some applications are launched I get a very similar list of running processes as you do:
Code: | $ ps aux | grep dbu[s]
message+ 1360 0.0 0.0 4976 2412 ? Ss 11:53 0:00 /usr/bin/dbus-daemon --system
arcctgx 2396 0.0 0.0 4228 1772 pts/0 S 11:54 0:00 dbus-launch --autolaunch da75424a7c807563dcd4149659b1c1c7 --binary-syntax --close-stderr
arcctgx 2397 0.0 0.0 4952 2352 ? Ss 11:54 0:00 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
arcctgx 2405 0.0 0.0 4860 2980 ? S 11:54 0:01 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_0.0 |
For example, I can see messages being sent over D-Bus (in dbus-monitor --system) when I use udisksctl to mount a pendrive.
I'll probably have to ask XFCE people for help, maybe they have already seen something similar. Even if something is wrong in the configuration of my machine, there shouldn't be a segmentation fault. It looks like an unhandled edge case to me. xfce4-session process should terminate cleanly and (ideally) print some informative error message.
The problem is that I won't have physical access to the machine for some time. So that will make debugging more time-consuming. I'll write an update if I have any. In the meantime, I welcome any further suggestions. |
|
Back to top |
|
|
ukky Tux's lil' helper
Joined: 26 Feb 2023 Posts: 109 Location: Montreal, Canada
|
Posted: Mon Feb 27, 2023 3:36 am Post subject: |
|
|
arcctgx,
Segfault line says EIP is 0. This is abnormal and definitely is a bug.
Your Xorg.0.log is good.
Adding debug print statements to the segfaulting program was the way to go when I was debugging similar issue when X starts.
Do you have experience patching source code?
Another way to debug this issue would be to recompile libxfconf.so, libgio.so, and libglib.so with debug info. This way you'd have meaningful bt output in gdb. |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 400 Location: UK
|
Posted: Sat Mar 02, 2024 1:26 pm Post subject: |
|
|
So, I woke up this morning to this problem - having done an @world update to pick up the 6.7.7 kernel.
I ruled out the kernel as an issue by booting back to 6.7.6
Then I went through the "what changed" routine, and masked things that looked likely to be able to cause the problem.
For me, the following entry in packages.mask did the trick:
Code: | =dev-util/spirv-llvm-translator-17.0.0-r2 |
Segfault before, working after.
I have no idea how to even start reporting it as a bug
A little bit of digging to find what is using spirv-llvm-translator:
Code: |
an2 ~ # emerge --depclean -pv dev-util/spirv-llvm-translator
Calculating dependencies... done!
dev-util/spirv-llvm-translator-16.0.0-r1 pulled in by:
dev-libs/libclc-17.0.6 requires dev-util/spirv-llvm-translator:16
media-libs/mesa-23.3.5 requires dev-util/spirv-llvm-translator:16
>>> No packages selected for removal by depclean
|
My guess is one of mesa or clc is not expecting a changed API in spirv-llvm-translator - but I know nothing. |
|
Back to top |
|
|
colo-des Tux's lil' helper
Joined: 20 May 2011 Posts: 97
|
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 432 Location: Naarm/Melbourne, Australia
|
Posted: Mon Mar 04, 2024 1:49 am Post subject: |
|
|
arcctgx wrote: | I read Gentoo Wiki page on D-Bus, https://wiki.gentoo.org/wiki/D-Bus, and I can't see any evident issues in my setup. dbus service is added to the default runlevel. When TWM is running and some applications are launched I get a very similar list of running processes as you do:
Code: | $ ps aux | grep dbu[s]
message+ 1360 0.0 0.0 4976 2412 ? Ss 11:53 0:00 /usr/bin/dbus-daemon --system
arcctgx 2396 0.0 0.0 4228 1772 pts/0 S 11:54 0:00 dbus-launch --autolaunch da75424a7c807563dcd4149659b1c1c7 --binary-syntax --close-stderr
arcctgx 2397 0.0 0.0 4952 2352 ? Ss 11:54 0:00 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
arcctgx 2405 0.0 0.0 4860 2980 ? S 11:54 0:01 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_0.0 |
For example, I can see messages being sent over D-Bus (in dbus-monitor --system) when I use udisksctl to mount a pendrive. |
At the top of the wiki page, there's an "Important" box, which i added last year, stating:
Quote: | There are two distinct D-Bus buses: the system bus and the session bus. The system bus is for messages related to the system as a whole, e.g. hardware connects and disconnects. The session bus, on the other hand, is for messages related to a specific user session, e.g. an X or Wayland session. |
The 'dbus' service provides the system bus. It doesn't provide a session bus, which is what one gets when using e.g. 'dbus-launch'. D-Bus issues might or might not be involved in the problem you're seeing, but it's certainly the case that there are various things that can need a D-Bus session bus to work properly in all their intended usage scenarios. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1946
|
Posted: Mon Mar 04, 2024 2:24 am Post subject: |
|
|
One can file a bug to request that if you're hitting it in Gentoo, or if the patch has been tested and helps others in Gentoo, although I see it's not even been merged upstream to master, so wouldn't be ideal to actually backport it yet. |
|
Back to top |
|
|
colo-des Tux's lil' helper
Joined: 20 May 2011 Posts: 97
|
Posted: Mon Mar 04, 2024 3:20 am Post subject: |
|
|
@sam_
My intention was to point out where the problem could be, since several days were trying that package was the culprit.
Until I found the patch "radeon_bo_can_reclaim_slab.diff" that solved the problem.
It is not in gentoo, is a blfs, in fact more than 3 months ago I do not update gentoo.
Well, the idea is that if you have a mesa-24 and the X server is hanged, you can try to apply that patch and see if you are lucky.
Greetings. |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 400 Location: UK
|
Posted: Mon Mar 04, 2024 8:07 am Post subject: |
|
|
I am on media-libs/mesa-23.3.5 - which is Gentoo's current stable version.
dev-util/spirv-llvm-translator-17.0.0 Has been marked as stable in Gentoo.
My xfce4 installation is all current Gentoo stable packages.
So, with the current stable Gentoo packages, XFCE4 has a segmentation fault on startup, after the upgrade from dev-util/spirv-llvm-translator-16.0.0-r1 to dev-util/spirv-llvm-translator-17.0.0-r2
I believe that I have proved the issue is introduced with dev-util/spirv-llvm-translator-17.0.0-r2, because reverting it results in a working XFCE4 again.
Fingers are pointing to mesa, but I can't find squat about this problem (also, I probably suck at googling)
Give Gentoo STABLE has a hard issue, it seems a bit serious to me. |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1946
|
Posted: Mon Mar 04, 2024 8:44 am Post subject: |
|
|
You could try apply that Mesa patch to see if it helps.
You could also try apply the changes after 17.0.0 from https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commits/llvm_release_170/ as patches to spirv-llvm-translator, although none of them seem like obvious candidates so I wouldn't worry about trying it (would give more detailed instructions if it seemed likely to be successful but none of it looks relevant).
Once you've exhausted these avenues, you should file a Gentoo bug. |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 400 Location: UK
|
Posted: Mon Mar 04, 2024 9:29 am Post subject: |
|
|
Thanks for the pointers.
Before doing that, I thought it would be worth seeing if the latest mesa fixes the problem.
I thus removed the package.mask for dev-util/spirv-llvm-translator-17.0.0 and added a package.accept_keywords entry for =media-libs/mesa-24.0.2
emerge @world
Result is that xfce4 now starts correctly, and everything works as far as I can see.
With that being the case, it seems to me that the Gentoo solution is to make media-libs/mesa-24.0.2 stable
Should I log a bug to that effect? |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1946
|
Posted: Mon Mar 04, 2024 9:34 am Post subject: |
|
|
Could you try 23.3.6 too please? |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 400 Location: UK
|
Posted: Mon Mar 04, 2024 10:34 am Post subject: |
|
|
Good call. I should have tried that first - doh.
Downgraded to media-libs/mesa-23.3.6 and xfce4 starts OK with that as well.
I'm going to stick with media-libs/mesa-24.0.2 because shiny
Both work with dev-util/spirv-llvm-translator-17.0.0-r2 installed
Gentoo solution would thus appear to be to promote media-libs/mesa-23.3.6 to stable, in favour of media-libs/mesa-23.3.5. The latter has a clear issue (at least on my build). |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1946
|
Posted: Mon Mar 04, 2024 11:06 am Post subject: |
|
|
Thanks! Filed bug 926155. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|