8000 Restream ""works"" on WSL2 but cannot work through Windows 11 · Issue #110 · rien/reStream · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Restream ""works"" on WSL2 but cannot work through Windows 11 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KilledWithStyle opened this issue Nov 1, 2024 · 3 comments
Open

Comments

@KilledWithStyle
Copy link

So I have a problem with WSL2 and Windows 11 trying to get this to work correctly.

I want to first state that the tablet streaming working through the aplication won't work for me as it refuses to be picked up by OBS, so that isn't a solution. That is why I found this.

I can get restream to work with the WSL2 (windows subsystem for linux) shell. It works just fine for 10 to 50 seconds then becomes so laggy that the drawing sometimes shows up a minute to 5 minutes later.

I went through the process of installing the git bash shell to have it work through that. No go. The window pops up showing just the usual ouput but with no data being transferred.
image

I even found a tutorial to just run the command through PowerShell. Still didn't work. (although that one just is blank)
image

Both tools listed in the guide are in the windows path. I even tried the direct command using the tools in the folder (if you replace ffplay with ./ffplay in powershell, for example)

Any ideas about what the next steps to take are?

@lifeisgood-ai
Copy link

Hello

I am facing the same issue on windows 10 without WSL.

@KilledWithStyle did you find the solution ?

$ ./reStream.sh
[SSH] true
[SSH] cat /sys/devices/soc0/machine
[SSH] [ -f /dev/shm/swtfb.01 ]
[SSH] [ ! -f ~/restream ] && [ ! -f /opt/bin/restream ]
[SSH] PATH="$PATH:/opt/bin/:." restream -h 1872 -w 1404 -b 2 -f /dev/shm/swtfb.01
ffplay version 7.0.2-essentials_build-www.gyan.dev Copyright (c) 2003-2024 the FFmpeg developers
  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv 
--enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis 
--enable-librubberband
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B 

@KilledWithStyle
Copy link
Author
KilledWithStyle commented Dec 20, 2024

Sort of... If you really want to use this, I got it to work using git bash using the command I was using in powershell. (it still had the issue of being EXTREMELY SLOW that WSL had) But I hate git bash. You can get WSL working in windows 10 IIRC if that route seems like it would work.

The issue with it not running like yours was entirely powershell.

Between it still being slow, not working in powershell, nobody answering my problem, and other reasons, I fixed it by using an alternative bit of kit that would probably be rude of me to post here to say "use this thing instead". Good luck.

@lifeisgood-ai
Copy link

Thanks for your feedback.
I am pretty sure i tried with git bash from vscode also. I'll check again.
I wanted to avoid all the wsl install + it is slow anyways you say. So I may wait a bit until i find a full linux alternative to what forces me on windows.
Could you share the "rude thing" in pm ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0