You are not logged in.

#1 2021-06-19 10:52:43

sewe2000
Member
Registered: 2021-06-19
Posts: 19

[SOLVED] Startx freezes system and doesn't enter into window manager

Hello!
Yesterday, I ran into a problem. I updated my system and after some time I rebooted (because it was a kernel update). After reboot, startx began to freeze system every time. I cannot change ttys and Ctrl-C doesn't work either. I tried to downgrade the kernel but it hadn't any effects on X. My CPU is AMD Ryzen 3 2200G with AMD Radeon Vega 8 integrated GPU. I checked arch wiki and it says that I should use amdgpu driver, so I do. Here's my ~/.local/share/xorg/Xorg.0.Log:

[   234.089] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   234.097] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   234.097] Build Operating System: Linux Archlinux
[   234.097] Current Operating System: Linux archlinux 5.12.11-arch1-1 #1 SMP PREEMPT Wed, 16 Jun 2021 15:25:28 +0000 x86_64
[   234.097] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f410ef33-9b01-44d7-93ba-1a5f641872df rw loglevel=3 quiet
[   234.098] Build Date: 13 April 2021  03:12:10PM
[   234.098]  
[   234.098] Current version of pixman: 0.40.0
[   234.098] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   234.098] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   234.099] (==) Log file: "/home/seweryn/.local/share/xorg/Xorg.0.log", Time: Sat Jun 19 10:23:38 2021
[   234.147] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   234.173] (==) No Layout section.  Using the first Screen section.
[   234.173] (==) No screen section available. Using defaults.
[   234.173] (**) |-->Screen "Default Screen Section" (0)
[   234.173] (**) |   |-->Monitor "<default monitor>"
[   234.173] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   234.173] (==) Automatically adding devices
[   234.173] (==) Automatically enabling devices
[   234.173] (==) Automatically adding GPU devices
[   234.173] (==) Automatically binding GPU devices
[   234.173] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   234.227] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   234.227] 	Entry deleted from font path.
[   234.227] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   234.227] 	Entry deleted from font path.
[   234.227] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   234.227] 	Entry deleted from font path.
[   234.227] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[   234.227] (==) ModulePath set to "/usr/lib/xorg/modules"
[   234.227] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   234.227] (II) Module ABI versions:
[   234.227] 	X.Org ANSI C Emulation: 0.4
[   234.227] 	X.Org Video Driver: 24.1
[   234.227] 	X.Org XInput driver : 24.1
[   234.227] 	X.Org Server Extension : 10.0
[   234.228] (++) using VT number 1

