Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Xorg] Driver modesetting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Tue Nov 14, 2023 3:38 pm    Post subject: [Xorg] Driver modesetting Reply with quote

Bonjour,

Je suis passé du driver intel à modesetting.
Code:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] (rev 0c)

https://wiki.gentoo.org/wiki/Intel

Code:
cat /etc/X11/xorg.conf.d/20-graphics.conf

Code:

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "modesetting"
        Option      "AccelMethod"       "sna"
        Option      "DRI"               "iris"
        Option      "TearFree"          "True"
        BusID       "PCI:0:2:0"               
EndSection


Avec la config
Code:
     Option      "AccelMethod"       "sna"

cela marche.

Mais avec
Code:
        Option      "AccelMethod"       "glamor"

cela plante avec
Code:

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

sans d'autres erreurs...

Des infos complémentaires :
Code:

* Found these USE flags for x11-base/xorg-server-21.1.9:
 U I
 - - debug      : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + elogind    : Use elogind to get control over framebuffer when running as regular user
 - - minimal    : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 + + suid       : Enable setuid root program(s)
 - - systemd    : Enable use of systemd-specific libraries and features like socket activation or session tracking
 - - test       : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 + + udev       : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - unwind     : Enable libunwind usage for backtraces
 - - xcsecurity : Build Security extension
 - - xephyr     : Build the Xephyr server
 - - xnest      : Build the Xnest server
 + + xorg       : Build the Xorg X server (HIGHLY RECOMMENDED)
 - - xvfb       : Build the Xvfb server


Code:

 * Found these USE flags for x11-drivers/xf86-video-intel-2.99.917_p20230201:
 U I
 - - debug    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + dri      : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
 + + sna      : Enable SandyBridge's New Acceleration (useful on all chipsets, not just SandyBridge)
 - - tools    : Build the intel-virtual-output tool
 + + udev     : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - uxa      : Enable UMA Acceleration Architecture
 - - valgrind : Enable annotations for accuracy. May slow down runtime slightly. Safe to use even if not currently using dev-util/valgrind
 - - xvmc     : Enables X-Video Motion Compensation support


Code:

* Found these USE flags for media-libs/mesa-23.1.8:
 U I
 + + X                    : Add support for X11
 - - abi_x86_32           : 32-bit (x86) libraries
 + + cpu_flags_x86_sse2   : Use the SSE2 instruction set
 - - d3d9                 : Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - gles1                : Enable GLESv1 support.
 + + gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 - - lm-sensors           : Enable Gallium HUD lm-sensors support.
 - - opencl               : Enable the Rusticl Gallium OpenCL state tracker.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 + + proprietary-codecs   : Enable codecs for patent-encumbered audio and video formats.
 - - test                 : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 - - unwind               : Add support for call stack unwinding and function name resolution
 - - vaapi                : Enable Video Acceleration API for hardware decoding
 - - valgrind             : Enable annotations for accuracy. May slow down runtime slightly. Safe to use even if not currently using dev-util/valgrind
 - - vdpau                : Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
 - - video_cards_d3d12    : VIDEO_CARDS seeting to build driver for Microsoft WSL video cards
 + + video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_lavapipe : VIDEO_CARDS setting to build Vulkan software rasterizer using LLVMpipe
 - - video_cards_nouveau  : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 - - video_cards_r300     : VIDEO_CARDS setting to build only r300, r400 and r500 based chips code for radeon
 - - video_cards_r600     : VIDEO_CARDS setting to build only r600, r700, Evergreen and Northern Islands based chips code for radeon
 - - video_cards_radeon   : VIDEO_CARDS setting to build driver for ATI radeon video cards
 - - video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
 - - video_cards_virgl    : VIDEO_CARDS setting to build driver for virgil (virtual 3D GPU)
 - - video_cards_vmware   : VIDEO_CARDS setting to build driver for vmware video cards
 - - vulkan               : Add support for 3D graphics and computing via the Vulkan cross-platform API
 - - vulkan-overlay       : Build vulkan-overlay-layer which displays Frames Per Second and other statistics
 - - wayland              : Enable support for dev-libs/wayland
 - - xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 - - zink                 : Enable the Zink OpenGL-over-Vulkan Gallium driver
 + + zstd                 : Enable support for ZSTD compression


J'ai loupé quelque chose pour que glamor fonctionne.


Merci d'avance pour vos retours.
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Tue Nov 14, 2023 3:40 pm    Post subject: Reply with quote

