Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg fail with startx
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Thu Apr 11, 2024 11:52 am    Post subject: Xorg fail with startx Reply with quote

Hello,

Profile: 23
GPU: NVIDIA Corporation GF106GLM [Quadro 2000M]
Driver: nouveau
Kernel: Linux satan 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Apr 8 22:13:15 CEST 2024 x86_64 Intel(R) Core(TM) i7-2820QM CPU @ 2.30GHz GenuineIntel GNU/Linux

It's also a fresh install on a HP Elitebook 8560w, replacing my first ever-installed Gentoo because… Because.

The problem:

I want to use the startx command (and not a DM as lightdm) to start Awesome.

But each time I try, I get an ouput saying it closed successfully (glad to know !), full log here: https://bpa.st/LAUQ

The only errors I see, at least warning, are about some modules not loaded and some missing directories:

Code:
[    36.735] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    36.735]    Entry deleted from font path.
[    36.735] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    36.735]    Entry deleted from font path.
[    36.735] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    36.735]    Entry deleted from font path.
[    36.735] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    36.735]    Entry deleted from font path.
[    36.735] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    36.735]    Entry deleted from font path.
[    36.735] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    36.735]    Entry deleted from font path.

Code:
[    36.758] (II) LoadModule: "nv"
[    36.758] (WW) Warning, couldn't open module nv
[    36.758] (EE) Failed to load module "nv" (module does not exist, 0)
[    36.758] (II) LoadModule: "modesetting"
[    36.758] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    36.761] (II) Module modesetting: vendor="X.Org Foundation"
[    36.761]    compiled for 1.21.1.11, module version = 1.21.1
[    36.761]    Module class: X.Org Video Driver
[    36.761]    ABI class: X.Org Video Driver, version 25.2
[    36.761] (II) LoadModule: "fbdev"
[    36.761] (WW) Warning, couldn't open module fbdev
[    36.761] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    36.761] (II) LoadModule: "vesa"
[    36.761] (WW) Warning, couldn't open module vesa
[    36.761] (EE) Failed to load module "vesa" (module does not exist, 0)
[    36.761] (II) NOUVEAU driver
[    36.761] (II) NOUVEAU driver for NVIDIA chipset families :
[    36.761]    RIVA TNT            (NV04)
[    36.761]    RIVA TNT2           (NV05)
[    36.761]    GeForce 256         (NV10)
[    36.761]    GeForce 2           (NV11, NV15)
[    36.761]    GeForce 4MX         (NV17, NV18)
[    36.761]    GeForce 3           (NV20)
[    36.761]    GeForce 4Ti         (NV25, NV28)
[    36.761]    GeForce FX          (NV3x)
[    36.761]    GeForce 6           (NV4x)
[    36.761]    GeForce 7           (G7x)
[    36.762]    GeForce 8           (G8x)
[    36.762]    GeForce 9           (G9x)
[    36.762]    GeForce GTX 2xx/3xx (GT2xx)
[    36.762]    GeForce GTX 4xx/5xx (GFxxx)
[    36.762]    GeForce GTX 6xx/7xx (GKxxx)
[    36.762]    GeForce GTX 9xx     (GMxxx)
[    36.762]    GeForce GTX 10xx    (GPxxx)
[    36.762] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    36.762] (II) [drm] nouveau interface version: 1.4.0
[    36.762] (WW) Falling back to old probe method for modesetting
[    36.762] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support


But nouveau seems to be properly loaded:

Code:
[    36.755] (II) LoadModule: "nouveau"
[    36.755] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[    36.758] (II) Module nouveau: vendor="X.Org Foundation"
[    36.758]    compiled for 1.21.1.11, module version = 1.0.17
[    36.758]    Module class: X.Org Video Driver
[    36.758]    ABI class: X.Org Video Driver, version 25.2


My VIDEO_CARDS variable is set to "nouveau":

Code:
VIDEO_CARDS="nouveau"


X flag is set in USE:

Code:
USE="X grub acpi bash-completion branding cups curl colord dbus git gui hddtemp lm-sensors man ncurses networkmanager pcmcia pcre posix scanner spell systemd udev udisks unicode upower usb vim-syntax x264 -bluetooth -geoip -geolocation -gnome -gnome-keyring -gtk -gtk-doc -handbook -kde -plasma -qt5 -qt6 -semantic-desktop -telemetry -tk -wayland -webkit -wifi"


And I installed these packages:

Code:

[IP-] [  ] sys-firmware/nvidia-firmware-340.32-r1:0
[IP-] [  ] x11-drivers/xf86-video-nouveau-1.0.17:0
[IP-] [  ] x11-wm/awesome-4.3-r103:0
[IP-] [  ] x11-apps/xinit-1.4.2:0
[IP-] [  ] x11-base/xorg-server-21.1.11:0/21.1.11


The world was rebuilded after installing X.org.

If it's relevant, in doubt, all packages are binaries made on my binhost, so far no problem reported. I do not have errors while executing simple tools, I think it's properly sets.

I do not understand what am I missing.

X.org, startx and nouveau drivers as nvidia-firmware are installed, the system was installed while using the "nouveau" value for VIDEO_CARDS.

The configuration of portage is strictly similar between hostbin and client, besides the own hostbin/client parameters.

I restarted after each modification while every try to run startx "sucessfully" failed.

I'm missing something here, it's obvious… But what ? By reading different pages about X.org and it's guides, awesome, nouveau… It just doesn't works.

I also tried different methods, startx running this from .xinitrc:

Code:
exec dbus-launch --sh-syntax --exit-with-session awesome

(I also tried to run this command manually)

Code:
startx /usr/bin/awesome


And adding to env.d this:

Code:

echo XSESSION="Awesome" > /etc/env.d/90xsession
env-update


Or even running /usr/bin/awesome :
Code:
2024-04-11 13:50:54 E: awesome main:708: cannot open display (error 5)


Not better, not different.

Also, almost forgot to link my dmesg: https://bpa.st/XBUQ

If you need more, please, ask.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
bstaletic
Apprentice
Apprentice


Joined: 05 Apr 2014
Posts: 253

PostPosted: Thu Apr 11, 2024 1:15 pm    Post subject: Reply with quote

Last time I have seen that error was when I was running xorg-server with USE=-udev.
Is that the case for you? Or do you have an /etc/X11/xorg.conf?

What is in emerge --info xorg-server?
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 926
Location: Richmond Hill, Canada

