Aivar
leonardo19
в англоязычном посте вместо disk я ошибся и написал dick …
:-О
Жесть… )))
И как ответили?
Сам заметил через несколько минут и исправил. Надеюсь, мало кто успел прочитать :)
vasek
все-таки неплохо бы влезти в тот топик на GitHub да и спросить совета
Нет :)
После того, как однажды в англоязычном посте вместо disk я ошибся и написал dick ...
vasek
даже мелькнула мысль, а не наш ли это leonardo19?
Нет :)
Morisson
Попробуй повторно добавить себя в группу video
vasek
а не пробовал рекомендацию poettering - создать файл /etc/modules-load.d/test.conf и прописать в нем drm
ну и не понятное, но помогшее Morisson - повторно добавить себя в группу video
Создал файл /etc/modules-load.d/test.conf с содержанием
drm
Перезагрузился.
Не помогло.
В группе video не состоял. Добавил себя.
(Кстати, почему именно команда sudo usermod -aG video $USER? Я использовал sudo gpasswd -a $USER video.)
Не помогло.
Против кармы не попрёшь.
vasek
Но я и хотел предложить создать этот файл /etc/X11/Xwrapper.config и прописать в нем строчку needs_root_rights=yes
Пробовал, не помогло.
vasek
Morisson, leonardo19, а сколько у Вас видеокарт?
У меня одна интегрированная в материнскую плату.
vasek
а выше (почти в начале) не понятная ошибка (в смысле чем обусловлена и как она влияет)
С драйвером intel эта ошибка тоже есть, но с ним-то иксы запускаются.
Morisson, не помогло — та же ошибка.
Morisson
Если добавить в MODULES i915- заработает
Почему-то в последнее время такой косяк. После какого-то обновления.
Смешно будет: несколько недель назад как раз удалил, решив, что пара секунд Early KMS не стоят того...
Решил ещё поэспериментировать с modesetting.
/etc/X11/xorg.conf.d/20-intel.conf:
Section "Device"
   Identifier  "Intel Graphics"
#   Driver      "intel"
   Driver      "modesetting"
   BusID       "PCI:0:2:0"
EndSection
В результате снова не завелось, но уже с другой ошибкой. Прогресс, однако :)
[ 19297.720] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 19297.721]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 19297.721] Build Operating System: Linux Arch Linux
[ 19297.721] Current Operating System: Linux archer15 5.3.11-arch1-1 #1 SMP PREEMPT Tue, 12 Nov 2019 22:19:48 +0000 x86_64
[ 19297.721] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=491f3fe5-57a0-402b-9966-a8b5bf9a3fd2 rw quiet
[ 19297.721] Build Date: 25 October 2019  08:43:50AM
[ 19297.721]
[ 19297.721] Current version of pixman: 0.38.4
[ 19297.721] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 19297.721] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 19297.722] (==) Log file: "/home/myuser/.local/share/xorg/Xorg.0.log", Time: Thu Nov 14 14:53:57 2019
[ 19297.723] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 19297.723] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 19297.723] (==) ServerLayout "ServerLayout0"
[ 19297.723] (==) No screen section available. Using defaults.
[ 19297.723] (**) |-->Screen "Default Screen Section" (0)
[ 19297.723] (**) |   |-->Monitor "<default monitor>"
[ 19297.724] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 19297.724] (**) |   |-->Device "Intel Graphics"
[ 19297.724] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 19297.724] (**) Option "BlankTime" "60"
[ 19297.724] (**) Option "StandbyTime" "60"
[ 19297.724] (**) Option "SuspendTime" "60"
[ 19297.724] (**) Option "OffTime" "0"
[ 19297.724] (==) Automatically adding devices
[ 19297.724] (==) Automatically enabling devices
[ 19297.724] (==) Automatically adding GPU devices
[ 19297.724] (==) Automatically binding GPU devices
[ 19297.724] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 19297.724] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[ 19297.724] 	Entry deleted from font path.
[ 19297.725] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[ 19297.725] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[ 19297.725] 	Entry deleted from font path.
[ 19297.725] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[ 19297.725] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1
[ 19297.725] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 19297.725] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 19297.725] (II) Module ABI versions:
[ 19297.725] 	X.Org ANSI C Emulation: 0.4
[ 19297.725] 	X.Org Video Driver: 24.0
[ 19297.725] 	X.Org XInput driver : 24.1
[ 19297.725] 	X.Org Server Extension : 10.0
[ 19297.728] (++) using VT number 1