Code:
cat /etc/portage/make.conf | grep VIDEO_CARDS
VIDEO_CARDS="intel
"
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Tue Nov 14, 2023 3:42 pm    Post subject: Reply with quote

Code:

* Found these USE flags for x11-base/xorg-drivers-21.1-r2:
 U I
 - - input_devices_elographics : INPUT_DEVICES setting to build driver for elographics input devices
 - - input_devices_evdev       : INPUT_DEVICES setting to build driver for evdev input devices
 - - input_devices_joystick    : INPUT_DEVICES setting to build driver for joystick input devices
 + + input_devices_libinput    : INPUT_DEVICES setting to build driver for libinput input devices
 - - input_devices_synaptics   : INPUT_DEVICES setting to build driver for synaptics input devices
 - - input_devices_vmmouse     : INPUT_DEVICES setting to build driver for vmmouse input devices
 - - input_devices_void        : INPUT_DEVICES setting to build driver for void/dummy input devices
 - - input_devices_wacom       : INPUT_DEVICES setting to build driver for wacom input devices
 - - video_cards_amdgpu        : VIDEO_CARDS setting to build driver for AMDGPU video cards
 - - video_cards_ast           : VIDEO_CARDS setting to build driver for ASpeedTech video cards
 - - video_cards_dummy         : VIDEO_CARDS setting to build driver for dummy video cards
 - - video_cards_fbdev         : VIDEO_CARDS setting to build driver for fbdev video cards
 - - video_cards_i915          : VIDEO_CARDS setting to build driver for Intel i915 video cards
 + + video_cards_intel         : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_mga           : VIDEO_CARDS setting to build driver for mga video cards
 - - video_cards_nouveau       : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 - - video_cards_nvidia        : VIDEO_CARDS setting to build driver for nvidia video cards
 - - video_cards_qxl           : VIDEO_CARDS setting to build driver for qxl (QEMU virtual GPU)
 - - video_cards_r128          : VIDEO_CARDS setting to build driver for ATI r128 video cards
 - - video_cards_radeon        : VIDEO_CARDS setting to build driver for ATI radeon video cards
 - - video_cards_radeonsi      : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
 - - video_cards_siliconmotion : VIDEO_CARDS setting to build driver for siliconmotion video cards
 - - video_cards_vesa          : VIDEO_CARDS setting to build driver for vesa video cards
 - - video_cards_via           : VIDEO_CARDS setting to build driver for via video cards
 - - video_cards_virtualbox    : VIDEO_CARDS setting to build driver for virtualbox emulation
 - - video_cards_vmware        : VIDEO_CARDS setting to build driver for vmware video cards
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Tue Nov 14, 2023 3:48 pm    Post subject: Reply with quote

Code:
Section "Device"
   Identifier  "modesetting"
   Driver      "modesetting"
EndSection


fait crasher...
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1958
Location: 127.0.0.1

PostPosted: Tue Nov 14, 2023 7:39 pm    Post subject: Reply with quote

Salut,

Quel est ton kernel et sa version ?

y351 wrote:

Avec la config
Code:
     Option      "AccelMethod"       "sna"

cela marche.

Mais avec
Code:
        Option      "AccelMethod"       "glamor"

cela plante avec
Code:

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

sans d'autres erreurs...

N'y a t'il pas plus de détails dans le log de Xorg ?
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Wed Nov 15, 2023 9:52 am    Post subject: Reply with quote

Salut,

Code:

6.6.1-gentoo


Code:

[  1692.873] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1692.873] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1692.873] (==) No Layout section.  Using the first Screen section.
[  1692.873] (==) No screen section available. Using defaults.
[  1692.873] (**) |-->Screen "Default Screen Section" (0)
[  1692.873] (**) |   |-->Monitor "<default monitor>"
[  1692.873] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  1692.873] (**) |   |-->Device "Intel Graphics"
[  1692.873] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  1692.873] (==) Automatically adding devices
[  1692.873] (==) Automatically enabling devices
[  1692.873] (==) Automatically adding GPU devices
[  1692.873] (==) Automatically binding GPU devices
[  1692.874] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1692.874] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/75dpi/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/monafont,
        /usr/share/fonts/misc,
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[  1692.874] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  1692.874] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1692.874] (II) Module ABI versions:
[  1692.874]    X.Org ANSI C Emulation: 0.4
[  1692.874]    X.Org Video Driver: 25.2
[  1692.874]    X.Org XInput driver : 24.4
[  1692.874]    X.Org Server Extension : 10.0
[  1692.875] (++) using VT number 1