PostPosted: Thu Apr 11, 2024 1:45 pm    Post subject: Reply with quote

kgdrenefort,

I see no critical error in your log and
Code:
[    37.676] (II) event5  - Video Bus: device removed
[    37.676] (**) Option "fd" "24"
[    37.676] (II) event0  - Sleep Button: device removed
[    37.676] (**) Option "fd" "25"
[    37.676] (II) event3  - AT Translated Set 2 keyboard: device removed
[    37.676] (**) Option "fd" "26"
[    37.676] (II) event4  - SynPS/2 Synaptics TouchPad: device removed
[    37.677] (**) Option "fd" "27"
[    37.677] (II) event7  - HP WMI hotkeys: device removed
[    37.678] (II) UnloadModule: "libinput"
[    37.678] (II) systemd-logind: releasing fd for 13:71
[    37.679] (II) UnloadModule: "libinput"
[    37.679] (II) systemd-logind: releasing fd for 13:68
[    37.679] (II) UnloadModule: "libinput"
[    37.679] (II) systemd-logind: releasing fd for 13:67
[    37.679] (II) UnloadModule: "libinput"
[    37.679] (II) systemd-logind: releasing fd for 13:64
[    37.680] (II) UnloadModule: "libinput"
[    37.680] (II) systemd-logind: releasing fd for 13:69
[    37.681] (II) UnloadModule: "libinput"
[    37.681] (II) systemd-logind: releasing fd for 13:66
[    37.730] (II) NOUVEAU(0): NVLeaveVT is called.
[    37.815] (II) Server terminated successfully (0). Closing log file.

The "Server terminated successfully (0). Closing log file." Usually mean the last X client finished successful. (X server expect there is at least one client connect to it, or else it will quit)

So in your case the "awesome" is a xclient which usually will not exist unless given instruction. So have you review your awesome window manager configuration? maybe it also need something which is missing?
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Thu Apr 11, 2024 2:06 pm    Post subject: Reply with quote

Further to pingtoo's comment, assuming that you have an ~/.xinitrc with nothing more than the line:

Code:
exec dbus-launch --sh-syntax --exit-with-session awesome

what might be happening is that awesome is started but immediately fails for some reason. Since there's no WM running, the session just exits.

You could try creating a file ~/awesome-log:

Code:
$ touch ~/awesome-log

redirecting stdout and stderr into that file:

Code:
exec dbus-launch --sh-syntax --exit-with-session awesome >> ~/awesome-log 2>&1

then running `startx` and examining the contents (if any) of ~/awesome-log afterwards.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Fri Apr 12, 2024 10:35 am    Post subject: Reply with quote

Thanks for all replies.

bstaletic wrote:
Last time I have seen that error was when I was running xorg-server with USE=-udev.
Is that the case for you? Or do you have an /etc/X11/xorg.conf?

What is in emerge --info xorg-server?


As a global flag and for xorg-xserver I have udev enabled:

Code:
satan ~ # grep -rin "udev" /etc/portage/
/etc/portage/make.conf:13:USE="X grub acpi bash-completion branding cups curl colord dbus git gui hddtemp lm-sensors man ncurses networkmanager pcmcia pcre posix scanner spell systemd udev udisks unicode upower usb vim-syntax x264 -bluetooth -geoip -geolocation -gnome -gnome-keyring -gtk -gtk-doc -handbook -kde -plasma -qt5 -qt6 -semantic-desktop -telemetry -tk -wayland -webkit -wifi"
/etc/portage/package.use/xorg-server:1:x11-base/xorg-server systemd udev xorg suid


Info for xorg-server:
Code:
satan ~ # emerge --info xorg-server
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.38-r11, 6.6.21-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.21-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-2820QM_CPU_@_2.30GHz-with-glibc2.38
KiB Mem:     3958720 total,   3625068 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Tue, 09 Apr 2024 09:30:00 +0000
Head commit of repository gentoo: 8caff1b48ece5cee106a249bdeb9fe5b293b2078
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.10.14::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3-r1::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r11::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

Binary Repositories:

gentoobinhost
    priority: 10
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

binhost
    priority: 1
    sync-uri: http://192.168.1.103:81/packages

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --getbinpkg --usepkg-exclude 'sys-kernel/gentoo-sources virtual/* www-servers/lighttpd'"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.ircam.fr/pub/gentoo-distfiles/     https://gentoo.mirrors.ovh.net/gentoo-distfiles/     https://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j2 -l2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="http://192.168.1.103:81/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="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bash-completion branding bzip2 cairo cdda cdr cet colord crypt cups curl dbus dri dts dvd dvdr encode exif flac gdbm gif git gpm grub gui hddtemp iconv icu ipv6 jpeg lcms libnotify libtirpc lm-sensors lzma mad man mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcmcia pcre pdf png policykit posix ppds readline scanner sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vim-syntax vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2 aes avx pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

x11-base/xorg-server-21.1.11::gentoo was built with the following:
USE="suid systemd udev xorg xvfb -debug (-elogind) -minimal (-selinux) -test -unwind -xcsecurity -xephyr -xnest" ABI_X86="(64)"
CFLAGS="-march=x86-64-v2 -O2 -pipe -mavx -mavx256-split-unaligned-store -mpclmul -mxsave -mxsaveopt"
CXXFLAGS="-march=x86-64-v2 -O2 -pipe -mavx -mavx256-split-unaligned-store -mpclmul -mxsave -mxsaveopt"
FEATURES="qa-unresolved-soname-deps fixlafiles ipc-sandbox usersync news parallel-fetch ebuild-locks assume-digests binpkg-docompress sfperms network-sandbox merge-sync unmerge-logs binpkg-dostrip buildpkg buildpkg-live userfetch usersandbox unmerge-orphans userpriv binpkg-logs pid-sandbox multilib-strict unknown-features-warn xattr distlocks strict pkgdir-index-trusted config-protect-if-modified preserve-libs protect-owned sandbox binpkg-multi-instance"


There is no xorg.conf:
Code:
satan ~ # cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory


pingtoo wrote:
kgdrenefort,