[   234.229] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   234.231] (II) xfree86: Adding drm device (/dev/dri/card0)
[   234.231] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   234.236] (--) PCI:*(56@0:0:0) 1002:15dd:1462:7b07 rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   234.236] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   234.236] (II) LoadModule: "glx"
[   234.250] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   234.299] (II) Module glx: vendor="X.Org Foundation"
[   234.299] 	compiled for 1.20.11, module version = 1.0.0
[   234.299] 	ABI class: X.Org Server Extension, version 10.0
[   234.299] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[   234.299] 	loading driver: amdgpu
[   234.299] (==) Matched amdgpu as autoconfigured driver 0
[   234.299] (==) Matched ati as autoconfigured driver 1
[   234.299] (==) Matched modesetting as autoconfigured driver 2
[   234.299] (==) Matched fbdev as autoconfigured driver 3
[   234.299] (==) Matched vesa as autoconfigured driver 4
[   234.299] (==) Assigned the driver to the xf86ConfigLayout
[   234.299] (II) LoadModule: "amdgpu"
[   234.299] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[   234.338] (II) Module amdgpu: vendor="X.Org Foundation"
[   234.338] 	compiled for 1.20.8, module version = 19.1.0
[   234.338] 	Module class: X.Org Video Driver
[   234.338] 	ABI class: X.Org Video Driver, version 24.1
[   234.338] (II) LoadModule: "ati"
[   234.339] (WW) Warning, couldn't open module ati
[   234.339] (EE) Failed to load module "ati" (module does not exist, 0)
[   234.339] (II) LoadModule: "modesetting"
[   234.339] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   234.345] (II) Module modesetting: vendor="X.Org Foundation"
[   234.345] 	compiled for 1.20.11, module version = 1.20.11
[   234.345] 	Module class: X.Org Video Driver
[   234.345] 	ABI class: X.Org Video Driver, version 24.1
[   234.345] (II) LoadModule: "fbdev"
[   234.345] (WW) Warning, couldn't open module fbdev
[   234.345] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   234.345] (II) LoadModule: "vesa"
[   234.346] (WW) Warning, couldn't open module vesa
[   234.346] (EE) Failed to load module "vesa" (module does not exist, 0)
[   234.346] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   234.346] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2872.825] (WW) Falling back to old probe method for modesetting
[  2872.825] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2872.825] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  2872.825] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[  2872.826] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[  2872.826] (==) AMDGPU(0): Default visual is TrueColor
[  2872.826] (==) AMDGPU(0): RGB weight 888
[  2872.826] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[  2872.826] (--) AMDGPU(0): Chipset: "AMD Radeon(TM) Vega 8 Graphics" (ChipID = 0x15dd)
[  2872.826] (II) Loading sub module "fb"
[  2872.826] (II) LoadModule: "fb"
[  2872.826] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2872.933] (II) Module fb: vendor="X.Org Foundation"
[  2872.933] 	compiled for 1.20.11, module version = 1.0.0
[  2872.933] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2872.933] (II) Loading sub module "dri2"
[  2872.933] (II) LoadModule: "dri2"
[  2872.933] (II) Module "dri2" already built-in
[  2873.778] (II) Loading sub module "glamoregl"
[  2873.778] (II) LoadModule: "glamoregl"
[  2873.779] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  2873.814] (II) Module glamoregl: vendor="X.Org Foundation"
[  2873.814] 	compiled for 1.20.11, module version = 1.0.1
[  2873.814] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2873.951] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.12.11-arch1-1, LLVM 12.0.0)
[  2873.951] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[  2873.951] (==) AMDGPU(0): TearFree property default: auto
[  2873.951] (==) AMDGPU(0): VariableRefresh: disabled
[  2873.951] (II) AMDGPU(0): KMS Pageflipping: enabled
[  2873.952] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[  2873.952] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[  2873.952] (II) AMDGPU(0): Output HDMI-A-1 has no monitor section
[  2873.952] (II) AMDGPU(0): Output HDMI-A-2 has no monitor section
[  2873.957] (II) AMDGPU(0): EDID for output HDMI-A-0
[  2873.957] (II) AMDGPU(0): Manufacturer: PHL  Model: c156  Serial#: 11589
[  2873.957] (II) AMDGPU(0): Year: 2020  Week: 40
[  2873.957] (II) AMDGPU(0): EDID Version: 1.3
[  2873.957] (II) AMDGPU(0): Digital Display Input
[  2873.957] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 60  vert.: 34
[  2873.957] (II) AMDGPU(0): Gamma: 2.20
[  2873.957] (II) AMDGPU(0): DPMS capabilities: Off
[  2873.957] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  2873.957] (II) AMDGPU(0): First detailed timing is preferred mode
[  2873.957] (II) AMDGPU(0): redX: 0.682 redY: 0.315   greenX: 0.272 greenY: 0.654
[  2873.957] (II) AMDGPU(0): blueX: 0.150 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
[  2873.957] (II) AMDGPU(0): Supported established timings:
[  2873.957] (II) AMDGPU(0): 720x400@70Hz
[  2873.957] (II) AMDGPU(0): 640x480@60Hz
[  2873.957] (II) AMDGPU(0): 640x480@67Hz
[  2873.957] (II) AMDGPU(0): 640x480@72Hz
[  2873.957] (II) AMDGPU(0): 640x480@75Hz
[  2873.957] (II) AMDGPU(0): 800x600@56Hz
[  2873.957] (II) AMDGPU(0): 800x600@60Hz
[  2873.957] (II) AMDGPU(0): 800x600@72Hz
[  2873.957] (II) AMDGPU(0): 800x600@75Hz
[  2873.957] (II) AMDGPU(0): 832x624@75Hz
[  2873.957] (II) AMDGPU(0): 1024x768@60Hz
[  2873.957] (II) AMDGPU(0): 1024x768@70Hz
[  2873.957] (II) AMDGPU(0): 1024x768@75Hz
[  2873.957] (II) AMDGPU(0): 1280x1024@75Hz
[  2873.957] (II) AMDGPU(0): Manufacturer's mask: 0
[  2873.957] (II) AMDGPU(0): Supported standard timings:
[  2873.957] (II) AMDGPU(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[  2873.957] (II) AMDGPU(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[  2873.957] (II) AMDGPU(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[  2873.957] (II) AMDGPU(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  2873.957] (II) AMDGPU(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[  2873.957] (II) AMDGPU(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[  2873.957] (II) AMDGPU(0): Supported detailed timing:
[  2873.957] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  598 x 336 mm
[  2873.957] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[  2873.957] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[  2873.957] (II) AMDGPU(0): Serial No: UHB2040011589
[  2873.957] (II) AMDGPU(0): Monitor name: PHL 273V7
[  2873.957] (II) AMDGPU(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz
[  2873.957] (II) AMDGPU(0): EDID (in hex):
[  2873.957] (II) AMDGPU(0): 	00ffffffffffff00410c56c1452d0000
[  2873.957] (II) AMDGPU(0): 	281e0103803c22782abe95ae5045a726
[  2873.957] (II) AMDGPU(0): 	0f5054bfef00d1c0b300950081808140
[  2873.957] (II) AMDGPU(0): 	81c001010101023a801871382d40582c
[  2873.957] (II) AMDGPU(0): 	450056502100001e000000ff00554842
[  2873.957] (II) AMDGPU(0): 	32303430303131353839000000fc0050
[  2873.957] (II) AMDGPU(0): 	484c2032373356370a202020000000fd
[  2873.957] (II) AMDGPU(0): 	00324c1e5311000a20202020202000f4
[  2873.957] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[  2873.957] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[  2873.957] (II) AMDGPU(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[  2873.957] (II) AMDGPU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1280x800"x60.0  148.50  1280 2008 2052 2200  800 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  2873.958] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  2873.958] (II) AMDGPU(0): EDID for output DisplayPort-0
[  2873.958] (II) AMDGPU(0): EDID for output HDMI-A-1
[  2873.958] (II) AMDGPU(0): EDID for output HDMI-A-2
[  2873.958] (II) AMDGPU(0): Output HDMI-A-0 connected
[  2873.958] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[  2873.958] (II) AMDGPU(0): Output HDMI-A-1 disconnected
[  2873.958] (II) AMDGPU(0): Output HDMI-A-2 disconnected
[  2873.958] (II) AMDGPU(0): Using exact sizes for initial modes
[  2873.958] (II) AMDGPU(0): Output HDMI-A-0 using initial mode 1920x1080 +0+0
[  2873.958] (II) AMDGPU(0): mem size init: gart size :bf6d1000 vram size: s:3e04d000 visible:3e04d000
[  2873.958] (==) AMDGPU(0): DPI set to (96, 96)
[  2873.958] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[  2873.958] (II) Loading sub module "ramdac"
[  2873.958] (II) LoadModule: "ramdac"
[  2873.958] (II) Module "ramdac" already built-in
[  2873.958] (II) UnloadModule: "modesetting"
[  2873.958] (II) Unloading modesetting
[  2873.958] (II) AMDGPU(0): [DRI2] Setup complete
[  2873.958] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[  2873.958] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[  2874.642] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[  2874.659] (II) AMDGPU(0): SYNC extension fences enabled
[  2874.660] (II) AMDGPU(0): Present extension enabled
[  2874.660] (==) AMDGPU(0): DRI3 enabled
[  2874.660] (==) AMDGPU(0): Backing store enabled
[  2874.660] (II) AMDGPU(0): Direct rendering enabled
[  2875.009] (II) AMDGPU(0): Use GLAMOR acceleration.
[  2875.009] (II) AMDGPU(0): Acceleration enabled
[  2875.009] (==) AMDGPU(0): DPMS enabled
[  2875.009] (==) AMDGPU(0): Silken mouse disabled
[  2875.009] (II) AMDGPU(0): Set up textured video (glamor)
[  2875.039] (II) Initializing extension Generic Event Extension
[  2875.039] (II) Initializing extension SHAPE
[  2875.039] (II) Initializing extension MIT-SHM
[  2875.039] (II) Initializing extension XInputExtension
[  2875.040] (II) Initializing extension XTEST
[  2875.040] (II) Initializing extension BIG-REQUESTS
[  2875.040] (II) Initializing extension SYNC
[  2875.040] (II) Initializing extension XKEYBOARD
[  2875.040] (II) Initializing extension XC-MISC
[  2875.040] (II) Initializing extension SECURITY
[  2875.040] (II) Initializing extension XFIXES
[  2875.040] (II) Initializing extension RENDER
[  2875.040] (II) Initializing extension RANDR
[  2875.040] (II) Initializing extension COMPOSITE
[  2875.040] (II) Initializing extension DAMAGE
[  2875.040] (II) Initializing extension MIT-SCREEN-SAVER
[  2875.040] (II) Initializing extension DOUBLE-BUFFER
[  2875.040] (II) Initializing extension RECORD
[  2875.040] (II) Initializing extension DPMS
[  2875.040] (II) Initializing extension Present
[  2875.040] (II) Initializing extension DRI3
[  2875.040] (II) Initializing extension X-Resource
[  2875.040] (II) Initializing extension XVideo
[  2875.040] (II) Initializing extension XVideo-MotionCompensation
[  2875.040] (II) Initializing extension GLX
[  2875.050] (II) AIGLX: Loaded and initialized radeonsi
[  2875.050] (II) GLX: Initialized DRI2 GL provider for screen 0
[  2875.050] (II) Initializing extension XFree86-VidModeExtension
[  2875.050] (II) Initializing extension XFree86-DGA
[  2875.050] (II) Initializing extension XFree86-DRI
[  2875.050] (II) Initializing extension DRI2
[  2875.099] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[  2876.101] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  2876.101] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2876.101] (II) LoadModule: "libinput"
[  2876.101] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  2876.126] (II) Module libinput: vendor="X.Org Foundation"
[  2876.126] 	compiled for 1.20.11, module version = 1.0.1
[  2876.126] 	Module class: X.Org XInput Driver
[  2876.126] 	ABI class: X.Org XInput driver, version 24.1
[  2876.126] (II) Using input driver 'libinput' for 'Power Button'
[  2876.128] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 19 paused 0
[  2876.128] (**) Power Button: always reports core events
[  2876.128] (**) Option "Device" "/dev/input/event1"
[  2876.128] (**) Option "_source" "server/udev"
[  2876.163] (II) event1  - Power Button: is tagged by udev as: Keyboard
[  2876.163] (II) event1  - Power Button: device is a keyboard
[  2876.163] (II) event1  - Power Button: device removed
[  2876.163] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[  2876.163] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  2876.164] (II) event1  - Power Button: is tagged by udev as: Keyboard
[  2876.164] (II) event1  - Power Button: device is a keyboard
[  2876.165] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[  2876.165] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2876.165] (II) Using input driver 'libinput' for 'Power Button'
[  2876.166] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 22 paused 0
[  2876.166] (**) Power Button: always reports core events
[  2876.166] (**) Option "Device" "/dev/input/event0"
[  2876.166] (**) Option "_source" "server/udev"
[  2876.167] (II) event0  - Power Button: is tagged by udev as: Keyboard
[  2876.167] (II) event0  - Power Button: device is a keyboard
[  2876.167] (II) event0  - Power Button: device removed
[  2876.167] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[  2876.167] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[  2876.168] (II) event0  - Power Button: is tagged by udev as: Keyboard
[  2876.168] (II) event0  - Power Button: device is a keyboard
[  2876.169] (II) config/udev: Adding input device Gaming KB  Gaming KB  (/dev/input/event2)
[  2876.169] (**) Gaming KB  Gaming KB : Applying InputClass "libinput keyboard catchall"
[  2876.169] (II) Using input driver 'libinput' for 'Gaming KB  Gaming KB '
[  2876.171] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 23 paused 0
[  2876.171] (**) Gaming KB  Gaming KB : always reports core events
[  2876.171] (**) Option "Device" "/dev/input/event2"
[  2876.171] (**) Option "_source" "server/udev"
[  2876.174] (II) event2  - Gaming KB  Gaming KB : is tagged by udev as: Keyboard
[  2876.174] (II) event2  - Gaming KB  Gaming KB : device is a keyboard
[  2876.174] (II) event2  - Gaming KB  Gaming KB : device removed
[  2876.174] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-4/1-4:1.0/0003:258A:1006.0001/input/input2/event2"
[  2876.174] (II) XINPUT: Adding extended input device "Gaming KB  Gaming KB " (type: KEYBOARD, id 8)
[  2876.177] (II) event2  - Gaming KB  Gaming KB : is tagged by udev as: Keyboard
[  2876.177] (II) event2  - Gaming KB  Gaming KB : device is a keyboard
[  2876.179] (II) config/udev: Adding input device Gaming KB  Gaming KB  System Control (/dev/input/event3)
[  2876.179] (**) Gaming KB  Gaming KB  System Control: Applying InputClass "libinput keyboard catchall"
[  2876.179] (II) Using input driver 'libinput' for 'Gaming KB  Gaming KB  System Control'
[  2876.180] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 24 paused 0
[  2876.180] (**) Gaming KB  Gaming KB  System Control: always reports core events
[  2876.180] (**) Option "Device" "/dev/input/event3"
[  2876.180] (**) Option "_source" "server/udev"
[  2876.183] (II) event3  - Gaming KB  Gaming KB  System Control: is tagged by udev as: Keyboard
[  2876.183] (II) event3  - Gaming KB  Gaming KB  System Control: device is a keyboard
[  2876.183] (II) event3  - Gaming KB  Gaming KB  System Control: device removed
[  2876.183] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-4/1-4:1.1/0003:258A:1006.0002/input/input3/event3"
[  2876.183] (II) XINPUT: Adding extended input device "Gaming KB  Gaming KB  System Control" (type: KEYBOARD, id 9)
[  2876.186] (II) event3  - Gaming KB  Gaming KB  System Control: is tagged by udev as: Keyboard
[  2876.186] (II) event3  - Gaming KB  Gaming KB  System Control: device is a keyboard
[  2876.188] (II) config/udev: Adding input device Gaming KB  Gaming KB  Consumer Control (/dev/input/event4)
[  2876.188] (**) Gaming KB  Gaming KB  Consumer Control: Applying InputClass "libinput keyboard catchall"
[  2876.188] (II) Using input driver 'libinput' for 'Gaming KB  Gaming KB  Consumer Control'
[  2876.190] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 25 paused 0
[  2876.190] (**) Gaming KB  Gaming KB  Consumer Control: always reports core events
[  2876.190] (**) Option "Device" "/dev/input/event4"
[  2876.190] (**) Option "_source" "server/udev"
[  2876.192] (II) event4  - Gaming KB  Gaming KB  Consumer Control: is tagged by udev as: Keyboard
[  2876.192] (II) event4  - Gaming KB  Gaming KB  Consumer Control: device is a keyboard
[  2876.193] (II) event4  - Gaming KB  Gaming KB  Consumer Control: device removed
[  2876.193] (II) libinput: Gaming KB  Gaming KB  Consumer Control: needs a virtual subdevice
[  2876.193] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-4/1-4:1.1/0003:258A:1006.0002/input/input4/event4"
[  2876.193] (II) XINPUT: Adding extended input device "Gaming KB  Gaming KB  Consumer Control" (type: MOUSE, id 10)
[  2876.193] (**) Option "AccelerationScheme" "none"
[  2876.193] (**) Gaming KB  Gaming KB  Consumer Control: (accel) selected scheme none/0
[  2876.193] (**) Gaming KB  Gaming KB  Consumer Control: (accel) acceleration factor: 2.000
[  2876.193] (**) Gaming KB  Gaming KB  Consumer Control: (accel) acceleration threshold: 4
[  2876.195] (II) event4  - Gaming KB  Gaming KB  Consumer Control: is tagged by udev as: Keyboard
[  2876.196] (II) event4  - Gaming KB  Gaming KB  Consumer Control: device is a keyboard
[  2876.197] (II) config/udev: Adding input device Gaming KB  Gaming KB  Keyboard (/dev/input/event5)
[  2876.197] (**) Gaming KB  Gaming KB  Keyboard: Applying InputClass "libinput keyboard catchall"
[  2876.197] (II) Using input driver 'libinput' for 'Gaming KB  Gaming KB  Keyboard'
[  2876.199] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 26 paused 0
[  2876.199] (**) Gaming KB  Gaming KB  Keyboard: always reports core events
[  2876.199] (**) Option "Device" "/dev/input/event5"
[  2876.199] (**) Option "_source" "server/udev"
[  2876.202] (II) event5  - Gaming KB  Gaming KB  Keyboard: is tagged by udev as: Keyboard
[  2876.202] (II) event5  - Gaming KB  Gaming KB  Keyboard: device is a keyboard
[  2876.202] (II) event5  - Gaming KB  Gaming KB  Keyboard: device removed
[  2876.202] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-4/1-4:1.1/0003:258A:1006.0002/input/input5/event5"
[  2876.202] (II) XINPUT: Adding extended input device "Gaming KB  Gaming KB  Keyboard" (type: KEYBOARD, id 11)
[  2876.205] (II) event5  - Gaming KB  Gaming KB  Keyboard: is tagged by udev as: Keyboard
[  2876.205] (II) event5  - Gaming KB  Gaming KB  Keyboard: device is a keyboard
[  2876.207] (II) config/udev: Adding input device SINOWEALTH Game Mouse (/dev/input/event6)
[  2876.207] (**) SINOWEALTH Game Mouse: Applying InputClass "libinput pointer catchall"
[  2876.207] (II) Using input driver 'libinput' for 'SINOWEALTH Game Mouse'
[  2876.263] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 27 paused 0
[  2876.263] (**) SINOWEALTH Game Mouse: always reports core events
[  2876.263] (**) Option "Device" "/dev/input/event6"
[  2876.263] (**) Option "_source" "server/udev"
[  2876.266] (II) event6  - SINOWEALTH Game Mouse: is tagged by udev as: Mouse
[  2876.266] (II) event6  - SINOWEALTH Game Mouse: device is a pointer
[  2876.266] (II) event6  - SINOWEALTH Game Mouse: device removed
[  2876.266] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-5/1-5:1.0/0003:258A:1007.0003/input/input6/event6"
[  2876.266] (II) XINPUT: Adding extended input device "SINOWEALTH Game Mouse" (type: MOUSE, id 12)
[  2876.266] (**) Option "AccelerationScheme" "none"
[  2876.266] (**) SINOWEALTH Game Mouse: (accel) selected scheme none/0
[  2876.266] (**) SINOWEALTH Game Mouse: (accel) acceleration factor: 2.000
[  2876.266] (**) SINOWEALTH Game Mouse: (accel) acceleration threshold: 4
[  2876.269] (II) event6  - SINOWEALTH Game Mouse: is tagged by udev as: Mouse
[  2876.269] (II) event6  - SINOWEALTH Game Mouse: device is a pointer
[  2876.271] (II) config/udev: Adding input device SINOWEALTH Game Mouse (/dev/input/mouse0)
[  2876.271] (II) No input driver specified, ignoring this device.
[  2876.271] (II) This device may have been added with another device file.
[  2876.272] (II) config/udev: Adding input device SINOWEALTH Game Mouse Keyboard (/dev/input/event7)
[  2876.272] (**) SINOWEALTH Game Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
[  2876.272] (II) Using input driver 'libinput' for 'SINOWEALTH Game Mouse Keyboard'
[  2876.274] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 28 paused 0
[  2876.274] (**) SINOWEALTH Game Mouse Keyboard: always reports core events
[  2876.274] (**) Option "Device" "/dev/input/event7"
[  2876.274] (**) Option "_source" "server/udev"
[  2876.276] (II) event7  - SINOWEALTH Game Mouse Keyboard: is tagged by udev as: Keyboard
[  2876.277] (II) event7  - SINOWEALTH Game Mouse Keyboard: device is a keyboard
[  2876.277] (II) event7  - SINOWEALTH Game Mouse Keyboard: device removed
[  2876.277] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:15:00.0/usb1/1-5/1-5:1.1/0003:258A:1007.0004/input/input7/event7"
[  2876.277] (II) XINPUT: Adding extended input device "SINOWEALTH Game Mouse Keyboard" (type: KEYBOARD, id 13)
[  2876.280] (II) event7  - SINOWEALTH Game Mouse Keyboard: is tagged by udev as: Keyboard
[  2876.280] (II) event7  - SINOWEALTH Game Mouse Keyboard: device is a keyboard
[  2876.282] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event9)
[  2876.282] (II) No input driver specified, ignoring this device.
[  2876.282] (II) This device may have been added with another device file.
[  2876.282] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event10)
[  2876.282] (II) No input driver specified, ignoring this device.
[  2876.282] (II) This device may have been added with another device file.
[  2876.283] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event11)
[  2876.283] (II) No input driver specified, ignoring this device.
[  2876.283] (II) This device may have been added with another device file.
[  2876.284] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event12)
[  2876.284] (II) No input driver specified, ignoring this device.
[  2876.284] (II) This device may have been added with another device file.
[  2876.285] (II) config/udev: Adding input device HD-Audio Generic Line Out (/dev/input/event13)
[  2876.285] (II) No input driver specified, ignoring this device.
[  2876.285] (II) This device may have been added with another device file.
[  2876.285] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event14)
[  2876.285] (II) No input driver specified, ignoring this device.
[  2876.285] (II) This device may have been added with another device file.
[  2876.286] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[  2876.286] (II) No input driver specified, ignoring this device.
[  2876.286] (II) This device may have been added with another device file.
[  2876.297] (**) Option "fd" "19"
[  2876.297] (II) event1  - Power Button: device removed
[  2876.297] (**) Option "fd" "22"
[  2876.297] (II) event0  - Power Button: device removed
[  2876.297] (**) Option "fd" "23"
[  2876.297] (II) event2  - Gaming KB  Gaming KB : device removed
[  2876.297] (**) Option "fd" "24"
[  2876.297] (II) event3  - Gaming KB  Gaming KB  System Control: device removed
[  2876.297] (**) Option "fd" "25"
[  2876.298] (II) event4  - Gaming KB  Gaming KB  Consumer Control: device removed
[  2876.298] (**) Option "fd" "26"
[  2876.298] (II) event5  - Gaming KB  Gaming KB  Keyboard: device removed
[  2876.298] (**) Option "fd" "27"
[  2876.298] (II) event6  - SINOWEALTH Game Mouse: device removed
[  2876.298] (**) Option "fd" "28"
[  2876.298] (II) event7  - SINOWEALTH Game Mouse Keyboard: device removed
[  2876.298] (II) UnloadModule: "libinput"
[  2876.298] (II) systemd-logind: releasing fd for 13:71
[  2876.333] (II) UnloadModule: "libinput"
[  2876.333] (II) systemd-logind: releasing fd for 13:70
[  2876.399] (II) UnloadModule: "libinput"
[  2876.399] (II) systemd-logind: releasing fd for 13:69
[  2876.426] (II) UnloadModule: "libinput"
[  2876.426] (II) systemd-logind: releasing fd for 13:68
[  2876.453] (II) UnloadModule: "libinput"
[  2876.453] (II) systemd-logind: releasing fd for 13:67
[  2876.479] (II) UnloadModule: "libinput"
[  2876.479] (II) systemd-logind: releasing fd for 13:66
[  2876.520] (II) UnloadModule: "libinput"
[  2876.520] (II) systemd-logind: releasing fd for 13:64
[  2876.547] (II) UnloadModule: "libinput"
[  2876.547] (II) systemd-logind: releasing fd for 13:65
[  2876.587] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[  2876.587] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[  2876.587] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[  2876.588] (II) Server terminated successfully (0). Closing log file.

