Here we go:
https://bbs.archlinux.org/viewtopic.php … 9#p1874239
I played with them years ago (this installation is more than 10 years old), but i can't remember what i did; maybe i left my system 'dirty' somehow.
]]>https://wiki.archlinux.org/index.php/Re … ot_operate looks like it may be relevant, although it suggests it should work under xorg.
]]>Tomorrow i'll get another session on that, but focusing on:
[ERROR] [X11]: Failed to open input method.
maybe the source of the error is that and other messages are misleading... but I really don't know anything about Xorg input methods.
Time to learn i guess...
Could you try with 435.21 version ?
]]>I installed another systemd container by using packages from long time ago via archlinux archive (but keeping the gpu drivers updated for compatibility with the host system... since they work in flatpak, i think they should even here, right?) and it fails the same exact way.
]]>Hi, i'm unable to use anything that needs 3d with retroarch; menu included.
Whet i get is:
[INFO] RetroArch 1.8.1 (Git bfdc8e6a62)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Nov 4 2019
[INFO] Version: 1.8.1
[INFO] Git: bfdc8e6a62
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 640x480
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 3840x1080.
[INFO] [GLX]: Window manager is KWin.
[INFO] [GLX]: X = 0, Y = 0, W = 640, H = 480.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapIntervalEXT(1)
[ERROR] [X11]: Failed to open input method.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 2.
[INFO] [XINERAMA]: Saved monitor #0.
[ERROR] [Video]: Cannot open video driver ... Exiting ...
[ERROR] Fatal error received in: "init_video()"
Unfortunately it exits "cleanly" (no segfault), but i found a way to have a backtrace.
If i set driver to sdl2 and then open a core that needs 3d, it switches to opengl and then segfaults.
This is with even older retroarch versions; so i builded it from git without stripping symbols and that is what gdb tells me:
Thread 1 "retroarch" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00005555558d9722 in gl_core_destroy_resources ()
No symbol table info available.
#2 0x00005555558daaf2 in gl_core_init ()
No symbol table info available.
#3 0x000055555564389b in drivers_init ()
No symbol table info available.
#4 0x0000555555652d9a in retroarch_main_init ()
No symbol table info available.
#5 0x0000555555661196 in content_load ()
No symbol table info available.
#6 0x0000555555662208 in task_push_load_content_with_new_core_from_menu ()
No symbol table info available.
#7 0x000055555584c36f in file_load_with_detect_core_wrapper.constprop ()
No symbol table info available.
#8 0x0000555555887ded in generic_menu_entry_action ()
No symbol table info available.
#9 0x000055555588759c in generic_menu_iterate ()
No symbol table info available.
#10 0x00005555558176aa in menu_driver_iterate ()
No symbol table info available.
#11 0x000055555564ddd0 in runloop_check_state ()
No symbol table info available.
#12 0x000055555564fa8a in runloop_iterate ()
No symbol table info available.
#13 0x0000555555650928 in rarch_main ()
No symbol table info available.
#14 0x00007ffff2523153 in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#15 0x00005555556277fe in _start ()
No symbol table info available.
Vulkan crashes as well:
[INFO] RetroArch 1.8.1 (Git 33206b8847)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Nov 21 2019
[INFO] Version: 1.8.1
[INFO] Git: 33206b8847
[INFO] =================================================
[New Thread 0x7fffebb14700 (LWP 57721)]
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 640x480
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: x
[INFO] [Vulkan]: Detecting screen resolution 3840x1080.
[INFO] [GLX]: Window manager is KWin.
[INFO] [GLX]: X = 0, Y = 0, W = 640, H = 480.
[INFO] [Vulkan]: Found GPU at index 0: GeForce GTX 1050 Ti
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using GPU: GeForce GTX 1050 Ti
[INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Swapchain supports present mode: 3.
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Creating swapchain with present mode: 0
[INFO] [Vulkan]: Using swapchain size 640 x 480.
[INFO] [Vulkan]: Got 3 swapchain images.
[ERROR] [X11]: Failed to open input method.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 2.
[INFO] [XINERAMA]: Saved monitor #0.
[ERROR] [Vulkan]: Failed to set video mode.
[ERROR] [Video]: Cannot open video driver ... Exiting ...
[ERROR] Fatal error received in: "init_video()"
What I've tried that DOES work:
* run via flatpak
* run via snapd
What I've tried that does NOT work:
* switch to vulkan
* run it under another user without any retroarch personal config file.
* running the retroarch binary from debian package
* Using all needed libraries from flatpack (retroarch works there)
* run as root
* run in a bare 3d capable systemd nspawn container (with base nvidia lib32-nvidia-utils lib32-opencl-nvidia nvidia-cg-toolkit nvidia nvidia-settings nvidia-utils opencl-nvidia retroarch)
* get rid of any Xorg configuration and running a bare twm session
* run via virtualgl (yes, i'm really running out of ideas)
System info:
gpu: nvidia 1050ti running 440.31-2 drivers
pacman -Q: http://sprunge.us/ek5i8Y
/var/log/Xorg.0.log: http://sprunge.us/0uVbh0
journalctl -b: http://sprunge.us/I8GG2E
What could it be? Anyone facing the same issue?
]]>