I see no critical error in your log and
Code:
[    37.676] (II) event5  - Video Bus: device removed
[    37.676] (**) Option "fd" "24"
[    37.676] (II) event0  - Sleep Button: device removed
[    37.676] (**) Option "fd" "25"
[    37.676] (II) event3  - AT Translated Set 2 keyboard: device removed
[    37.676] (**) Option "fd" "26"
[    37.676] (II) event4  - SynPS/2 Synaptics TouchPad: device removed
[    37.677] (**) Option "fd" "27"
[    37.677] (II) event7  - HP WMI hotkeys: device removed
[    37.678] (II) UnloadModule: "libinput"
[    37.678] (II) systemd-logind: releasing fd for 13:71
[    37.679] (II) UnloadModule: "libinput"
[    37.679] (II) systemd-logind: releasing fd for 13:68
[    37.679] (II) UnloadModule: "libinput"
[    37.679] (II) systemd-logind: releasing fd for 13:67
[    37.679] (II) UnloadModule: "libinput"
[    37.679] (II) systemd-logind: releasing fd for 13:64
[    37.680] (II) UnloadModule: "libinput"
[    37.680] (II) systemd-logind: releasing fd for 13:69
[    37.681] (II) UnloadModule: "libinput"
[    37.681] (II) systemd-logind: releasing fd for 13:66
[    37.730] (II) NOUVEAU(0): NVLeaveVT is called.
[    37.815] (II) Server terminated successfully (0). Closing log file.

The "Server terminated successfully (0). Closing log file." Usually mean the last X client finished successful. (X server expect there is at least one client connect to it, or else it will quit)

So in your case the "awesome" is a xclient which usually will not exist unless given instruction. So have you review your awesome window manager configuration? maybe it also need something which is missing?


*sigh*, I have no .config/awesome/rc.lua, only the directory. Did I forget to do that ? Yes, I forgot. Adding the rc.lua isn't enough
tho:

Code:
kgdrenefort@satan ~ $ ls .config/awesome/
kgdrenefort@satan ~ $ cp /etc/xdg/awesome/rc.lua ~/.config/awesome/rc.lua
kgdrenefort@satan ~ $ awesome -k
Illegal instruction (core dumped)


flexibeast wrote:
Further to pingtoo's comment, assuming that you have an ~/.xinitrc with nothing more than the line:

Code:
exec dbus-launch --sh-syntax --exit-with-session awesome

what might be happening is that awesome is started but immediately fails for some reason. Since there's no WM running, the session just exits.

You could try creating a file ~/awesome-log:

Code:
$ touch ~/awesome-log

redirecting stdout and stderr into that file:

Code:
exec dbus-launch --sh-syntax --exit-with-session awesome >> ~/awesome-log 2>&1

then running `startx` and examining the contents (if any) of ~/awesome-log afterwards.


Following your advice:

Code:
kgdrenefort@satan ~ $ touch ~/.awesome-log
kgdrenefort@satan ~ $ cat .xinitrc
exec dbus-launch --sh-syntax --exit-with-session awesome
kgdrenefort@satan ~ $ vim .xinitrc
kgdrenefort@satan ~ $ tail -f .awesome-log
2024-04-12 12:30:39 E: awesome: signal_fatal:457: signal 4, dumping backtrace
awesome(backtrace_get+0x5e) [0x558e3401732e]
awesome(+0x12ec3) [0x558e34003ec3]
/usr/lib64/libc.so.6(+0x3a210) [0x7f5ccb213210]
/usr/lib64/liblua5.1.so.0(lua_newstate+0x1a3) [0x7f5ccb422083]
/usr/lib64/liblua5.1.so.0(luaL_newstate+0x13) [0x7f5ccb40fbd3]
awesome(luaA_init+0x17) [0x558e3400d937]
awesome(main+0xe10) [0x558e34003650]
/usr/lib64/libc.so.6(+0x24090) [0x7f5ccb1fd090]
/usr/lib64/libc.so.6(__libc_start_main+0x89) [0x7f5ccb1fd149]
awesome(_start+0x25) [0x558e34003dc5]
^C


After a few seconds I quit, since the TTY on the laptop was clearly showing it's not working anyway.

My guess now, from your wonderful advices peoples, is something is wrong with lua, somehow ?

I did not further configured awesome, the first time I tried it a few days back, only rc.lua was needed in my memory.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 324
Location: Naarm/Melbourne, Australia

PostPosted: Fri Apr 12, 2024 11:02 am    Post subject: Reply with quote

kgdrenefort wrote:
Code:
awesome: signal_fatal:457: signal 4, dumping backtrace

Signal 4 is SIGILL, "Illegal Instruction" (cf. the signal(7) man page). Have you compiled awesome (and possibly other packages) on a machine with a different CPU to the one you're running those packages on? (i see you have a binhost "http://192.168.1.103:81/packages".) If so, you need to make sure that your build host builds ('cross-compiles') for the CPU that the packages will actually be running on.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Fri Apr 12, 2024 11:26 am    Post subject: Reply with quote

flexibeast wrote:
kgdrenefort wrote:
Code:
awesome: signal_fatal:457: signal 4, dumping backtrace

Signal 4 is SIGILL, "Illegal Instruction" (cf. the signal(7) man page). Have you compiled awesome (and possibly other packages) on a machine with a different CPU to the one you're running those packages on? (i see you have a binhost "http://192.168.1.103:81/packages".) If so, you need to make sure that your build host builds ('cross-compiles') for the CPU that the packages will actually be running on.


That is correct, I use a binhost with a different CPU.

The binhost is a znver1, while the client is sandybridge.

Binhost:

Code:
COMMON_FLAGS="-march=x86-64-v2 -O2 -pipe -mmovbe -mpclmul -mprfchw -mrdrnd"


Client:

Use the -march=native option.

I will try something, recompile from source awesome and see if it helps.
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Fri Apr 12, 2024 11:40 am    Post subject: Reply with quote

And it failed: https://bpa.st/MU6A

It fails on this line into /var/tmp/portage/x11-wm/awesome-4.3-r103/work/awesome-4.3/tests/examples/runner.sh (line 22):

Code:

20 # Run the command that we were given
21 exit_code=0
22 "$@" > ${file_stdout} 2> ${file_stderr} || exit_code=$?


Complete file: https://bpa.st/OZ6A
Code:
#!/bin/sh
# Todo: Give this shell script a sane calling convention. Right now it has a
# file containing the expected output as first argument and just executes
# everything else.

set -ue

# Cleanup on errors / aborting
cleanup() {
    rm -rf "$file_stderr" "$file_stdout" || true
}
trap "cleanup" 0 2 3 15

