Comments (4)
That is an interesting one, since this is WSL, I guess you just used a terminal not a X window based terminal? Maybe you can post a screenshot from the terminal that you have used?
However, by the error message below this is pretty much to be expected.
xwininfo: error: unable to parse display name ""
For t-rec
to functioning a X Server is needed, so in your case there is not an X Server nor a DISPLAY that can be captured. I'm not an WSL expert, but I guess there is no way that this would work like this (without a running X Server)
from t-rec-rs.
Likely this won't work until the new version of WSL2 comes out of slow ring at the earliest, at least natively. As of current (unless you are in the fast ring), W10 doesn't pack an X server, and while you can spin one up, it is kind of hackish currently. Additionally, most of the time, WSL is used via the WSL bash terminal or via Windows Terminal, so, since this is predicated on the need for an X-Server (and therefore, a window running in the X-server space), to get this to work, you would need to launch an X-based term program from your Windows term program and then start t-rec from the X-based term program's window. There are a couple of X Servers for Windows available in the MS Store if you really want to go down that route,
Even once full X support and GPU acceleration are added to W10, it is very likely to be niche at best.
from t-rec-rs.
I am not sure how feasible or possible this would be using the win-32 branch. It would at that point be a windows process, but may or may not be complicated by the fact you would be using it from a Linux command line.
from t-rec-rs.
I believe we can close this issue as can't fix.
At this point I want to pint out that there is a windows native branch that already works but is not production grade. You might give this a try.
feat/win32-support
from t-rec-rs.
Related Issues (20)
- dedicating an own cli argument for external window recording
- fix release binaries for linux
- [FEAT] Add support configuring output HOT 1
- on ubuntu 20.04 for arm the recording is upside down HOT 1
- Shell does not accept arguments HOT 2
- t-rec does not clean up recording frames when being killed HOT 5
- [Feature Request] Support SVG output format
- MacOS T-Rec producing empty gif HOT 6
- Ubuntu installation process assumes that main and universe are enabled HOT 1
- alacritty terminal is not recognised by default HOT 2
- [FEAT] cli flag for generating a video
- [FEAT] change `--bg` default to transparent HOT 3
- Linux - no gif output HOT 2
- CI Pipeline breaks on building the binary HOT 2
- Panics on alacritty / tmux / fish HOT 3
- command line parameter to control pre/post pause HOT 3
- command line parameter to limit the final resolution
- command line parameter for video only HOT 1
- Out of memory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t-rec-rs.