Closed RynO-SauruS closed 3 months ago
I managed to make the program stop crashing by deleting the DNS hostname entry and adding the public IPv4 address instead. It should be noted that my DNS record also has an IPv6 (AAAA) record which my device seemed to be pulling. So perhaps Chiaki pulled the IPv6 address and choked as a result.
Hmm @RynO-SauruS can you try this build and see if it helps at all https://github.com/streetpea/chiaki4deck/actions/runs/9864584127/artifacts/1684072579. You can first unzip it to your downloads folder and then make it executable with chmod +x ~/Downloads/Chiaki4deck.Appimage
and then open it with ~/Downloads/Chiaki4deck.Appimage
. Then, close it and you can copy settings from the flatpak with
cp ~/.var/app/io.github.streetpea.Chiaki4deck/config/Chiaki/Chiaki.conf ~/.config/Chiaki/Chiaki.conf
and then you can reopen the appimage and use it to test it out.
Hmm @RynO-SauruS can you try this build and see if it helps at all https://github.com/streetpea/chiaki4deck/actions/runs/9864584127/artifacts/1684072579. You can first unzip it to your downloads folder and then make it executable with
chmod +x ~/Downloads/Chiaki4deck.Appimage
and then open it with~/Downloads/Chiaki4deck.Appimage
. Then, close it and you can copy settings from the flatpak withcp ~/.var/app/io.github.streetpea.Chiaki4deck/config/Chiaki/Chiaki.conf ~/.config/Chiaki/Chiaki.conf
and then you can reopen the appimage and use it to test it out.
Hi, just tried to download your test build and I got a 404 not found.
EDIT: I had to login to GitHub to download it, interestingly. Thanks! I will give this a try and report back.
@streetpea The test build appears to have fixed the crash. However Chiaki still fails to connect using my DNS record - this is most likely because it is still pulling the IPv6 address which my network is not configured to allow currently. I could correct this by removing the AAAA record and having A only.
@RynO-SauruS try this build https://github.com/streetpea/chiaki4deck/actions/runs/9922163533/artifacts/1698294718 ... it should hopefully work ... I forgot to make the change for the session hostname lookup as well and only made it for registration and discovery before.
Not sure if my experience is relevant, but I am also having the crashing issue.
I have port forwarding (10.0.0.202 -> 10.0.0.1) setup on my router, chiaki crashes immediately when my deck is connected to the local network.
❯ flatpak run io.github.streetpea.Chiaki4deck
F: Not sharing "/esp" with sandbox: Ignoring blocking autofs path "/esp"
Qt: Session management error: Could not open network socket
chiaki.gui: [libplacebo] Initialized libplacebo v6.338.0-70-gc320f61e-dirty (API v342)
chiaki.gui: [libplacebo] Spent 70.155 ms enumerating instance extensions
chiaki.gui: [libplacebo] Creating vulkan instance with extensions:
chiaki.gui: [libplacebo] VK_KHR_get_physical_device_properties2
chiaki.gui: [libplacebo] VK_KHR_surface
chiaki.gui: [libplacebo] VK_EXT_swapchain_colorspace
chiaki.gui: [libplacebo] VK_KHR_external_memory_capabilities
chiaki.gui: [libplacebo] VK_KHR_external_semaphore_capabilities
chiaki.gui: [libplacebo] VK_KHR_get_surface_capabilities2
chiaki.gui: [libplacebo] VK_KHR_portability_enumeration
chiaki.gui: [libplacebo] VK_KHR_xcb_surface
chiaki.gui: [libplacebo] VK_KHR_surface
chiaki.gui: [libplacebo] Probing for vulkan devices:
chiaki.gui: [libplacebo] GPU 0: AMD Custom GPU 0932 (RADV VANGOGH) v1.3.278 (integrated)
chiaki.gui: [libplacebo] uuid: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00
chiaki.gui: [libplacebo] GPU 1: llvmpipe (LLVM 17.0.6, 256 bits) v1.3.278 (software)
chiaki.gui: [libplacebo] uuid: 6D:65:73:61:32:34:2E:31:2E:33:00:00:00:00:00:00
chiaki.gui: [libplacebo] Vulkan device properties:
chiaki.gui: [libplacebo] Device Name: AMD Custom GPU 0932 (RADV VANGOGH)
chiaki.gui: [libplacebo] Device ID: 1002:1435
chiaki.gui: [libplacebo] Device UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00
chiaki.gui: [libplacebo] Driver version: 6001003
chiaki.gui: [libplacebo] API version: 1.3.278
chiaki.gui: [libplacebo] Using async transfer (queue 1)
chiaki.gui: [libplacebo] Using async compute (queue 1)
chiaki.gui: [libplacebo] Creating vulkan device with extensions:
chiaki.gui: [libplacebo] VK_KHR_swapchain
chiaki.gui: [libplacebo] VK_KHR_push_descriptor
chiaki.gui: [libplacebo] VK_KHR_external_memory_fd
chiaki.gui: [libplacebo] VK_EXT_external_memory_dma_buf
chiaki.gui: [libplacebo] VK_EXT_external_memory_host
chiaki.gui: [libplacebo] VK_KHR_external_semaphore_fd
chiaki.gui: [libplacebo] VK_EXT_pci_bus_info
chiaki.gui: [libplacebo] VK_EXT_image_drm_format_modifier
chiaki.gui: [libplacebo] VK_KHR_video_queue
chiaki.gui: [libplacebo] VK_KHR_video_decode_queue
chiaki.gui: [libplacebo] VK_KHR_video_decode_h264
chiaki.gui: [libplacebo] VK_KHR_video_decode_h265
chiaki.gui: [libplacebo] Spent 14.129 ms creating vulkan device
chiaki.gui: [libplacebo] Memory heaps supported by device:
chiaki.gui: [libplacebo] 0: flags 0x0 size 4074M
chiaki.gui: [libplacebo] 1: flags 0x1 size 8149M
chiaki.gui: [libplacebo] Memory summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%, max page: 509M
chiaki.gui: [libplacebo] shaderc SPIR-V version 1.6 rev 1
chiaki.gui: [libplacebo] Initialized SPIR-V compiler 'shaderc'
chiaki.gui: [libplacebo] GPU information:
chiaki.gui: [libplacebo] GLSL version: 450 (vulkan)
chiaki.gui: [libplacebo] max_shmem_size: 65536
chiaki.gui: [libplacebo] max_group_threads: 1024
chiaki.gui: [libplacebo] max_group_size[0]: 1024
chiaki.gui: [libplacebo] max_group_size[1]: 1024
chiaki.gui: [libplacebo] max_group_size[2]: 1024
chiaki.gui: [libplacebo] subgroup_size: 64
chiaki.gui: [libplacebo] min_gather_offset: -32
chiaki.gui: [libplacebo] max_gather_offset: 31
chiaki.gui: [libplacebo] Limits:
chiaki.gui: [libplacebo] thread_safe: 1
chiaki.gui: [libplacebo] callbacks: 1
chiaki.gui: [libplacebo] max_buf_size: 8545198080
chiaki.gui: [libplacebo] max_ubo_size: 4294967295
chiaki.gui: [libplacebo] max_ssbo_size: 4294967295
chiaki.gui: [libplacebo] max_vbo_size: 8545198080
chiaki.gui: [libplacebo] max_mapped_size: 8545198080
chiaki.gui: [libplacebo] max_buffer_texels: 4294967295
chiaki.gui: [libplacebo] align_host_ptr: 4096
chiaki.gui: [libplacebo] host_cached: 1
chiaki.gui: [libplacebo] max_tex_1d_dim: 16384
chiaki.gui: [libplacebo] max_tex_2d_dim: 16384
chiaki.gui: [libplacebo] max_tex_3d_dim: 2048
chiaki.gui: [libplacebo] blittable_1d_3d: 1
chiaki.gui: [libplacebo] buf_transfer: 1
chiaki.gui: [libplacebo] align_tex_xfer_pitch: 1
chiaki.gui: [libplacebo] align_tex_xfer_offset: 4
chiaki.gui: [libplacebo] max_variable_comps: 0
chiaki.gui: [libplacebo] max_constants: 18446744073709551615
chiaki.gui: [libplacebo] max_pushc_size: 256
chiaki.gui: [libplacebo] align_vertex_stride: 1
chiaki.gui: [libplacebo] max_dispatch[0]: 65535
chiaki.gui: [libplacebo] max_dispatch[1]: 65535
chiaki.gui: [libplacebo] max_dispatch[2]: 65535
chiaki.gui: [libplacebo] fragment_queues: 1
chiaki.gui: [libplacebo] compute_queues: 1
chiaki.gui: [libplacebo] External API interop:
chiaki.gui: [libplacebo] UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00
chiaki.gui: [libplacebo] PCI: 0000:04:00:0
chiaki.gui: [libplacebo] buf export caps: 0x9
chiaki.gui: [libplacebo] buf import caps: 0x19
chiaki.gui: [libplacebo] tex export caps: 0x9
chiaki.gui: [libplacebo] tex import caps: 0x19
chiaki.gui: [libplacebo] sync export caps: 0x1
chiaki.gui: [libplacebo] sync import caps: 0x0
[I] Discovery failed to bind port 9304, trying one higher
[I] Discovery failed to bind port 9304, trying one higher
[I] Discovery failed to bind port 9305, trying one higher
[I] Discovery failed to bind port 9304, trying one higher
[I] Discovery failed to bind port 9305, trying one higher
[I] Discovery failed to bind port 9306, trying one higher
[I] Discovery Service detected new host with id 04F778A0DA17
[I] Discovery Service detected new host with id 04F778A0DA17
chiaki.gui: [libplacebo] Available surface configurations:
chiaki.gui: [libplacebo] 0: VK_FORMAT_B8G8R8A8_SRGB VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo] 1: VK_FORMAT_B8G8R8A8_UNORM VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo] Picked surface configuration 1: VK_FORMAT_B8G8R8A8_UNORM + VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
free(): invalid pointer
@RynO-SauruS @KrisCris can you try this build? https://github.com/streetpea/chiaki4deck/actions/runs/10031052771/artifacts/1723647909
@RynO-SauruS @KrisCris can you try this build? https://github.com/streetpea/chiaki4deck/actions/runs/10031052771/artifacts/1723647909
That build seems to be working perfectly; I was able to connect using my DNS hostname. However I have removed the IPv6 record. Not sure if that is relevant to what you're testing.
Thanks for all your work on this project, it's fantastic.
@RynO-SauruS @KrisCris can you try this build? https://github.com/streetpea/chiaki4deck/actions/runs/10031052771/artifacts/1723647909
works perfectly
awesome closing now then!
Describe the bug Running OLED Steam Deck.
Once I have my PS5 initally registered using its local IP address, I am able to connect without issue.
Afterward, I manually add my router's public DNS hostname using the existing PS5 registration (for connecting through the Internet). The program then becomes unusable, crashing immediately on startup. The interface appears briefly then disappears.
I can disable the network connection on the Steam Deck temporarily and that prevents the crash at startup. As soon as I re-enable the network with the program running, it crashes.
I can delete my Chiaki.conf file and the program becomes stable again.
I have recreated the issue with both the Flatpak and AppImage versions of the application (version 1.7.3). I am unable to get either of them to work for me.
Below I have ran the AppImage from the terminal and pasted the interesting parts of the output.
Debug Log (1)(deck@steamdeck ~)$ /home/deck/Downloads/Chiaki4deck.AppImage/Chiaki4deck.AppImage ... [I] Discovery failed to bind port 9304, trying one higher [I] Discovery failed to bind port 9304, trying one higher [I] Discovery failed to bind port 9305, trying one higher [I] Discovery failed to bind port 9304, trying one higher [I] Discovery failed to bind port 9305, trying one higher [I] Discovery failed to bind port 9306, trying one higher [I] Discovery Service detected new host with id [redacted] free(): invalid pointer Aborted (core dumped)
To Reproduce Steps to reproduce the behavior:
Expected behavior The application should not crash on startup.
Screenshots None
Desktop (please complete the following information):
Additional context None