file_stdout=$(mktemp)
file_stderr=$(mktemp)

expected_output=$1
shift

# Run the command that we were given
exit_code=0
"$@" > ${file_stdout} 2> ${file_stderr} || exit_code=$?

# If exit code is not zero or anything was produced on stderr...
if [ $exit_code -ne 0 -o -s "${file_stderr}" ]
then
    echo "Result: ${exit_code}"
    if [ -s "${file_stdout}" ]
    then
        echo "Output:"
        cat "${file_stdout}"
    fi
    if [ -s "${file_stderr}" ]
    then
        echo "Error:"
        cat "${file_stderr}"
    fi
    exit 1
fi

# Automatically add the output for new examples
if [ ! -e "${expected_output}" ]
then
    cp "${file_stdout}" "${expected_output}"
fi

# Check if we got the output we wanted
if ! cmp --silent "${file_stdout}" "${expected_output}"
then
    echo "Expected text from ${expected_output}, but got:"
    diff -u "${expected_output}" "${file_stdout}" || true
    exit 1
fi

exit 0

# vim: filetype=sh:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80


I have no idea if it comes from my settings or if it's a bug.

To compile it I simply disabled reaching binpkg into my /etc/portage/make.conf of the client.

USE flag are:
Code:
satan ~ # cat /etc/portage/package.use/awesome
x11-wm/awesome doc -test


As for client and binhost.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 926
Location: Richmond Hill, Canada

PostPosted: Fri Apr 12, 2024 3:10 pm    Post subject: Reply with quote

kgdrenefort,

Reading the awesome source code made my headache :roll: I don't understand why is modern development went so far to create a complex solution for some simple problem :?

Anyway, it looks to me is binary that installed on your client (as in client to the binhost) may have problem. So you are correct from your early post, the "lua" binary most likely is build for wrong CPU.

So I would suggest you resolve this issue first, further testing X server and or awesomeWM will not get you anywhere.

I am going to assume "binhost" is also your "build server" for your client machine. (in my mind "binhost" is where binary package is stored and "binhost" will serve the binary package use defined protocol to requester. "binhost" is not necessary the machine that actually create the binary package)

You probably need to review how you create binary packages for client ARCH or the other possibility is that your client setting is wrong, it pick up wrong ARCH from binhost (That is assume your binhost serve multiple ARCH)

You may (or may not) want to create a different thread for the binhost ARCH issue. since it is not relate to X (or this thread) someone else may pickup and help with the binhost issue.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Fri Apr 12, 2024 4:18 pm    Post subject: Reply with quote

kgdrenefort,

Lets try giving Xorg it's default programs to run to try to split the problem into Xorg/Window manager parts.

Code:
emerge -1av xclock xterm twm
The -1 is because you need not keep this stuff installed if you don't want to.
If you have an ~/.xinitrc file, rename it. It is not required for this.

startx will now start three xterms, an xclock, all wrapped up in twm.
If that works, Xorg is probably OK. Look at Xorg.0.log to check the video driver in use

twm only uses the primary mouse button.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Sat Apr 13, 2024 8:20 am    Post subject: Reply with quote

NeddySeagoon wrote:
kgdrenefort,

Lets try giving Xorg it's default programs to run to try to split the problem into Xorg/Window manager parts.

Code:
emerge -1av xclock xterm twm
The -1 is because you need not keep this stuff installed if you don't want to.
If you have an ~/.xinitrc file, rename it. It is not required for this.

startx will now start three xterms, an xclock, all wrapped up in twm.
If that works, Xorg is probably OK. Look at Xorg.0.log to check the video driver in use

twm only uses the primary mouse button.


So I used your command, which pushed these:

Code:

[ebuild  N     ] x11-misc/util-macros-1.20.0::gentoo  82 KiB
[ebuild  N     ] sys-libs/libutempter-1.2.1::gentoo  USE="-static-libs" 18 KiB
[ebuild  N     ] x11-apps/luit-20240102::gentoo  USE="-verify-sig" 206 KiB
[ebuild  N     ] media-fonts/font-util-1.4.1::gentoo  141 KiB
[ebuild  N     ] x11-apps/fonttosfnt-1.2.3::gentoo  137 KiB
[ebuild  N     ] x11-apps/bdftopcf-1.1.1::gentoo  140 KiB
[ebuild  N     ] x11-apps/xmessage-1.0.7::gentoo  126 KiB
[ebuild  N     ] x11-apps/rgb-1.1.0::gentoo  130 KiB
[ebuild  N     ] x11-apps/xclock-1.1.1::gentoo  156 KiB
[ebuild  N     ] media-fonts/font-alias-1.0.5::gentoo  95 KiB
[ebuild  N     ] media-fonts/font-adobe-75dpi-1.0.4::gentoo  USE="X nls opentype-compat" 718 KiB
[ebuild  N     ] media-fonts/font-misc-misc-1.1.3::gentoo  USE="X nls opentype-compat" 1,528 KiB
[ebuild  N     ] x11-terms/xterm-388::gentoo  USE="openpty truetype unicode -Xaw3d -sixel -toolbar -verify-sig -xinerama" 1,513 KiB
[ebuild  N     ] x11-wm/twm-1.0.12::gentoo  257 KiB


No errors while building.

I moved .xinitrc and tried startx. Not better, sadly.

pingtoo wrote:
kgdrenefort,

Reading the awesome source code made my headache :roll: I don't understand why is modern development went so far to create a complex solution for some simple problem :?

Anyway, it looks to me is binary that installed on your client (as in client to the binhost) may have problem. So you are correct from your early post, the "lua" binary most likely is build for wrong CPU.

So I would suggest you resolve this issue first, further testing X server and or awesomeWM will not get you anywhere.

I am going to assume "binhost" is also your "build server" for your client machine. (in my mind "binhost" is where binary package is stored and "binhost" will serve the binary package use defined protocol to requester. "binhost" is not necessary the machine that actually create the binary package)

You probably need to review how you create binary packages for client ARCH or the other possibility is that your client setting is wrong, it pick up wrong ARCH from binhost (That is assume your binhost serve multiple ARCH)

You may (or may not) want to create a different thread for the binhost ARCH issue. since it is not relate to X (or this thread) someone else may pickup and help with the binhost issue.


I was thinking… I'll try to install LightDM and Xfce, just in case.

If it works, something is wrong with my awesome build, which seems weird because my client is set like this:

