LINUX.ORG.RU

Проблемы с Xorg в Void Linux.

 ,


0

1

Не могу запустить иксы с пользователя. В логах вот что даёт (~/.local/share/xorg/Xorg.0.log):

[   129.110] (EE) no screens found(EE) 

Самое забавное что из под рута всё прекрасно запускает!

Раньше работало прекрасно, после обновления начались такие «приколы». Запускаю без какого-либо иксового конфига.

На всякий случай выложу все логи:

[   128.241] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[   128.242] Current Operating System: Linux void 6.6.31_1 #1 SMP PREEMPT_DYNAMIC Sat May 18 01:07:55 UTC 2024 x86_64
[   128.242] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.6.31_1 root=UUID=fe545330-017c-4f68-9134-b4c402d0575b ro loglevel=4
[   128.243]  
[   128.244] Current version of pixman: 0.43.4
[   128.245] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   128.245] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   128.247] (==) Log file: "/home/tux/.local/share/xorg/Xorg.0.log", Time: Sun May 26 17:34:46 2024
[   128.278] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   128.344] (==) No Layout section.  Using the first Screen section.
[   128.344] (==) No screen section available. Using defaults.
[   128.344] (**) |-->Screen "Default Screen Section" (0)
[   128.344] (**) |   |-->Monitor "<default monitor>"
[   128.344] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   128.344] (**) Allowing byte-swapped clients
[   128.344] (==) Automatically adding devices
[   128.344] (==) Automatically enabling devices
[   128.344] (==) Automatically adding GPU devices
[   128.344] (==) Automatically binding GPU devices
[   128.344] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   128.413] (WW) The directory "/usr/share/fonts/X11/OTF" does not exist.
[   128.413] 	Entry deleted from font path.
[   128.448] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/TTF,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi
[   128.448] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   128.448] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   128.448] (II) Module ABI versions:
[   128.448] 	X.Org ANSI C Emulation: 0.4
[   128.448] 	X.Org Video Driver: 25.2
[   128.448] 	X.Org XInput driver : 24.4
[   128.448] 	X.Org Server Extension : 10.0
[   128.449] (II) xfree86: Adding drm device (/dev/dri/card0)
[   128.449] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   128.453] (--) PCI:*(0@0:2:0) 8086:0102:1043:844d rev 9, Mem @ 0xfe000000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   128.453] (II) Open ACPI successful (/var/run/acpid.socket)
[   128.453] (II) LoadModule: "glx"
[   128.462] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   128.625] (II) Module glx: vendor="X.Org Foundation"
[   128.625] 	compiled for 1.21.1.13, module version = 1.0.0
[   128.625] 	ABI class: X.Org Server Extension, version 10.0
[   128.625] (==) Matched intel as autoconfigured driver 0
[   128.625] (==) Matched modesetting as autoconfigured driver 1
[   128.625] (==) Matched fbdev as autoconfigured driver 2
[   128.625] (==) Matched vesa as autoconfigured driver 3
[   128.625] (==) Assigned the driver to the xf86ConfigLayout
[   128.625] (II) LoadModule: "intel"
[   128.653] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   128.721] (II) Module intel: vendor="X.Org Foundation"
[   128.721] 	compiled for 1.21.1.3, module version = 2.99.917
[   128.721] 	Module class: X.Org Video Driver
[   128.721] 	ABI class: X.Org Video Driver, version 25.2
[   128.721] (II) LoadModule: "modesetting"
[   128.721] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   128.796] (II) Module modesetting: vendor="X.Org Foundation"
[   128.797] 	compiled for 1.21.1.13, module version = 1.21.1
[   128.797] 	Module class: X.Org Video Driver
[   128.797] 	ABI class: X.Org Video Driver, version 25.2
[   128.797] (II) LoadModule: "fbdev"
[   128.797] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[   128.811] (II) Module fbdev: vendor="X.Org Foundation"
[   128.811] 	compiled for 1.21.1.3, module version = 0.5.0
[   128.811] 	Module class: X.Org Video Driver
[   128.811] 	ABI class: X.Org Video Driver, version 25.2
[   128.811] (II) LoadModule: "vesa"
[   128.811] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[   128.813] (II) Module vesa: vendor="X.Org Foundation"
[   128.813] 	compiled for 1.21.1.8, module version = 2.6.0
[   128.813] 	Module class: X.Org Video Driver
[   128.813] 	ABI class: X.Org Video Driver, version 25.2
[   128.813] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   128.813] (II) intel: Driver for Intel(R) HD Graphics
[   128.813] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   128.813] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   128.813] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   128.813] (II) FBDEV: driver for framebuffer: fbdev
[   128.813] (II) VESA: driver for VESA chipsets: vesa
[   128.813] (++) using VT number 1