[  1692.877] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[  1692.882] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1692.882] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  1692.882] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  1692.895] (--) PCI:*(0@0:2:0) 8086:46a6:1028:0af3 rev 12, Mem @ 0x603d000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[  1692.895] (II) LoadModule: "glx"
[  1692.896] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1692.897] (II) Module glx: vendor="X.Org Foundation"
[  1692.897]    compiled for 1.21.1.9, module version = 1.0.0
[  1692.897]    ABI class: X.Org Server Extension, version 10.0
[  1692.897] (II) LoadModule: "modesetting"
[  1692.898] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  1692.898] (II) Module modesetting: vendor="X.Org Foundation"
[  1692.898]    compiled for 1.21.1.9, module version = 1.21.1
[  1692.898]    Module class: X.Org Video Driver
[  1692.898]    ABI class: X.Org Video Driver, version 25.2
[  1692.898] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1692.899] (II) modeset(0): using drv /dev/dri/card0
[  1692.899] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1692.899] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  1692.899] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  1692.899] (**) modeset(0): Option "AccelMethod" "glamor"
[  1692.899] (==) modeset(0): RGB weight 888
[  1692.899] (==) modeset(0): Default visual is TrueColor
[  1692.899] (II) Loading sub module "glamoregl"
[  1692.899] (II) LoadModule: "glamoregl"
[  1692.899] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[  1692.901] (II) Module glamoregl: vendor="X.Org Foundation"
[  1692.901]    compiled for 1.21.1.9, module version = 1.0.1
[  1692.901]    ABI class: X.Org ANSI C Emulation, version 0.4
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Wed Nov 15, 2023 10:07 am    Post subject: Reply with quote

Et quand ça marche, un extrait :
Code:

[   312.882] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[   312.885] (II) xfree86: Adding drm device (/dev/dri/card0)
[   312.885] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   312.886] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   312.897] (--) PCI:*(0@0:2:0) 8086:46a6:1028:0af3 rev 12, Mem @ 0x603d000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[   312.897] (II) LoadModule: "glx"
[   312.898] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   312.908] (II) Module glx: vendor="X.Org Foundation"
[   312.909]    compiled for 1.21.1.9, module version = 1.0.0
[   312.909]    ABI class: X.Org Server Extension, version 10.0
[   312.909] (II) LoadModule: "modesetting"
[   312.909] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   312.914] (II) Module modesetting: vendor="X.Org Foundation"
[   312.914]    compiled for 1.21.1.9, module version = 1.21.1
[   312.914]    Module class: X.Org Video Driver
[   312.914]    ABI class: X.Org Video Driver, version 25.2
[   312.914] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   312.914] (II) modeset(0): using drv /dev/dri/card0
[   312.914] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   312.915] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   312.915] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   312.915] (**) modeset(0): Option "AccelMethod" "sna"
[   312.915] (==) modeset(0): RGB weight 888
[   312.915] (==) modeset(0): Default visual is TrueColor
[   312.915] (**) modeset(0): glamor disabled
[   312.915] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[   312.915] (II) modeset(0): Double-buffered shadow updates: off
[   312.918] (II) modeset(0): Output eDP-1 has no monitor section
[   312.918] (II) modeset(0): Output DP-1 has no monitor section
[   312.918] (II) modeset(0): Output DP-2 has no monitor section
[   312.918] (II) modeset(0): Output DP-3 has no monitor section
[   312.918] (II) modeset(0): Output DP-4 has no monitor section
[   312.921] (II) modeset(0): EDID for output eDP-1
[   312.921] (II) modeset(0): Manufacturer: SHP  Model: 1551  Serial#: 0
[   312.921] (II) modeset(0): Year: 2021  Week: 49
[   312.921] (II) modeset(0): EDID Version: 1.4
[   312.921] (II) modeset(0): Digital Display Input
[   312.921] (II) modeset(0): 10 bits per channel
[   312.921] (II) modeset(0): Digital interface is DisplayPort
[   312.921] (II) modeset(0): Max Image Size [cm]: horiz.: 29  vert.: 18
[   312.922] (II) modeset(0): Gamma: 2.20
[   312.922] (II) modeset(0): No DPMS capabilities specified
[   312.922] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[   312.922] (II) modeset(0): First detailed timing is preferred mode
[   312.922] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   312.922] (II) modeset(0): Display is continuous-frequency
[   312.922] (II) modeset(0): redX: 0.661 redY: 0.322   greenX: 0.288 greenY: 0.631
[   312.922] (II) modeset(0): blueX: 0.149 blueY: 0.053   whiteX: 0.312 whiteY: 0.328
[   312.922] (II) modeset(0): Manufacturer's mask: 0
[   312.922] (II) modeset(0): Supported detailed timing:
[   312.922] (II) modeset(0): clock: 592.5 MHz   Image Size:  288 x 180 mm
[   312.922] (II) modeset(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[   312.922] (II) modeset(0): v_active: 2400  v_sync: 2403  v_sync_end 2409 v_blanking: 2469 v_border: 0
[   312.922] (II) modeset(0): Ranges: V min: 48 V max: 60 Hz, H min: 148 H max: 148 kHz, PixClock max 595 MHz
[   312.922] (II) modeset(0):  G59J8<81>LQ134R1
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1958
Location: 127.0.0.1

PostPosted: Wed Nov 15, 2023 5:22 pm    Post subject: Reply with quote

Comment démarres-tu ton serveur X ? startx ou /etc/init.d/display-manager ?
Essaye d'augmenter la verbosité du log du serveur X :
Quote:

−logverbose [n]

Sets the verbosity level for information printed to the Xorg server log file. If the n value isn’t supplied, each occurrence of this option increments the log file verbosity level. When the n value is supplied, the log file verbosity level is set to that value. The default log file verbosity level is 3.
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Wed Nov 15, 2023 7:17 pm    Post subject: Reply with quote

Je démarre avec "startx" ; et j'utilise Enlightenment.
J'ai testé avec Windowmaker : même résultat.
Code:

startx -logverbose 6
startx -logverbose 9

ne donnent pas plus d'infos dans les logs ; c'est exactement le même contenu.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1958
Location: 127.0.0.1

PostPosted: Thu Nov 16, 2023 8:02 am    Post subject: Reply with quote

As-tu un fichier ~/.xinitrc ? Si oui, quel est son contenu ?

Dans ton fichier /etc/X11/xorg.conf.d/20-graphics.conf ajoute ceci :
Code:

Section "Module"
   Load  "dri2"
   Load  "glamoregl"
EndSection

Et réessaye.
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Thu Nov 16, 2023 9:33 am    Post subject: Reply with quote

Quote:
.xinitrc

Code:
[...]
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
        for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
                [ -x "$f" ] && . "$f"
        done
        unset f
fi
exec /usr/bin/dbus-launch --sh-syntax --exit-with-session /usr/bin/enlightenment_start


Ajout de la section module avec le driver modesetting fait le même crash.

Ajout de la section module avec le driver intel fait que X démarre sans accélération : il est désactivé avec le message :
Code:
(EE) intel(0): Failed to submit rendering commands (Invalid argument), disabling acceleration.

Ça ne tourne pas avec glxgear
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8722
Location: ~Brussels - Belgique

PostPosted: Fri Nov 17, 2023 7:51 pm    Post subject: Reply with quote

est-ce que ton utilsateur est dans le groupe video ?
est-ce que tu as compilé xorg-server avec le use flag suid ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Mon Nov 20, 2023 3:06 pm    Post subject: Reply with quote

xaviermiller wrote:
est-ce que ton utilsateur est dans le groupe video ?
est-ce que tu as compilé xorg-server avec le use flag suid ?

Oui.
Oui.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8722
Location: ~Brussels - Belgique

PostPosted: Tue Nov 21, 2023 8:20 pm    Post subject: Reply with quote

Ok c'était quelques pierres à l'édifice...
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1958
Location: 127.0.0.1

PostPosted: Tue Nov 21, 2023 11:33 pm    Post subject: Reply with quote

Et si tu essayes ce que suggère le wiki, c'est à dire (pour utiliser le driver modesetting):
Code:

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "modesetting"
        Option      "AccelMethod"    "glamor"
        Option      "DRI"            "3"
EndSection

(et non "DRI" "iris")
Tous les sujets sur lesquels je suis tombé sur ce forum et ailleurs arrivaient à cette configuration.
Note que, visiblement, c'est la configuration par défaut utilisée par xorg, ce qui revient à dire que tu obtiendrais le même résultat si tu supprimais simplement ce fichier de configuration.
Si çà ne fonctionne toujours pas, n'y a t'il rien de particulier au niveau des messages kernel ?
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Fri Nov 24, 2023 11:11 am    Post subject: Reply with quote

Je l'avais déjà testé cette config avant de tester les autres options/modules/drivers...
L'erreur sur l'écran :
xinit: unable to connect to X server...

Pas de logs au niveau du kernel. Vraiment. Rien dans /var/log/ n'a bougé.
Les logs de Xorg ne sont pas parlant.
Code:

[  8895.389] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  8895.389] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  8895.389] (==) No Layout section.  Using the first Screen section.
[  8895.389] (==) No screen section available. Using defaults.
[  8895.389] (**) |-->Screen "Default Screen Section" (0)
[  8895.389] (**) |   |-->Monitor "<default monitor>"
[  8895.390] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  8895.390] (**) |   |-->Device "Intel Graphics"
[  8895.390] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  8895.390] (==) Automatically adding devices
[  8895.390] (==) Automatically enabling devices
[  8895.390] (==) Automatically adding GPU devices
[  8895.390] (==) Automatically binding GPU devices
[  8895.390] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  8895.390] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/75dpi/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/monafont,
        /usr/share/fonts/misc,
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[  8895.390] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  8895.390] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  8895.390] (II) Module ABI versions:
[  8895.390]    X.Org ANSI C Emulation: 0.4
[  8895.390]    X.Org Video Driver: 25.2
[  8895.390]    X.Org XInput driver : 24.4
[  8895.390]    X.Org Server Extension : 10.0
[  8895.391] (++) using VT number 1

