LINUX.ORG.RU

xinit не работает

 , ,


0

1

Столкнулся с такой проблемой:

Build Date: 24 January 2020  09:37:05PM

Current version of pixman: 0.34.0
        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: "/var/log/Xorg.0.log", Time: Tue Feb 11 00:47:56 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
OpenGL ES 2.0 (OpenGL ES 2.0)

waiting for X server to begin accepting connections (II) Server terminated successfully (0). Closing log file.

xinit: giving up
xinit: unable to connect to X server: Connection reset by peer
xinit: server error
Couldn't get a file descriptor referring to the console

Получается, что иксы просто завершаются и xinit не успевает к ним подключится. Как это решить?

Ответ на: комментарий от Pinkbyte

Кстати самое интересное что под gdb если запустить X, то оно ждет соединения, если без, то просто завершается. Вряд ли вам что-то логи подскажут, но я вечером выложу. В логах никаких ошибок

nillerusr
() автор топика
Ответ на: комментарий от Pinkbyte
[  8990.941] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[  8990.942] Build Operating System: Linux 3.10.54 armv7l Gentoo
[  8990.942] Current Operating System: Linux localhost 3.10.54 #4 SMP PREEMPT Thu Jul 30 14:48:55 CST 2015 armv7l
[  8990.942] Kernel command line: console=tty0 console=ttyMT0,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O coherent_pool=3240K lcm=1-sl101pc33y0863a_lcm_drv fps=6481 vram=27262976 bootprof.pl_t=1517 bootprof.lk_t=2367 printk.disable_uart=1 boot_reason=4 androidboot.serialno=CQV47SFQVWRKVWNV androidboot.bootreason=wdt_by_pass_pwk ¬
[  8990.943] Build Date: 24 January 2020  09:37:05PM
[  8990.943]  
[  8990.943] Current version of pixman: 0.34.0
[  8990.943] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  8990.943] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  8990.944] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 11 16:00:10 2020
[  8990.944] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  8990.944] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  8990.945] (==) No Layout section.  Using the first Screen section.
[  8990.945] (==) No screen section available. Using defaults.
[  8990.945] (**) |-->Screen "Default Screen Section" (0)
[  8990.945] (**) |   |-->Monitor "<default monitor>"
[  8990.946] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  8990.946] (**) |   |-->Device "Card0"
[  8990.946] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  8990.947] (==) Automatically adding devices
[  8990.947] (==) Automatically enabling devices
[  8990.947] (==) Automatically adding GPU devices
[  8990.947] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  8990.947] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  8990.947] 	Entry deleted from font path.
[  8990.947] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  8990.947] 	Entry deleted from font path.
[  8990.947] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  8990.947] 	Entry deleted from font path.
[  8990.947] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[  8990.947] 	Entry deleted from font path.
[  8990.947] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[  8990.947] 	Entry deleted from font path.
[  8990.947] (==) FontPath set to:
	/usr/share/fonts/misc/
[  8990.947] (==) ModulePath set to "/usr/lib/xorg/modules"
[  8990.947] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  8990.947] (II) Loader magic: 0xb7002dd0
[  8990.947] (II) Module ABI versions:
[  8990.947] 	X.Org ANSI C Emulation: 0.4
[  8990.947] 	X.Org Video Driver: 24.0
[  8990.948] 	X.Org XInput driver : 24.1
[  8990.948] 	X.Org Server Extension : 10.0
[  8990.948] (II) no primary bus or device found
[  8990.948] (II) LoadModule: "hwcomposer"
[  8990.949] (II) Loading /usr/lib/xorg/modules/drivers/hwcomposer_drv.so
[  8991.818] (II) Module hwcomposer: vendor="X.Org Foundation"
[  8991.818] 	compiled for 1.20.5, module version = 0.3.8
[  8991.818] 	Module class: X.Org Video Driver
[  8991.818] 	ABI class: X.Org Video Driver, version 24.0
[  8991.818] (II) hwcomposer: Driver for Android devices with HWComposser API:
	hwcomposer
