Linux: No Video
So im running the viewer on linux and after clicking "connect" i get no change in the ui at all. The console logs this:
ui_renderer_ogl.c:630:ogl_renderer_init ogl version string: 4.6 (Compatibility Profile) Mesa 25.0.4
ui_renderer_ogl.c:633:ogl_renderer_init ogl version: 4.6
ui_renderer_ogl.c:662:ogl_renderer_init ogl
ntr_rp.c:1211:udp_recv_thread_func port bound at 192.168.2.65:8001
ntr_hb.c:75:tcp_connect connecting to 192.168.2.57:8000 ...
ntr_hb.c:100:tcp_connect connected
ntr_rp.c:1050:receive_from_socket socket poll failed: 11
[30544.105248][f]source/ns.c:420:nsMainLoop rtRecvSocket failed: ffffffff
[37472.293101][f]source/menu/rp_menu.c:717:rpStartupFromMenu Remote play already started, updating params.
[37539.754594][1a]nwm_rs::entries::thread_main::loop_main:626:entry Nwm main loop restarted
[37545.181254][1a]source/nwm_misc/rp_res.c:42:rp_svc_print_limits mutex res current 19
[37545.220641][1a]source/nwm_misc/rp_res.c:42:rp_svc_print_limits sem res current 68
[37545.250151][1a]source/nwm_misc/rp_res.c:42:rp_svc_print_limits event res current 181
[37545.277251][1a]source/nwm_misc/rp_res.c:42:rp_svc_print_limits thread res current 196
[37545.305784][1a]source/nwm_misc/rp_res.c:51:rp_svc_print_limits mutex res limit 64
[37545.332803][1a]source/nwm_misc/rp_res.c:51:rp_svc_print_limits sem res limit 128
[37545.359210][1a]source/nwm_misc/rp_res.c:51:rp_svc_print_limits event res limit 264
[37545.385676][1a]source/nwm_misc/rp_res.c:51:rp_svc_print_limits thread res limit 225
Is your firewall allowing outgoing and incoming udp packets for ntrviewer-hr?
Otherwise for troubleshooting there are a few things to try:
- Disable Reliable Stream (setting it to off),
- Try snickerstream instead, to make sure the problem isn't with ntr-hr
Is your firewall allowing outgoing and incoming udp packets for ntrviewer-hr?
I explicitely allowed udp port 8001 with iptables
- Disable Reliable Stream (setting it to off),
I tried that, didnt change anything
- Try snickerstream instead, to make sure the problem isn't with ntr-hr
I couldnt try it. Its a windows software and im on linux. trying to start it with wine made it crash
The log shows that the TCP connection is successful between 3DS and your Linux system, which is why it's likely an issue with firewall settings.
Specifically:
- 3DS port 8000 to viewer port 8001 (incoming) UDP need to be allowed for non-Reliable Stream.
- In addition viewer port 8001 to 3DS port 8000 (outgoing) UDP for Reliable Stream.
Note that on the 3DS side the UDP port is 8000 whereas on the viewer's side it's the port number you can choose in the settings (defaulting to 8001).
Is it possible for you to post your relevant iptables rules here to double check?
Snickerstream should work under wine from my testing and according to the release note, not sure why it's crashing for you.
The iptable rules
❯ sudo iptables -L -n | grep ":8001"
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8001
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8001
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8001
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:8001
And the snickerstream output
❯ wine Downloads/Snickerstream.exe
WARNING: radv is not a conformant Vulkan implementation, testing use only.
00b8:err:setupapi:do_file_copyW Unsupported style(s) 0x10
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
0024:err:module:import_dll Library coml2.dll (which is needed by L"C:\\windows\\system32\\ole32.dll") not found
0024:err:module:import_dll Library ole32.dll (which is needed by L"C:\\windows\\system32\\WINMM.dll") not found
0024:err:module:import_dll Library WINMM.dll (which is needed by L"Z:\\home\\lukas\\Downloads\\Snickerstream.exe") not found
0024:err:module:import_dll Library coml2.dll (which is needed by L"C:\\windows\\system32\\ole32.dll") not found
0024:err:module:import_dll Library ole32.dll (which is needed by L"Z:\\home\\lukas\\Downloads\\Snickerstream.exe") not found
0024:err:module:import_dll Library coml2.dll (which is needed by L"C:\\windows\\system32\\ole32.dll") not found
0024:err:module:import_dll Library ole32.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
0024:err:module:import_dll Library OLEAUT32.dll (which is needed by L"Z:\\home\\lukas\\Downloads\\Snickerstream.exe") not found
0024:err:module:loader_init Importing dlls for L"Z:\\home\\lukas\\Downloads\\Snickerstream.exe" failed, status c0000135
If it changes anything, im on nixos
I don't have experience with NixOS. Have you tried creating a new wine prefix for snickerstream?
For iptables, do you have log for when the connections/packets are dropped by the firewall? Just to double check those rules are for the INPUT chain right?
Edit:
Another thing for iptables, those rules you showed were inserted at the top instead of being appended at the bottom right?