And my ~/.xinitrc

#!/bin/sh

# Starting picom
picom -b &

# Setting wallpaper
nitrogen --restore &

# Starting dwmblocks
dwmblocks &

# Running dwm
while true; do
    exec dwm 2>&1 /dev/null
done

Also I should say that starting X as root doesn't work either.

Last edited by sewe2000 (2021-06-22 05:53:48)

Offline

#2 2021-06-19 11:16:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

# Running dwm
while true; do
    exec dwm 2>&1 /dev/null
done

This doesn't work - remove the "exec".
Also "sleep 3" or so after running dwm, in case it insta-crashes.

Also always try w/o the compositor in case of problems

# picom -b &

Edit: also try to run a terminal (eg. xterm) in case the problem is that you forgot and need to rebuild dwm (so you get a terminal and can try to run dwm from there)

Last edited by seth (2021-06-19 11:18:08)

Online

#3 2021-06-19 12:11:17

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Thank you for your reply!
I'm not sure if I understood your instructions completely, but I edited my .xinitrc. Also I added those if statements from default xinitrc if they change anything. Now .xinitrc looks like this:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

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

# Starting picom
# picom -b &

# Setting wallpaper
nitrogen --restore &

# Starting dwmblocks
dwmblocks &

# Running dwm
while true; do
    dwm 2>&1 /dev/null
    sleep 3
done
seth wrote:

Also always try w/o the compositor in case of problems

I checked the wiki page about that topic and I checked my default run level by typing:

$ systemctl get-default

The output was:

graphical.target

Should I do  something about it?
My current .xinirc produces the same behavior. Also I tried to run xterm, but I failed.

Edit: I also rebuilt dwm, but as I couldn't get into xterm,  I did it in tty.

Last edited by sewe2000 (2021-06-19 12:19:46)

Offline

#4 2021-06-19 12:23:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

The includes are important to get you an active session.

The xorg log is from

[   234.099] (==) Log file: "/home/seweryn/.local/share/xorg/Xorg.0.log", Time: Sat Jun 19 10:23:38 2021

is that after the breaking update?

graphical.default

How do you run startx? From some bash autologin or to you log into the multi-user.target and issue it there?

I tried to run xterm, but I failed.

How did you "try" and how did you "fail"?
You do have xterm installed?
Did you "startx xterm" or alter the xinitrc?
Can you "xinit" rather than "startx"?

Online

#5 2021-06-19 12:43:18

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Thank you again for reply! Sorry for my lack of precision.

The xorg log is from

   

[   234.099] (==) Log file: "/home/seweryn/.local/share/xorg/Xorg.0.log", Time: Sat Jun 19 10:23:38 2021

is that after the breaking update?

The log is after the breaking update.

graphical.default

How do you run startx? From some bash autologin or to you log into the multi-user.target and issue it there?

I made a mistake in last reply and I edited it. I meant "graphical.target". I log into my user account without a display manager and I type startx. I used to use auto-startx in my ~/.profile file, but I commented it out, because startx in my case freezes.

How did you "try" and how did you "fail"?

I tried to put "xterm &" in .xinitrc and issue command "startx xterm". I failed in sense that x.org freezes and do nothing just like in case of dwm.

You do have xterm installed?

Yes, I do.

Did you "startx xterm" or alter the xinitrc?

Tried both with the same result.

Can you "xinit" rather than "startx"?

I tried once and as far as I remember it changed nothing.

Last edited by sewe2000 (2021-06-19 12:44:37)

Offline

#6 2021-06-19 12:49:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

There's no blatant error in the xorg.log - the time jumps (likely synced during the start? Or do all logs exhibit this?) but that's it. No problem indication at all.
You could try the modesetting driver (remove xf86-video-amdgpu) in case the amdgpu driver got incompatible w/ a mesa update.

Online

#7 2021-06-19 13:30:07

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Thanks for advice! I reinstalled amdgpu driver and typed "xinit" command. Finally X is displaying errors instead of just freezing. Here's new Xorg.0.log:

[   181.570] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   181.570] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   181.570] Build Operating System: Linux Archlinux
[   181.571] Current Operating System: Linux archlinux 5.12.11-arch1-1 #1 SMP PREEMPT Wed, 16 Jun 2021 15:25:28 +0000 x86_64
[   181.571] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f410ef33-9b01-44d7-93ba-1a5f641872df rw loglevel=3 quiet
[   181.571] Build Date: 13 April 2021  03:12:10PM
[   181.571]  
[   181.571] Current version of pixman: 0.40.0
[   181.571] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   181.571] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   181.572] (==) Log file: "/home/seweryn/.local/share/xorg/Xorg.0.log", Time: Sat Jun 19 15:22:57 2021
[   181.572] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   181.572] (==) No Layout section.  Using the first Screen section.
[   181.572] (==) No screen section available. Using defaults.
[   181.572] (**) |-->Screen "Default Screen Section" (0)
[   181.572] (**) |   |-->Monitor "<default monitor>"
[   181.573] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   181.573] (==) Automatically adding devices
[   181.573] (==) Automatically enabling devices
[   181.573] (==) Automatically adding GPU devices
[   181.573] (==) Automatically binding GPU devices
[   181.573] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   181.573] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   181.573] 	Entry deleted from font path.
[   181.573] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   181.573] 	Entry deleted from font path.
[   181.573] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   181.573] 	Entry deleted from font path.
[   181.573] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[   181.573] (==) ModulePath set to "/usr/lib/xorg/modules"
[   181.573] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   181.573] (II) Module ABI versions:
[   181.573] 	X.Org ANSI C Emulation: 0.4
[   181.573] 	X.Org Video Driver: 24.1
[   181.573] 	X.Org XInput driver : 24.1
[   181.573] 	X.Org Server Extension : 10.0
[   181.573] (--) using VT number 2

[   181.573] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   181.574] (II) xfree86: Adding drm device (/dev/dri/card0)
[   181.584] (--) PCI:*(56@0:0:0) 1002:15dd:1462:7b07 rev 200, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   181.584] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   181.584] (II) LoadModule: "glx"
[   181.584] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   181.585] (II) Module glx: vendor="X.Org Foundation"
[   181.585] 	compiled for 1.20.11, module version = 1.0.0
[   181.585] 	ABI class: X.Org Server Extension, version 10.0
[   181.585] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[   181.585] 	loading driver: amdgpu
[   181.585] (==) Matched amdgpu as autoconfigured driver 0
[   181.585] (==) Matched ati as autoconfigured driver 1
[   181.585] (==) Matched modesetting as autoconfigured driver 2
[   181.585] (==) Matched fbdev as autoconfigured driver 3
[   181.585] (==) Matched vesa as autoconfigured driver 4
[   181.585] (==) Assigned the driver to the xf86ConfigLayout
[   181.585] (II) LoadModule: "amdgpu"
[   181.585] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[   181.585] (II) Module amdgpu: vendor="X.Org Foundation"
[   181.585] 	compiled for 1.20.8, module version = 19.1.0
[   181.585] 	Module class: X.Org Video Driver
[   181.585] 	ABI class: X.Org Video Driver, version 24.1
[   181.585] (II) LoadModule: "ati"
[   181.585] (WW) Warning, couldn't open module ati
[   181.585] (EE) Failed to load module "ati" (module does not exist, 0)
[   181.585] (II) LoadModule: "modesetting"
[   181.585] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   181.585] (II) Module modesetting: vendor="X.Org Foundation"
[   181.585] 	compiled for 1.20.11, module version = 1.20.11
[   181.585] 	Module class: X.Org Video Driver
[   181.585] 	ABI class: X.Org Video Driver, version 24.1
[   181.585] (II) LoadModule: "fbdev"
[   181.586] (WW) Warning, couldn't open module fbdev
[   181.586] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   181.586] (II) LoadModule: "vesa"
[   181.586] (WW) Warning, couldn't open module vesa
[   181.586] (EE) Failed to load module "vesa" (module does not exist, 0)
[   181.586] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   181.586] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   181.586] (EE) 
Fatal server error:
[   181.586] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[   181.586] (EE) 
[   181.586] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   181.586] (EE) Please also check the log file at "/home/seweryn/.local/share/xorg/Xorg.0.log" for additional information.
[   181.586] (EE) 
[   181.586] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[   181.586] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[   181.586] (EE) Server terminated with error (1). Closing log file.