[  8991.818] (WW) Falling back to old probe method for hwcomposer
[  8991.818] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  8991.819] (II) hwcomposer(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  8991.819] (==) hwcomposer(0): Depth 24, (--) framebuffer bpp 32
[  8991.819] (==) hwcomposer(0): RGB weight 888
[  8991.819] (==) hwcomposer(0): Default visual is TrueColor
[  8991.819] (==) hwcomposer(0): Using gamma correction (1.0, 1.0, 1.0)
[  8991.819] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[  8991.819] (**) hwcomposer(0): Option "EGLPlatform" "null"
[  8992.058] (II) hwcomposer(0): width: 800 height: 1280
[  8992.059] (II) hwcomposer(0): Output hwcomposer has no monitor section
[  8992.059] (II) hwcomposer(0): Printing probed modes for output hwcomposer
[  8992.059] (II) hwcomposer(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz)
[  8992.060] (II) hwcomposer(0): Output hwcomposer connected
[  8992.060] (II) hwcomposer(0): Using sloppy heuristic for initial modes
[  8992.060] (II) hwcomposer(0): Output hwcomposer using initial mode 1280x800 +0+0
[  8992.060] (==) hwcomposer(0): DPI set to (96, 96)
[  8992.060] (II) Loading sub module "fb"
[  8992.060] (II) LoadModule: "fb"
[  8992.061] (II) Loading /usr/lib/xorg/modules/libfb.so
[  8992.100] (II) Module fb: vendor="X.Org Foundation"
[  8992.100] 	compiled for 1.20.5, module version = 1.0.0
[  8992.100] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8993.485] (==) hwcomposer(0): Backing store enabled
[  8993.485] (==) hwcomposer(0): Silken mouse enabled
[  8993.486] (==) hwcomposer(0): DPMS enabled
[  8993.487] (II) Initializing extension Generic Event Extension
[  8993.487] (II) Initializing extension SHAPE
[  8993.487] (II) Initializing extension MIT-SHM
[  8993.487] (II) Initializing extension XInputExtension
[  8993.487] (II) Initializing extension XTEST
[  8993.488] (II) Initializing extension BIG-REQUESTS
[  8993.488] (II) Initializing extension SYNC
[  8993.488] (II) Initializing extension XKEYBOARD
[  8993.488] (II) Initializing extension XC-MISC
[  8993.488] (II) Initializing extension XFIXES
[  8993.488] (II) Initializing extension RENDER
[  8993.489] (II) Initializing extension RANDR
[  8993.489] (II) Initializing extension COMPOSITE
[  8993.489] (II) Initializing extension DAMAGE
[  8993.489] (II) Initializing extension MIT-SCREEN-SAVER
[  8993.489] (II) Initializing extension DOUBLE-BUFFER
[  8993.489] (II) Initializing extension DPMS
[  8993.490] (II) Initializing extension Present
[  8993.490] (II) Initializing extension DRI3
[  8993.490] (II) Initializing extension X-Resource
[  8993.490] (II) Initializing extension XVideo
[  8993.490] (II) Initializing extension XVideo-MotionCompensation
[  8993.490] (II) Initializing extension XFree86-VidModeExtension
[  8993.490] (II) Initializing extension XFree86-DGA
[  8993.492] (II) hwcomposer(0): alloc: status=1, stride=1280
[  8993.533] (II) hwcomposer(0): gralloc lock returns 1
[  8993.534] (II) hwcomposer(0): lock to vaddr 0xac40f000
[  8993.534] (II) hwcomposer(0): Damage tracking initialized
[  8993.534] (II) hwcomposer(0): Setting screen physical size to 338 x 211
nillerusr
() автор топика
Ответ на: комментарий от Pinkbyte

Вообщем это не иксовая пробелма и вряд ли мне тут помогут, я уже нашел проблему

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

Я SIGINT нечаянно в драйвере поставил. Сам спросил, сам ответил. Ну да ладно, вы ж не экстрасенсы

nillerusr
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.