Code:
COMMON_FLAGS="-march=native -O2 -pipe"


So, if I ask the client, as I did, to compile itself Awesome and it's dependencies… It should not be a problem regarding the binary build, right ? I mean, having badly sets the binhost (which is, in my case you are right, the environment building AND holding the binaries for the client) looks ok, I could have been wrong. But if I use -march=native it should pick up the good flags for CPU instructions and such… Still correct ?

Anyway, thanks for your time, I'll try to push the binaries for Xfce & LightDM as well and see how it's working, or not.

If I do not find a solution, I might ask to move this topic elsewhere than "Desktop Environments" yeah.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Sat Apr 13, 2024 9:06 am    Post subject: Reply with quote

So, not better.

I installed from binaries of the binhost Xfce and LightDM as well.

I enabled LightDM at boot, got a tty.

Trying to restart it give me an error and asking to run this command below:

Code:
satan ~ # journalctl -xeu lightdm.service
░░
░░ The job identifier is 944 and the job result is failed.
Apr 13 11:02:55 satan systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ Automatic restarting of the unit lightdm.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Apr 13 11:02:55 satan systemd[1]: lightdm.service: Start request repeated too quickly.
Apr 13 11:02:55 satan systemd[1]: lightdm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ The unit lightdm.service has entered the 'failed' state with result 'exit-code'.
Apr 13 11:02:55 satan systemd[1]: Failed to start Light Display Manager.
░░ Subject: A start job for unit lightdm.service has failed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ A start job for unit lightdm.service has finished with a failure.
░░
░░ The job identifier is 1024 and the job result is failed.


First part is at boot, then me trying to restart it.

So, I really guess something is wrong with X.org or the building.

I will retry this, without binaries, let the client build it, just in case.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Sat Apr 13, 2024 9:16 am    Post subject: Reply with quote

kgdrenefort,

That Xorg failed with its default applications puts the problem (or at least, the first part of it) with Xorg, or the configuration..
Pastebin the entire Xorg.0.log from that startup.

Pastebin the kernel .config file too please. That may save some time. The video configuration in the kernel matters to Xorg. Some things must be off, others must be on.
Exactly what depends on the video card and driver.

Until Xorg can start with twm, it can't start with anything else either. That's why I picked twm as that's Xorgs hard wired default.

Keep the problem space small, we know its Xorg related. We have to fix that first.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Sat Apr 13, 2024 11:17 am    Post subject: Reply with quote

NeddySeagoon wrote:
kgdrenefort,

That Xorg failed with its default applications puts the problem (or at least, the first part of it) with Xorg, or the configuration..
Pastebin the entire Xorg.0.log from that startup.

Pastebin the kernel .config file too please. That may save some time. The video configuration in the kernel matters to Xorg. Some things must be off, others must be on.
Exactly what depends on the video card and driver.

Until Xorg can start with twm, it can't start with anything else either. That's why I picked twm as that's Xorgs hard wired default.

Keep the problem space small, we know its Xorg related. We have to fix that first.


Alright, anyway compile it on the client didn't helped, same behaviour. 

Below the paste after I get rid of all that LightDM/Xfce stuff.

X.org log (~/.local/share/xorg/Xorg.0.log) https://bpa.st/Y45A

Kernel config (/usr/src/linux-6.6.21-gentoo-dist.config): https://0x0.st/X-_I.txt

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Sat Apr 13, 2024 1:11 pm    Post subject: Reply with quote

kgdrenefort,

Code:
[    37.285] (II) Server terminated successfully (0). Closing log file.

That usually means that Xorg started, found nothing to do and exited. That's encouraging but not enough.
It implies that Xorg is being told to do something, as the default is not being run, so startx is not doing what is expected.

Either you have a /home/kgdrenefort/.xinitrc or display-manager is being started.

You need to get to a console login. with no /home/kgdrenefort/.xinitrc and no auto Xorg starting.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 926
Location: Richmond Hill, Canada

PostPosted: Sat Apr 13, 2024 4:03 pm    Post subject: Reply with quote

kgdrenefort,

Did you rebuild "lua" on your client?

I understand you believe current condition is due to X, but we need to prove it before we dig deep in to X server problem, In this matter I hold a different opinion (I believe X server is functional).

I hope you will continue with us on same train of thoughts. first understand why X server terminate successfully but not doing as expected. May be you can let us know your plan before try something new,

if you did rebuild "lua" on your client then rebuild "awesome" and still not working please share what was the condition of not work. In the past post your local rebuild "awesome" failed due to the build system perform test fail, so what you did to correct this problem and made local build "awesome" successful?

Neddy's suggestion of making use of "twm", "xterm" is to verify X server functionality, you said it did not work, can you elaborate what not work?
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Sun Apr 14, 2024 10:26 am    Post subject: Reply with quote

NeddySeagoon wrote:
kgdrenefort,

Code:
[    37.285] (II) Server terminated successfully (0). Closing log file.

That usually means that Xorg started, found nothing to do and exited. That's encouraging but not enough.
It implies that Xorg is being told to do something, as the default is not being run, so startx is not doing what is expected.

Either you have a /home/kgdrenefort/.xinitrc or display-manager is being started.

You need to get to a console login. with no /home/kgdrenefort/.xinitrc and no auto Xorg starting.


I guess this file is not taking in account by startx:

ls -la (in /home/kgdrenefort) :
Code:
-rwxr-xr-- 1 kgdrenefort kgdrenefort   80 Apr 12 12:30 .xinitrc.bck


Regarding the auto Xorg starting, I think you are referring to LightDM ? It's not here anymore:

Code:
satan ~ # systemctl status lightdm.service
Unit lightdm.service could not be found.
satan ~ # exit
logout
kgdrenefort@satan ~ $ equery l "lightdm"
!!! No installed packages matching 'lightdm'
 * Searching for lightdm ...
kgdrenefort@satan ~ $ equery l "*lightdm*"
!!! No installed packages matching '*lightdm*'
 * Searching for *lightdm* ...


pingtoo wrote:
kgdrenefort,

Did you rebuild "lua" on your client?

I understand you believe current condition is due to X, but we need to prove it before we dig deep in to X server problem, In this matter I hold a different opinion (I believe X server is functional).

I hope you will continue with us on same train of thoughts. first understand why X server terminate successfully but not doing as expected. May be you can let us know your plan before try something new,

