Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Wayfire Error

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
34 posts
  • 1
  • 2
  • Next
Author
Message
psycophobia
Guru
Guru
User avatar
Posts: 510
Joined: Sun May 08, 2005 1:41 pm
Location: uk

Wayfire Error

  • Quote

Post by psycophobia » Sun Jul 10, 2022 9:51 pm

Hello,

I get this error when I start wayfire,

Code: Select all

wayfire
II 10-07-22 22:41:21.516 - [wayfire-0.7.2/src/main.cpp:249] Starting wayfire version 0.7.2
II 10-07-22 22:41:21.517 - [libseat] [libseat/backend/seatd.c:80] Could not connect to socket /run/seatd.sock: No such file or directory
II 10-07-22 22:41:21.517 - [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
II 10-07-22 22:41:21.549 - [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
II 10-07-22 22:41:21.549 - [backend/session/session.c:110] Successfully loaded libseat session
II 10-07-22 22:41:21.551 - [backend/backend.c:223] Found 0 GPUs
EE 10-07-22 22:41:21.551 - [backend/backend.c:371] Failed to open any DRM device
EE 10-07-22 22:41:21.552 - [wayfire-0.7.2/src/main.cpp:141] Fatal error: Segmentation fault
EE 10-07-22 22:41:21.611 - #1  wf::print_trace(bool) ??:?
EE 10-07-22 22:41:21.646 - #2  __sigaction ??:?
EE 10-07-22 22:41:21.683 - #3  wlr_backend_get_renderer ??:?
EE 10-07-22 22:41:21.736 - #4  main ??:?
EE 10-07-22 22:41:21.749 - #5  __libc_init_first ??:?
EE 10-07-22 22:41:21.801 - #6  __libc_start_main ??:?
EE 10-07-22 22:41:21.884 - #7  _start ??:?
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4693
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Mon Aug 08, 2022 9:07 am

I'd recompile wlroots and then wayfire.

Code: Select all

emerge -v1 wlroots && emerge -v1 wayfire
I know this is kinda brute forcing, but in my experience this has fixed my issues. I guess wlroots and wayfire needs to have certain versions to work together and the correct wlroots version needs to be installed before starting to compile wayfire (although wayfire ebuild should make sure that the correct wlroots is in system already).
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Mon Aug 08, 2022 10:09 am

Code: Select all

II 10-07-22 22:41:21.551 - [backend/backend.c:223] Found 0 GPUs
EE 10-07-22 22:41:21.551 - [backend/backend.c:371] Failed to open any DRM device 
Kind of hard to have a wayland display WITHOUT a gpu, unless you're setting up a headless server, and I doubt that's what's going on. ;)
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Mon Dec 18, 2023 11:12 am

The same error here. Recompiling wlroots and then wayfire did not help.

Code: Select all

*  gui-libs/wlroots
      Latest version available: 0.16.2-r2
      Latest version installed: 0.16.2-r2
*  gui-wm/wayfire
      Latest version available: 0.7.5-r1
      Latest version installed: 0.7.5-r1
Any help appreciated.
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Mon Dec 18, 2023 10:00 pm

@apiaio:

What graphics hardware do you have? Are you sure the appropriate drivers are compiled, installed and available?
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Tue Dec 19, 2023 8:07 am

flexibeast wrote:@apiaio:

What graphics hardware do you have? Are you sure the appropriate drivers are compiled, installed and available?
I have Intel® UHD Graphics 770. And yes all drivers are installed. Everything works fine with X11. As I am new in wayland
maybe there is some special sw I do not know about. I am able to start Weston.
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Tue Dec 19, 2023 8:57 am

Weston doesn't implement as many Wayland protocol extensions as Wayfire does - for example, it doesn't implement the DRM lease extension, so Wayfire might be trying to do things that Weston isn't.

A few thoughts:

* What's the output of running wayfire with the -d (debug) option?

* What Wayfire plugins do you have enabled? Have you tried bisecting the plugin list in your configuration?

* Does Sway work? Both Sway and Wayfire are wlroots-based compositors (unlike Weston).
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Tue Dec 19, 2023 10:03 am

*What's the output of running wayfire with the -d (debug) option?

Code: Select all

II 19-12-23 10:33:50.463 - [wayfire-0.7.5/src/main.cpp:249] Starting wayfire version 0.7.5
II 19-12-23 10:33:50.463 - [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
II 19-12-23 10:33:50.463 - [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
II 19-12-23 10:33:50.472 - [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
II 19-12-23 10:33:50.472 - [backend/session/session.c:109] Successfully loaded libseat session
II 19-12-23 10:33:50.473 - [backend/session/session.c:473] Waiting for a DRM card device
EE 19-12-23 10:34:00.483 - [backend/backend.c:217] Found 0 GPUs, cannot create backend
EE 19-12-23 10:34:00.483 - [backend/backend.c:390] Failed to open any DRM device
EE 19-12-23 10:34:00.490 - [wayfire-0.7.5/src/main.cpp:141] Fatal error: Segmentation fault
EE 19-12-23 10:34:00.506 - #1  wf::print_trace(bool) ??:?
EE 19-12-23 10:34:00.517 - #2  __sigaction ??:?
EE 19-12-23 10:34:00.531 - #3  wlr_backend_get_drm_fd ??:?
EE 19-12-23 10:34:00.550 - #4  main ??:?
EE 19-12-23 10:34:00.566 - #5  __libc_init_first ??:?
EE 19-12-23 10:34:00.581 - #6  __libc_start_main ??:?
EE 19-12-23 10:34:00.600 - #7  _start ??:?
* What Wayfire plugins do you have enabled? Have you tried bisecting the plugin list in your configuration?
I have installed gui-libs/wayfire-plugins-extra-0.7.5::gentoo only
* Does Sway work? Both Sway and Wayfire are wlroots-based compositors (unlike Weston).

Code: Select all

[wlr] [backend/backend.c:217] Found 0 GPU's, cannotcreate backend
[wlr] [backend/backend.c:390] Failed to open any DRM device
[sway/server.c:73] Unable to create backend
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue Dec 19, 2023 11:04 am

What does "emerge -pv seatd" return?

Are you starting seatd before you start wayfire/any compositor?

Edit to add: only with wayfire-0.8.0 do they pull in seatd properly (if not using system wlroots)
and it needs to be started before wayfire is started.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Tue Dec 19, 2023 1:10 pm

I emerged seatd like that

Code: Select all

USE=server emerge sys-auth/seatd -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 0.89 s (backtrack: 0/20).

[ebuild   R    ] sys-auth/seatd-0.8.0:0/1::gentoo  USE="elogind server -builtin -systemd" 0 KiB
seatd is in deault level
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue Dec 19, 2023 2:45 pm

If it is indeed running "ps afex|grep seatd" then what group is it running under, /etc/init.d/seatd will show what it gets started with.

Then your user needs to be in that group. (likely either video or seat)

Edit to add: what does "cat /var/db/pkg/sys-auth/seatd*/IUSE" return?
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Tue Dec 19, 2023 3:26 pm

Code: Select all

# ps afex|grep seatd
 3766 pts/0    S+     0:00          |                   \_ grep --colour=auto seatd SHELL=/bin/bash WINDOWID=33554439 COLORTERM=truecolor XDG_CONFIG_DIRS=/etc/xdg LESS=-R -M --shift 5 XDG_MENU_PREFIX=lxde- CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild LANGUAGE=en_US SVCNAME=display-manager _LXSESSION_PID=3181 XDG_DATA_HOME=/home/miro/.local/share SHELL_SESSION_ID=d3c3e2fd1925413097368faef7078217 XDG_CONFIG_HOME=/home/miro/.config DESKTOP_SESSION=LXDE EDITOR=/bin/nano GTK_MODULES=canberra-gtk-module XDG_SEAT=seat0 PWD=/home/miro CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/share/config LOGNAME=miro QT_QPA_PLATFORMTHEME=qt5ct XDG_SESSION_TYPE=x11 MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/lib64/php8.1/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/16/share/man XAUTHORITY=/root/.xauthq4NlvE HOME=/root LANG=en_US.utf8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90: XDG_CURRENT_DESKTOP=LXDE KONSOLE_DBUS_SERVICE=:1.18 FLTK_DOCDIR=/usr/share/doc/fltk-1.3.5-r4/html RC_SERVICE=/etc/init.d/display-manager KONSOLE_DBUS_SESSION=/Sessions/1 PROFILEHOME= OPENGL_PROFILE=xorg-x11 KONSOLE_VERSION=230803 INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info XDG_SESSION_CLASS=greeter VBOX_SDK_PATH=/usr/lib64/virtualbox/sdk TERM=xterm-256color VBOX_INSTALL_PATH=/usr/lib64/virtualbox LESSOPEN=|lesspipe %s USER=miro COLORFGBG=15;0 MANPAGER=manpager NPM_CONFIG_GLOBALCONFIG=/etc/npm/npmrc DISPLAY=:0 SHLVL=2 PAGER=/usr/bin/less LEX=flex XDG_VTNR=7 XDG_SESSION_ID=c1 XDG_RUNTIME_DIR=/run/user/1000 GCC_SPECS= GSETTINGS_BACKEND=dconf RC_SVCNAME=display-manager EINFO_LOG=/etc/init.d/display-manager XDG_DATA_DIRS=/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share:/usr/share PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/16/bin VBOX_APP_HOME=/usr/lib64/virtualbox SAL_USE_VCLPLUGIN=gtk DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-U6DNN7o9OP,guid=50cbb01f627593d2f5d214af6581b58e LV2_PATH=/usr/lib64/lv2 LADSPA_PATH=/usr/lib64/ladspa KONSOLE_DBUS_WINDOW=/Windows/1 _=/bin/grep
 3740 ?        S      0:00 supervise-daemon seatd --start seatd -- -g seat RC_LIBEXECDIR=/lib/rc XDG_CONFIG_DIRS=/etc/xdg LESS=-R -M --shift 5 ROOTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/16/bin CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild SVCNAME=seatd RC_OPENRC_PID=3690 RC_RUNSCRIPT_PID=3690 PWD=/ CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/share/config QT_QPA_PLATFORMTHEME=qt5ct MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/lib64/php8.1/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/16/share/man RC_VERSION=0.48 LANG=en_US.utf8 RC_DEFAULTLEVEL=default RC_TMPDIR=/run/openrc/tmp FLTK_DOCDIR=/usr/share/doc/fltk-1.3.5-r4/html RC_SVCDIR=/run/openrc RC_SERVICE=/etc/init.d/seatd OPENGL_PROFILE=xorg-x11 INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info VBOX_SDK_PATH=/usr/lib64/virtualbox/sdk TERM=xterm-256color VBOX_INSTALL_PATH=/usr/lib64/virtualbox RC_CMD=restart LESSOPEN=|lesspipe %s MANPAGER=manpager NPM_CONFIG_GLOBALCONFIG=/etc/npm/npmrc SHLVL=1 LEX=flex GCC_SPECS= GSETTINGS_BACKEND=dconf RC_RUNLEVEL=default RC_SVCNAME=seatd EINFO_LOG=/etc/init.d/seatd XDG_DATA_DIRS=/usr/local/share:/usr/share RC_BOOTLEVEL=boot PATH=/lib/rc/sbin:/lib/rc/bin:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/lib/llvm/16/bin VBOX_APP_HOME=/usr/lib64/virtualbox RC_UNAME=Linux LV2_PATH=/usr/lib64/lv2 LADSPA_PATH=/usr/lib64/ladspa _=/sbin/supervise-daemon
 3741 ?        Ss     0:00  \_ seatd -g seat XDG_CONFIG_DIRS=/etc/xdg LESS=-R -M --shift 5 ROOTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/16/bin CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild SVCNAME=seatd PWD=/ CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/share/config QT_QPA_PLATFORMTHEME=qt5ct MANPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/man:/usr/lib64/php8.1/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/16/share/man LANG=en_US.utf8 FLTK_DOCDIR=/usr/share/doc/fltk-1.3.5-r4/html RC_SERVICE=/etc/init.d/seatd OPENGL_PROFILE=xorg-x11 INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/info:/usr/share/autoconf-2.71/info:/usr/share/automake-1.16.5/info:/usr/share/info VBOX_SDK_PATH=/usr/lib64/virtualbox/sdk TERM=xterm-256color VBOX_INSTALL_PATH=/usr/lib64/virtualbox LESSOPEN=|lesspipe %s MANPAGER=manpager NPM_CONFIG_GLOBALCONFIG=/etc/npm/npmrc SHLVL=1 LEX=flex GCC_SPECS= GSETTINGS_BACKEND=dconf RC_SVCNAME=seatd EINFO_LOG=/etc/init.d/seatd XDG_DATA_DIRS=/usr/local/share:/usr/share VBOX_APP_HOME=/usr/lib64/virtualbox LV2_PATH=/usr/lib64/lv2 LADSPA_PATH=/usr/lib64/ladspa _=/sbin/supervise-daemon USER=root HOME=/root PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/lib/llvm/16/bin

Code: Select all

#  /etc/init.d/seatd describe
 * No description for seatd
 * healthcheck: no description
 * unhealthy: no description
 * cgroup_cleanup: Kill all processes in the cgroup
User is in the both goups. Video and seat.

Code: Select all

 # cat /var/db/pkg/sys-auth/seatd*/IUSE
builtin elogind server systemd
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue Dec 19, 2023 5:02 pm

apiaio wrote:

Code: Select all

 # cat /var/db/pkg/sys-auth/seatd*/IUSE
builtin elogind server systemd
Server is not set, it should look like this (for server)

Code: Select all

$ cat /var/db/pkg/sys-auth/seatd*/IUSE
builtin elogind +server systemd
You have no flags set for seatd
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
grknight
Retired Dev
Retired Dev
Posts: 2563
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Tue Dec 19, 2023 5:08 pm

Anon-E-moose wrote:
apiaio wrote:

Code: Select all

 # cat /var/db/pkg/sys-auth/seatd*/IUSE
builtin elogind server systemd
Server is not set, it should look like this (for server)

Code: Select all

$ cat /var/db/pkg/sys-auth/seatd*/IUSE
builtin elogind +server systemd
You have no flags set for seatd
This is not correct. IUSE echos what is in the ebuild environment not what is active or not. The USE file shows active flags.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue Dec 19, 2023 6:48 pm

Then change from IUSE to USE, because it's not behaving as if server is set.

Code: Select all

II 19-12-23 10:33:50.463 - [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
II 19-12-23 10:33:50.463 - [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
II 19-12-23 10:33:50.472 - [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind' 
Edit to add:

Code: Select all

[libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
II 19-12-23 10:33:50.472 - [backend/session/session.c:109] Successfully loaded libseat session
II 19-12-23 10:33:50.473 - [backend/session/session.c:473] Waiting for a DRM card device
EE 19-12-23 10:34:00.483 - [backend/backend.c:217] Found 0 GPUs, cannot create backend
EE 19-12-23 10:34:00.483 - [backend/backend.c:390] Failed to open any DRM device 
It seems to try for seatd server, fails, trys *logind, seems to succeed, but then can't find video devices.
Not sure if it's a *logind, pam or something else that's the problem.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Wed Dec 20, 2023 8:43 pm

Anon-E-moose wrote:Then change from IUSE to USE, because it's not behaving as if server is set.

Code: Select all

 # cat /var/db/pkg/sys-auth/seatd*/USE
abi_x86_64 amd64 builtin elibc_glibc elogind kernel_linux server
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Wed Dec 20, 2023 9:13 pm

What does "set | grep XDG" return?

and what does "ls -l /dev/dri" return?
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Thu Dec 21, 2023 7:26 am

Code: Select all

 set | grep XDG
XDG_CONFIG_DIRS=/etc/xdg
XDG_CONFIG_HOME=/home/miro/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share:/usr/share
XDG_DATA_HOME=/home/miro/.local/share
XDG_MENU_PREFIX=lxde-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=greeter
XDG_SESSION_ID=c1
XDG_SESSION_TYPE=x11
XDG_VTNR=7

Code: Select all

ls -l /dev/dri
ls: cannot access '/dev/dri': No such file or directory
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Dec 21, 2023 10:19 am

What video card are you using? Is the video driver loaded?
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Thu Dec 21, 2023 11:01 am

I have iGPU Intel UHD Graphics 770.

Code: Select all

# lspci | grep  VGA
00:02.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
Up to now I thought that everything is OK with DRI because

Code: Select all

 # glxinfo | grep rendering
direct rendering: Yes

Now I checked Xorg.0.log

Code: Select all

[    10.862] intel: waited 2020 ms for i915.ko driver to load
[    10.865] (EE) open /dev/dri/card0: No such file or directory
[    10.865] (WW) Falling back to old probe method for modesetting
[    10.865] (EE) open /dev/dri/card0: No such file or directory
[    10.865] (II) Loading sub module "fbdevhw"
[    10.865] (II) LoadModule: "fbdevhw"
[    10.865] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    10.869] (II) Module fbdevhw: vendor="X.Org Foundation"
[    10.869]    compiled for 1.21.1.10, module version = 0.0.2
[    10.869]    ABI class: X.Org Video Driver, version 25.2
[    10.869] (EE) Unable to find a valid framebuffer device
[    10.869] (WW) Falling back to old probe method for fbdev
[    10.869] (II) Loading sub module "fbdevhw"
[    10.869] (II) LoadModule: "fbdevhw"
[    10.869] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    10.869] (II) Module fbdevhw: vendor="X.Org Foundation"
[    10.869]    compiled for 1.21.1.10, module version = 0.0.2
[    10.869]    ABI class: X.Org Video Driver, version 25.2
[    10.869] (II) FBDEV(2): using default device
[    10.869] vesa: Refusing to run, Framebuffer or dri device present
[    10.869] (EE) Screen 0 deleted because of no matching config section.
[    10.869] (II) UnloadModule: "modesetting"
[    10.869] (EE) Screen 0 deleted because of no matching config section.
In make.conf is

Code: Select all

VIDEO_CARDS="intel"
Should I add i915 ? and/or use modesettinDDX as described in https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX ?
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Dec 21, 2023 11:11 am

apiaio wrote:Should I add i915 ? and/or use modesettinDDX as described in https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX ?
I would add i915 and leave intel also in other words

VIDEO_CARDS="intel i915"

You will also need to reemerge mesa (at least) after adding this and rebuilding the kernel
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Thu Dec 21, 2023 2:02 pm

Anon-E-moose

Thanks for your patience.
Anon-E-moose wrote: VIDEO_CARDS="intel i915"

You will also need to reemerge mesa (at least) after adding this and rebuilding the kernel
https://wiki.gentoo.org/wiki/Intel#Configuration says

Code: Select all

FILE /etc/portage/make.confGen 4 and higher

VIDEO_CARDS="intel"
and my CPU is 12th generation.
I was checking kernel configuration and I thing that is configured properly.

Code: Select all

# cat /usr/src/linux/.config|grep I915
CONFIG_DRM_I915=y
CONFIG_DRM_I915_FORCE_PROBE=""
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_I915_GVT is not set
CONFIG_DRM_I915_REQUEST_TIMEOUT=20000
CONFIG_DRM_I915_FENCE_TIMEOUT=10000
CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250
CONFIG_DRM_I915_HEARTBEAT_INTERVAL=2500
CONFIG_DRM_I915_PREEMPT_TIMEOUT=640
CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT=8000
CONFIG_DRM_I915_STOP_TIMEOUT=100
CONFIG_DRM_I915_TIMESLICE_DURATION=1
CONFIG_SND_HDA_I915=y
Top
grknight
Retired Dev
Retired Dev
Posts: 2563
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Thu Dec 21, 2023 2:10 pm

VIDEO_CARDS in make.conf/package.use should never include i915 except in old Pentium 4s and original Core (not Core 2/i3/i5/i7/i9) and some old Atoms.
Posting the dmesg of the system might give more clues about what is going on with drivers.
The package xf86-video-intel should not be installed on modern systems without a good reason.
Top
apiaio
Guru
Guru
Posts: 443
Joined: Thu Dec 04, 2008 1:49 pm

  • Quote

Post by apiaio » Thu Dec 21, 2023 2:17 pm

Code: Select all

dmesg|grep i915
[    0.390762] i915 0000:00:02.0: Your graphics device 4680 is not properly supported by the driver in this
               kernel version. To force driver probe anyway, use i915.force_probe=4680
[    0.481747] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
Top
grknight
Retired Dev
Retired Dev
Posts: 2563
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Thu Dec 21, 2023 2:21 pm

apiaio wrote:

Code: Select all

dmesg|grep i915
[    0.390762] i915 0000:00:02.0: Your graphics device 4680 is not properly supported by the driver in this
               kernel version. To force driver probe anyway, use i915.force_probe=4680
[    0.481747] snd_hda_codec_hdmi hdaudioC0D2: No i915 binding for Intel HDMI/DP codec
This is the real issue. Your kernel only has experimental support for this chip. You can try to force it or upgrade to a 6.6 kernel and hopefully the full support has been tested.
Top
Post Reply

34 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic