LINUX.ORG.RU

не работает xorg в gentoo

 ,


0

1

Началось с того что у меня перестали запускаться игры через стим, с непонятной ошибкой начал копать глубже, оказываеться xorg чето мудрит, а еще если запустить для теста xorg.conf то не работает мыш и клава

cat /var/log/Xorg.0.log
[    38.274]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    38.274] Current Operating System: Linux spratay-pc 5.17.1-lqx2-x86_64 #1 ZEN SMP PREEMPT Thu Apr 7 19:04:28 MSK 2022 x86_64
[    38.274] Kernel command line: BOOT_IMAGE=/vmlinuz-5.17.1-lqx2-x86_64 root=UUID=d0dd76b2-ea8e-4f95-852e-a8d1265431f5 ro radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dc=1 acpi_enforce_resources=lax binder.devices=binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder
[    38.274]
[    38.275] Current version of pixman: 0.40.0
[    38.275] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    38.275] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    38.284] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 10 08:41:53 2022
[    38.284] (II) Module ABI versions:
[    38.284] 	X.Org ANSI C Emulation: 0.4
[    38.284] 	X.Org Video Driver: 25.2
[    38.284] 	X.Org XInput driver : 24.4
[    38.284] 	X.Org Server Extension : 10.0
[    38.285] (--) using VT number 8

[    38.285] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    38.286] (II) xfree86: Adding drm device (/dev/dri/card0)
[    38.286] (II) Platform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:06:00.0/drm/card0
[    38.307] (--) PCI:*(6@0:0:0) 1002:67b0:1787:2357 rev 128, Mem @ 0xd0000000/268435456, 0xe0000000/8388608, 0xfcf00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    38.349] List of video drivers:
[    38.353] 	modesetting
[    38.353] (II) LoadModule: "modesetting"
[    38.362] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    38.418] (II) Module modesetting: vendor="X.Org Foundation"
[    38.418] 	compiled for 1.21.1.3, module version = 1.21.1
[    38.418] 	Module class: X.Org Video Driver
[    38.418] 	ABI class: X.Org Video Driver, version 25.2
[    38.418] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    38.581] (++) Using config file: "/root/xorg.conf.new"
[    38.585] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    38.613] (==) ServerLayout "X.org Configured"
[    38.613] (**) |-->Screen "Screen0" (0)
[    38.613] (**) |   |-->Monitor "Monitor0"
[    38.613] (**) |   |-->Device "Card0"
[    38.613] (**) |-->Input Device "Mouse0"
[    38.613] (**) |-->Input Device "Keyboard0"
[    38.613] (==) Automatically adding devices
[    38.613] (==) Automatically enabling devices
[    38.613] (==) Automatically adding GPU devices
[    38.613] (==) Automatically binding GPU devices
[    38.614] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    38.663] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    38.663] 	Entry deleted from font path.
[    38.663] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    38.663] 	Entry deleted from font path.
[    38.663] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    38.663] 	Entry deleted from font path.
[    38.669] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[    38.669] 	Entry deleted from font path.
[    38.669] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[    38.669] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    38.669] 	Entry deleted from font path.
[    38.669] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    38.669] 	Entry deleted from font path.
[    38.669] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    38.669] 	Entry deleted from font path.
[    38.669] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[    38.669] 	Entry deleted from font path.
[    38.669] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[    38.669] (**) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/misc,
	/usr/share/fonts/100dpi
[    38.669] (**) ModulePath set to "/usr/lib64/xorg/modules"
[    38.669] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    38.669] (WW) Disabling Mouse0
[    38.669] (WW) Disabling Keyboard0
[    38.682] (**) modeset(0): claimed PCI slot 6@0:0:0
[    38.682] (II) modeset(0): using default device
[    38.685]
[    38.698]
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[    38.703]
Your xorg.conf file is /root/xorg.conf.new

[    38.707] To test the server, run 'X -config /root/xorg.conf.new'

[    38.707] (EE) Server terminated with error (2). Closing log file.


Последнее исправление: SPRATAY (всего исправлений: 2)

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

ну вот самая простая игра css