if you did rebuild "lua" on your client then rebuild "awesome" and still not working please share what was the condition of not work. In the past post your local rebuild "awesome" failed due to the build system perform test fail, so what you did to correct this problem and made local build "awesome" successful?

Neddy's suggestion of making use of "twm", "xterm" is to verify X server functionality, you said it did not work, can you elaborate what not work?


The only things I rebuilded was awesome package and Xfce, first is still present (and from the compilation from client, currently) and Xfce was removed, as LightDM.

Was also installed xclock xterm twm as asked here, still presents.

Should I try to rebuild these packages (except, maybe, the first):

Code:
kgdrenefort@satan ~ $ equery l "*lua*"
 * Searching for *lua* ...
[IP-] [  ] app-eselect/eselect-lua-4-r1:0
[IP-] [  ] dev-lang/lua-5.1.5-r200:5.1
[IP-] [  ] dev-lang/luajit-2.1.0_beta3_p20220127-r2:2/2.1.0_beta3_p20220127
[IP-] [  ] dev-lua/luafilesystem-1.8.0-r101:0


As for what is not working, if I type startx, I get this error:

Code:
$ startx


X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux satan 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Apr  8 22:13:15 CEST 2024 x86_64
Kernel command line: BOOT_IMAGE=/kernel-6.6.21-gentoo-dist root=UUID=8efb61f0-5077-4a98-a01c-170f439da488 ro
 
Current version of pixman: 0.43.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kgdrenefort/.local/share/xorg/Xorg.0.log", Time: Sun Apr 14 12:21:39 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.


If I try to run awesome with startx:

Code:
$ startx /usr/bin/awesome


X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux satan 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Apr  8 22:13:15 CEST 2024 x86_64
Kernel command line: BOOT_IMAGE=/kernel-6.6.21-gentoo-dist root=UUID=8efb61f0-5077-4a98-a01c-170f439da488 ro
 
Current version of pixman: 0.43.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kgdrenefort/.local/share/xorg/Xorg.0.log", Time: Sun Apr 14 12:23:17 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
2024-04-14 12:23:18 E: awesome: signal_fatal:457: signal 4, dumping backtrace
/usr/bin/awesome(backtrace_get+0x5e) [0x55b2c9bed32e]
/usr/bin/awesome(+0x12ec3) [0x55b2c9bd9ec3]
/usr/lib64/libc.so.6(+0x3a210) [0x7faf8ae65210]
/usr/lib64/liblua5.1.so.0(lua_newstate+0x1a3) [0x7faf8b074083]
/usr/lib64/liblua5.1.so.0(luaL_newstate+0x13) [0x7faf8b061bd3]
/usr/bin/awesome(luaA_init+0x17) [0x55b2c9be3937]
/usr/bin/awesome(main+0xe10) [0x55b2c9bd9650]
/usr/lib64/libc.so.6(+0x24090) [0x7faf8ae4f090]
/usr/lib64/libc.so.6(__libc_start_main+0x89) [0x7faf8ae4f149]
/usr/bin/awesome(_start+0x25) [0x55b2c9bd9dc5]
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.


Since this is taking some time to debug, I try to report all of what was did into this topic, my initiative might sounds useless I know, I get a bit lost while stuck into a problem like this. My idea was this one: Might have misconfiguration things ? If I try something working out-of-the-box (LightDM + Xfce4), how it goes ? As seen, not better.

If you need more or more precise informations, feel free to ask :).

PS: If you think I am really going into the wrong path, feel free to stop me too. My ADHD can really makes me do weird things sometime, while debugging for example.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Sun Apr 14, 2024 10:52 am    Post subject: Reply with quote

kgdrenefort,

Step 1 is to boot to a console with no automatic attempts to start Xorg or a display manager.

The display-manager service must not be any any runlevel.
If it is, it will start Xorg, regardless of anything else installed.

Make a note of the time, then reboot.

Your /var/log/Xorg.0.log, if it exists, must be older that the time you rebooted. If its newer, something is starting Xorg as root.
Likely a display manager. FInd it and stop it.

Check your user Xorg.0.log. As you save not run startx yet, that must be older than the reboot time too.

Once all of your Xorg.0.log files are older than the reboot time, run startx.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 926
Location: Richmond Hill, Canada

PostPosted: Sun Apr 14, 2024 3:44 pm    Post subject: Reply with quote

kgdrenefort,

Please feel free to experiment, I am not suggest you stop trying anything, I just suggest you may be share your idea so we can understand the progress. Part of this suggestion is that I have seem many time that the experiment introduce a new issue that may or may not related to the original problem and it gets everybody chasing a different rabbit. Something this could give a workaround, but most of time it will turn out to be waste of time.

Because we don't know anything about the context at the time when this issue rise so our step one is to try to get in sync with you so we understand the state. Because there could be many factors influence what you see therefor we need to clear out those known interfering factor (or at lease we know their existent) so we can come up right suggestion.

For example Neddy's suggestion to make sure there is nothing else is running X (or try to start X) so we know we are looking at right log.

Another example I am not sure if you are aware that Xorg.0.log could be at two locations depend on if Xserver was started with root priveleges, so it could be at /var/log/Xorg.0.log or ~<user>/.local/share/xorg/Xorg.0.log.

anyway, let go back to current problem at hand, I don't understand what happen in your post the log for running startx for default (xclock, xterm and twm) the context is kind of muddy. Is the X log messages was display on screen? it did not go into a log file? (I call it muddy is because your shell prompt does not include your normal "kgdrenefort@satan ~ $ ", so I am not sure if you used another user ID to test run, or you just cut off that part)

The message
Code:
xinit: connection to X server lost
is little bit of odd as if all the xclient(xterm, xclock, twm) in default setup failed this is unusual. may be you can share your /etc/X11/xinit/xinitrc.

My suggestion is to resolve why the default (xterm, xlock, twm) X setup not working first then go on to check "awesome". Because at this point you have two different issues. One is the binary "awesome" not executable (Illegal instruction), and X default setup not working.

Please follow Neddy's suggestion as close as you can and ignore the lightdm.service issue. the lightdm.service would be third issue that would disrupt the current debugging process.

When you are at console with your user ID logined, please run
Code:
startx &> logfile
, please share the logfile, this way we can see if there is any errors.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Mon Apr 15, 2024 9:39 am    Post subject: Reply with quote