Offline

#8 2021-06-19 13:35:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

The idea was to "sudo pacman -Rs xf86-video-amdgpu"

[   181.586] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)

is likely because the VT is switched away from your login, https://wiki.archlinux.org/title/Xinit#xserverrc

Online

#9 2021-06-19 15:49:47

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

I created .xserverrc the same as in Wiki and the error was gone, but x server still freezes even if I use default xinitrc. I also tried to delete amdgpu driver, but it was the same result.

Offline

#10 2021-06-19 16:05:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Please post the system journal.

The GPU probably crashes, usual suspects are

amdgpu.dc=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

Maybe also "amdgpu.audio=0" because of HDMI.
https://wiki.archlinux.org/title/Kernel_parameters

If the system "doesn't boot at all"™ remove "amdgpu.dc=0" from the list.

Online

#11 2021-06-19 18:31:33

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Please post the system journal

Are 50 last lines enough? Before redirecting output to file I ran startx and turned off computer. Here they are:

cze 19 20:17:50 archlinux NetworkManager[377]: <warn>  [1624126670.0435] sup-iface[b4025e964c764a4e,0,wlp56s0f3u2]: call-p2p-cancel: failed with P2P cancel failed
cze 19 20:17:50 archlinux NetworkManager[377]: <info>  [1624126670.0437] device (wlp56s0f3u2): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
cze 19 20:17:50 archlinux NetworkManager[377]: <info>  [1624126670.0444] device (p2p-dev-wlp56s0f3u2): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
cze 19 20:17:50 archlinux NetworkManager[377]: <info>  [1624126670.1045] manager: NetworkManager state is now CONNECTED_GLOBAL
cze 19 20:17:50 archlinux systemd[398]: mpd-notification.service: Scheduled restart job, restart counter is at 1.
cze 19 20:17:50 archlinux systemd[398]: Stopped MPD Notification.
cze 19 20:17:50 archlinux systemd[398]: Starting MPD Notification...
cze 19 20:17:50 archlinux mpd-notification[423]: /usr/bin/mpd-notification: Connection refused
cze 19 20:17:50 archlinux systemd[398]: mpd-notification.service: Main process exited, code=exited, status=1/FAILURE
cze 19 20:17:50 archlinux systemd[398]: mpd-notification.service: Failed with result 'exit-code'.
cze 19 20:17:50 archlinux systemd[398]: Failed to start MPD Notification.
cze 19 20:17:50 archlinux systemd[398]: mpd-notification.service: Scheduled restart job, restart counter is at 2.
cze 19 20:17:50 archlinux systemd[398]: Stopped MPD Notification.
cze 19 20:17:50 archlinux systemd[398]: Starting MPD Notification...
cze 19 20:17:50 archlinux mpd-notification[424]: /usr/bin/mpd-notification: Connection refused
cze 19 20:17:50 archlinux systemd[398]: mpd-notification.service: Main process exited, code=exited, status=1/FAILURE
cze 19 20:17:50 archlinux systemd[398]: mpd-notification.service: Failed with result 'exit-code'.
cze 19 20:17:50 archlinux systemd[398]: Failed to start MPD Notification.
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Scheduled restart job, restart counter is at 3.
cze 19 20:17:51 archlinux systemd[398]: Stopped MPD Notification.
cze 19 20:17:51 archlinux systemd[398]: Starting MPD Notification...
cze 19 20:17:51 archlinux mpd-notification[425]: /usr/bin/mpd-notification: Connection refused
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Main process exited, code=exited, status=1/FAILURE
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Failed with result 'exit-code'.
cze 19 20:17:51 archlinux systemd[398]: Failed to start MPD Notification.
cze 19 20:17:51 archlinux NetworkManager[377]: <info>  [1624126671.1529] manager: startup complete
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Scheduled restart job, restart counter is at 4.
cze 19 20:17:51 archlinux systemd[398]: Stopped MPD Notification.
cze 19 20:17:51 archlinux systemd[398]: Starting MPD Notification...
cze 19 20:17:51 archlinux mpd-notification[426]: /usr/bin/mpd-notification: Connection refused
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Main process exited, code=exited, status=1/FAILURE
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Failed with result 'exit-code'.
cze 19 20:17:51 archlinux systemd[398]: Failed to start MPD Notification.
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Scheduled restart job, restart counter is at 5.
cze 19 20:17:51 archlinux systemd[398]: Stopped MPD Notification.
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Start request repeated too quickly.
cze 19 20:17:51 archlinux systemd[398]: mpd-notification.service: Failed with result 'exit-code'.
cze 19 20:17:51 archlinux systemd[398]: Failed to start MPD Notification.
cze 19 20:17:59 archlinux systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
cze 19 20:17:59 archlinux audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
cze 19 20:17:59 archlinux kernel: audit: type=1131 audit(1624126679.217:54): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
cze 19 20:18:04 archlinux systemd[1]: systemd-hostnamed.service: Deactivated successfully.
cze 19 20:18:04 archlinux audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
cze 19 20:18:04 archlinux kernel: audit: type=1131 audit(1624126684.703:55): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
cze 19 20:18:04 archlinux audit: BPF prog-id=22 op=UNLOAD
cze 19 20:18:04 archlinux audit: BPF prog-id=21 op=UNLOAD
cze 19 20:18:04 archlinux audit: BPF prog-id=20 op=UNLOAD
cze 19 20:18:04 archlinux kernel: audit: type=1334 audit(1624126684.800:56): prog-id=22 op=UNLOAD
cze 19 20:18:04 archlinux kernel: audit: type=1334 audit(1624126684.800:57): prog-id=21 op=UNLOAD
cze 19 20:18:04 archlinux kernel: audit: type=1334 audit(1624126684.800:58): prog-id=20 op=UNLOAD