[ 19297.736] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_329
[ 19297.738] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 19297.743] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 1
[ 19297.743] (EE) Error systemd-logind returned paused fd for drm node
[ 19297.743] (II) systemd-logind: releasing fd for 226:0
[ 19297.755] (--) PCI:*(0@0:2:0) 8086:29c2:1458:d000 rev 16, Mem @ 0xfdf00000/524288, 0xd0000000/268435456, 0xfde00000/1048576, I/O @ 0x0000ff00/8, BIOS @ 0x????????/131072
[ 19297.755] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 19297.755] (II) LoadModule: "glx"
[ 19297.756] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 19297.765] (II) Module glx: vendor="X.Org Foundation"
[ 19297.765] 	compiled for 1.20.5, module version = 1.0.0
[ 19297.765] 	ABI class: X.Org Server Extension, version 10.0
[ 19297.765] (II) LoadModule: "modesetting"
[ 19297.766] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 19297.768] (II) Module modesetting: vendor="X.Org Foundation"
[ 19297.768] 	compiled for 1.20.5, module version = 1.20.5
[ 19297.768] 	Module class: X.Org Video Driver
[ 19297.768] 	ABI class: X.Org Video Driver, version 24.0
[ 19297.768] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 19297.774] (**) modeset(0): claimed PCI slot 0@0:2:0
[ 19297.774] (II) modeset(0): using default device
[ 19297.774] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 19297.775] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[ 19297.775] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 19297.775] (==) modeset(0): RGB weight 888
[ 19297.775] (==) modeset(0): Default visual is TrueColor
[ 19297.775] (II) Loading sub module "glamoregl"
[ 19297.775] (II) LoadModule: "glamoregl"
[ 19297.775] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 19297.808] (II) Module glamoregl: vendor="X.Org Foundation"
[ 19297.808] 	compiled for 1.20.5, module version = 1.0.1
[ 19297.808] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 19297.859] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) G33
[ 19297.860] (II) modeset(0): glamor initialized
[ 19297.881] (II) modeset(0): Output VGA-1 has no monitor section
[ 19297.898] (II) modeset(0): EDID for output VGA-1
[ 19297.898] (II) modeset(0): Manufacturer: SAM  Model: 6a5  Serial#: 808728626
[ 19297.898] (II) modeset(0): Year: 2012  Week: 13
[ 19297.898] (II) modeset(0): EDID Version: 1.3
[ 19297.898] (II) modeset(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[ 19297.898] (II) modeset(0): Sync:  Separate  Composite  SyncOnGreen
[ 19297.898] (II) modeset(0): Max Image Size [cm]: horiz.: 41  vert.: 26
[ 19297.898] (II) modeset(0): Gamma: 2.20
[ 19297.898] (II) modeset(0): DPMS capabilities: Off; RGB/Color Display
[ 19297.898] (II) modeset(0): First detailed timing is preferred mode
[ 19297.898] (II) modeset(0): redX: 0.650 redY: 0.340   greenX: 0.285 greenY: 0.605
[ 19297.898] (II) modeset(0): blueX: 0.140 blueY: 0.070   whiteX: 0.313 whiteY: 0.329
[ 19297.898] (II) modeset(0): Supported established timings:
[ 19297.899] (II) modeset(0): 720x400@70Hz
[ 19297.899] (II) modeset(0): 640x480@60Hz
[ 19297.899] (II) modeset(0): 640x480@67Hz
[ 19297.899] (II) modeset(0): 640x480@72Hz
[ 19297.899] (II) modeset(0): 640x480@75Hz
[ 19297.899] (II) modeset(0): 800x600@56Hz
[ 19297.899] (II) modeset(0): 800x600@60Hz
[ 19297.899] (II) modeset(0): 800x600@72Hz
[ 19297.899] (II) modeset(0): 800x600@75Hz
[ 19297.899] (II) modeset(0): 832x624@75Hz
[ 19297.899] (II) modeset(0): 1024x768@60Hz
[ 19297.899] (II) modeset(0): 1024x768@70Hz
[ 19297.899] (II) modeset(0): 1024x768@75Hz
[ 19297.899] (II) modeset(0): 1280x1024@75Hz
[ 19297.899] (II) modeset(0): 1152x864@75Hz
[ 19297.899] (II) modeset(0): Manufacturer's mask: 0
[ 19297.899] (II) modeset(0): Supported standard timings:
[ 19297.899] (II) modeset(0): #0: hsize: 1440  vsize 900  refresh: 60  vid: 149
[ 19297.899] (II) modeset(0): #1: hsize: 1440  vsize 900  refresh: 75  vid: 3989
[ 19297.899] (II) modeset(0): #2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[ 19297.899] (II) modeset(0): #3: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[ 19297.899] (II) modeset(0): #4: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[ 19297.899] (II) modeset(0): #5: hsize: 1280  vsize 800  refresh: 60  vid: 129
[ 19297.899] (II) modeset(0): Supported detailed timing:
[ 19297.899] (II) modeset(0): clock: 106.5 MHz   Image Size:  408 x 255 mm
[ 19297.899] (II) modeset(0): h_active: 1440  h_sync: 1520  h_sync_end 1672 h_blank_end 1904 h_border: 0
[ 19297.899] (II) modeset(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 934 v_border: 0
[ 19297.899] (II) modeset(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz
[ 19297.899] (II) modeset(0): Monitor name: SMB1920NW
[ 19297.899] (II) modeset(0): Serial No: HLOB304854
[ 19297.899] (II) modeset(0): EDID (in hex):
[ 19297.899] (II) modeset(0): 	00ffffffffffff004c2da50632383430
[ 19297.899] (II) modeset(0): 	0d1601030e291a782a80c5a657499b23
[ 19297.900] (II) modeset(0): 	125054bfef809500950f81808140714f
[ 19297.900] (II) modeset(0): 	8100010101019a29a0d0518422305098
[ 19297.900] (II) modeset(0): 	360098ff1000001c000000fd00384b1e
[ 19297.900] (II) modeset(0): 	510e000a202020202020000000fc0053
[ 19297.900] (II) modeset(0): 	4d42313932304e570a202020000000ff
[ 19297.900] (II) modeset(0): 	00484c4f423330343835340a2020002c
[ 19297.900] (II) modeset(0): Printing probed modes for output VGA-1
[ 19297.900] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz eP)
[ 19297.900] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1440x900"x75.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[ 19297.900] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 19297.900] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[ 19297.900] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[ 19297.901] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 19297.901] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 19297.901] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 19297.901] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 19297.901] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[ 19297.901] (II) modeset(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[ 19297.901] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 19297.901] (II) modeset(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 19297.901] (II) modeset(0): Output VGA-1 connected
[ 19297.901] (II) modeset(0): Using exact sizes for initial modes
[ 19297.901] (II) modeset(0): Output VGA-1 using initial mode 1440x900 +0+0
[ 19297.901] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 19297.901] (==) modeset(0): DPI set to (96, 96)
[ 19297.901] (II) Loading sub module "fb"
[ 19297.901] (II) LoadModule: "fb"
[ 19297.901] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 19297.902] (II) Module fb: vendor="X.Org Foundation"
[ 19297.902] 	compiled for 1.20.5, module version = 1.0.0
[ 19297.902] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 19297.902] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 19297.903] (EE)
Fatal server error:
[ 19297.903] (EE) AddScreen/ScreenInit failed for driver 0
[ 19297.903] (EE)
[ 19297.903] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[ 19297.903] (EE) Please also check the log file at "/home/myuser/.local/share/xorg/Xorg.0.log" for additional information.
[ 19297.903] (EE)
[ 19297.952] (EE) Server terminated with error (1). Closing log file.