NeddySeagoon wrote:
kgdrenefort,

Step 1 is to boot to a console with no automatic attempts to start Xorg or a display manager.


So far I do not think I have anything trying to auto run X or any GUI. But while checking list-units output of systemd, I see this:

Code:
  graphical.target                                                                            loaded active active    Graphical Interface


As I understand, it is used to start a system with network, some stuffs and a display manager. It is loaded and active, should I try to disable it ?

NeddySeagoon wrote:
The display-manager service must not be any any runlevel.
If it is, it will start Xorg, regardless of anything else installed.


Seems not present:

Code:
satan ~ # systemctl status display-manager.service
Unit display-manager.service could not be found.


NeddySeagoon wrote:
Make a note of the time, then reboot.

Your /var/log/Xorg.0.log, if it exists, must be older that the time you rebooted. If its newer, something is starting Xorg as root.
Likely a display manager. FInd it and stop it.

Check your user Xorg.0.log. As you save not run startx yet, that must be older than the reboot time too.

Once all of your Xorg.0.log files are older than the reboot time, run startx.


I rebooted today, the 04/15/2024 at 11:16 AM, was at TTY at the same time (11:16). The files comes from my home user, since I only get these:

Code:
kgdrenefort@satan ~ $ ls -la /home/kgdrenefort/.local/share/xorg/Xorg.0.log
-rw-r--r-- 1 kgdrenefort kgdrenefort 29723 Apr 14 12:23 /home/kgdrenefort/.local/share/xorg/Xorg.0.log

Code:
satan ~ # updatedb && locate Xorg.0.log
/home/kgdrenefort/.local/share/xorg/Xorg.0.log
/home/kgdrenefort/.local/share/xorg/Xorg.0.log.old


pingtoo wrote:
kgdrenefort,

Please feel free to experiment, I am not suggest you stop trying anything, I just suggest you may be share your idea so we can understand the progress. Part of this suggestion is that I have seem many time that the experiment introduce a new issue that may or may not related to the original problem and it gets everybody chasing a different rabbit. Something this could give a workaround, but most of time it will turn out to be waste of time.


That is correct.

pingtoo wrote:
Because we don't know anything about the context at the time when this issue rise so our step one is to try to get in sync with you so we understand the state. Because there could be many factors influence what you see therefor we need to clear out those known interfering factor (or at lease we know their existent) so we can come up right suggestion.

For example Neddy's suggestion to make sure there is nothing else is running X (or try to start X) so we know we are looking at right log.


Still correct, I was trying to say in my last reply I will try to "behave" since I can get lost really easy and quick :).


pingtoo wrote:
Another example I am not sure if you are aware that Xorg.0.log could be at two locations depend on if Xserver was started with root priveleges, so it could be at /var/log/Xorg.0.log or ~<user>/.local/share/xorg/Xorg.0.log.


I am aware of that, at least I can see it.

pingtoo wrote:
anyway, let go back to current problem at hand, I don't understand what happen in your post the log for running startx for default (xclock, xterm and twm) the context is kind of muddy. Is the X log messages was display on screen? it did not go into a log file? (I call it muddy is because your shell prompt does not include your normal "kgdrenefort@satan ~ $ ", so I am not sure if you used another user ID to test run, or you just cut off that part)


The X log message display on several lines on the TTY, yes. When I upload these they are coming from wgetpaste command, or from a log file when it's in use (while you asked to redirect the output for example).

pingtoo wrote:
The message
Code:
xinit: connection to X server lost
is little bit of odd as if all the xclient(xterm, xclock, twm) in default setup failed this is unusual. may be you can share your /etc/X11/xinit/xinitrc.


Sure:

Code:
kgdrenefort@satan ~ $ cat /etc/X11/xinit/xinitrc
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/Xresources
sysmodmap=/etc/X11/xinit/Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -n "`/etc/X11/chooser.sh`" ]; then
 command="`/etc/X11/chooser.sh`"
else
 failsafe="yes"
fi

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?* ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

if [ -n "$failsafe" ]; then
 twm &
 xclock -geometry 50x50-1+1 &
 xterm -geometry 80x50+494+51 &
 xterm -geometry 80x20+494-0 &
 exec xterm -geometry 80x66+0+0 -name login
else
 exec $command
fi


pingtoo wrote:
My suggestion is to resolve why the default (xterm, xlock, twm) X setup not working first then go on to check "awesome". Because at this point you have two different issues. One is the binary "awesome" not executable (Illegal instruction), and X default setup not working.

Please follow Neddy's suggestion as close as you can and ignore the lightdm.service issue. the lightdm.service would be third issue that would disrupt the current debugging process.


Will do, as for LightDM that is not present on my system, as Xfce4, they could be forget at this point, I think.

pingtoo wrote:
When you are at console with your user ID logined, please run
Code:
startx &> logfile
, please share the logfile, this way we can see if there is any errors.


Sure:

Code:


New paste Repaste Download
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux satan 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Apr  8 22:13:15 CEST 2024 x86_64
Kernel command line: BOOT_IMAGE=/kernel-6.6.21-gentoo-dist root=UUID=8efb61f0-5077-4a98-a01c-170f439da488 ro
 
Current version of pixman: 0.43.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kgdrenefort/.local/share/xorg/Xorg.0.log", Time: Mon Apr 15 11:37:12 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Filename: xlogfile. Size: 2kb. View raw,
, hex, or download this file.

This paste expires on 2024-04-22 09:37:24.962539. Pasted through v1-api.
View source code, the removal or expiry stories, or read the about page.

This website does not claim ownership of, copyright on, and assumes no liability for provided content.
.


Thanks for your time.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Mon Apr 15, 2024 10:11 am    Post subject: Reply with quote

kgdrenefort,

Code:
 twm &
 xclock -geometry 50x50-1+1 &
 xterm -geometry 80x50+494+51 &
 xterm -geometry 80x20+494-0 &
 exec xterm -geometry 80x66+0+0 -name login


Is what should be happening but its not.

If you make a new ~/.xinitrc file with that content, so you explicitly do what the default does, does that help startx?
It should look like this.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Mon Apr 15, 2024 12:18 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kgdrenefort,

Code:
 twm &
 xclock -geometry 50x50-1+1 &
 xterm -geometry 80x50+494+51 &
 xterm -geometry 80x20+494-0 &
 exec xterm -geometry 80x66+0+0 -name login