[  8895.394] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[  8895.399] (II) xfree86: Adding drm device (/dev/dri/card0)
[  8895.399] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  8895.400] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  8895.414] (--) PCI:*(0@0:2:0) 8086:46a6:1028:0af3 rev 12, Mem @ 0x603d000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[  8895.414] (II) LoadModule: "glx"
[  8895.415] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  8895.416] (II) Module glx: vendor="X.Org Foundation"
[  8895.416]    compiled for 1.21.1.9, module version = 1.0.0
[  8895.416]    ABI class: X.Org Server Extension, version 10.0
[  8895.417] (II) LoadModule: "modesetting"
[  8895.417] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  8895.417] (II) Module modesetting: vendor="X.Org Foundation"
[  8895.417]    compiled for 1.21.1.9, module version = 1.21.1
[  8895.417]    Module class: X.Org Video Driver
[  8895.417]    ABI class: X.Org Video Driver, version 25.2
[  8895.418] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  8895.418] (II) modeset(0): using drv /dev/dri/card0
[  8895.418] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  8895.418] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  8895.418] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  8895.418] (**) modeset(0): Option "AccelMethod" "glamor"
[  8895.418] (==) modeset(0): RGB weight 888
[  8895.418] (==) modeset(0): Default visual is TrueColor
[  8895.418] (II) Loading sub module "glamoregl"
[  8895.418] (II) LoadModule: "glamoregl"
[  8895.418] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[  8895.431] (II) Module glamoregl: vendor="X.Org Foundation"
[  8895.431]    compiled for 1.21.1.9, module version = 1.0.1
[  8895.431]    ABI class: X.Org ANSI C Emulation, version 0.4
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Fri Nov 24, 2023 11:21 am    Post subject: Reply with quote

Dans mon "dmesg", il y a 'Process accounting resumed' antérieur au changement de config.
:roll:
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1958
Location: 127.0.0.1

PostPosted: Fri Nov 24, 2023 12:17 pm    Post subject: Reply with quote

Sur la page xorg du wiki il y a un passage intéressant :
Quote:

X server starts and dies unexpectedly with no errors
Problem: Running startx will start the X server, however it will immediately die without any errors (searching "EE" in /var/log/Xorg.0.log returns no related results).
Cause: an empty .xinitrc file exists for the user who is running the startx command, so the X server is starting, then stopping because there is nothing left for it to do.

Resolution: Either remove the .xinitrc file or define a window manager inside it.

Ce qui revient à dire que si ta commande exec /usr/bin/dbus-launch [...] échoue pour une raison ou pour une autre, tu tomberais sur ce cas.
Dans ton .xinitrc, si tu essaies ceci pour l'expérience :
Code:

exec enlightenment_start > /tmp/out.log

Que se passe t'il ?
Back to top
View user's profile Send private message
y351
Apprentice
Apprentice


Joined: 21 May 2017
Posts: 200

PostPosted: Sat Nov 25, 2023 5:26 pm    Post subject: Reply with quote

Il ne se passe rien : rien n'est sorti...

Avec la config xorg qui marche i.e. "sna", le out.log donne :
Code:

Enlightenment: Command: /usr/bin/enlightenment


C'est dur de deboguer quand on n'a pratiquement rien... :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
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