[   128.813] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[   129.076] (EE) open /dev/dri/card0: Permission denied
[   129.076] (WW) Falling back to old probe method for modesetting
[   129.076] (EE) open /dev/dri/card0: Permission denied
[   129.076] (II) Loading sub module "fbdevhw"
[   129.076] (II) LoadModule: "fbdevhw"
[   129.076] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[   129.109] (II) Module fbdevhw: vendor="X.Org Foundation"
[   129.109] 	compiled for 1.21.1.13, module version = 0.0.2
[   129.109] 	ABI class: X.Org Video Driver, version 25.2
[   129.109] (EE) Unable to find a valid framebuffer device
[   129.109] (WW) Falling back to old probe method for fbdev
[   129.109] (II) Loading sub module "fbdevhw"
[   129.109] (II) LoadModule: "fbdevhw"
[   129.110] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[   129.110] (II) Module fbdevhw: vendor="X.Org Foundation"
[   129.110] 	compiled for 1.21.1.13, module version = 0.0.2
[   129.110] 	ABI class: X.Org Video Driver, version 25.2
[   129.110] (EE) open /dev/fb0: Permission denied
[   129.110] vesa: Refusing to run, Framebuffer or dri device present
[   129.110] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   129.110] (EE) Screen 0 deleted because of no matching config section.
[   129.110] (II) UnloadModule: "modesetting"
[   129.110] (EE) Screen 0 deleted because of no matching config section.
[   129.110] (II) UnloadModule: "fbdev"
[   129.110] (II) UnloadSubModule: "fbdevhw"
[   129.110] (EE) Device(s) detected, but none match those in the config file.
[   129.110] (EE) 
Fatal server error:
[   129.110] (EE) no screens found(EE) 
[   129.110] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   129.110] (EE) Please also check the log file at "/home/tux/.local/share/xorg/Xorg.0.log" for additional information.
[   129.110] (EE) 
[   129.149] (EE) Server terminated with error (1). Closing log file.

Bakamashine
() автор топика
Ответ на: комментарий от Bakamashine

Из под рута отличия начинаются с этой строчки?

[   129.076] (EE) open /dev/dri/card0: Permission denied

Возможно до обновления Xorg был suid-root а теперь оно слетело.

firkax ★★★★★
()
Последнее исправление: firkax (всего исправлений: 1)
Ответ на: комментарий от Bakamashine

Просто от рута дал сменил владельца в папке dev командой chown и всё заработало.

Вообще, хорошо, что ты сообщаешь о своих действиях.

Но вообще-то и в общем, в директорию /dev монтируется файловая система devfs, а это значит, что после перезагрузки права уберутся, т.к. файловая система будет новой.

Поэтому, в общем, неплохо бы обратиться к официальной документации твоего дистрибутива, почитать wiki и changelog обновления.

И заметь, есть два слова:

  • в общем;
  • вообще.
anonymous
()
Ответ на: комментарий от anonymous

монтируется файловая система devfs

Не devfs а почти tmpfs, файлы устройств там создаёт udev. devfs есть в BSD, там файлы устройств создаёт ядро.

И заметь, есть два слова:

Но ты перечислил три.

firkax ★★★★★
()