The GPU probably crashes, usual suspects are

amdgpu.dc=0 amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

Maybe also "amdgpu.audio=0" because of HDMI.
https://wiki.archlinux.org/title/Kernel_parameters

If the system "doesn't boot at all"™ remove "amdgpu.dc=0" from the list.

I only pass the root partition UUID, "quiet" and "loglevel=3" parameters to the kernel in my GRUB config. And sorry for  a silly question, but all other kernel parameters have their default value in that case or what?

Last edited by sewe2000 (2021-06-19 18:36:46)

Offline

#12 2021-06-19 18:55:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

You're supposed to *add* those parameters
Please add them at the grub menu (press "e" to edit the slected entry, then append them to the line that has "quiet" and "loglevel=3" in it - check /proc/cmdline to see whether it worked.

And we'll need the entire journal of eg. the prvious boot (if that "crashed" after starting X11)
You can use the tip in the 1st link below to directly feed it into a pastebin service.

Online

#13 2021-06-20 07:32:07

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Unfortunately, after adding those parameters system crashed with weird artifacts on the screen. Then I removed the following parameter:

amdgpu.dc=0

After that system also crashed, but this time with black screen.

You can use the tip in the 1st link below to directly feed it into a pastebin service.

Sorry, but I can't see it.

Offline

#14 2021-06-20 09:01:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

"Crashed" when? Right at the boot or when trying to startx?

Sorry, but I can't see it.

http://wiki.archlinux.org/title/List_of … n_services

Online

#15 2021-06-20 17:49:04

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

"Crashed" when? Right at the boot or when trying to startx?

Right at boot.

Offline

#16 2021-06-20 19:58:53

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Thank you for your patiance. I had to learn how pastebin works smile. And here's my journal from boot, which I ran startx and turned off the machine in(it was default xinitrc file):
https://termbin.com/gls2

Offline

#17 2021-06-20 22:36:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

That's the (present?) session journal.

sudo journalctl -b -1

for the entire previous boot. ("… -b -2" for the second last boot etcetc)

Online

#18 2021-06-21 11:34:28

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

OK, thanks for the tip. I booted today, ran startx and rebooted computer using power button. Here's journal you asked for:
https://termbin.com/lbdp

Offline

#19 2021-06-21 13:22:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Journal ends ~10 minutes befire your post at

cze 21 13:23:12 archlinux kernel: audit: type=1334 audit(1624274592.040:65): prog-id=20 op=UNLOAD

There's no indication of an error or an effort to start X11 or a (clean) shutdown.

Does the frozen system respond to a soft-off attempt (short press of power button) or ctrl+alt+del?
Can you ssh into the frozen system?
Do you actually have https://wiki.archlinux.org/title/Microc … om_kernels ?

Online

#20 2021-06-21 14:32:11

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Journal ends ~10 minutes befire your post at

It has been some time before I gathered information.

Does the frozen system respond to a soft-off attempt (short press of power button) or ctrl+alt+del?

Only power button works doesn't matter if I press shortly or not.

Can you ssh into the frozen system?

Yes, I can.

Do you actually have https://wiki.archlinux.org/title/Microc … om_kernels ?

I only installed amd-ucode package, but I haven't done any extra configuration.

Offline

#21 2021-06-21 14:47:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Yes, I can.

That's awesome, because then you can inspect the notsofrozen system live (journal, dmesg, X11 error output…) - which will hopefully yield more information that the capped journal.

Online

#22 2021-06-21 16:11:00

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

I checked journal dmesg and Xorg.0.log and I didn't find anything suspicious. Perhaps, I'm not experienced enough to catch those errors.

Offline

#23 2021-06-21 16:12:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Post them?

Online

#24 2021-06-21 16:30:52

sewe2000
Member
Registered: 2021-06-19
Posts: 19

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

Offline

#25 2021-06-21 19:01:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: [SOLVED] Startx freezes system and doesn't enter into window manager

[    46.773] (==) Matched ati as autoconfigured driver 0
[    46.773] (==) Matched modesetting as autoconfigured driver 1
[    46.773] (==) Matched fbdev as autoconfigured driver 2
[    46.773] (==) Matched vesa as autoconfigured driver 3
[    46.773] (==) Assigned the driver to the xf86ConfigLayout
[    46.773] (II) LoadModule: "ati"
[    46.773] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    46.780] (II) Module ati: vendor="X.Org Foundation"
[    46.780] 	compiled for 1.20.8, module version = 19.1.0
[    46.780] 	Module class: X.Org Video Driver
[    46.780] 	ABI class: X.Org Video Driver, version 24.1
[    46.781] (II) LoadModule: "amdgpu"
[    46.781] (WW) Warning, couldn't open module amdgpu
[    46.781] (EE) Failed to load module "amdgpu" (module does not exist, 0)
[    46.781] (II) LoadModule: "modesetting"
pacman -Rs xf86-video-ati

Maybe

pacman -S xf86-video-amdgpu

Online

Board footer

Powered by FluxBB