Is what should be happening but its not.

If you make a new ~/.xinitrc file with that content, so you explicitly do what the default does, does that help startx?
It should look like this.


It works ! I compiled on the client, as a side note, I had removed them (silly me…), on purpose I guess, dumb move. It has make us lost time, sorry about that.

Waiting for your guidance on the next step :wink:.

Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Mon Apr 15, 2024 1:04 pm    Post subject: Reply with quote

kgdrenefort,

Good. That proves that Xorg works. It follows that the problem is with awesome or its configuration.

Save that ~/.xinitrc and create a new one with one line.
Code:
exec dbus-launch --sh-syntax --exit-with-session awesome


Be sure that systemd or elogind is running before your startx or awesome will not start.

Now that we know that Xorg is working, we are only interested in awesome and its logs.
That make the problem space smaller.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 203
Location: Somewhere in the 77

PostPosted: Mon Apr 15, 2024 1:11 pm    Post subject: Reply with quote

NeddySeagoon wrote:
kgdrenefort,

Good. That proves that Xorg works. It follows that the problem is with awesome or its configuration.

Save that ~/.xinitrc and create a new one with one line.
Code:
exec dbus-launch --sh-syntax --exit-with-session awesome


Be sure that systemd or elogind is running before your startx or awesome will not start.

Now that we know that Xorg is working, we are only interested in awesome and its logs.
That make the problem space smaller.


I made the edit:

Code:
kgdrenefort@satan ~ $ cp .xinitrc .xinitrc.bck.15042024
kgdrenefort@satan ~ $ :> .xinitrc
kgdrenefort@satan ~ $ vim .xinitrc
kgdrenefort@satan ~ $ cat .xinitrc
exec dbus-launch --sh-syntax --exit-with-session awesome


I might be dumb, but… What do you mean by «Be sure that systemd or elogind is running (…)». I mean, how my system will be booting without (in my case) SystemD ? You are referring I guess to one service in particular ?

By the way, running startx didn't worked:

Code:
$ startx


X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux satan 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Mon Apr  8 22:13:15 CEST 2024 x86_64
Kernel command line: BOOT_IMAGE=/kernel-6.6.21-gentoo-dist root=UUID=8efb61f0-5077-4a98-a01c-170f439da488 ro
 
Current version of pixman: 0.43.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kgdrenefort/.local/share/xorg/Xorg.0.log", Time: Mon Apr 15 15:09:22 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1080
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
2024-04-15 15:09:23 E: awesome: signal_fatal:457: signal 4, dumping backtrace
awesome(backtrace_get+0x5e) [0x55779a0b432e]
awesome(+0x12ec3) [0x55779a0a0ec3]
/usr/lib64/libc.so.6(+0x3a210) [0x7eff4c90c210]
/usr/lib64/liblua5.1.so.0(lua_newstate+0x1a3) [0x7eff4cb1b083]
/usr/lib64/liblua5.1.so.0(luaL_newstate+0x13) [0x7eff4cb08bd3]
awesome(luaA_init+0x17) [0x55779a0aa937]
awesome(main+0xe10) [0x55779a0a0650]
/usr/lib64/libc.so.6(+0x24090) [0x7eff4c8f6090]
/usr/lib64/libc.so.6(__libc_start_main+0x89) [0x7eff4c8f6149]
awesome(_start+0x25) [0x55779a0a0dc5]
xinit: connection to X server lost


But now we are, as you mentioned, back to Awesome not booting.

That might come from, as it was also mentioned here, maybe a bad build of Lua ?

Also, since it seems to read files into /usr/share/X11/xorg.conf.d, they are two files, here they are:

Code:
kgdrenefort@satan ~ $ cat /usr/share/X11/xorg.conf.d/10-quirks.conf # Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
        Identifier "Xen Virtual Pointer axis blacklist"
        MatchProduct "Xen Virtual Pointer"
        Option "IgnoreAbsoluteAxes" "off"
        Option "IgnoreRelativeAxes" "off"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
        Identifier "Tag trackballs as XI_TRACKBALL"
        MatchProduct "trackball"
        MatchDriver "evdev"
        Option "TypeName" "TRACKBALL"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
        Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
        MatchProduct "La-VIEW Technology Naos 5000 Mouse"
        MatchDriver "evdev"
        Option "TypeName" "MOUSE"
EndSection


Code:
kgdrenefort@satan ~ $ cat /usr/share/X11/xorg.conf.d/40-libinput.conf
# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
#   Identifier "something or other"
#   MatchDriver "libinput"
#
#   MatchIsTouchpad "on"
#   ... other Match directives ...
#   Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection


Regards,
GASPARD DE RENEFORT Kévin
_________________
«Gentoo does not have problems, only learning opportunities.» - NeddySeagoon
«If your Gentoo installation isn't valuable to you, feel free to continue to ignore the instructions.» - figueroa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Mon Apr 15, 2024 2:21 pm    Post subject: Reply with quote

kgdrenefort,

Code:
2024-04-15 15:09:23 E: awesome: signal_fatal:457: signal 4, dumping backtrace
awesome(backtrace_get+0x5e) [0x55779a0b432e]
awesome(+0x12ec3) [0x55779a0a0ec3]
/usr/lib64/libc.so.6(+0x3a210) [0x7eff4c90c210]
/usr/lib64/liblua5.1.so.0(lua_newstate+0x1a3) [0x7eff4cb1b083]
/usr/lib64/liblua5.1.so.0(luaL_newstate+0x13) [0x7eff4cb08bd3]
awesome(luaA_init+0x17) [0x55779a0aa937]
awesome(main+0xe10) [0x55779a0a0650]
/usr/lib64/libc.so.6(+0x24090) [0x7eff4c8f6090]
/usr/lib64/libc.so.6(__libc_start_main+0x89) [0x7eff4c8f6149]
awesome(_start+0x25) [0x55779a0a0dc5]

is the interesting bit.
Code:
xinit: connection to X server lost
is expected as Xorg works.

Code:
2024-04-15 15:09:23 E: awesome: signal_fatal:457: signal 4, dumping backtrace
signal 4 is SIGILL.
That's an illegal instruction. That points to something that awesome needs is built for the wrong CPU.

After that error is generated, there may be a few lines at the end of dmesg that tell which file generated the illegal instruction.

Do startx again, when it fails, look at the end of dmesg. It should say something about an illegal instruction.
Post those few lines please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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