SDL video target is 'x11'
SDL video target is 'x11'
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system supports the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system supports the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
OpenGL: AMD Radeon R9 390 Series (hawaii, LLVM 13.0.1, DRM 3.44, 5.17.1-lqx2-x86_64) 4.6 (Compatibility Profile) Mesa 22.0.0 (4.6.0)
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_ARB_buffer_storage: NOT AVAILABLE
GL_EXT_texture_sRGB_decode: AVAILABLE
GameAction [AppID 240, ActionID 2] : LaunchApp changed task to Completed with ""
Installing breakpad exception handler for appid(gameoverlayui)/version(20220314194902)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Using Breakpad minidump system. Version: 6630498 AppID: 240
Setting breakpad minidump AppID = 240
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/spratay/.local/share/Steam/linux32/steamclient.so' OK.
Game process updated : AppID 240 "/home/spratay/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=240 -- '/home/spratay/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh' -game cstrike -steam", ProcID 6332, IP 0.0.0.0:0
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197970925986 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197970925986
sh: строка 1: lsof: команда не найдена
Did not detect any valid joysticks.
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: AVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 8388608, Total Avail: 16777216, Current Avail: 7962976
GL_MAX_SAMPLES_EXT: 8
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 3200 MHz, Processor: AuthenticAMD
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: DISABLED
ERROR: ld.so: object '/home/spratay/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20220410090658_2.dmp[6389]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220410090658_2.dmp
/home/spratay/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh: line 72:  6332 Segmentation fault      ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
crash_20220410090658_2.dmp[6389]: Finished uploading minidump (out-of-process): success = yes
crash_20220410090658_2.dmp[6389]: response: Discarded=1
crash_20220410090658_2.dmp[6389]: file ''/tmp/dumps/crash_20220410090658_2.dmp'', upload yes: ''Discarded=1''
pid 6389 != 6388, skipping destruction (fork without exec?)
Game process removed: AppID 240 "/home/spratay/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=240 -- '/home/spratay/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh' -game cstrike -steam", ProcID 6332
ThreadGetProcessExitCode: no such process 6388
ThreadGetProcessExitCode: no such process 6332
ThreadGetProcessExitCode: no such process 6331
ThreadGetProcessExitCode: no such process 6329
Game 240 created interface STEAMAPPLIST_INTERFACE_VERSION001 /
Game 240 created interface STEAMAPPS_INTERFACE_VERSION008 /
Game 240 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 /
Game 240 created interface STEAMHTTP_INTERFACE_VERSION003 /
Game 240 created interface STEAMINVENTORY_INTERFACE_V003 /
Game 240 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 /
Game 240 created interface STEAMMUSIC_INTERFACE_VERSION001 /
Game 240 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 /
Game 240 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 /
Game 240 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 /
Game 240 created interface STEAMUGC_INTERFACE_VERSION014 /
Game 240 created interface STEAMUSERSTATS_INTERFACE_VERSION012 /
Game 240 created interface STEAMVIDEO_INTERFACE_V002 /
Game 240 created interface SteamController007 /
Game 240 created interface SteamFriends017 /
Game 240 created interface SteamInput001 /
Game 240 created interface SteamMatchGameSearch001 /
Game 240 created interface SteamMatchMaking009 /
Game 240 created interface SteamMatchMakingServers002 /
Game 240 created interface SteamNetworking006 /
Game 240 created interface SteamUser021 /
Game 240 created interface SteamUser021 / User
Game 240 created interface SteamUtils010 /
Game 240 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 240 method call count for IClientUtils::RecordSteamInterfaceCreation : 24
Game 240 method call count for IClientUtils::GetAppID : 25
Game 240 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam

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

Вот теперь я убежден, что проблема в иксах, запуская доту через sdl под wayland все запустилось

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

https://www.toptal.com/developers/hastebin/nivoqevano.makefile

These are the packages that would be merged, in order:

[ebuild   R    ] x11-base/xorg-server-21.1.3-r1:0/21.1.3::gentoo  USE="elogind udev xorg xvfb -debug -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr -xnest" 0 KiB
[ebuild   R   ~] media-libs/mesa-22.0.0::gentoo  USE="X gles2 llvm lm-sensors vaapi vulkan wayland zstd -d3d9 -debug -gles1 -opencl -osmesa (-selinux) -test -unwind -valgrind -vdpau -vulkan-overlay -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" VIDEO_CARDS="radeon radeonsi (-freedreno) -intel (-lima) -nouveau (-panfrost) -r300 -r600 (-v3d) (-vc4) -virgl (-vivante) -vmware" 0 KiB


SPRATAY
() автор топика

то не работает мыш и клава

А что в INPUT_DEVICES в make.conf? Оставь только libinput.

Meyer ★★★★★
()
Ответ на: комментарий от SPRATAY
home/spratay/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh: line 72:  6332 Segmentation fault

По какой-то причине сегфолтится сама игра.

Meyer ★★★★★
()
Ответ на: комментарий от SPRATAY

Ну вообще-то, он прав:

ERROR: ld.so: object '/home/spratay/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20220410090658_2.dmp[6389]: Uploading dump (out-of-process)
/tmp/dumps/crash_20220410090658_2.dmp
/home/spratay/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh: line 72:  6332 Segmentation fault      ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

У тебя не загружается библиотека.

Посмотри через вызов

ldd /home/spratay/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so

Что ей не хватает.

kostik87 ★★★★★
()
Ответ на: комментарий от kostik87

и чего же?

ldd /home/spratay/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
	linux-vdso.so.1 (0x00007ffdc48f0000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fadb4624000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libstdc++.so.6 (0x00007fadb4411000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fadb440c000)
	librt.so.1 => /lib64/librt.so.1 (0x00007fadb4407000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fadb46f4000)
	libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fadb4381000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fadb42aa000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fadb40af000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/libgcc_s.so.1 (0x00007fadb4095000)
	libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007fadb3fdd000)
	libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007fadb3fa9000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fadb3e65000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fadb3e38000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fadb3e33000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fadb3e2b000)
	libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007fadb3e14000)
	libmd.so.0 => /usr/lib64/libmd.so.0 (0x00007fadb3e06000)

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

gameoverlayrenderer.so

Это отношения к проблеме не имеет, так у всех в логах. При этом оверлей работает, что интересно. Какая то внутристимовская заморочка, но играм не мешает.

Jameson ★★★★★
()
Ответ на: комментарий от Jameson

да в полне ясная заморочка, я самого начала сказал что проблема в xorg, это я делаю вывод по двум причинам,1 xorg конфигурируется с ошибкой что я писал выше(еще если запускать xorg напрямую не работает клава и мышь), 2 sdl2 с иксами дота не запускается, но когда используешь wayland все работает по маслу, вот такие пироги

SPRATAY
() автор топика

перестали

Наверное ты для этого что-то сделал, например что-то обновил перед этим?

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